

If you do not see this, please ensure that the previous commands in this section have completed without error Step 3: Installing and testing PHP 7.4 Once installed, test by accessing your server’s IP in your browser: You should see a page with an “Apache2 Ubuntu Default” header showing that Apache2 has been installed successfully. Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Tue 10:32:26 UTC 1min 6s ago You should the get an output showing that the rvice is running and enabled. Install Apache using apt: sudo apt install apache2Ĭonfirm that Apache is now running with the following command: sudo systemctl status apache2 Now open ports 22 (for SSH), 80 and 443 and enable Ubuntu Firewall (ufw): sudo ufw allow ssh Once you have your cloud server up and running and connect to it using SSH, you can get started!įirst of all, ensure everything is up to date on your server: sudo apt update If you are new to UpCloud, have a look at our quick started guide for deploying your first cloud server and how to connect to it. To begin with, you need a cloud server to run the LAMP stack software.

Try UpCloud for free! Deploy a server in just 45 seconds Step 1: Preparing your Ubuntu server The steps and installed software may vary on other platforms. These together form a reliable LAMP stack and the groundworks for building your websites! The steps in this guide are written for use with a newly deployed Ubuntu 20.04 UpCloud Cloud Server.

In this guide, we’ll walk you through the steps required to install a basic web server using Ubuntu 20.04, Apache2, MariaDB and PHP. LAMP stack makes a great starting point for users who want to get a web server running quickly and easily on their new cloud server. It commonly refers to the combination of Linux, Apache, MySQL and PHP. LAMP stack is a simple yet popular suite of widely supported web server software.
