1.注册azure的海外版帐号(需要带外币的信用卡)
2.新建虚拟机
新建
![《Azure 搭建步骤》](https://www.yoqu.win/wp-content/uploads/2018/04/2017-05-16-141004.jpg)
创建
![《Azure 搭建步骤》](https://www.yoqu.win/wp-content/uploads/2018/04/2017-05-16-141112.jpg)
填写资料,可以先日本,也可以选东亚
![《Azure 搭建步骤》](https://www.yoqu.win/wp-content/uploads/2018/04/2017-05-16-141550.jpg)
选择机器的配置,最便宜的都有一点小贵
![《Azure 搭建步骤》](https://www.yoqu.win/wp-content/uploads/2018/04/2017-05-16-141810.jpg)
点确定
![《Azure 搭建步骤》](https://www.yoqu.win/wp-content/uploads/2018/04/2017-05-16-141929.jpg)
继续确定
![《Azure 搭建步骤》](https://www.yoqu.win/wp-content/uploads/2018/04/2017-05-16-142025.jpg)
3.安装完毕,需要开放443端口
![《Azure 搭建步骤》](https://www.yoqu.win/wp-content/uploads/2018/04/2017-05-16-142344.jpg)
点击网络安装组
![《Azure 搭建步骤》](https://www.yoqu.win/wp-content/uploads/2018/04/2017-05-16-142639.jpg)
添加入站安全规则
![《Azure 搭建步骤》](https://www.yoqu.win/wp-content/uploads/2018/04/2017-05-16-142850.jpg)
点添加
![《Azure 搭建步骤》](https://www.yoqu.win/wp-content/uploads/2018/04/2017-05-16-143011.jpg)
添加443的入站规则
![《Azure 搭建步骤》](https://www.yoqu.win/wp-content/uploads/2018/04/2017-05-16-143759.jpg)
添加443端口的出站规则
![《Azure 搭建步骤》](https://www.yoqu.win/wp-content/uploads/2018/04/2017-05-16-143943.jpg)
![《Azure 搭建步骤》](https://www.yoqu.win/wp-content/uploads/2018/04/2017-05-16-144028.jpg)
![《Azure 搭建步骤》](https://www.yoqu.win/wp-content/uploads/2018/04/2017-05-16-144137.jpg)
4.安装ss服务
在终端中输入 ‘ssh qf@52.185.159.118‘
在终端中输入 ‘ssh qf@52.185.159.118‘
![《Azure 搭建步骤》](https://www.yoqu.win/wp-content/uploads/2018/04/2017-05-16-144348.jpg)
![《Azure 搭建步骤》](https://www.yoqu.win/wp-content/uploads/2018/04/2017-05-16-144605.jpg)
![《Azure 搭建步骤》](https://www.yoqu.win/wp-content/uploads/2018/04/2017-05-16-144944.jpg)
-
建立root密码,
sudo passwd
-
安装ss服务
su
输入密码,不会显示
sudo apt-get update
sudo apt-get install -y python-pip
export LC_ALL=C
sudo pip install shadowsocks
sudo pip install --upgrade pip
sudo apt-get install -y python-m2crypto
password修改成自己的
cat >>/etc/shadowsocks.json<<EOF
{
"server":"0.0.0.0",
"server_port":443,
"local_address": "127.0.0.1",
"local_port":1080,
"password":"woaibeijintiananmen",
"timeout":300,
"method":"aes-256-cfb"
}
EOF
sudo chmod 755 /etc/shadowsocks.json
cat >>/etc/rc.local<<EOF
/usr/local/bin/ssserver –c /etc/shadowsocks.json
EOF
sudo ssserver -c /etc/shadowsocks.json -d start