How to install Clipper CMS on Debian 11.3
To Install Clipper CMS on Debian 11.3
Introduction:
The Clipper Content Management System is a powerful open-source CMS released under the GPL license. It can be used to design websites, blogs, and create other complex web applications and dynamic applications.
Installation process:
Step 1: Run lsb_release command to check the installed version of OS by using the below command
root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
Step 2: Start the Apache by using the below command
root@linuxhelp:~# systemctl start apache2
Step 3: Check the status from Apache by using the below command
root@linuxhelp:~# systemctl status apache2
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2022-07-07 18:40:17 IST; 41s ago
Docs: https://httpd.apache.org/docs/2.4/
Main PID: 4493 (apache2)
Tasks: 55 (limit: 2244)
Memory: 5.7M
CGroup: /system.slice/apache2.service
├─4493 /usr/sbin/apache2 -k start
├─4496 /usr/sbin/apache2 -k start
└─4497 /usr/sbin/apache2 -k start
Nov 18 18:40:17 linuxhelp systemd[1]: Starting The Apache HTTP Server...
Nov 18 18:40:17 linuxhelp apachectl[4492]: AH00558: apache2: Could not reliably determine the server's fully qualified doma>
Nov 18 18:40:17 linuxhelp systemd[1]: Started The Apache HTTP Server.
Step 4: Install PHP modules by using the below command
root@linuxhelp:~# apt install php php-xml php-mysql php-mbstring php-zip php-soap php-sqlite3 php-curl php-gd php-ldap php-imap php-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libapache2-mod-php7.4 libc-client2007e libonig5 libzip5 mlock php7.4 php7.4-cli php7.4-common php7.4-curl php7.4-gd
php7.4-imap php7.4-json php7.4-ldap php7.4-mbstring php7.4-mysql php7.4-opcache php7.4-readline php7.4-soap php7.4-sqlite3
php7.4-xml php7.4-zip
Step 5: Create database for clipper CMS by using the below command
root@linuxhelp:~# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 9
Server version: 8.0.22-0ubuntu0.20.04.3 (Ubuntu)
Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> create database clipper;
Query OK, 1 row affected (0.02 sec)
Mysql> use clipper;
Query OK, 1 row affected (0.02 sec)
mysql> create user 'linuxhelp1'@localhost identified by 'Linuxc#6';
Query OK, 0 rows affected (0.03 sec)
mysql> grant all privileges on clipper.* to 'linuxhelp1'@localhost;
Query OK, 0 rows affected (0.02 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
mysql> exit
Bye
Step 6: Download clipperCMS by using the below command:
root@linuxhelp:~# wget https://github.com/ClipperCMS/ClipperCMS/archive/clipper_1.3.3.zip
--2020-12-01 11:09:17-- https://github.com/ClipperCMS/ClipperCMS/archive/clipper_1.3.3.zip
Resolving github.com (github.com)... 13.234.176.102
Connecting to github.com (github.com)|13.234.176.102|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/ClipperCMS/ClipperCMS/zip/clipper_1.3.3 [following]
--2020-12-01 11:09:18-- https://codeload.github.com/ClipperCMS/ClipperCMS/zip/clipper_1.3.3
Resolving codeload.github.com (codeload.github.com)... 13.127.152.42
Connecting to codeload.github.com (codeload.github.com)|13.127.152.42|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘clipper_1.3.3.zip’
clipper_1.3.3.zip [ <=> ] 5.89M 1.11MB/s in 5.3s
2020-12-01 11:09:23 (1.10 MB/s) - ‘clipper_1.3.3.zip’ saved [6173410]
Step 7: Extract the Zip file by using below command:
root@linuxhelp:~# unzip clipper_1.3.3.zip
Archive: clipper_1.3.3.zip
0ee9f2cb5bafc683fb7424d484669356c0662ac4
creating: ClipperCMS-clipper_1.3.3/
inflating: ClipperCMS-clipper_1.3.3/.gitignore
inflating: ClipperCMS-clipper_1.3.3/README.md
creating: ClipperCMS-clipper_1.3.3/assets/
creating: ClipperCMS-clipper_1.3.3/assets/cache/
extracting: ClipperCMS-clipper_1.3.3/assets/cache/.gitignore
Step 8: Rename the directory by using the below command
root@linuxhelp:~# mv ClipperCMS-clipper_1.3.3/ /var/www/clipper
Step 9: Give the Ownership and permissions to clipper directory by using the below command
root@linuxhelp:~# chown -R www-data.www-data /var/www/clipper/
root@linuxhelp:~# chmod -R 755 /var/www/clipper/
Step 10: Create a virtualhost for Clipper CMS by using the below command
root@linuxhelp:~# nano /etc/apache2/sites-available/clipper.conf
<virtualhost *:80>
Servername www.linuxhelp1.com
Documentroot /var/www/clipper
</virtualhost>
Step 11: Disable default access by using the below command
root@linuxhelp:~# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
Step 12: Enable site access by using the below command
root@linuxhelp:~# a2ensite clipper.conf
Enabling site clipper.
To activate the new configuration, you need to run:
systemctl reload apache2
Step 13: Enable rewrite module by using the below command
root@linuxhelp:~# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2
Step 14: Once it is completed, Restart the Apache Web Server by running the below command
root@linuxhelp:~# systemctl restart apache2
root@linuxhelp:~# nano /etc/hosts
127.0.0.1 www.linuxhelp1.com
Step 15: Once it is completed, Restart the Apache Web Server by running the below command
root@linuxhelp:~# systemctl restart apache2
Step 16: Once completed the above step go to the browser type and enter the URL as shown in the below image
Step 17: Click Install Now as shown in the below image
Step 18: Choose Language as shown in the below image
Step 19: Select Installation mode as shown in the below image
Step 20: Give the database information as shown in the below image
Step 21: Create an admin user as shown in the below image
Step 22: Select time zone as shown in the below image
Step 23: Accept the License as shown in the below image
Step 24: Close the page as shown in the below image
Step 25: Login as Admin
Step 26: This is the dashboard page of clipper CMS
Conclusion:
We have reached the end of this article. In this guide, we have walked you through the steps required to Install Clipper CMS on Debian 11.3. Your feedback is much welcome.