Atlantic.Net Blog

Install WonderCMS on Oracle Linux 8

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

WonderCMS is a free, open-source, lightweight content management system. It is written in PHP, jQuery, and HTML/CSS. WonderCMS is an extremely small flat-file CMS, so you don’t need to install any databases on your system. It provides an easier way to build a website without any programming knowledge. WonderCMS is fast, responsive, and doesn’t require any configuration. It offers a rich set of features, including SEO-friendliness, friendly URLs, themes, custom login URLs, and more.

In this post, we will explain how to install WonderCMS on Oracle Linux 8.

Prerequisites

  • A server running Oracle Linux 8 on the 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, 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

Before starting, you will need to install Apache, PHP, and other necessary PHP extensions on your server. You can install all of them using the following command:

dnf install httpd php php-mysqlnd php-curl php-opcache php-xml php-xmlrpc php-gd php-mbstring php-zip php-json wget unzip git -y

Once all the packages are installed, edit the php.ini file and change some default settings:

nano /etc/php.ini

Change the following settings per your requirements:

file_uploads = On
allow_url_fopen = On
memory_limit = 256M
post_max_size 32M
upload_max_filesize = 64M
max_execution_time = 300
date.timezone = "America/Chicago"

Save and close the file, then start the Apache service and enable it to start at system reboot:

systemctl start httpd
systemctl enable httpd

Step 3 – Download and Install WonderCMS

Next, you will need to download the latest version of WonderCMS from the GitHub repository. You can download it using the following command:

git clone https://github.com/robiso/wondercms.git /var/www/html/wondercms

Once the download is completed, set proper permissions and ownership to the WonderCMS directory:

chown -R apache:apache /var/www/html/wondercms
chmod -R 777 /var/www/html/wondercms/

chmod -R 777 /var/lib/php/session/

Once you are done, you can proceed to the next step.

Step 4 – Configure for WonderCMS

Next, you will need to create an Apache virtual host configuration file for WonderCMS. You can create it using the following command:

nano /etc/httpd/conf.d/wondercms.conf

Add the following configurations:

<VirtualHost *:80>
  ServerName wonder.example.com
  DirectoryIndex index.php
  DocumentRoot /var/www/html/wondercms


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

  <Directory /var/www/html/wondercms>
      Options FollowSymLinks
      AllowOverride All
      Require all granted
  </Directory>

</VirtualHost>

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

systemctl restart httpd

You can check the Apache status using the following command:

systemctl status httpd

You will get 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-06-28 13:29:03 EDT; 6s ago
     Docs: man:httpd.service(8)
 Main PID: 77315 (/usr/sbin/httpd)
   Status: "Started, listening on: port 80"
    Tasks: 213 (limit: 11409)
   Memory: 178.2M
   CGroup: /system.slice/httpd.service
           ├─77315 /usr/sbin/httpd -DFOREGROUND
           ├─77320 /usr/sbin/httpd -DFOREGROUND
           ├─77321 /usr/sbin/httpd -DFOREGROUND
           ├─77322 /usr/sbin/httpd -DFOREGROUND
           └─77323 /usr/sbin/httpd -DFOREGROUND

Jun 28 13:29:02 oraclelinux8 systemd[1]: Starting The Apache HTTP Server...

Step 5 – Access WonderCMS Web Interface

Now, open your web browser and access WonderCMS using the URL http://wonder.example.com. You should see the following page containing your login password:
WonderCMS welcome page
Click on the “Click to login.” button. You should see the WonderCMS login screen:
WonderCMS login page
Provide the WonderCMS password and click on the Login button. You should see the following screen:
WonderCMS dashboard page
Click on Open security settings to change the default password and login URL as shown below:
WonderCMS change password and url page
Define your new login URL and password and click on the CHANGE PASSWORD button to update the password.

Conclusion

in this guide, we explained how to install WonderCMS with Apache on Oracle Linux 8. You can now install themes and plugins and start creating your first website. 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