• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How to install landing cms using lamp in centos 7.5

  • 0:33 rpm -q centos-release
  • 0:45 yum install httpd
  • 1:29 yum install mariadb-server mariadb
  • 2:21 mysql_secure_installation
  • 2:57 yum install php php-mysql php-curl php-json php-cgi php-mcrypt php-xmlrpc php-gd php-mbstring php-common
  • 3:14 systemctl restart httpd
  • 3:28 wget https://github.com/Elias-Black/Landing-CMS/archive/0.0.6.zip
  • 3:45 unzip 0.0.6.zip
  • 4:01 mv Landing-CMS-0.0.6 /var/www/landing
  • 4:19 chown -R apache:apache /var/www/landing
  • 4:32 chmod -R 755 /var/www/landing
  • 4:54 vim /etc/httpd/conf.d/landing.conf
  • 5:39 vim /etc/hosts
  • 6:04 systemctl restart httpd
5411

Installation of Landing cms using lamp in centos 7.5

Landing CMS is a simple and cross-platform for management landing pages. It doesn't use any databases. This tutorial covers the installation procedure of landing CMS on Centos 7.5.

Installation Procedure

check the centos version by using the following command

[root@linuxhelp ~]# rpm -q centos-release
centos-release-7-5.1804.el7.centos.x86_64

Install the apache server by using the following command

[root@linuxhelp ~]# yum install httpd
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: ftp.iitm.ac.in
* epel: mirror2.totbb.net
* extras: mirrors.nhanhoa.com
* remi-php70: mirror.veriteknik.net.tr
* remi-safe: mirror.veriteknik.net.tr
* updates: mirrors.123host.vn
Resolving Dependencies
--> Running transaction check
.
.
.
Installed:
 httpd.x86_64 0:2.4.6-88.el7.centos                                                                
Dependency Installed:
 apr.x86_64 0:1.4.8-3.el7_4.1                           apr-util.x86_64 0:1.5.2-6.el7              
 httpd-tools.x86_64 0:2.4.6-88.el7.centos               mailcap.noarch 0:2.1.41-2.el7              
Complete!

Once the above process Is completed we need to start the service

[root@linuxhelp ~]# systemctl start httpd

Enable the apache service by using the following command

root@linuxhelp ~]# systemctl enable httpd
Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service.

Install mariadb and mariadb-server

[root@linuxhelp ~]# yum install mariadb-server mariadb
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.nbrc.ac.in
 * epel: mirror.horizon.vn
 * extras: mirror.nbrc.ac.in
 * remi-php70: repo1.ash.innoscale.net
 * remi-safe: repo1.ash.innoscale.net
 * updates: mirror.nbrc.ac.in
Resolving Dependencies
--> Running transaction check
.
.
.
-libs-5.5.56-2.el7.x86_64                                             12/12 
Installed:
  mariadb.x86_64 1:5.5.60-1.el7_5               mariadb-server.x86_64 1:5.5.60-1.el7_5              
Dependency Installed:
  perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7      perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7     
  perl-DBD-MySQL.x86_64 0:4.023-6.el7               perl-DBI.x86_64 0:1.627-4.el7                   
  perl-Data-Dumper.x86_64 0:2.145-3.el7             perl-IO-Compress.noarch 0:2.061-2.el7           
  perl-Net-Daemon.noarch 0:0.48-5.el7               perl-PlRPC.noarch 0:0.2020-14.el7               
Dependency Updated:
  mariadb-libs.x86_64 1:5.5.60-1.el7_5                                                              
Complete!

Once the above process Is completed we need to start the service

[root@linuxhelp ~]# systemctl start mariadb

Enable the mariadb service by using the following command

[root@linuxhelp ~]# systemctl enable mariadb
Created symlink from /etc/systemd/system/multi-user.target.wants/mariadb.service to /usr/lib/systemd/system/mariadb.service.

Once the above step is completed secure the root password for mysql database by using the following command

[root@linuxhelp ~]# mysql_secure_installation
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we'll need the current
password for the root user.  If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none): 
OK, successfully used password, moving on...
Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorisation.
Set root password? [Y/n] y
New password: 
Re-enter new password: 
Password updated successfully!
Reloading privilege tables..
 ... Success!
By default, a MariaDB installation has an anonymous user, allowing anyone
to log into MariaDB without having to have a user account created for
them.  This is intended only for testing, and to make the installation
go a bit smoother.  You should remove them before moving into a
production environment.
Remove anonymous users? [Y/n] y
 ... Success!
Normally, root should only be allowed to connect from 'localhost'.  This
ensures that someone cannot guess at the root password from the network.
Disallow root login remotely? [Y/n] y
 ... Success!
By default, MariaDB comes with a database named 'test' that anyone can
access.  This is also intended only for testing, and should be removed
before moving into a production environment.
Remove test database and access to it? [Y/n] y
 - Dropping test database...
 ... Success!
 - Removing privileges on test database...
 ... Success!
Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.
Reload privilege tables now? [Y/n] y
 ... Success!
Cleaning up...
All done!  If you've completed all of the above steps, your MariaDB
installation should now be secure.
Thanks for using MariaDB!

Once it completed we need to install php7.0

 [root@linuxhelp ~]# yum install php php-mysql php-curl php-json php-cgi  php-mcrypt php-xmlrpc php-gd php-mbstring php-common
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.xeonbd.com
 * epel: mirror2.totbb.net
 * extras: mirrors.nhanhoa.com
 * remi-php70: mirrors.thzhost.com
 * remi-safe: mirrors.thzhost.com
 * updates: mirrors.123host.vn
Package php-mysql is obsoleted by php-mysqlnd, trying to install php-mysqlnd-7.0.33-7.el7.remi.x86_64 instead
Resolving Dependencies
--> Running transaction check
.
.
.
Installed:
  php.x86_64 0:7.0.33-7.el7.remi                  php-cli.x86_64 0:7.0.33-7.el7.remi               
  php-common.x86_64 0:7.0.33-7.el7.remi           php-gd.x86_64 0:7.0.33-7.el7.remi                
  php-json.x86_64 0:7.0.33-7.el7.remi             php-mbstring.x86_64 0:7.0.33-7.el7.remi          
  php-mcrypt.x86_64 0:7.0.33-7.el7.remi           php-mysqlnd.x86_64 0:7.0.33-7.el7.remi           
  php-xmlrpc.x86_64 0:7.0.33-7.el7.remi          
Dependency Installed:
  gd-last.x86_64 0:2.2.5-8.el7.remi                libmcrypt.x86_64 0:2.5.8-13.el7                 
  libwebp7.x86_64 0:1.0.2-1.el7.remi               php-pdo.x86_64 0:7.0.33-7.el7.remi              
  php-xml.x86_64 0:7.0.33-7.el7.remi              
Complete!

Restart the apache service by using the following command

[root@linuxhelp ~]# systemctl restart httpd

download Landing installation package using wget

[root@linuxhelp ~]# wget https://github.com/Elias-Black/Landing-CMS/archive/0.0.6.zip
--2019-04-06 16:21:25--  https://github.com/Elias-Black/Landing-CMS/archive/0.0.6.zip
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/Elias-Black/Landing-CMS/zip/0.0.6 [following]
--2019-04-06 16:21:26--  https://codeload.github.com/Elias-Black/Landing-CMS/zip/0.0.6
Resolving codeload.github.com (codeload.github.com)... 192.30.253.120, 192.30.253.121
Connecting to codeload.github.com (codeload.github.com)|192.30.253.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘0.0.6.zip’
    [                        <=>                                ] 2,359,509    415KB/s   in 6.5s   
2019-04-06 16:21:34 (353 KB/s) - ‘0.0.6.zip’ saved [2359509]

After downloading the package extract the download package using unzip command

[root@linuxhelp ~]# unzip 0.0.6.zip
Archive:  0.0.6.zip
61d4ba5ff68cfe80e7f5a19d7d0e42d6c242acc0
   creating: Landing-CMS-0.0.6/
  inflating: Landing-CMS-0.0.6/LICENSE  
  inflating: Landing-CMS-0.0.6/README.md  
   creating: Landing-CMS-0.0.6/assets/
   creating: Landing-CMS-0.0.6/assets/_cms/
   creating: Landing-CMS-0.0.6/assets/_cms/css/
  inflating: Landing-CMS-0.0.6/assets/_cms/css/main.css  
  inflating: Landing-CMS-0.0.6/assets/_cms/css/no_js.css  
   creating: Landing-CMS-0.0.6/assets/_cms/img/
.
.
.
.
Move the extracted directory on Apache root directory and list the files in the directory.
   creating: Landing-CMS-0.0.6/cms/copy-field/
  inflating: Landing-CMS-0.0.6/cms/copy-field/index.php  
   creating: Landing-CMS-0.0.6/cms/edit-field/
  inflating: Landing-CMS-0.0.6/cms/edit-field/index.php  
  inflating: Landing-CMS-0.0.6/cms/index.php  
   creating: Landing-CMS-0.0.6/cms/login/
  inflating: Landing-CMS-0.0.6/cms/login/index.php  
   creating: Landing-CMS-0.0.6/cms/password/
  inflating: Landing-CMS-0.0.6/cms/password/index.php  
  inflating: Landing-CMS-0.0.6/index.php  
  inflating: Landing-CMS-0.0.6/install.php  
   creating: Landing-CMS-0.0.6/modules/
  inflating: Landing-CMS-0.0.6/modules/rand_num.php  
  inflating: Landing-CMS-0.0.6/robots.txt

Navigate to the Apache document root directory.

[root@linuxhelp ~]# mv Landing-CMS-0.0.6 /var/www/landing

Set the ownership and permission for the Landing cms

[root@linuxhelp ~]# chown -R apache:apache /var/www/landing
[root@linuxhelp ~]# chmod -R 755 /var/www/landing

Open the conf.d configuration file to configure the virtual host

[root@linuxhelp ~]# vim /etc/httpd/conf.d/landing.conf
<Virtualhost *:80>
        Servername www.linuxhelp1.com
        Documentroot /var/www/landing
</Virtualhost>

Configure the host entry by using the following command

[root@linuxhelp ~]# vim /etc/hosts
<ip address>  <domain name>

once the above step is completed restart apache service

[root@linuxhelp ~]# systemctl restart httpd

Now you can proceed the further installation and configuration from the browser by navigating to the following domain name

snap1 Welcome page of landing cms. click ‘Go to CMS’. snap2

Give password for landing cms. snap3 You will see the landing cms dashboard snap4

With this, the method to install Landing cms on centos 7.5 comes to an end

Tags:
xander
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

What is the Landing CMS?

A

Landing CMS is simple and cross-platform for management landing pages. It doesn't use any databases.

Q

How to create separate access and error log for Landing CMS?

A

Enable custom access and error log in the virtual host file for Landing CMS.

Q

What version of PHP is recommended for Landing CMS?

A

Version Php5.6 and above is recommended for Landing CMS.

Q

Is Landing CMS Opensource Application?

A

Landing CMS is a free and opensource application.

Q

Where to find the latest release of Landing CMS?

A

You can find the latest releases of Landing CMS is https://github.com/Elias-Black/Landing-CMS/.

Related Tutorials in How to install landing cms using lamp in centos 7.5

Related Tutorials in How to install landing cms using lamp in centos 7.5

How To Install AnyDesk on Centos 7
How To Install AnyDesk on Centos 7
Apr 2, 2018
How to install Tiki Wiki CMS Groupware on CentOS 7
How to install Tiki Wiki CMS Groupware on CentOS 7
May 31, 2018
How to install PHP ImageMagick on CentOS 7
How to install PHP ImageMagick on CentOS 7
Nov 4, 2017
How to Upgrade and Downgrade the PHP Versions on CentOS 7.6
How to Upgrade and Downgrade the PHP Versions on CentOS 7.6
Jun 4, 2019
How to install Apache from Source Code on CentOS 7
How to install Apache from Source Code on CentOS 7
Oct 21, 2017
How to enable or disable repositories in CentOS
How to enable or disable repositories in CentOS
Mar 28, 2018
How to install AWStats on CentOS 7
How to install AWStats on CentOS 7
Dec 8, 2017
How to install Apache JMeter in CentOS 7
How to install Apache JMeter in CentOS 7
Mar 24, 2017

Related Forums in How to install landing cms using lamp in centos 7.5

Related Forums in How to install landing cms using lamp in centos 7.5

CentOS
connor class=
How To Completely Remove Apache package On CentOS 7.6
May 14, 2019
CentOS
ceriaimmaculate class=
setfacl : command not found
Jan 3, 2018
CentOS
mason class=
Error getting authority: Error initializing authority: Could not connect: No such file or directory (g-io-error-quark, 1)
Nov 20, 2018
CentOS
landon class=
Command to find SNMP Version
May 28, 2018
CentOS
arjitharon class=
cannot start minio service help
Mar 10, 2018
Pligg
aiden class=
CMS : Pligg install on opensuse
Oct 6, 2017
Apache tomcat
AadrikaAnshu class=
Cannot find ./catalina.sh The file is absent or does not have execute permission This file is needed to run this program
Jun 17, 2019
gitlab
caden class=
Insufficient space in download directory /var/cache/yum/x86_64/6/base/packages
Jul 22, 2019

Related News in How to install landing cms using lamp in centos 7.5

Related News in How to install landing cms using lamp in centos 7.5

WordPress and Joomla websites infected by new backdoor malware
WordPress and Joomla websites infected by new backdoor malware
May 31, 2019
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Luk Van De Looverbosch ?
How to create a root ?

Hello,
How to create root@linuxhelp in Linux Mint 20.1 64-bit ?
Thanks in advance for your reply.
Best regards.

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.