- Update apt-get
- Install curl & other essentials
- Install Google Chrome
- Download Node Version Manager
- Install Node LTS version & Latest
- Install Git
- Setup Git SSH
- Install VScode
- VScode theme
- VScode settings
- VScode extensions
- Live sass compiler
- Prettier
- Vetur
- vscode-icons
- Install lite-server
- Install MongoDB & run as service
-
sudo apt-get update -
sudo apt-get install curl build-essential libssl-dev -
curl https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb -
curl https://raw.githubusercontent.com/creationix/nvm/v0.35.0/install.sh | bash
source ~/.profile -
nvm install node
nvm install --lts
nvm use --lts -
sudo apt-get install git-core
git config --global user.name "Eckhardt-D"
git config --global user.email "eckhardt.dreyer@gmail.com" -
ssh-keygen -t rsa -b 4096 -C "eckhardt.dreyer@gmail.com"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa -
sudo snap install code --classic -
npm i -g lite-server -
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
sudo apt-get update
sudo apt-get install -y mongodb
sudo nano /etc/systemd/system/mongodb.servicecopy the following into file:
#Unit contains the dependencies to be satisfied before the service is started. [Unit] Description=MongoDB Database After=network.target Documentation=https://docs.mongodb.org/manual # Service tells systemd, how the service should be started. # Key `User` specifies that the server will run under the mongodb user and # `ExecStart` defines the startup command for MongoDB server. [Service] User=mongodb Group=mongodb ExecStart=/usr/bin/mongod --quiet --config /etc/mongodb.conf # Install tells systemd when the service should be automatically started. # `multi-user.target` means the server will be automatically started during boot. [Install] WantedBy=multi-user.target
systemctl daemon-reload
sudo systemctl start mongodbcheck if running
sudo systemctl status mongodbrun mongo on startup
sudo systemctl enable mongodbcreate user
mongo -u admin -p <password> --authenticationDatabase admin