快速搭建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

相关推荐

  • 硬软链接的区别 节点 以及重定向和管道

    INODE全称叫index node 表中包含文件系统所有文件列表   一个节点是在一个表项 包含有关文件的信息 ( 元数据 ) 包括: 文件类型,权限,UID,GID 链接数(指向这个文件名路径名称个数) 该文件的大小和不同的时间戳 指向磁盘上文件的数据块指针 有关文件的其他数 1 文件引用一个是 inode号   2 我们是通过文件名…

    Linux干货 2016-08-12
  • Centos7 服务器部署ssh证书授权登录

    在当前服务器生成密钥对 ssh-keygen –t rsa –P ” ssh-keygen –t rsa –P ''[root@localhost ~]# ssh-keygen -t rsaGenerating public/private rsa key pair.Enter file in which to save the key …

    Linux干货 2016-12-05
  • ☞{ 编译内核;自制linux; }

    编译内核、自制linux 自制简单的linux 前提约定 CentOS 6.8 , Kernel-2.6.32-642.el6.x86_64 基于GRUB – 0.97 / 分区与 boot 分区独立, /boot 分区 100M+ ,/ 根分区看具体需求,此处为 1G Vmware 12.1,新建一个Li…

    Linux干货 2016-09-15
  • 简述Linux那些年–发展史

    Linux发展史 作者:任飞鹏          日期:2016-10-13 Linux简介: Linux同Windows一样,都是一套OS(操作系统)。Linux是一套开源的类Unix操作系统,可以免费使用和自由传播。是一个基于POSIX和UNIX的多用户、多任务、支…

    Linux干货 2016-10-19
  • 文件系统的创建和管理

    作业:文件系统的创建和管理 思路:管理通常就是增删改查[*代表某一数值,测试机centos6使用的就是ext4,不要问我为什么了,马哥告诉我的,你问他吧!];   事情准备检查系统支持和使用的文件系统格式:         #lsmod  &nbsp…

    Linux干货 2016-01-19
  • Linux用户与权限管理

    由于Linux是多用户、多任务系统,出于一些需要,当我们创建的文件希望对一部分用户开放,对一部分用户隐藏的时候应该怎么办呢?这样的话,就需要涉及到Linux系统中对用户以及对文件权限的管理。 一、相关文件 在Linux中,一切配置文件都是以文本文档的方式来保存的,同样用户的信息也保存在系统的一些文件中,其位置为/etc/passwd。此文件只有root用户具…

    Linux干货 2016-08-05