新手,在用linux mint(具体版本见附件),接触不到半年
昨天按照这个:http://www.phpgao.com/shadowsocks_on_linux.html
也就是
apt-get install build-essential autoconf libtool libssl-dev gcc
apt-get install git
git clone
https://github.com/madeye/shadowsocks-libev.git cd shadowsocks-libev
./configure
make && make install
装上了ss。也成功启动了sslocal
这是昨天的
代码:
fox@linuxt ~ $ sudo sslocal -s ?????? -p 7329 -k ?????? -m aes-256-cfb
2015-09-28 14:44:27 INFO loading libcrypto from libcrypto.so.1.0.0
2015-09-28 14:44:27 INFO starting local at 127.0.0.1:1080
2015-09-28 14:45:18 INFO connecting message.tieba.baidu.com:80 from 127.0.0.1:39913
2015-09-28 14:45:21 INFO connecting github.com:443 from 127.0.0.1:39915
2015-09-28 14:45:21 INFO connecting ocsp.digicert.com:80 from 127.0.0.1:39917
2015-09-28 14:45:23 INFO connecting assets-cdn.github.com:443 from 127.0.0.1:39919
2015-09-28 14:45:23 INFO connecting assets-cdn.github.com:443 from 127.0.0.1:39921
2015-09-28 14:45:23 INFO connecting avatars3.githubusercontent.com:443 from 127.0.0.1:39923
2015-09-28 14:45:24 INFO connecting camo.githubusercontent.com:443 from 127.0.0.1:39925
2015-09-28 14:45:24 INFO connecting assets-cdn.github.com:443 from 127.0.0.1:39927
2015-09-28 14:45:24 INFO connecting assets-cdn.github.com:443 from 127.0.0.1
后来想装个软件需要python3.× 查了下我系统里有个2.7几的,装上3.×后也修改了默认,可还是没忍住把2.7×卸载了。。。
一堆问题。。。无奈重装了
于是今天又按照上面的方法装了一遍。sslocal启动不了
代码:
ace@ace-N5110 ~ $ which ss-local
/usr/local/bin/ss-local
ace@ace-N5110 ~ $ ss-local -s ××××××× -p 7329 -k ×××××××× -m aes-256-cfb
shadowsocks-libev 2.3.0
maintained by Max Lv <max.c.lv@gmail.com> and Linus Yang <laokongzi@gmail.com>
usage:
ss-[local|redir|server|tunnel|manager]
-s <server_host> host name or ip address of your remote server
-p <server_port> port number of your remote server
-l <local_port> port number of your local server
-k <password> password of your remote server
[-m <encrypt_method>] encrypt method: table, rc4, rc4-md5,
aes-128-cfb, aes-192-cfb, aes-256-cfb,
bf-cfb, camellia-128-cfb, camellia-192-cfb,
camellia-256-cfb, cast5-cfb, des-cfb, idea-cfb,
rc2-cfb, seed-cfb, salsa20 and chacha20
[-f <pid_file>] the file path to store pid
[-t <timeout>] socket timeout in seconds
[-c <config_file>] the path to config file
[-i <interface>] network interface to bind,
not available in redir mode
[-b <local_address>] local address to bind,
not available in server mode
[-u] enable UDP relay,
TPROXY is required in redir mode
[-U] enable UDP relay and disable TCP relay,
not available in local mode
[-L <addr>:<port>] specify destination server address and port
for local port forwarding,
only available in tunnel mode
[-d <addr>] setup name servers for internal DNS resolver,
only available in server mode
[--fast-open] enable TCP fast open,
only available in local and server mode,
with Linux kernel > 3.7.0
[--acl <acl_file>] config file of ACL (Access Control List)
only available in local and server mode
[--manager_address <addr>] UNIX domain socket address
only available in server and manager mode
[--executable <path>] path to the executable of ss-server
only available in manager mode
[-v] verbose mode
ace@ace-N5110 ~ $
sudo !!也是一样
代码:
ace@ace-N5110 ~ $ python --version
Python 2.7.6
ace@ace-N5110 ~ $
......
指定配置也启动不了
代码:
ace@ace-N5110 ~ $ ss-local -c /etc/config.json
shadowsocks-libev 2.3.0
maintained by Max Lv <max.c.lv@gmail.com> and Linus Yang <laokongzi@gmail.com>
usage:
ss-[local|redir|server|tunnel|manager]
-s <server_host> host name or ip address of your remote server
-p <server_port> port number of your remote server
-l <local_port> port number of your local server
....
百度我也就看到一个和我类似的说是装这个
代码:
apt-get install python-m2crypto
装完重启。无果
代码:
ace@ace-N5110 ~ $ uname -a
Linux ace-N5110 3.16.0-38-generic #52~14.04.1-Ubuntu SMP Fri May 8 09:43:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
对了,昨晚装完系统后sslocal指定配置启动了好几次才成功,能fan,然后关机睡了。今早开机才是这个情况的。
2次装ss的环境差不多,都是刚装的系统更新下就装的,下载到编译都一次过。。
有什么没交代清楚的请耐心指出。。谢谢
平时略忙,非计算机行业,,就爱折腾,有空才能来看,
如没及时回复莫怪 