LZN's Blog CodePlayer

EC2迁移:从Razortail到Diggler

2018-07-05
LZN
 

Razortail的免费期马上要过了,用菇菇的信息注册了新的AWS账户,开了新的节点,叫做Diggler吧.主机位置也从韩国首尔搬到了新加坡,希望坡县的丢包率能低一点,可悲。

记录下配置过程。参考之前Razortail的记录

预安装

git安装

$sudo yum install git

配置ssh

$ssh-keygen

安装SS依赖(参考最新版本依赖)

sudo yum install -y gcc gettext-devel unzip autoconf automake make zlib-devel libtool xmlto asciidoc udns-devel libev-devel
sudo yum install -y pcre pcre-devel perl perl-devel cpio expat-devel openssl-devel mbedtls-devel
sudo yum install gcc gettext autoconf libtool automake make pcre-devel asciidoc xmlto c-ares-devel libev-devel libsodium-devel mbedtls-devel -y

安装libsodium到系统默认搜索路径

wget https://download.libsodium.org/libsodium/releases/LATEST.tar.gz
./configure
make && make check
sudo make install

Follow the instructions in SS Severlibv Version.

注意用sudo ldconfig来更新lib配置。

安装ss后的配置:

{
"server": "0.0.0.0",
"server_port": xxxxx,
"local_port": 1080,
"password": "yourpwd",
"timeout": 600,
"method": "aes-256-cfb",
"fast_open": false,
}

注意去掉旧版本中的local_address字段。

Updated 2018-07-05


Comments

Content