# 修改文件
vim /etc/ssh/sshd_config
# 在文件的最后面,修改Port的值,然后 重启ssh服务
# centos
service sshd restart
# debian
service ssh restart
wget --no-check-certificate https://raw.githubusercontent.com/licheetec/filestore/master/fq/shadowsocks-libev.sh
chmod +x shadowsocks-libev.sh
./shadowsocks-libev.sh 2>&1 | tee shadowsocks-libev.log
出处:秋水逸冰
wget --no-check-certificate https://raw.githubusercontent.com/licheetec/filestore/master/fq/openvps_vpn_centos-5-6.sh
chmod a+x openvps_vpn_centos-5-6.sh
bash openvps_vpn_centos-5-6.sh
出处:Zuike 技术博客
# 升级
yum update
# 安装apache,并设置开机启动
yum install httpd
chkconfig --levels 35 httpd on
service httpd start
# 安装php
yum install php
# 搭建SSL,让apache支持https
yum install mod_ssl
# 添加goagent-php文件
cd /var/www/html/
wget --no-check-certificate https://raw.githubusercontent.com/licheetec/filestore/master/fq/init-goagent-php.sh
chmod a+x init-goagent-php.sh
bash init-goagent-php.sh
rm init-goagent-php.sh
# 重启服务
service httpd restart
出处:Thinking in code goagent配置见:FAQ 13 和 Configurations