快速搭建ss上网

快速搭建ss

方法一:

[root@cloud ~]# yum install build-essential autoconf libtool openssl-devel gcc -y
[root@cloud ~]# git clone https://github.com/madeye/shadowsocks-libev.git
Initialized empty Git repository in /root/shadowsocks-libev/.git/
remote: Counting objects: 7286, done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 7286 (delta 5), reused 0 (delta 0), pack-reused 7264
Receiving objects: 100% (7286/7286), 6.76 MiB | 1.35 MiB/s, done.
Resolving deltas: 100% (4583/4583), done.
[root@cloud ~]# cd shadowsocks-libev/
[root@cloud shadowsocks-libev]# ./configure
[root@cloud shadowsocks-libev]# make && make install
[root@cloud shadowsocks-libev]# cd ../
[root@cloud ~]# vim config.json   
1 {
  2 "server":"10.0.0.1",
  3 "server_port":1000,
  4 "password":"password",
  5 "timeout":60,
  6 "method":rc4-md5""
  7 }
[root@cloud ~]# echo "/usr/local/bin/ss-server -c /home/root/config.json -f /tmp/ss-server.pid" >> /etc/rc.local

方法二:

[root@cloud ~]#wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks.sh
[root@cloud ~]#sh shadowsocks.sh

原创文章,作者:双庆 李,如若转载,请注明出处:http://www.178linux.com/17992

赞 (2)
双庆 李双庆 李
上一篇 2016-06-09 22:14
下一篇 2016-06-09 22:14

相关推荐

  • Centos图形界面和命令行界面切换—-使用init

    1、从图形界面切换到命令行界面      点击Applications–System Tools–Terminal。    打开后输入: su root(运行init需要管理员权限) 按回车,输入init 3或者init 2都可以,然后回车就可以    进入命令行界…

    Linux干货 2015-11-10
  • Mairadb

    Mairadb 编译安装Mairadb数据 先下载mariadb的软件包: 将软件包解压缩到/usr/local目录下 ]# tar xf mariadb-5.5.32-linux-x86_64.tar.gz -C /usr/local/ 创建连接 ]# ln -sv maria…

    Linux干货 2016-10-17
  • OPENSSL&DNS

      1、详细描述一次加密通讯的过程,结合图示最佳。 Client 从互联网下载CA的公钥,用于验证Server身份 Server 通过加密算法生成一对密钥,将公钥发给CA认证机构,做数字证书 CA 通过自己的私钥加密 Server 公钥并加上自己的数字签名后,将生成的数字证书发给Server Client 与 Server 通TCP的三次握手建立连…

    Linux干货 2016-12-05
  • linux开机启动流程

    linux开机启动流程:   一、BIOS 加电自检 当你按电源开关开机时,电脑会首先去启动BIOS(基本输入输出系统),BIOS一般是集成在主板上的. BIOS 的工作 1.检测连接硬件,比如显卡,内存,磁盘等等,检测的目的是以后把这些设备信息提供给操作系统 2.寻找启动磁盘,每一种BIOS都会有开机启动菜…

    Linux干货 2016-09-14
  • http协议及httpd特性详解

    前言 随着互联网的迅猛发展和网络的普及,各类网站层出不穷,网站也成为企业宣传和实力展现的主要途径之一,说到网站就不得不说一下web服务了,现在比较流行的web服务还是当属Apache即httpd。本文将详解http协议及httpd的特性。 http协议详解 http协议 http: Hyper Text Transfer Protocol 超文本传输协议 传…

    Linux干货 2015-04-13
  • vim文本编辑器详解

    启动vim                             &…

    Linux干货 2016-08-15