How to install Frog CMS in CentOS 7
To install Frog CMS in CentOS 7
Frog CMS is free and open-source, PHP based content management system. It offers elegant user interface, flexible templating per page, simple user management and permissions, as well as the tools necessary for file management. It is really simple to install Frog CMS, and in this article, you will be briefed about the method to install Frog CMS on CentOS 7.
For installing Frog CMS, you need to have LAMP stack installed in your system. After installing lamp stack, you can continue your frog cms installation.
Install Frog CMS
In order to install Frog CMS, it is very essential to create a database for it. So run the following command to enter into MySQL and create a database.
[root@test Desktop]# mysql -u root -p Enter password: Welcome to the MariaDB monitor. Commands end with or g. Your MariaDB connection id is 10 Server version: 5.5.56-MariaDB MariaDB Server Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others. Type ' help ' or ' h' for help. Type ' c' to clear the current input statement. MariaDB [(none)]> CREATE DATABASE frogcms Query OK, 1 row affected (0.08 sec) MariaDB [(none)]> CREATE USER ' frogcmsuser' @' localhost' IDENTIFIED BY ' password' Query OK, 0 rows affected (0.05 sec) MariaDB [(none)]> GRANT ALL PRIVILEGES ON `frogcms`.* TO ' frogcmsuser' @' localhost' Query OK, 0 rows affected (0.01 sec) MariaDB [(none)]> FLUSH PRIVILEGES Query OK, 0 rows affected (0.11 sec) MariaDB [(none)]> exit Bye
Once a database is created, you can download the Frog CMS package by running the following command.
[root@test Desktop]# wget https://github.com/philippe/FrogCMS/archive/master.zip
--2017-10-27 10:50:17-- https://github.com/philippe/FrogCMS/archive/master.zip
Resolving github.com (github.com)... 192.30.255.113, 192.30.255.112
Connecting to github.com (github.com)|192.30.255.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/philippe/FrogCMS/zip/master [following]
--2017-10-27 10:50:19-- https://codeload.github.com/philippe/FrogCMS/zip/master
Resolving codeload.github.com (codeload.github.com)... 192.30.255.120, 192.30.255.121
Connecting to codeload.github.com (codeload.github.com)|192.30.255.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘ master.zip’
[ < => ] 5,88,046 202KB/s in 2.8s
2017-10-27 10:50:23 (202 KB/s) - ‘ master.zip’ saved [588046]
Once the file is downloaded extract the package with the help of following command.
[root@test Desktop]# unzip master.zip
Archive: master.zip
bcd04e94bf4b372ef4c449005503a7e5d75ee160
creating: FrogCMS-master/
inflating: FrogCMS-master/404.php
inflating: FrogCMS-master/_.htaccess
creating: FrogCMS-master/admin/
&hellip
&hellip
&hellip
creating: FrogCMS-master/tutorials/
creating: FrogCMS-master/tutorials/frog/
inflating: FrogCMS-master/tutorials/frog/frog.pkg
inflating: FrogCMS-master/updating.txt
Later, rename the FrogCMS-master to frogcms and move the directory to /var/www/html/ location.
[root@test Desktop]# mv FrogCMS-master frogcms
[root@test Desktop]# mv frogcms /var/www/html/
After that, you should change the ownership for frog cms directory.
[root@test Desktop]# chown -R apache:apache /var/www/html/frogcms
One of the important parts of this installation is the configuration of Apache VirtualHost for frog cms. For that, you need to create vhosts.conf in the /etc/httpd/conf.d/ directory.
[root@test Desktop]# vim /etc/httpd/conf.d/vhosts.conf
Later you need to create vhosts.d directory in /etc/httpd directory.
[root@test Desktop]# mkdir /etc/httpd/vhosts.d
Next create VirtualHost configuration file in vhosts.d directory.
[root@test Desktop]# vim /etc/httpd/vhosts.d/test.linuxhelp1.com.conf
And in that file, you need to add the following lines.
< VirtualHost 192.168.7.201:80> ServerAdmin linuxhelpserver@gmail.com DocumentRoot " /var/www/html/frogcms" ServerName test.linuxhelp1.com ServerAlias www.test.linuxhelp1.com ErrorLog " /var/log/httpd/test-error_log" CustomLog " /var/log/httpd/test-access_log" combined < Directory " /var/www/html/frogcms/" > DirectoryIndex index.html index.php Options FollowSymLinks AllowOverride All Require all granted < /Directory> < /VirtualHost>
Once it is done, you need to save and exit the file.
Next, restart the Apache Web Server by running the following command.
[root@test Desktop]# systemctl restart httpd
We shall now continue the rest of the installation process via GUI. So, lets switch over to the browser and navigate to http://192.168.7.201/, the Frog CMS installer appears. Enter the database information in the appropriate fields and proceed further.

Installation has been completed completed now.

It is not completely over yet. You should remove the install directory, changelog.txt file and also need to scrap the write permission for config.php file. So, run this command to change the directory to FrogCMS and remove the following files.
[root@test Desktop]# cd /var/www/html/frogcms/
[root@test frogcms]# rm -rf install
[root@test frogcms]# chmod -w config.php
[root@test frogcms]# rm -rf changelog.txt
Now, go to your Frog CMS login page and log into it with your credentials.

Once you have logged in, you need to add your Pages.

You can also your layouts as per your wish from the available options.

Also, you can upload your files.

You can also your users.

And add the needed Plugins.

With this, the installation of Frog CMS comes to an end.
Comments ( 0 )
No comments available