Atlantic.Net Blog

How to Install Landing CMS on Oracle Linux 8

Hitesh Jethva
by Atlantic.Net (511 posts) under Dedicated Server Hosting, Tutorials
0 Comments

Landing CMS is a free and open-source CMS tool used for managing landing pages. Instead of using a database, it stores all data in a plain text file. The installation process is simple and straightforward. You will only need to install a web server and PHP to start with Landing CMS.

This post will show you how to install Landing CMS on Oracle Linux 8.

Prerequisites

  • A server running Oracle Linux 8 on Atlantic.Net Cloud Platform
  • A root password configured on your server

Step 1 – Create Atlantic.Net Cloud Server

First, log in to your Atlantic.Net Cloud Server. Create a new server by choosing Oracle Linux 8 as the operating system with at least 2GB RAM. Connect to your Cloud Server via SSH and log in using the credentials highlighted at the top of the page.

Once you are logged in to your server, run the following command to update your base system with the latest available packages.

dnf update -y

Step 2 – Install Apache and PHP

First, install the Apache web server by running the following command:

dnf install httpd -y

Next, enable the PHP 7.4 module with the following command:

dnf module enable php:7.4 -y

Next, install PHP with other required extensions using the following command:

dnf install -y php php-zip php-intl php-mysqlnd php-dom php-simplexml php-xml php-xmlreader php-curl php-exif php-ftp php-gd php-iconv php-json php-mbstring php-posix php-sockets php-tokenizer php-fpm -y

Once all the packages are installed, verify the PHP version using the following command:

php-fpm -v

You should see the following output:

PHP 7.4.19 (cli) (built: May  4 2021 11:06:37) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies

Next, start and enable the Apache and PHP-FPM services with the following command:

systemctl start httpd php-fpm
systemctl enable httpd php-fpm

Step 3 – Download Landing CMS

First, navigate to the Apache web root directory and download the latest version of Landing CMS with the following command:

cd /var/www/html/
wget https://github.com/Elias-Black/Landing-CMS/archive/refs/heads/master.zip

Once the download is complete, unzip the downloaded file with the following command:

unzip master.zip

Next, rename the extracted directory:

mv Landing-CMS-master landing

Next, set proper permissions and ownership to the landing CMS directory:

chmod -R 755 /var/www/html/landing/
chown -R apache:apache /var/www/html/landing/

Step 4 – Configure Apache for Landing CMS

Next, create an Apache virtual host configuration file for Landing CMS with the following command:

nano /etc/httpd/conf.d/landing.conf

Add the following configurations:

<VirtualHost *:80>

ServerName landing.example.com
DocumentRoot /var/www/html/landing

<Directory /var/www/html/landing/>
    Options -Indexes +FollowSymLinks
    AllowOverride All
</Directory>

ErrorLog /var/log/httpd/landing-error.log
CustomLog /var/log/httpd/landing-access.log combined

</VirtualHost>

Save and close the file, then restart the Apache service to apply the changes:

systemctl restart httpd

You can also check the Apache status using the following command:

systemctl status httpd

You should see the following output:

● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
  Drop-In: /usr/lib/systemd/system/httpd.service.d
           └─php-fpm.conf
   Active: active (running) since Tue 2022-07-19 05:25:12 EDT; 3s ago
     Docs: man:httpd.service(8)
 Main PID: 32712 (httpd)
   Status: "Started, listening on: port 80"
    Tasks: 213 (limit: 11409)
   Memory: 32.6M
   CGroup: /system.slice/httpd.service
           ├─32712 /usr/sbin/httpd -DFOREGROUND
           ├─32714 /usr/sbin/httpd -DFOREGROUND
           ├─32715 /usr/sbin/httpd -DFOREGROUND
           ├─32716 /usr/sbin/httpd -DFOREGROUND
           └─32717 /usr/sbin/httpd -DFOREGROUND

Jul 19 05:25:11 oraclelinux8 systemd[1]: httpd.service: Succeeded.
Jul 19 05:25:11 oraclelinux8 systemd[1]: Stopped The Apache HTTP Server.
Jul 19 05:25:11 oraclelinux8 systemd[1]: Starting The Apache HTTP Server...

Step 5 – Access Landing CMS

Now, open your web browser and access the Landing CMS web interface using the URL http://landing.example.com. You should see the following screen:
Landing CMS welcome page
Click on Go to CMS. You should see the set password screen:

Landing CMS set password page
Set your new password and click on the Save button. You should see the Landing CMS dashboard:
Landing CMS dashboard page

Conclusion

In this post, we explained how to install Landing CMS on Oracle Linux 8. You can now use Landing CMS to manage all your Landing pages. For more information, visit the Landing CMS documentation. Try it on dedicated hosting from Atlantic.Net!

Get A Free To Use Cloud VPS

Free Tier Includes:
G3.2GB Cloud VPS Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year


Looking for a Hosting Solution?

We Provide Cloud, Dedicated, & Colocation.

  • Seven Global Data Center Locations.
  • Flexible Private, Public, & Hybrid Hosting.
  • 24x7x365 Security, Support, & Monitoring.
Contact Us Now! Med Tech Award FTC
SOC Audit HIPAA Audit HITECH Audit

Recent Posts

How to Set Up Kubernetes Cluster Using Minikube on Arch Linux
How to Install Jenkins on Arch Linux
Which Compliance Standards Require an IPS?
Install Netdata Monitoring Tool on Arch Linux
How to Install Vue.js on Arch Linux

Get started with 12 months of free cloud VPS hosting

Free Tier includes:
G3.2GB Cloud VPS Server Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year


New York, NY

100 Delawanna Ave, Suite 1

Clifton, NJ 07014

United States

San Francisco, CA

2820 Northwestern Pkwy,

Santa Clara, CA 95051

United States

Dallas, TX

2008 Lookout Dr,

Garland, Texas 75044

United States

Ashburn, VA

1807 Michael Faraday Ct,

Reston, VA 20190

United States

Orlando, FL

440 W Kennedy Blvd, Suite 3

Orlando, FL 32810

United States

Toronto, Canada

20 Pullman Ct, Scarborough,

Ontario M1X 1E4

Canada

London, UK

14 Liverpool Road, Slough,

Berkshire SL1 4QZ

United Kingdom

Resources