How to Install Clipper-CMS on opensuse15.1

How to Install Clipper-CMS on opensuse15.1

Prerequisites

Apache

Mysql

PHP and its Module

Installation Process:

To check the installed version of OS

LinuxHelp:~ # cat /etc/os-release 
NAME="openSUSE Leap"
VERSION="15.1 "
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.1"
PRETTY_NAME="openSUSE Leap 15.1"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.1"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"

Use the below command to install required php modules

LinuxHelp:~ #  zypper install php-gd  php-pdo  php-mysql  php-mbstring  php-simplexml  php-curl apache2-mod_php7

Configure mysql for Clipper-CMS

LinuxHelp:/etc # mysql -u root -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with; or \g.
Your MariaDB connection id is 17
Server version: 10.2.25-MariaDB SUSE package
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab, and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> create database clipper;
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> create user 'clipperuser'@localhost identified by '123456';
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> grant all privileges on clipper.* to 'clipperuser'@localhost;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> exit
Bye

Download the ClipperCMS package

LinuxHelp:/mnt # wget https://github.com/ClipperCMS/ClipperCMS/archive/clipper_1.3.3.zip
--2019-12-02 00:09:33--  https://github.com/ClipperCMS/ClipperCMS/archive/clipper_1.3.3.zip
Resolving github.com (github.com)... 13.234.210.38
Connecting to github.com (github.com)|13.234.210.38|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/ClipperCMS/ClipperCMS/zip/clipper_1.3.3 [following]
--2019-12-02 00:09:34--  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.4s    
2019-12-02 00:09:40 (1.10 MB/s) - ‘clipper_1.3.3.zip’ saved [6173410]
LinuxHelp:/mnt # ls -la
total 6032
drwxr-xr-x 1 root root      34 Dec  2 00:09 
drwxr-xr-x 1 root root     156 Dec  2  2019
-rw-r--r-- 1 root root 6173410 Dec  2 00:09 clipper_1.3.3.zip

Unzip the downloaded file

LinuxHelp:/mnt #  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/
 ……
……..

Move the unzipped directory under htdocs directory

LinuxHelp:/mnt # mv ClipperCMS-clipper_1.3.3 /srv/www/htdocs/clipper

Change ownership for the directory

LinuxHelp:/srv/www/htdocs # chown -R wwwrun:wwwrun /srv/www/htdocs/clipper

Change permission for the directory

LinuxHelp:/srv/www/htdocs # chmod -R 755 /srv/www/htdocs/clipper/

Configure virtual host to access Clipper-CMS

LinuxHelp:/srv/www/htdocs # vim /etc/apache2/conf.d/clipper.conf
<virtualhost *:80>
servername www.linuxhelp1.com
documentroot "/srv/www/htdocs/clipper"
<directory "/srv/www/htdocs/">
AllowOverride All
Require all granted
</directory>	
</virtualhost>

Restart the apache service to update the changes

LinuxHelp:/srv/www/htdocs #  systemctl restart httpd

To install Clipper-CMS, open Browser wherein search bar type the IP address of your system

With this, the method to install Clipper-CMS on Opensuse15.1 comes to an end

FAQ
Q
How to change apache user ownership for the directory in Opensuse?
A
To change apache user ownership for the directory in Opensuse, the command is
chown -R wwwrun:wwwrun
Q
Does Clipper-CMS use any Databases?
A
Yes, Clipper-CMS use database
Q
What are the Required Modules to install Clipper-CMS?
A
The required php-modules to install Cllipper-CMS is
php-gd php-pdo php-mysql php-mbstring php-simplexml php-curl apache2-mod_php7
Q
What are the Alternatives to ClipperCMS?
A
The Alternatives to ClipperCMS are
Joomla
WordPress
Drupal
Getsimple
Silverstripe
Umbraco
Q
What is ClipperCMS?
A
ClipperCMS is a flexible and powerful open source content management system. It allows you to create and publish your personal blogs and also complex and dynamic applications on the web. Although it can be used for web publishing and manage content on the internet or on a single computer.