-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart_install.sh
More file actions
executable file
·75 lines (61 loc) · 2.3 KB
/
start_install.sh
File metadata and controls
executable file
·75 lines (61 loc) · 2.3 KB
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
#!/usr/bin/env bash
# ubuntu based
# Don't -X in, this hasn't been set up
# Before running this script
# sudo apt-get update
# sudo apt-get install git -y
# ssh-keygen -t ed25519 -C "duncan.gray@ga.gov.au"
# cat ~/.ssh/id_rsa.pub
#$ sudo apt-get install xclip -y
# Downloads and installs xclip. If you don't have `apt-get`, you might need to use another installer (like `yum`)
#$ xclip -sel clip < ~/.ssh/id_rsa.pub
# Copies the contents of the id_rsa.pub file to your clipboard
# get the public keys into github and bitbucket then
# git clone git@github.com:dunkgray/ubuntu-install-dev.git
# emacs -nw # no windows emacs
# Now run the scripts in overall.sh
# WRT setting up the database, follow the info in
# evernote> Overall DEA Dev Box System> passwords
sudo apt-get install software-properties-common -y
sudo apt-add-repository universe
sudo apt-get update
sudo apt-get install awscli -y
sudo apt-get install git -y
sudo apt-get install emacs -y
sudo apt-get install unzip -y
sudo apt-get install python3-pip -y
sudo apt-get install maven -y
sudo apt-get install xterm -y
sudo apt-get install libcanberra-gtk-module libcanberra-gtk3-module -y
sudo apt-get install gfortran -y
sudo apt-get install tree -y
sudo apt-get install screen -y
sudo apt-get install python-pytest -y
sudo apt-get install dos2unix -y
#sudo apt install pep8 -y
sudo apt-get install pylint -y
sudo apt-get install zerofree -y
sudo apt-get install libpq-dev -y
sudo apt-get install ntp -y
sudo apt-get install curl -y
# for pre-commit
sudo apt-get install shellcheck -y
sudo snap install shfmt
#pip3 install --extra-index-url="https://packages.dea.gadevs.ga" odc-apps-dc-tools odc-apps-cloud
# Install Pycharm
#sudo snap install pycharm-community --classic
sudo snap install pycharm-professional --classic
#setup Xauthority - for ec2 instances
#mv .Xauthority old.Xauthority
#touch ~/.Xauthority
#xauth generate :0 . trusted
# git setup
git config --global user.name "Duncan Gray"
git config --global user.email "duncan.gray@ga.gov.au"
# Just another way of installing awscli?
#pip3 install awscli --upgrade --user
# set up the datbase
#sudo apt-get install postgresql postgresql-contrib -y
# Install terraform
#sudo git clone https://github.com/robertpeteuil/terraform-installer.git $HOME/terraform-installer
#$HOME/terraform-installer/terraform-install.sh -a