- 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 vboxsfto access shared folder.- Reboot.
Sytem
# Check timezone
timedatectl
# Change timezone
sudo timedatectl set-timezone EST # UTC, CETUser
# Add user
adduser <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;
# Download and install nvm
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash;
# Install latest nodejs
nvm install node
# Global nodemon
sudo npm i -g nodemon;
# MySQL (sudo mysql -u root)
sudo apt install mysql-server -y && mysql_secure_installation;Database
# Change timezone
sudo vim /etc/mysql/my.cnf
# Change default-time-zone = "+01:00" to desiredWeb Server
# nginx (web server)
sudo apt install nginx -y;
# Global process manager
sudo npm i -g pm2;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.