setup ubuntu virtualbox personal code example

Example: setup ubuntu virtualbox personal

# basic stuffs
sudo apt install -y sudo nano flatpak wget curl git build-essential
sudo apt install -y linux-headers-$(uname -r)
sudo apt install -y xfce4 xfce4-goodies
sudo snap install code
sudo snap install brave
sudo passwd $user
sudo passwd root
# password & keys empty
#sudo snap install google-chrome

# skip sudo password
# use sudo visudo
# not recommended but quick edit for it
echo "$USER ALL=(ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers

# google-chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb

# chrome-remote-desktop-host
wget https://dl.google.com/linux/direct/chrome-remote-desktop-host_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb


# dwagent
wget https://www.dwservice.net/download/dwagent_x86.sh
sudo chmod +x dwagent_x86.sh
sudo ./dwagent_x86.sh

# teamviewer
sudo apt install -y teamviewer

Tags:

Misc Example