惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
T
Threatpost
Latest news
Latest news
N
News | PayPal Newsroom
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Help Net Security
Help Net Security
D
Darknet – Hacking Tools, Hacker News & Cyber Security
AI
AI
Simon Willison's Weblog
Simon Willison's Weblog
TaoSecurity Blog
TaoSecurity Blog
The Last Watchdog
The Last Watchdog
L
LINUX DO - 热门话题
Google DeepMind News
Google DeepMind News
T
Threat Research - Cisco Blogs
O
OpenAI News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
The Exploit Database - CXSecurity.com
NISL@THU
NISL@THU
Application and Cybersecurity Blog
Application and Cybersecurity Blog
S
Securelist
小众软件
小众软件
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Martin Fowler
Martin Fowler
S
SegmentFault 最新的问题
Cisco Talos Blog
Cisco Talos Blog
云风的 BLOG
云风的 BLOG
AWS News Blog
AWS News Blog
GbyAI
GbyAI
N
News and Events Feed by Topic
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
美团技术团队
Engineering at Meta
Engineering at Meta
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)
S
Schneier on Security
博客园 - 聂微东
V2EX - 技术
V2EX - 技术
T
Troy Hunt's Blog
SecWiki News
SecWiki News
S
Secure Thoughts
B
Blog RSS Feed
Hugging Face - Blog
Hugging Face - Blog
WordPress大学
WordPress大学
腾讯CDC
H
Heimdal Security Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
www.infosecurity-magazine.com
www.infosecurity-magazine.com
P
Privacy International News Feed

server – Ed_'s Blog

给 Debian 开了自动安全更新 – yywr's Blog Crontab 使用笔记 – yywr's Blog 终于修了个梯子 – yywr's Blog 防火墙配置工具 UFW – yywr's Blog 说说 LNMP 面板 – yywr's Blog Linux 程序开机启动并保活:Systemd 进程守护管理工具 – yywr's Blog Linux 下自动挂载 Samba /CIFS 共享文件夹 – yywr's Blog Ubuntu 开机自动挂载第二块硬盘 – yywr's Blog 构建网络私有书架,实现听书看书 – yywr's Blog 主机安装 Tiny Tiny RSS 踩坑记 – yywr's Blog
重装了家里的服务器系统 – yywr's Blog
yywr · 2023-02-05 · via server – Ed_'s Blog

Skip to content

因为一些原因,我把家里的服务换了块硬盘,重新安装系统了,把面板从宝塔换成了LNMP,凭借半吊子技术水平不断踩坑后,今天终于把最常用的应用 Trilium Notes 恢复正常访问。

我觉得有必要整理整理文档记录一下过程,之前因为一直因为没有需求,Linux 的使用都只是纸上看看,没怎么上手,这也是为什么没尝试使用 Docker 部署应用,而是手动部署的原因,因为我得把这个情结了掉,不然一说起折腾 Linux,连LNMP都没用过,不够齐整。

系统是放在家里的,需求也不多,只是实现一些简单的念想,把需要折腾的东西暂先列下面,后续搞到哪、整理到哪就更新到哪。算立个目标,也好完成今年多更新博客的想法

解决方法都是复制粘贴网络上的,主要的是记录一下怎么组合使用来解决问题。不少笔记之前都散落在笔记本里,刚好整理成一个系列试试

目录

下列所有配置都是在 Ubuntu 20.04 LTS 和 lnmp V1.9 下进行

说说 LNMP 面板

  • 安装
  • 常用目录
  • 碰到的问题
  • 教训与忠告

Nginx

systemd

程序开机启动并保活:Systemd 进程守护管理工具

Crontab 计划任务

  • Crontab 使用笔记
  • 设置Godaddy 动态 IPV6 DNS
  • 备份文件夹并只保留最新x个备份
  • 备份数据库

其它:

iptables 防火墙   

SSH

  • 修改默认端口
  • 配置证书验证

应用程序的安装与使用          

以上。。。