这是我的小窝

你好,欢迎光临! 

Category Archives: linux

Centos7的安装Htop

2021.04.2 , , No Comments ,

启用epel版本: yum -y install epel-release 安装htop: yum -y install htop

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...