add wireguard (#152)
* add wireguard * Explicitly add add-apt-repository script * Install stable and nightly explicitly
This commit is contained in:
parent
db06e277b8
commit
e6f660bc2e
2 changed files with 7 additions and 1 deletions
|
@ -96,6 +96,8 @@ if [[ -z $NORUST ]]; then
|
||||||
"$RUSTUP_TEMP" -y
|
"$RUSTUP_TEMP" -y
|
||||||
rm -f "$RUSTUP_TEMP"
|
rm -f "$RUSTUP_TEMP"
|
||||||
rustup update
|
rustup update
|
||||||
|
rustup install stable
|
||||||
|
rustup install nightly
|
||||||
rustup default stable
|
rustup default stable
|
||||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
|
||||||
cd "$DIR/../"
|
cd "$DIR/../"
|
||||||
|
|
|
@ -5,7 +5,7 @@ set -v
|
||||||
|
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get -y upgrade
|
sudo apt-get -y upgrade
|
||||||
sudo apt-get -y --fix-missing install apt-file aptitude aria2 atop cmake curl dkms freecad gajim git glances gnupg2 golang gparted gsmartcontrol intltool kdiff3 keepass2 libatk1.0-dev libbonoboui2-dev libcairo2-dev libgnome2-dev libgnomeui-dev libgtk2.0-dev libncurses5-dev libx11-dev libxpm-dev libxt-dev linux-kernel-headers lm-sensors meld mercurial nodejs npm pv python-dev python-pip python3-pip realpath retext ruby-dev silversearcher-ag solaar terminator tmux vim whois zsh dirmngr fail2ban glances atop syncthing evolution docker.io yasm libfuse-dev libwxgtk3.0-dev net-tools
|
sudo apt-get -y --fix-missing install apt-file aptitude aria2 atop cmake curl dkms freecad gajim git glances gnupg2 golang gparted gsmartcontrol intltool kdiff3 keepass2 libatk1.0-dev libbonoboui2-dev libcairo2-dev libgnome2-dev libgnomeui-dev libgtk2.0-dev libncurses5-dev libx11-dev libxpm-dev libxt-dev linux-kernel-headers lm-sensors meld mercurial nodejs npm pv python-dev python-pip python3-pip realpath retext ruby-dev silversearcher-ag solaar terminator tmux vim whois zsh dirmngr fail2ban glances atop syncthing evolution docker.io yasm libfuse-dev libwxgtk3.0-dev net-tools software-properties-common
|
||||||
|
|
||||||
if [[ -z $USER ]]; then
|
if [[ -z $USER ]]; then
|
||||||
USER=`whoami`
|
USER=`whoami`
|
||||||
|
@ -17,6 +17,10 @@ curl -s https://syncthing.net/release-key.txt | sudo apt-key add -
|
||||||
echo "deb https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list
|
echo "deb https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list
|
||||||
sudo apt-get -y install syncthing
|
sudo apt-get -y install syncthing
|
||||||
|
|
||||||
|
sudo add-apt-repository -y ppa:wireguard/wireguard
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y wireguard-dkms wireguard-tools
|
||||||
|
|
||||||
if [[ -z $NO_SYSTEMCTL ]]; then
|
if [[ -z $NO_SYSTEMCTL ]]; then
|
||||||
sudo systemctl enable docker
|
sudo systemctl enable docker
|
||||||
sudo systemctl restart docker
|
sudo systemctl restart docker
|
||||||
|
|
Loading…
Reference in a new issue