Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
BWG Ubuntu 16.04 Setup
sudo vim /etc/apt/sources.list
-----------------------------------------------------------------------------------------------
#------------------------------------------------------------------------------#
# OFFICIAL UBUNTU REPOS #
#------------------------------------------------------------------------------#
###### Ubuntu Main Repos
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
###### Ubuntu Update Repos
deb http://us.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner
------------------------------------------------------------------------------------------------------------
rm /etc/mdadm/mdadm.conf
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install curl -y
curl https://repogen.simplylinux.ch/txt/xenial/sources_8e2c2611bccddbabe97e129f805006bdfd8ee22b.txt | sudo tee /etc/apt/sources.list
curl https://repogen.simplylinux.ch/txt/xenial/gpg_8e2c2611bccddbabe97e129f805006bdfd8ee22b.txt | sudo tee /etc/apt/gpg_keys.txt
curl https://repogen.simplylinux.ch/txt/xenial/synaptic_8e2c2611bccddbabe97e129f805006bdfd8ee22b.txt | sudo tee /etc/apt/sources.list
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y
sudo apt-get install git htop -y
sudo apt-get install shadowsocks
ssserver -c /etc/shadowsocks.json
https://github.com/snooda/net-speeder
[Unit]
Description=Shadowsocks Server
After=network.target
[Service]
ExecStart=/usr/bin/ssserver -c /etc/shadowsocks.json
Restart=on-abort
[Install]
WantedBy=multi-user.target
copy this file to /etc/systemd/system/shadowsocks-server.service
edit /etc/shadowsocks/ss-config.json to config shadowsocks
exec systemctl enable shadowsocks-server and systemctl start shadowsocks-server
@huyinjie

This comment has been minimized.

Copy link
Owner Author

commented Mar 19, 2017

sudo apt-get install mosh -y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.