X-osadminの自留地
  • 博客主页 HomePage
  • 技术小絮 Tech
  • 作品发布 Works
  • 软件专题 Softs
    • proxmox
    • openwrt
    • chromebook
    • Zerotier
    • 虚拟化
  • 友情链接 Following

xosadmin

BGPlayer / Codes learner / Love Linux
Posts
77
Comments
0

友情链接 – Friendly Links

  • Add your site here…
xosadmin
2 years ago

Debian上重装Nginx的方法

1. 卸载现有Nginx以及配套包:

apt-get remove nginx -y

apt-get autoremove

2. 删除配置目录(在删除前可以备份以备恢复):

cp -r /etc/nginx /home/backup-nginx # Optional, 备份用途

rm -rf /etc/nginx

3. 重新安装Nginx并生成新文件:

apt-get -o DPkg::options::=–force-confmiss –reinstall install nginx -y

4. 重新启动Nginx服务即可

systemctl restart nginx

  • 技术小絮
等 人表示很赞
470
0

📮Comments

No Comment.
xosadmin
xosadmin
3 years ago
推荐 Debian设置自动对时
注意: 请使用Root用户操作,且不支持OpenVZ/LXC虚拟机。 在开始之前,我们需要设置Debian的时区,请使用以下命令: dpkg-reconfigure tzdate 之后,安装ntpdate: apt install ntpd ...
  • 技术小絮
725 0
xosadmin
xosadmin
3 years ago
推荐 git提示server certificate verification failed的解决方法
在部分Ubuntu或者Debian系统上,git在clone或者push时可能会报出server certificate verification failed的错误,具体报错如下: server certificate verifica ...
  • 技术小絮
824 0
xosadmin
xosadmin
2 years ago
推荐 Alpine Linux开启bbr加速的方法
请注意:以下所有操作需要在root下进行。若在非root用户下执行,请重新以root用户登录或者使用sudo su后执行。 1.开启开机自动加载tcp_bbr模块 echo “tcp_bbr” >> /e ...
  • 技术小絮
887 0
xosadmin
xosadmin
7 years ago
推荐 Dell Chromebook 13安装Windows 10教程
据了解,Dell于近年悄然上了一款产品:Chromebook 13。其的价格非常吸引人,各项配置也不逊色,其炫酷的外观和亲民的价格,令许多人为之向往。唯一的不同,即如其的名字,预装了Chrome OS系统及特别的Bios。有许多小伙伴不熟 ...
  • chromebook
  • 技术小絮
17,260 3
xosadmin
xosadmin
4 years ago
推荐 超微(SuperMicro) IPMI的java IKVM提示”javax.net.ssl.SSLHandshakeException”的解决方法
超微(Supermicro)是一个在服务器领域耳熟能详的品牌,旗下的IPMI系统受到广泛的欢迎。在部分X10/A2系列以上的主板,执行运行Java IKVM时,会报出javax.net.ssl.SSLHandshakeException的错 ...
  • 技术小絮
1,212 0
  • HPE Microserver系列降低噪音的一种办法
  • Debian 13 Trixie安装Proxmox VE
  • Windows FTP服务器通过PASV模式无法获取目录的解决方法
  • Proxmox日志出现大量lxcfs truncated错误的解决方案
  • Proxmox通过CLI向LXC挂载已有虚拟磁盘的方法
  • LXC上安装Gitlab时sysctl报错的解决方法

文章聚合

  • Debian 13 Trixie安装Proxmox VE
  • Proxmox日志出现大量lxcfs truncated错误的解决方案
  • Proxmox通过CLI向LXC挂载已有虚拟磁盘的方法
  • Proxmox VE通过全盘方式直通硬盘
  • Proxmox为KVM VNC启用剪贴板支持
  • Proxmox报出RRDC/RRD update error的解决方法

Multilangual Translator

Copyright © 2016-2025 X-osadminの自留地. All rights reserved. 萌ICP备20258855号
  • 博客主页 HomePage
  • 技术小絮 Tech
  • 作品发布 Works
  • 软件专题 Softs
    • proxmox
    • openwrt
    • chromebook
    • Zerotier
    • 虚拟化
  • 友情链接 Following
Welcome
Forgot password?
Welcome
Forgot password?
Social Login
Login with WeChat QR Code
Unregistered WeChat IDs will be automatically used to create an account.
Scan and Reply with Keywords「登录」Get Verification Code
Social Login
Free registration
Social Login
Reset password
Back to Login