curl cip.cc 显示你服务器ip
1:查看防火状态
systemctl status firewalld
service iptables status
2:暂时关闭防火墙
systemctl stop firewalld
service iptables stop
3:永久关闭防火墙
systemctl disable firewalld
chkconfig iptables off
4:重启防火墙
systemctl enable firewalld
service iptables restart
yum install wget
shutdown -r now 重启服务器
linux中,清除历史的命令是“history -c
yum install screen -y
#安装screen
screen -S 123
#创建123的窗口
wget --no-check-certificate "代理池" -O proxy.txt
linux代理上网
export http_proxy=http://xxxxxx:xxxx export http_proxy=http://161.132.125.244:8080
export https_proxy=http://xxxxxx:xxxx
取消代理
unset http_proxy https_proxy。