WonderCMS is an extremely small flat-file CMS Website Builder. It's fast, responsive, and doesn't require any configuration. It provides a simple way of creating and editing websites. In this article, we are going to learn how to install WonderCMS on AlmaLinux 8. So, let’s get started.
Checkout the WonderCMS Project Here.
Try this wiki on our VPS. Starting at just $5/month with 24x7 In-house customer support.
A system with AlmaLinux 8 installed and running.
rootaccess to the system.
Once you're all set, we'll proceed with WonderCMS installation and configuration.
Let's begin with installing Apache and PHP. Install using the below codes.
yum install httpd httpd-tools php php-curl php-gd php-mbstring php-zip php-json -y
systemctl enable httpd systemctl start httpd systemctl status httpd
firewall-cmd --permanent --add-service=http firewall-cmd --permanent --add-service=https firewall-cmd --reload
Next we will install Let's Encrypt SSL cert so we can have the domain running on HTTPS.
You can refer the following link for instructions on how to Install Let's Encrypt.
Download WonderCMS from official website : Click here.
cd /var/www/html/ wget https://github.com/robiso/wondercms/releases/download/3.2.0/wondercms-320.zip unzip wondercms-320.zip rm wondercms-320.zip cd /var/www/html/wondercms
Let's make the folders readable.
chmod -R 755 /var/www/html/wondercms chown -R apache:apache /var/www/html/wondercms chcon -R -t httpd_sys_content_rw_t /var/www/html/wondercms
Create a new apache configuration file
dev3.domainhere.info.conf for the domain with the following command:
Add the following codes:
<VirtualHost *:80> ServerName dev3.domainhere.info ServerAlias dev3.domainhere.info DocumentRoot /var/www/html/wondercms <Directory /var/www/html/wondercms/> Options -Indexes +FollowSymLinks AllowOverride All </Directory> ErrorLog /var/log/httpd/dev3.domainhere.info-error.log CustomLog /var/log/httpd/dev3.domainhere.info-access.log combined </VirtualHost>
Your Domain Name.
Now, press the
Esc key, and type in
:wq! and press the
Enter key to save and exit the file.
Now, restart & check the apache with the following commands:
systemctl restart httpd systemctl status httpd
Now open the URL from your browser, this will redirect you to editing the WonderCMS Pages.
dev3.domainhere.infowith the actual IP or domain configured on the server.
Your password will be displayed on the Homepage, Copy your password and login:
Now you have successfully installed WonderCMS with Apache on AlmaLinux 8.