sudo service mysql restart
sudo su –
Simple input the command and replace USERNAME and GROUPNAME with your own details. sudo adduser USERNAME GROUPNAME You can then check what groups your user is a part of by entering groups USERNAME Simply entering groups will display all groups on the system.
Rewrite permissions for Apache html folder. Don’t use this unless you know what you are doing. Add the user to the group instead. sudo chown -R USERNAME:www-data /var/www
Default SSH location path for connecting to Google Cloud instances. ssh -i ~/.ssh/my-ssh-key [USERNAME]@[IP_ADDRESS]
Short tutorial on how to Install a Let’s Encrypt SSL on Google Compute Engine. For this guide I’m using the pre-built WordPress deployment by Google on their micro server. The server runs Debian with Apache2 I’ll flex this out at a later date. Keeping it simple for now. Step 1: SSH into your Instance Step …