$sudoadd-apt-repositoryppa:hzwhuang/ss-qt5Shadowsocks-Qt5isacross-platformShadowsocksGUIclient.Shadowsocksisalightweighttoolthathelpsyoubypassfirewall(s).ThisPPAmainlyincludespackagesforShadowsocks-Qt5,whichmeansitalsoincludeslibQtShadowsockspackages.Moreinfo:https://launchpad.net/~hzwhuang/+archive/ubuntu/ss-qt5Press [ENTER] to continue or Ctrl-c to cancel adding it.gpg:keybox'/tmp/tmpaegs6_x4/pubring.gpg'createdgpg:/tmp/tmpaegs6_x4/trustdb.gpg:trustdbcreatedgpg:key6DA746A05F00FA99:publickey"Launchpad PPA for Symeon Huang"importedgpg:Totalnumberprocessed:1gpg:imported:1OK$sudoaptupdate$sudoaptinstallshadowsocks-qt5
others
$sudoaptinstallpython-pip$sudopipinstallgenpac
shadowsocks-libev
service
started by docker image teddysun/shadowsocks-libev
$mkdir-p/etc/shadowsocks-libev$sudobash-c"cat > /etc/shadowsocks-libev/config.json"<<EOF{ "server":"0.0.0.0", "server_port":1111, "password":"password0", "timeout":300, "user":"nobody", // optional "method":"aes-256-gcm", "fast_open":false, "nameserver":"8.8.8.8", // be careful for this in private sub-network "mode":"tcp_and_udp", "plugin":"obfs-server", "plugin_opts":"obfs=http"}EOF$dockerrun-d-p1111:1111 \-p1111:1111/udp \--namess-libev \--restart=always \-v/etc/shadowsocks-libev:/etc/shadowsocks-libev \teddysun/shadowsocks-libev$dockerlogs-fss-libev
started by /etc/init.d/shadowsocks-libev
$wget--no-check-certificate \-Oshadowsocks-all.sh \https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-all.sh$chmod+xshadowsocks-all.sh$./shadowsocks-all.sh2>&1|teeshadowsocks-all.log...WhichShadowsocksserveryou'd select:1) Shadowsocks-Python2) ShadowsocksR3) Shadowsocks-Go4) Shadowsocks-libevPlease enter a number (Default Shadowsocks-Python): 4You choose = Shadowsocks-libev...[Info] Starting install package autoconfDo you want install simple-obfs for Shadowsocks-libev? [y/n](default: n): yYou choose = yPlease select obfs for simple-obfs:1) http2) tlsWhich obfs you'dselect(Default:http):1obfs=http...
service
$sudo/etc/init.d/shadowsocks-libevstart$sudo/etc/init.d/shadowsocks-libevstop$sudo/etc/init.d/shadowsocks-libevrestart$sudo/etc/init.d/shadowsocks-libevstatusShadowsocks-libev (pid 903) is running...
$ mocp
Running the server...
Trying OSS...
FATAL_ERROR: No valid sound driver!
FATAL_ERROR: Server exited!
[marslo@iMarslo ~]
$ gdb mocp core
GNU gdb (GDB) 7.6.1-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/marslo/Tools/Software/SourceCode/Moc/moc-2.5.0-beta1/mocp...done.
/home/marslo/Tools/Software/SourceCode/Moc/moc-2.5.0-beta1/core: No such file or directory.
(gdb) run
Starting program: /home/marslo/Tools/Software/SourceCode/Moc/moc-2.5.0-beta1/mocp
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Running the server...
Trying OSS...
FATAL_ERROR: No valid sound driver!
FATAL_ERROR: Server exited!
[Inferior 1 (process 18165) exited with code 02]
(gdb) exit
Undefined command: "exit". Try "help".
(gdb) quit
soluction
$ sudo apt install autoconf automake1.9 libasound2-dev libavcodec-dev libavformat-dev libcurl4-gnutls-dev libflac-dev libid3tag0-dev libltdl3-dev libmad0-dev libmodplug-dev libmpcdec-dev libncurses5-dev libncursesw5-dev libogg-dev libresid-builder-dev libsamplerate0-dev libsidplay2-dev libsidutils-dev libsndfile1-dev libspeex-dev libtagc0-dev libtool libvorbis-dev libwavpack-dev zlib1g-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libltdl-dev' instead of 'libltdl3-dev'
libltdl-dev is already the newest version.
libncurses5-dev is already the newest version.
libncursesw5-dev is already the newest version.
libogg-dev is already the newest version.
libogg-dev set to manually installed.
libtool is already the newest version.
libtool set to manually installed.
libvorbis-dev is already the newest version.
zlib1g-dev is already the newest version.
libavcodec-dev is already the newest version.
libavcodec-dev set to manually installed.
libavformat-dev is already the newest version.
The following packages were automatically installed and are no longer required:
librcc0 librcd0 linux-headers-generic linux-image-generic
Use 'apt autoremove' to remove them.
The following extra packages will be installed:
comerr-dev krb5-multidev libgssrpc4 libidn11-dev libkadm5clnt-mit8 libkadm5srv-mit8 libkdb5-6
libkrb5-dev libldap2-dev librtmp-dev libsigsegv2 libtag1-dev m4
Suggested packages:
autoconf2.13 autoconf-archive gnu-standards autoconf-doc automake1.9-doc krb5-doc libasound2-doc
libcurl4-doc libcurl3-dbg krb5-user
Recommended packages:
automake automaken
The following NEW packages will be installed:
autoconf automake1.9 comerr-dev krb5-multidev libasound2-dev libcurl4-gnutls-dev libflac-dev libgssrpc4
libid3tag0-dev libidn11-dev libkadm5clnt-mit8 libkadm5srv-mit8 libkdb5-6 libkrb5-dev libldap2-dev
libmad0-dev libmodplug-dev libmpcdec-dev libresid-builder-dev librtmp-dev libsamplerate0-dev
libsidplay2-dev libsidutils-dev libsigsegv2 libsndfile1-dev libspeex-dev libtag1-dev libtagc0-dev
libwavpack-dev m4
0 upgraded, 30 newly installed, 0 to remove and 16 not upgraded.
Need to get 6,250 kB of archives.
After this operation, 16.9 MB of additional disk space will be used.
....
Check alas-base and alas-utils
$ dpkg -l alsa-base
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-====================-===============-===============-==============================================
ii alsa-base 1.0.25+dfsg-0ub all ALSA driver configuration files
$ dpkg -l alsa-utils
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-====================-===============-===============-==============================================
ii alsa-utils 1.0.27.1-1ubunt i386 Utilities for configuring and using ALSA