阿里云迁移到搬瓦工shell记录
97.64.109.143
3E4GDDdzycRF
29434
yum update
yum -y install vim
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh
wget –no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks.sh
chmod +x shadowsocks.sh
./shadowsocks.sh 2>&1 | tee shadowsocks.log
vim /etc/shadowsocks.json
{
"server":"0.0.0.0",
"port_password":{
"666":"zhangyishen",
"6666":"jkloozx"
},
"timeout":"300",
"method":"aes-256-cfb"
}
rpm -ivh http://xz.wn789.com/CentOSkernel/kernel-firmware-2.6.32-504.3.3.el6.noarch.rpm –force
rpm -ivh http://xz.wn789.com/CentOSkernel/kernel-2.6.32-504.3.3.el6.x86_64.rpm –force
reboot
ssserver -c /etc/shadowsocks.json -d start
wget -N –no-check-certificate https://raw.githubusercontent.com/wn789/serverspeeder/master/serverspeeder.sh
bash serverspeeder.sh
[加入开启启动(其实不用加,service自动加入了已经)]
vim /etc/rc.local
ssserver -c /etc/shadowsocks.json -d start
service serverSpeeder start