- Create VM.
- Mount and install Guest Additions.
- Reboot.
- Add clipboard settings.
- Add host shared folder. It is under
/media/user/sf_folder_name
. sudo adduser username vboxsf
to access shared folder.- Reboot.
User
# Add user
adduser <username>
# Add sudo access
usermod -aG sudo <username>
# Switch to user
su - <username>
Basic
# Update
sudo apt update && sudo apt upgrade;
# curl, vim, tmux, git (Usually installed already)
sudo apt install curl vim tmux git -y;
# Node
sudo apt install nodejs npm -y;
# Global nodemon
sudo npm i -g nodemon;
# MySQL (sudo mysql -u root)
sudo apt install mysql-server -y && mysql_secure_installation;
Web Server
# nginx (web server)
sudo apt install nginx -y;
# Global forever
sudo npm i -g forever;
To update Ubuntu, the droplet needs to be destroyed i.e. rebuilt with the new Linux distro.
After this, an email will be sent with the login credentials.