mkdir wgcloud cd wgcloud wget --no-check-certificate https://www.wgstart.com/download/sh/installAgent.sh; bash installAgent.sh http://api.lhidc.net:9999 agent-linux-amd64-v3.4.8.tar.gz echo "wgcloud/agent-linux-amd64-v3.4.8/start.sh " >> /etc/sysctl.conf cd /etc find /root/wgcloud/agent-linux-amd64-v3.4.8/config/application.properties |xargs sed -i "s/bindIp=/bindIp=0.0.0.0/g" /root/wgcloud/agent-linux-amd64-v3.4.8/stop.sh /root/wgcloud/agent-linux-amd64-v3.4.8/start.sh echo "/root/wgcloud/agent-linux-amd64-v3.4.8/start.sh" >> /etc/rc.d/rc.local cd /etc find /etc/hosts |xargs sed -i "s/127.0.0.1/0.0.0.0/g" cat /etc/hosts find /etc/ssh/sshd_config |xargs sed -i "s/Port 22/Port 10028/g" systemctl restart sshd.service cd echo "nameserver 8.8.8.8" >> /etc/resolv.conf echo "nameserver 8.8.4.4" >> /etc/resolv.conf echo "nameserver 4.2.2.1" >> /etc/resolv.conf echo "nameserver 4.2.2.3" >> /etc/resolv.conf cd /etc/selinux/ find /etc/selinux/config |xargs sed -i "s/enforcing/disabled/g" cd yum -y install dos2unix yum -y install vim yum -y install wget yum -y install zip unzip yum -y install make gcc cd cat /etc/resolv.conf wget -O /etc/sysconfig/network-scripts/ifcfg-eth0 http://down.lhidc.net/cc/0.0.0.0/ifcfg-eth0 wget http://down.lhidc.net/nike/c7/c7.zip unzip c7.zip cd /root/c7 bash install-mulitip-c7.sh wget -O /root/c7/ip.txt http://down.lhidc.net/cc/0.0.0.0/ip.txt cd wget http://down.lhidc.net/webmin-1.660-1.rpm rpm -ivh webmin-1.660-1.rpm cd wget http://down.lhidc.net/nike/http/xxxxxxxx.tar.gz tar -zxvf xxxxxxxx.tar.gz cd zip ./run.sh cd wget http://down.lhidc.net/nike/s5/my-socks5-1.5.0.zip unzip my-socks5-1.5.0.zip cd /root/my-socks5-1.5.0 bash install.sh sysctl -p /usr/local/bin/my-socks5 -h cd echo "cd /root/s5" >> /etc/rc.d/rc.local echo "./NPServer-linux64 &" >> /etc/rc.d/rc.local echo "/etc/init.d/webmin restart" >> /etc/rc.d/rc.local echo "service squid restart">> /etc/rc.d/rc.locals echo "/sbin/sysctl -p" >> /etc/rc.d/rc.local echo "sh /usr/local/bin/startvpn.sh" >> /etc/rc.d/rc.local echo "cd /root/my-socks5-1.5.0" >> /etc/rc.d/rc.local echo "bash install.sh" >> /etc/rc.d/rc.local echo "sysctl -p" >> /etc/rc.d/rc.local echo "ulimit -HSn 1024000" >> /etc/rc.d/rc.local cat >>/etc/sysctl.conf<> /etc/security/limits.conf echo "* hard nofile 1024000" >> /etc/security/limits.conf echo "root soft nofile 1024000" >> /etc/security/limits.conf echo "root hard nofile 1024000" >> /etc/security/limits.conf cd curl -s http://down.lhidc.net/proxy1.sh | bash -s 26660555 5656 5858 4848 6868 cd /root/ProxyServer/ find /root/ProxyServer/YouMiIp.json |xargs sed -i "s/26660555/super44EE7168ee/g" find /root/ProxyServer/YouMiIp.json |xargs sed -i "s/5656/5757/g" cat /root/ProxyServer/YouMiIp.json cd ps -ef | grep YouMiIpServer | awk '{ print $2 }' | xargs kill -9 ulimit -HSn 1024000 chmod 7777 /root/ProxyServer/YouMiIpServer chmod 7777 /root/ProxyServer/YouMiIpUser.json cd /root/ProxyServer/ && nohup /root/ProxyServer/YouMiIpServer > /root/ProxyServer/YoumiIp.log 2>&1 & ps -ef | grep YouMiIpServer | grep -v grep | awk '{print $2}' service network restart service network restart cd /root/c7 bash install-mulitip-c7.sh yum remove openvpn reboot