启用epel版本: yum -y install epel-release 安装htop: yum -y install htop
Centos7的安装Htop
2021.04.2 , linux , No Comments , 1,515 views ,CentOS/Debian启动/重启/停止Nginx命令
2021.03.13 , linux , No Comments , 3,532 views ,系统:CentOS 启动命令:systemctl start nginx 重启命令:systemctl restart nginx 停止命令:systemctl stop nginx 系统:Debian 启动命令:service nginx start 重启命令:service nginx restart 停止命令:service nginx stop
测试vps下载速度
2021.01.21 , 笔记 , No Comments , 1,854 views ,wget http://cachefly.cachefly.net/100mb.test wget http://repos.mia.lax-noc.com/speedtests/1gb.bin
CentOS保存iptables规则
2020.09.8 , linux , No Comments , 2,436 views ,需关闭firewalld防火墙: systemctl stop firewalld.service systemctl disable firewalld.service 安装iptables服务: yum install iptables-services 保存iptables规则: service iptables save 配置iptables开机启动: systemctl enable iptables.service (老版本...
Debian使用nginx常用命令
2020.09.1 , linux , No Comments , 2,338 views ,安装nginx: apt-get install nginx 查看nginx状态: systemctl status nginx.service 重启nginx: systemctl restart nginx.service 停止nginx: systemctl stop nginx.service 开机启动nginx: systemctl enable nginx.service
卸载腾讯云云服务器安全监控组件
2020.08.5 , linux , No Comments , 2,440 views ,腾讯云的服务器会自动安装云监控、云镜等安全服务,方便在控制台查看产品运行状态等 可以看一下服务器的定时任务: $ crontab -l */1 * * * * /usr/local/qcloud/stargate/admin/start.sh > /dev/null 2>&1 & 0 0 * * * /usr/local/qcloud/YunJing/YDCrontab.sh > /dev/null 2>&...
解决/etc/rc.local启动不执行
2020.06.18 , linux , No Comments , 2,090 views ,执行以下命令: systemctl list-dependencies multi-user.target | grep rc-local 如果没有输出执行下方命令: chmod +x /etc/rc.d/rc.local systemctl daemon-reload 再次执行命令: systemctl list-dependencies multi-user.target | grep rc-local 输出结果: ● ├─rc-l...
linux查看目录和文件大小命令
2020.05.19 , linux , No Comments , 1,782 views ,du -sh *