-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprovision_ubuntu.sh
executable file
·110 lines (88 loc) · 3.59 KB
/
provision_ubuntu.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
#!/bin/bash
# Run as root
################################################################################
# Update update and upgrade
################################################################################
apt-get update -y
apt-get upgrade -y
################################################################################
# Install with apt-get
################################################################################
apt-get install -y \
build-essential \
net-tools \
vim \
git \
tmux \
curl \
wget \
clang \
cmake \
nmap \
libc6-dev libc6-dev-i386 gcc-multilib g++-multilib \
apt-transport-https
python3-pip
ufw
################################################################################
# Gather apt repos
# Sublime Text
################################################################################
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
echo "deb https://download.sublimetext.com/ apt/dev/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
################################################################################
# Nodejs
################################################################################
curl -sL https://deb.nodesource.com/setup_13.x | bash -
# apt-get install -y nodejs
################################################################################
# Yarn
################################################################################
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
################################################################################
# Install remining items
################################################################################
apt-get update -y
apt-get install -y \
sublime-text
nodejs
yarn
################################################################################
# Install Chrome
################################################################################
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
apt install ./google-chrome-stable_current_amd64.deb
################################################################################
# Setup Tmux
# install oh-my-tmux
################################################################################
cd
git clone https://github.com/gpakosz/.tmux.git
ln -s -f .tmux/.tmux.conf
cp .tmux/.tmux.conf.local .
################################################################################
# Configure tmux.conf.local
################################################################################
# Pull in tmux.conf.local
################################################################################
# Configure Git
################################################################################
# Pull in .gitconfig
# Pull in .gitignore
# Pull in .gitmessage
################################################################################
# Configure VIM
################################################################################
# Pull in .vimrc
################################################################################
# Configure bashrc
################################################################################
# Setup python and pip
# curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
# python get-pip.py
# ubuntu tweak tool add on
# For remapping caps lock to ctl
#
# sudo add-apt-repository ppa:trebelnik-stefina/ubuntu-tweak
# sudo apt update
# sudo apt install ubuntu-tweak