这是我的小窝

你好,欢迎光临! 

Category Archives: linux

CentOS/Debian启动/重启/停止Nginx命令

2021.03.13 , , No Comments ,

系统:CentOS 启动命令:systemctl start nginx 重启命令:systemctl restart nginx 停止命令:systemctl stop nginx 系统:Debian 启动命令:service nginx start 重启命令:service nginx restart 停止命令:service nginx stop

CentOS保存iptables规则

2020.09.8 , , No Comments ,

需关闭firewalld防火墙: systemctl stop firewalld.service systemctl disable firewalld.service 安装iptables服务: yum install iptables-services 保存iptables规则: service iptables save 配置iptables开机启动: sys...

Debian使用nginx常用命令

2020.09.1 , , No Comments ,

安装nginx: apt-get install nginx 查看nginx状态: systemctl status nginx.service 重启nginx: systemctl restart nginx.service 停止nginx: systemctl stop nginx.service 开机启动nginx: systemctl enable nginx...

卸载腾讯云云服务器安全监控组件

2020.08.5 , , No Comments ,

腾讯云的服务器会自动安装云监控、云镜等安全服务,方便在控制台查看产品运行状态等 可以看一下服务器的定时任务: $ crontab -l */1 * * * * /usr/local/qcloud/stargate/admin/start.sh > /dev/null 2>&1 & 0 0 * * * /usr/local/qcloud/YunJin...

解决/etc/rc.local启动不执行

2020.06.18 , , No Comments ,

执行以下命令: systemctl list-dependencies multi-user.target | grep rc-local 如果没有输出执行下方命令: chmod +x /etc/rc.d/rc.local systemctl daemon-reload 再次执行命令: systemctl list-dependencies multi-user.ta...

linux查看目录和文件大小命令

2020.05.19 , , No Comments ,

du -sh *

阿里云卸载云盾/安骑士

2020.04.5 , , No Comments ,

wget http://update.aegis.aliyun.com/download/uninstall.sh chmod +x uninstall.sh ./uninstall.sh rm -rf uninstall.sh wget http://update.aegis.aliyun.com/download/quartz_uninstall.sh chmod...

CentOS7查看和关闭防火墙

2020.03.29 , , No Comments ,

CentOS 7.0默认使用的是firewall作为防火墙 查看防火墙状态: firewall-cmd --state 停止firewall: systemctl stop firewalld.service 禁止firewall开机启动: systemctl disable firewalld.service