Ubuntu

Commands

Change root Pass
sudo passwd root

all groups

compgen -g

groups exampleusername

groups exampleusername

Who am I

whoami

Change root 

sudo -i

Set Passwords

sudo passwd
sudo passwd ubuntu

terminal

 Ctrl + Alt + T
killall -3 gnome-shell

Setup ubuntu Desktop and remote desktop on Google Cloud VM

Open Terminal via SSH

Install Ubuntu Desktop

sudo apt-get update
sudo apt -f install

sudo apt-get install ubuntu-desktop
sudo reboot

Install Chrome

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt-get install ./google-chrome-stable_current_amd64.deb

Install Remote Desktop

wget https://dl.google.com/linux/direct/chrome-remote-desktop_current_amd64.deb

sudo apt-get install --assume-yes ./chrome-remote-desktop_current_amd64.deb

Change passwords
Change to Root user

sudo -i

Set Passwords

sudo passwd
sudo passwd root
sudo passwd ubuntu

Who am I

whoami







Setup Remote Desktop Google VM

connect SSH
Open in browser window

sudo apt-get update

sudo apt-get upgrade -y
sudo apt-get install ubuntu-desktop
Configure the system SSHD on the VM to enable password-based authentication.

Edit /etc/ssh/sshd_config by changing "PasswordAuthentication" line from "No" to "Yes".

Save changes.

Go back to the GCP Dashboard, stop and start your VM.
sudo apt install --assume-yes wget tasksel
wget https://dl.google.com/linux/direct/chrome-remote-desktop_current_amd64.deb
sudo apt-get install --assume-yes ./chrome-remote-desktop_current_amd64.deb
sudo tasksel install ubuntu-desktop
optional - 
sudo bash -c ‘echo “exec /etc/X11/Xsession /usr/bin/gnome-session” > /etc/chrome-remote-desktop-session’
sudo reboot

Install Chrome

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

Change passwords
sudo -i
sudo passwd

sudo passwd root
sudo passwd ubuntu

Character Set

Table : Changed Defaults in MySQL 8.0

Character_set_serverutf8mb4
collation_serverutf8mb4_unicode_520_ci

changing the Character set in Duplicator, if you are using MySQL 8.0 +

Duplicator is using a default character set, that if not compative with MySQL 8.0 +

#Duplicator
#Character_Set
#MySql Character Set
#Lamp Server

Scroll to Top