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

xosadmin

BGPlayer / Codes learner / Love Linux
Posts
75
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

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

📮Comments

No Comment.
xosadmin
xosadmin
7 years ago
推荐 OpenVZ如何给VPS启用ppp
大家好!在上一篇文章(如何在Linux(CentOS)上安装OpenVZ)中,我为大家讲述了如何在CentOS环境下安装OpenVZ虚拟框架。在此,有许多网友阅读并安装后,想给自己的VPS开启ppp功能以备不时之需。在这里,补充一篇文章为 ...
  • 技术小絮
  • 虚拟化
2,792 0
xosadmin
xosadmin
6 years ago
推荐 虚拟机(VPS)及内网端口转发的几种方法
最近云鼎群有很多朋友开始尝试搭建属于自己的VPS品牌。但很多人因为资金紧张,不得不选择单IP的服务器(下称母鸡)。因此,NAT VPS应运而生。NAT VPS,顾名思义,利用NAT技术使单IP的利用率最大化。因为共用一个IP,所以每位用户 ...
  • 技术小絮
5,749 0
xosadmin
xosadmin
5 years ago
推荐 Debian提示Malformed Description-md5的解决方法
近日,有一台vps在执行apt update时,报出以下错误,并返回错误值100。错误代码如下: E: Malformed Description-md5 line; doesn’t have the required leng ...
  • 技术小絮
1,645 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,124 0
xosadmin
xosadmin
3 years ago
推荐 Debian设置自动对时
注意: 请使用Root用户操作,且不支持OpenVZ/LXC虚拟机。 在开始之前,我们需要设置Debian的时区,请使用以下命令: dpkg-reconfigure tzdate 之后,安装ntpdate: apt install ntpd ...
  • 技术小絮
693 0
  • Windows FTP服务器通过PASV模式无法获取目录的解决方法
  • Proxmox日志出现大量lxcfs truncated错误的解决方案
  • Proxmox通过CLI向LXC挂载已有虚拟磁盘的方法
  • LXC上安装Gitlab时sysctl报错的解决方法
  • Proxmox VE通过全盘方式直通硬盘
  • Proxmox为KVM VNC启用剪贴板支持

文章聚合

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

Multilangual Translator

Copyright © 2016-2025 X-osadminの自留地. All rights reserved. Designed by nicetheme.
  • 博客主页 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