-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmint-setup.sh
More file actions
executable file
·32 lines (23 loc) · 920 Bytes
/
mint-setup.sh
File metadata and controls
executable file
·32 lines (23 loc) · 920 Bytes
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
#!/bin/bash
# Exit every time if something goes wrong at any point
set -e
echo 'Will install everything for you in the near future (not a promise..)'
# Basic uUpdate and upgrade
#apt-get update
#apt-get upgrade -y
# Basic packages
apt-get install -y openssh-server screen unzip
apt-get install -y build-essential libssl-dev ufw libffi-dev
apt-get install -y python-software-properties g++ make software-properties-common
apt-get install -y libssl-dev libsqlite3-dev
apt-get install -y curl openssl sqlite3
# Node Version Manager
# Installation following https://github.com/creationix/nvm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh | bash
# PostgreSQL
apt-get install -y postgresql postgresql-contrib
# Python3 and pip
apt-get install -y python3-pip
apt-get install -y python3-venv
# Display OK if last command was successful
if (( $? )) ; then echo failed ; else echo OK; fi