Linux Crontab 配置 HE.NET DDNS 每5分钟更新一次IP地址 */5 * * * * curl -4 "https://域名:密码@dyn.dns.he.net/nic/update?hostname=域名" 04月22日评论 阅读全文
Linux Centos 8 增加 Swap空间 fallocate -l 1G /swapfile dd if=/dev/zero of=/swapfile bs=1024 count=1048576 chmod 600 /swapfile mks... 04月11日评论 阅读全文
Linux centos 安装 tcpping yum install epel-release -y yum install tcptraceroute bc -y wget http://www.vdberg.org/~richard/tcpp... 03月27日评论 阅读全文
Linux centos 禁用 IPV6 vi /etc/sysctl.conf 加入: net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 03月27日评论 阅读全文
Linux 数据删除之后,ID不连续的处理办法 SET @i=0; UPDATE `tablename` SET `id`=(@i:[email protected]+1); ALTER TABLE `tablename` AUTO_INCREMENT=0 11月30日评论 阅读全文
Linux Esxi、WebMin、EdgeMax路由配置SSL证书 Esxi 替换路径:/etc/vmware/ssl 然后重启服务: /etc/init.d/hostd restart /etc/init.d/vpxa restart WebMin证书路径:/etc... 02月18日评论 阅读全文
Linux 用acme.sh颁发SSL证书 curl https://get.acme.sh | sh 安装好之后,需要先断开终端,重新连接一次,以使命令生效 acme.sh --upgrade --auto-upgrade --account... 02月14日评论 阅读全文
Linux All in one Home Server 在家里做了All in one 服务器(超微X10SDV-TLN4F+16GDDR4*2+8T*8+LSI9271-8I+银欣DS380+SF450),服务器做的Raid6……可同时挂两块硬盘,数据安... 02月13日评论 阅读全文
Linux Centos 7 安装Webmin开启Bind DNS服务 先安装Perl环境: yum install perl* -y 然后下载最新版webmin,解压,运行安装脚本 wget https://prdownloads.sourceforge.net/web... 02月05日评论 阅读全文
Linux Unifi Control 添加Let’s Encrypt证书 curl https://get.acme.sh | sh 安装好之后,需要先断开终端,重新连接一次,以使命令生效 acme.sh --upgrade --auto-upgrade --account... 11月10日评论 阅读全文