WonderCMS is a simple, open-source flat-file CMS that doesn’t require a database. It’s ideal for users who want a lightweight and easy-to-install CMS solution. You can use WonderCMS to create personal websites, small business websites, or other simple web projects with minimal setup.
What Can You Do with WonderCMS?
- Simple Websites: Quickly build and manage personal or small business websites.
- No Database Required: Uses flat-file storage, reducing complexity and enhancing performance.
- Customizable: Supports themes and plugins to extend functionality.
- Secure: Frequently updated to ensure security.
Step 1: Create an Instance on Cloud.shape.host
Step 1.1: Access the Dashboard
- Log in to Cloud.shape.host.
- Click Create, and select Instances.
Step 1.2: Choose a Datacenter Location
Select a datacenter closest to your target audience, such as New York, London, or Frankfurt.
Step 1.3: Select a Plan
Choose a plan based on the resource needs of your WonderCMS installation: Standard, CPU-Optimized, or Memory-Optimized.
Step 1.4: Select an Operating System
Select AlmaLinux 9 as your OS for installing WonderCMS.
Step 1.5: Configure and Launch
- Set the Network Type and Authentication Method (SSH key or password).
- Click Create Instance.
Step 1.6: Locate your Instance’s IP
Step 1.7: Access Your Instance
- SSH (for Linux/macOS):
ssh root@<your-instance-ip>
Replace <your-instance-ip>
with the server’s public IP.
- PuTTY (for Windows):
Download PuTTY, enter the public IP, and click Open.
Step 2: Install Apache, PHP, and Other Dependencies
Install Apache, PHP, and other required packages:
dnf install httpd php php-common php-curl php-opcache php-xml php-gd php-mbstring php-zip php-json wget unzip git
Step 3: Configure PHP
Open the PHP configuration file and modify the following settings:
nano /etc/php.ini
Update the values:
date.timezone = Europe/Amsterdam
memory_limit = 512M
upload_max_filesize = 128M
post_max_size = 128M
max_execution_time = 300
max_input_vars = 5000
How to Save and Quit Nano:
- Press
CTRL + O
to save the file. - Press
Enter
to confirm. - Press
CTRL + X
to quit the Nano editor.
Step 4: Start Apache and Firewall
Enable and start the Apache service:
systemctl enable --now httpd
systemctl status httpd
Install and configure the firewall:
dnf install firewalld
systemctl unmask firewalld
systemctl start firewalld
firewall-cmd --add-service={http,https} --permanent
firewall-cmd --reload
firewall-cmd --list-all
Step 5: Download and Install WonderCMS
Navigate to the web directory and download WonderCMS:
cd /var/www/
wget https://github.com/WonderCMS/wondercms/releases/download/3.4.3/wondercms-343.zip
unzip wondercms-343.zip -d .
Set proper ownership and permissions:
chown -R apache:apache /var/www/wondercms
chmod -R 755 /var/www/wondercms
Step 6: Configure Apache for WonderCMS
Create a new virtual host configuration:
nano /etc/httpd/conf.d/wondercms.conf
Insert the following configuration:
<VirtualHost *:80>
ServerName almalinux.shape.host
DirectoryIndex index.php
DocumentRoot /var/www/wondercms
ErrorLog /var/log/httpd/almalinux.shape.host-error.log
CustomLog /var/log/httpd/almalinux.shape.host-access.log combined
<Directory /var/www/wondercms>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
How to Save and Quit Nano:
- Press
CTRL + O
to save the file. - Press
Enter
to confirm. - Press
CTRL + X
to quit the Nano editor.
Test and restart Apache:
apachectl configtest
systemctl restart httpd
Step 7: Install Certbot and Secure with SSL
Install Certbot and the Apache plugin:
dnf install epel-release
dnf install certbot python3-certbot-apache
Generate an SSL certificate with Certbot:
certbot --apache --agree-tos --no-eff-email --redirect --hsts --staple-ocsp --email contact@shape.host -d almalinux.shape.host
Step 8: Access WonderCMS from Your Browser
Once the SSL certificate is installed and everything is configured, you can access your WonderCMS installation by navigating to the following URL in your web browser:
https://almalinux.shape.host
You should now see the WonderCMS homepage. From here, you can begin managing your content and making updates.
Step 9: Access Your WonderCMS Website
- Open your web browser and navigate to your domain, for example:
https://almalinux.shape.host
. - You will be greeted with the WonderCMS welcome screen, showing the initial login password.
Step 10: Login to WonderCMS
- Click the “Click Here to Login” button.
- You will be redirected to the login page, where you need to input the default password provided on the welcome page.
Step 11: Configure Admin Settings
- After logging in, navigate to the Settings/Plugins.
- You can customize settings, such as changing the Admin Login URL or updating the password.
- Remember to save your new configuration and keep your login URL secure.
You have successfully installed WonderCMS on AlmaLinux 9 using Apache and secured it with Let’s Encrypt SSL. WonderCMS is now ready to be accessed via your domain, providing a lightweight and efficient CMS for your website.
For reliable performance, consider using Shape.Host’s Linux SSD VPS for hosting your WonderCMS instance.