forked from brownjohnf/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ubuntu-server.sh
executable file
·61 lines (49 loc) · 1.01 KB
/
ubuntu-server.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
55
56
57
58
59
60
#!/bin/bash
set -eu
set -o pipefail
USER=$(whoami)
sudo add-apt-repository -y ppa:kelleyk/emacs
# Go back and install everything
sudo aptitude update && sudo aptitude install -y \
apache2-utils \
build-essential \
cryptsetup \
curl \
dkms \
ecryptfs-utils \
emacs26 \
exuberant-ctags \
git \
iftop \
iotop \
ipcalc \
htop \
libreadline-dev \
libssl-dev \
nethogs \
nfs-common \
nmap \
libsqlite3-dev \
libxml2-dev \
terminator \
tmux \
traceroute \
tree \
unzip \
neovim \
wget \
whois \
zlib1g-dev \
zsh
sudo snap install --classic ripgrep
sudo ln -fs $(which nvim) /usr/local/bin/vim
# Docker
which docker || (wget -qO- https://get.docker.com/ | sh)
# Heroku
wget -O- https://toolbelt.heroku.com/install.sh | sh
# diff-so-fancy
sudo bash -c 'curl -sL \
https://raw.githubusercontent.com/so-fancy/diff-so-fancy/master/third_party/build_fatpack/diff-so-fancy \
> /usr/local/bin/diff-so-fancy'
sudo chmod +x /usr/local/bin/diff-so-fancy
./linux-server.sh