分类: VPS
thumbnail
VPS

服务器没有IPv6 却解析IPv6地址 导致无法访问网站

编辑 nano /etc/network/interfaces 粘贴 iface eth0 inet6 static disable-ipv6 yes 重启后生效   临时: sudo sysctl -w net.ipv6.conf.all.disab……
thumbnail

VPS常用命令及脚本

自动同步校正系统时间 apt install systemd-timesyncd timedatectl set-ntp true   设置时区为北京时间 timedatectl set-timezone Asia/Shanghai &n……
thumbnail
VPS

Debain使用ntp同步时间

apt-get update apt-get install ntpdate ntpdate ntp1.aliyun.com  
thumbnail
VPS

Debian11 服务器禁用IPv6

1、编辑/etc/sysctl.conf文件 sudo nano /etc/sysctl.conf 在文件末尾添加: net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1……
thumbnail
VPS

宝塔稳定版怎么切换正式版

curl https://download.bt.cn/install/update_panel.sh|bash  
thumbnail
VPS

宝塔面板自动挂载硬盘

Centos/Fedora系统: yum install wget -y && wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && bash auto_disk.sh Ubuntu……
thumbnail
VPS

linux挂载新硬盘

查看硬盘的使用情况,也就是哪些硬盘没有挂载 fdisk -l   查看挂载情况 fdisk -l   首先,使用命名 mkfs.ext4 硬盘名称 进行格式化,本例的命令如下……
thumbnail
VPS

zerotier搭建moon

安装 curl -s https://install.zerotier.com | sudo bash 进入zerotier目录 cd /var/lib/zerotier-one zerotier-idtool initmoon identity.public >>moon.json……
thumbnail
VPS

内网穿透之frp

github项目地址:https://github.com/fatedier/frp 服务端: 下载(根据平台、CPU架构选择对应版本) https://github.com/fatedier/frp/releases/download/v0.34……
thumbnail
VPS

ubuntu安装nginx

1、安装依赖保 yum install gcc-c++ yum install gcc yum install -y pcre pcre-devel zlib zlib-devel openssl openssl-devel 2、下载nginx wget http://n……