WordPress is the most popular content management system (CMS) in the world, powering over 40% of all websites on the internet. However, running WordPress on a traditional server can be costly, inefficient, and insecure. That’s why many web developers and bloggers are looking for alternative ways to host their WordPress sites, such as using ARM servers.
ARM servers are based on a different architecture than the conventional x86 servers, which offer several advantages such as lower power consumption, higher performance, and better scalability. In this article, we will show you how to install WordPress on Ubuntu ARM, using two of the best providers of ARM servers: Oracle Cloud and Hetzner Cloud. We will also show you how to use CloudPanel, a free and open-source control panel for managing your WordPress site on ARM.
ARM stands for Advanced RISC Machine, which is a type of processor architecture that uses a reduced instruction set (RISC) to perform operations more efficiently. Unlike x86 processors, which have complex and variable-length instructions, ARM processors have simple and fixed-length instructions, which allow them to execute more instructions per clock cycle.
ARM processors are widely used in mobile devices, such as smartphones and tablets, because they consume less power and generate less heat than x86 processors. However, in recent years, ARM processors have also gained popularity in the server market, as they offer better performance per watt and per dollar than x86 processors.
Some of the benefits of using ARM servers are:
You can check this article for a more detailed difference between ARM and x86
There are several cloud providers that offer ARM servers for hosting your WordPress site. However, not all of them are equally reliable, affordable, and easy to use. In this article, we will focus on two of the best options: Oracle Cloud and Hetzner Cloud.
Oracle Cloud is one of the leading cloud platforms in the world, offering a wide range of services and solutions for various applications and industries. One of the best features of Oracle Cloud is its free tier, which allows you to use some of its services for free forever.
One of the services that you can use for free is the Oracle Cloud Infrastructure (OCI) Compute service, which lets you create and manage virtual machines (VMs) in the cloud. You can choose from different types of VMs, including AMD-based VMs, Intel-based VMs, and ARM-based VMs.
The ARM-based VMs are powered by Ampere Altra processors, which have 80 cores and 160 threads each. You can get up to four ARM-based VMs for free, each with 24 GB of RAM and 200 GB of block storage. You can also get up to 10 TB of outbound data transfer per month for free.
To get started with Oracle Free Tier, you need to sign up for an Oracle Cloud account using your email address. You will also need to provide your credit card information for verification purposes, but you will not be charged unless you exceed the free limits or use paid services.
Once you have your account ready, you can follow these steps to create an ARM-based VM on Oracle Cloud:
You have now created an ARM-based VM on Oracle Cloud. You can access it using SSH with the username ubuntu and the private key that you downloaded during the instance creation.
Hetzner Cloud is another cloud platform that offers ARM servers for hosting your WordPress site. Hetzner Cloud is known for its low prices, high performance, and excellent customer service. You can get ARM servers from Hetzner Cloud starting from €4.51 per month, which includes 4 GB of RAM, 40 GB of SSD storage, and 20 TB of traffic.
You can check this Hetzner Review for more details about Hetzner
To get started with Hetzner Cloud, you need to sign up for a Hetzner Cloud account using your email address. You will also need to provide your credit card information or use PayPal to add funds to your account.
Once you have your account ready, you can follow these steps to create an ARM-based server on Hetzner Cloud:
You have now created an ARM-based server on Hetzner Cloud. You can access it using SSH with the username root and the password that you received via email.
Now that you have your ARM server ready, you can install WordPress on it using CloudPanel, a free and open-source control panel for managing your WordPress site on ARM. CloudPanel is designed to be simple, fast, and secure, and it supports various features such as SSL certificates, caching, backups, firewall, cron jobs, and more.
To install WordPress on Ubuntu ARM using CloudPanel, you need to follow these steps:
If you are using Oracle Free Tier, you need to configure some settings before installing CloudPanel. You need to open the port 80 and 443,8443 on your instance’s security list, which are used for HTTP and HTTPS traffic. You also need to disable the firewall on your instance, which may interfere with CloudPanel’s firewall rules.
To open the port 80 and 443,8443 on your instance’s security list, you need to do the following:
If you are using Hetzner Cloud, you do not need to configure any settings before installing CloudPanel. You just need to create an ARM VM
After the VPS server is created you will need to login to the VPS and start updating the VPS and then install CloudPanel.
Update VPS:
apt update && apt -y upgrade && apt -y install curl wget sudo
Then you should reboot the VPS.
Install CloudPanel:
We are going to install cloudpanel with MariaDB 10.11 on Hetzner:
curl -sS https://installer.cloudpanel.io/ce/v2/install.sh -o install.sh; \
echo "3c30168958264ced81ca9b58dbc55b4d28585d9066b9da085f2b130ae91c50f6 install.sh" | \
sha256sum -c && sudo CLOUD=hetzner DB_ENGINE=MARIADB_10.11 bash install.sh
We are going to install cloudpanel with MariaDB 10.11 on Oracle Free tier.
curl -sS https://installer.cloudpanel.io/ce/v2/install.sh -o install.sh; \
echo "3c30168958264ced81ca9b58dbc55b4d28585d9066b9da085f2b130ae91c50f6 install.sh" | \
sha256sum -c && sudo DB_ENGINE=MARIADB_10.11 bash install.sh
After the installation finishes, you can access the admin interface with https://serverIpAddress:8443, the video will have the details.
I am using Cloudflare for this, what you need to do is to go there and create an admin A record that you are going to use for accessing securely the admin interface and point the main domain to the IP address as in the below picture:
In the admin area, under settings, you need to add the admin URL as below:
To add a WordPress website is easy, you just go to Sites and hit Add Site, in there you have Create WordPress website:
After you introduce the details and hit create:
After the website will be created, you can go and edit the PHP to use the 8.1 or any version you may want:
If you are interested to know more about cloudpanel and server management you can check the Master Cloudpanel course.
In this article, we have shown you how to install WordPress on Ubuntu ARM using CloudPanel, a free and open-source control panel for managing your WordPress site on ARM. We have also explained the benefits of using ARM servers, such as lower power consumption, higher performance, and better scalability. We have also compared two of the best providers of ARM servers: Oracle Cloud and Hetzner Cloud.
By following this guide, you can enjoy the advantages of running WordPress on ARM, such as faster loading times, lower costs, and higher security. You can also easily manage your WordPress site using CloudPanel, which supports various features such as SSL certificates, caching, backups, firewall, cron jobs, and more.
We hope you found this article helpful and informative. If you have any questions or feedback, please feel free to leave a comment below. Thank you for reading!