-
Notifications
You must be signed in to change notification settings - Fork 0
/
ubuntu-auto-install.sh
54 lines (32 loc) · 987 Bytes
/
ubuntu-auto-install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/bin/sh
# Setup
mkdir $HOME/info/
rmdir Public Modèles
# Update
sudo apt-get update
sudo apt-get dist-upgrade
# Programs
sudo apt-get install -y ubuntu-restricted-extras git gitk vlc chromium-browser emacs terminator tlp tlp-rdw zsh tree source-highlight jq build-essential ack-grep numix-gtk-theme gparted
# Terminator as a keyboard shortcut
# terminator --geometry=600x845+1000+0
# TLP
sudo tlp start
# Oh-My-ZSH
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
sudo chsh -s /bin/zsh
# Golang
wget https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz
sudo tar -C /usr/local -xzvf go1.8.3.linux-amd64.tar.gz
mkdir $HOME/info/go
go get golang.org/x/tools/cmd/...
go get github.com/rogpeppe/godef
# Nodejs
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
# Cleanup
sudo apt-get autoclean
sudo apt-get autoremove
# Locate
sudo updatedb
# SSH
ssh-keygen