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
1 year 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

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

📮Comments

No Comment.
xosadmin
xosadmin
1 year ago
推荐 Debian设置802.1q vlan的方法
802.1Q VLAN是一种非常常见的VLAN技术,Debian也支持本VLAN技术。本文将以Debian 12 x64作为演示。 首先,在操作系统下安装vlan程序包 apt-get install vlan -y 2. 将802.1 ...
  • 技术小絮
709 0
xosadmin
xosadmin
6 years ago
推荐 Dell Chromebook 13安装Mac OS X
上期讲到了Dell Chromebook 13安装Windows 10的全过程(传送门>>)。最近在浏览了Tonymacx86后,发现Dell Chromebook 13的玩法不仅仅是Windows 10这么简单,还可以上黑苹 ...
  • chromebook
  • 技术小絮
6,845 0
xosadmin
xosadmin
5 years ago
推荐 ZeroTier内网主机互ping时出现destination host unreachable的解决方案
ZeroTier是一个十分好用的组内网软件。但是,部分主机虽然成功连接了ZeroTier并且获得了IP,但是内网中其他主机在ping此IP时,可能会提示Destination host unreachable,可能还伴有端口无法访问等问题, ...
  • 技术小絮
6,649 0
xosadmin
xosadmin
4 years ago
推荐 apt-get时提示different from other instances的解决方案
近日在升级Ubuntu系统时,apt-get提示”trying to overwrite shared ‘/usr/share/doc/libselinux1/changelog.Debian.gz’, ...
  • 技术小絮
1,139 0
xosadmin
xosadmin
5 years ago
推荐 外网通过Zerotier访问内网其他主机的方法
Zerotier是一个非常卓越的组网软件。它可以以最简单的方式构成一张虚拟网络。目前有很多OpenWrt路由器固件已经附带了该功能。但是大部分路由器不带有此功能。因此,可以通过在内网内搭建跳板机的方式,来解决这一问题。 在本次测试中,跳板机 ...
  • Zerotier
  • 技术小絮
3,442 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