How to Install LAMP on Google Cloud Server

This post shows students and new users steps to install the LAMP stack on Google Cloud servers running Ubuntu Linux. We have gone through series of posts starting with registering a domain name, setting up a Google Cloud server and installing software and packages to help us build a functional LAMP based websites and applications.

We’re now ready to install the LAMP stack which is used to build many of the most popular websites and apps online today.

LAMP (Linux, Apache, MySQL/MariaDB, PHP/Perl/Python) is an acronym for a common solution stack that powers many useful and popular website and apps online today. The LAMP stack is mostly use as a building block for majority of the content management systems (CMS) as well, including WordPress, Drupal and Joomla.

This post is part of a series which can be used as a beginner’s guide to learn how to create a website domain, set up a Google Cloud server with Ubuntu Linux and install software and packages to run websites and apps built on LAMP.

In this series:

Now that you’ve learned how to create a website domain, set up a Google Cloud server, installed Apache, Nginx, PHP and MySQL or MariaDB, you can continue below to tie all together with any platform that uses the LAMP stack.

Continue reading “How to Install LAMP on Google Cloud Server”

How to Install Joomla on Google Cloud Server

This post shows students and new users steps to install Joomla on Google Cloud servers running Ubuntu Linux. We have gone through series of posts starting with registering a domain name, setting up a Google Cloud server and installing software and packages to help us build a functional website online.

We’re now ready to install Joomla to help us build our first dynamic, professional and a beautiful website to publish our wonderful content we’ve been dying to publish.

Joomla is a free and open-source, mobile-ready and user-friendly way to build your website. With Joomla, you can build dynamic websites using free templates, plugins and support base to help us throughout the process.

This is the seventh post in this series which can be used as a beginner’s guide to learn how to create a website domain, set up a Google Cloud server with Ubuntu Linux and install software and packages to build and run a website online.

In this series:

Now that you’ve learned how to create a website domain, set up a Google Cloud server, installed Apache, Nginx, PHP and MySQL or MariaDB, you can continue below to tie all together with Joomla.

Continue reading “How to Install Joomla on Google Cloud Server”

How to Install Drupal on Google Cloud Server

This post shows students and new users steps to install Drupal on Google Cloud servers running Ubuntu Linux. We have gone through series of posts starting with registering a domain name, setting up a Google Cloud server and installing software and packages to help us build a functional website online.

We’re now ready to install Drupal to help us build our first dynamic, professional and a beautiful website to publish our wonderful content we’ve been dying to publish.

Drupal is a free and open-source content management system written in PHP which is use to create many of the websites and applications you use every day. With Drupal, we can create wonderful websites using free templates, plugins and support base to help us throughout the process.

This is the seventh post in this series which can be used as a beginner’s guide to learn how to create a website domain, set up a Google Cloud server with Ubuntu Linux and install software and packages to build and run a website online.

In this series:

Now that you’ve learned how to create a website domain, set up a Google Cloud server, installed Apache, Nginx, PHP and MySQL or MariaDB, you can continue below to tie all together with Drupal.

Continue reading “How to Install Drupal on Google Cloud Server”

How to Install WordPress on Google Cloud Server

This post shows students and new users steps to install WordPress on Google Cloud servers running Ubuntu Linux. We have gone through series of posts starting with registering a domain name, setting up a Google Cloud server and installing software and packages to help us build a functional website online.

We’re now ready to install WordPress to help us build our first dynamic, professional and a beautiful website to publish our wonderful content we’ve been dying to publish.

WordPress is a free and open-source content management system or website builder written in PHP and paired with a MySQL or MariaDB database. With WordPress, we can create wonderful websites using free templates, plugins and support base to help us throughout the process.

This is the seventh post in this series which can be used as a beginner’s guide to learn how to create a website domain, set up a Google Cloud server with Ubuntu Linux and install software and packages to build and run a website online.

In this series:

Now that you’ve learned how to create a website domain, set up a Google Cloud server, installed Apache, Nginx, PHP and MySQL or MariaDB, you can continue below to tie all together with WordPress.

Continue reading “How to Install WordPress on Google Cloud Server”

How to Install MySQL or MariaDB on Google Cloud Server

This post shows students and new users steps to install MySQL or MariaDB database server on Google Cloud servers running Ubuntu Linux. If you want run a website online, you’ll need a web server. You’ll probably also need a database server installed if you want run dynamic and some of the popular CMS, like WordPress, Drupal or Drupal.

MySQL and MariaDB are the most popular open source database servers in use today, and run on majority of websites online.

This is the sixth post in this series which can be used as a beginner’s guide to learn how to create a website domain, set up a Google Cloud server with Ubuntu Linux and install software and packages to build and run a website online.

In this series:

Now that you’ve learned how to create a website domain and set up a Google Cloud server, this post shows you how to install MySQL or MariaDB on Google Cloud servers with Ubuntu Linux.

Continue reading “How to Install MySQL or MariaDB on Google Cloud Server”

How to Install PHP on Google Cloud Server

This post shows students and new users steps to install PHP on Google Cloud servers running Ubuntu Linux. If you want run a website online, you’ll need a web server. You’ll probably also need a PHP server-side programming language script installed on your server. PHP is the most popular open source side-side script in use today, and runs on majority of websites online.

This is the fifth post in this series which can be used as a beginner’s guide to learn how to create a website domain, set up a Google Cloud server with Ubuntu Linux and install software and packages to build and run a website online.

In this series:

Now that you’ve learned how to create a website domain and set up a Google Cloud server, this post shows you how to install PHP on Google Cloud server with Ubuntu Linux.

Continue reading “How to Install PHP on Google Cloud Server”

How to Install Nginx on Google Cloud Server

This post shows students and new users steps to install Nginx HTTP server on Google Cloud server running Ubuntu Linux. If you want run a website online, you’ll need a web server. Nginx is one of the most popular open source servers in use today, and a great web server to use to run websites online.

This is the fourth post in this series which can be used as a beginner’s guide to learn how to create a website domain, set up a Google Cloud server with Ubuntu Linux and install software and packages to build and run a website online.

In this series:

Now that you’ve learned how to create a website domain and set up a Google Cloud server, this post shows you how to install Nginx HTTP web server.

Continue reading “How to Install Nginx on Google Cloud Server”

How to Install Apache on Google Cloud Server

This post shows students and new users steps to install Apache HTTP server on Google Cloud server running Ubuntu Linux. If you want run a website online, you’ll need a web server. Apache is the most popular open source server in use today, and a great web server to use to run websites online.

This is the third post in this series which can be used as a beginner’s guide to learn how to create a website domain, set up a Google Cloud server with Ubuntu Linux and install software and packages to build and run a website online.

In this series:

Now that you’ve learned how to create a website domain and set up a Google Cloud server, this post shows you how to install Apache HTTP web server.

Continue reading “How to Install Apache on Google Cloud Server”

How to Create a Google Cloud Server with Ubuntu Linux

This post shows students and new users steps to create a Google Cloud server with Ubuntu Linux to run their own websites online. Our first post in the series showed you how to create and register your own domain name with Google Domains.

This post series will help you with a step-by-step process in registering for a domain, setting up a cloud server and installing all the software and apps needed to run your own websites online.

When you create a domain, it does nothing until you point or forward the domains name to a server. The server hosts your content. The content you want your audience to view and use online. Since we already have a registered domain, let’s go and get a Google Cloud server that we will use to host our content.

If you haven’t read our previous post, go and read it before going forward with series. The post can be found at the link below.

How to create your website domain

Google Cloud Platform is HUGE! It’s just not for running cloud servers. Google Cloud Platform is a suite of cloud computing services and infrastructure that can be used to power IT services and business operations.

For this series, we’re going only going to be using Google Cloud server resources to run our website.

With Google Cloud Platform (GCP), we can spin up a cloud server which is a virtual machine running on Google Computing infrastructure. With it, run our websites.

How to sign up for Google Cloud

By this time you should have a Gmail account. Having a Gmail account which makes it easy to use Google’s services.

Head over to Google Cloud Platform (GCP) and register for an account if you don’t already have one.

Sign up for  Google Cloud

Click the blue button: “Get started for free” located in the upper-right corner of the page.

google cloud get started for free

Next, sign in with your Gmail account and register. You may be able to get a $300 credit for registering.

google email account login

Once registration is complete, you should have a Google Cloud Platform account. At this point, you won’t be charged anything because you are not using any of Google’s Cloud services yet.

How to create a Google Cloud server

Now that you have created a Google Cloud Platform account, let’s go and create a Google Cloud server resource.

We will forward our domain we created in our previous post to point to this Google server which is going to be our host for hosting our content online.

To create a new Google Cloud Server, go to the menu on the top left and navigate to Compute Engine ==> VM instances as shown in the image below.

google cloud ompute engine vm instances updated

If you haven’t created a project, you’ll be prompted to create a new project before creating a VM instance.

Next, from the Compute Engine ==> VM instances page, click the CREATE INSTANCE button as shown below.

Doing this will create a new virtual machine in Google Cloud infrastructure so we can use to host our content.

This may take a few minutes for Compute Engine to prepare a VM instance. When ready, you should see a page to see VM setup details. 

google cloud server net instance

On the VM creating page, choose to Create a new VM from scratch.

Then use the bullet points below to select and provide other details for the new server.

Name: Give your server a name which starts with a lowercase letter. If a new is not compatible with Google Cloud server name, it will prompt you to change it.

Region: A region is a specific geographical location where you can run your Google Cloud resources. You’ll typically want to select the region that your server will primarily be accessed.

Zone: A zone is an isolated location within a region that determines where your data are stored. A zone is typically closer to a region.

Machine configuration: Google Cloud offers different virtual machine configurations. Choose the one the fits your needs and budget.

Machine family – General purpose

CPU Series – CPU generation

Machine Type – CPU and Memory allocation.

Boot disk: This is where you choose the operating system for your Google Cloud server. Linux Debian is selected by default. There are other types of operating systems you can choose from. For this tutorial, we’re going to be using Ubuntu Linux.

Click Change, these choose Ubuntu Linux.

ubuntu linux boot disk

Firewall: If you want to connect to the web from your Google Cloud server, make sure to allow both HTTP and HTTPS traffic. Add tags and firewall rules to allow specific network traffic from the Internet

  • Allow HTTP traffic
  • Allow HTTPS traffic
google create new vm instance

Once you’re done selecting the VM instance details, click the Create button to create your first VM.

After a few moment, the first VM server should be created and ready.

google cloud server instance

Under External IP, you’ll find your server public or external IP address.

This is the IP address we will forward or point our domain we created earlier to. Take notes of the External IP address.

How to point a domain name to server

Now that you have created a Google Cloud server and you have an external IP address, go back to your domain registrar website.

For us, it’s Google Domains.

Once you login to Google Domains, click in the domain name, then select DNS.

google domains dns edit

On the DNS page, scroll down to Custom records in the middle. Then expand Custom records tile, and add your first record.

  • Host name field, leave blank
  • Type = A
  • TTL 3600
  • Data: IP address of host

When you’re done, click the Save button.

google domains add dns a record

When you’re done, a new record will show up when website domain pointing to the server’s IP address.

google domains custom records a records updated

Now the domain name is pointing to a server or host IP address. At this time, the server is live but there are not content created yet.

In our next post, we will show you how to create a web server and content on our Google Cloud server we created above.

That should do it!

Conclusion:

This post showed you how to create a Google Cloud server. It also showed you how to point or forward an domain name to a server IP address.

If you find any error above or have something to add, please use the comment form below.

How to Create your Website Domain

This post shows students steps to create a website domain in order to create a website for themselves. When you want to run your own website online, there are things you will have to do to get that one. One of those is to register for your own domain name.

Choosing a domain for your website is one of the most important decisions you will have to make. That’s because all the good domains names are taken and being used by someone else.

So to come up with a domain name that is available and easy to remember will be one of your many challenges running a website online.

Before trying to come up with a domain name that sounds good and easy to remember, use these bullets to help you:

  • Easy to say and spell. Successful websites have easy to remember domain names. If you can come up with something that’s easy to remember and short, and also available, then register it.
  • Use .com, .org, or .net. domain extension. If you’re creating an online business, then you’ll probably want to go with .com extension. You want people to be able to remember it, after all. .org, .net also are good alternatives.

For the sake of time, we’re going to be using an example.com.

The example domain name is for testing purposes only and can’t be used or registered by anyone.

Continue reading “How to Create your Website Domain”

How to Setup PuTTY SSH Key Authentication with Windows 11

This post shows students and new users steps to configure PuTTY with SSH Key (no passwords) authentication with Windows 11. SSH supports various authentication methods. Authenticating using public key is more secure and convenient than traditional password authentication.

Our previous post showed you how to setup SSH Key base authentication with Windows 11 without additional software. However, some people prefer to use PuTTY as their SSH client because of its simplicity. If you want to use PuTTY to connect to a SSH server using key authentication with Windows 11, then the steps below will show you how to do that.

The steps below will show you how to install, generate SSH key pair and configure PuTTY to connect to a SSH server without a password.

In Ubuntu Linux and other Unix-like systems, generating and managing SSH key and using key based authentication is pretty easy and straightforward. Below is a post that shows you how to create a SSH key pair in Ubuntu Linux and use the public key to authenticate to a SSH server.

How to create a SSH key for key authentication

Continue reading “How to Setup PuTTY SSH Key Authentication with Windows 11”

How to Dual Boot Windows 11 and Ubuntu Linux

This post shows students and new users steps to install Windows 11 and Ubuntu Linux on a single computer. If have a Windows 11 install on your computer and you want to run Ubuntu Linux on the same computer, you’ll have to setup a dual boot – meaning you will be able to boot Windows 11 and Ubuntu Linux on the same machine – although one at a time.

Windows 11, a successor to Windows 10 which was released on October 5, 2021 is becoming the primary Windows OS. Ubuntu Linux which is probably the best Linux OS is also popular. If you want run both operating systems without additional hardware cost, the steps below will show you how to do that.

Installing Windows 11 or Ubuntu Linux is a pretty straightforward process. However, if you want to run both on the same machine, then a bit of a preparation will be required.

In most cases, you’ll want to install Windows first, then install Ubuntu later on a separate partition. If Windows 11 occupies the entire partition, then you may have to shrink the primary partition, create a new to install Ubuntu on it.

We’ll show you how to do it below.

Continue reading “How to Dual Boot Windows 11 and Ubuntu Linux”