How to install Lepton CMS on Linux mint 18.03
To install Lepton CMS on Linux mint 18.03
Lepton is an open source content management system.which is used for creating and managing dynamic web content. It can be used either as Weblog, CMS or Web Portal and it is written PHP and uses MySQL database. It supports for forums, image galleries, comments and many more.
Prerequisites
Install LAMP(Apache, MariaDB, and php7.2)
In MariaDB (create database and user and give privileges to that user )
Php installation with required following modules
add-apt-repository ppa:ondrej/php
apt-get update
apt-get install php7.2 php7.2-mysql php7.2-curl php7.2-json php7.2-cgi libapache2-mod-php7.2 php7.2-xmlrpc php7.2-gd php7.2-mbstring php7.2 php7.2-common php7.2-xmlrpc php7.2-soap php7.2-xml php7.2-intl php7.2-cli
php7.2-ldap php7.2-zip php7.2-readline php7.2-imap php7.2-tidy php7.2-recode php7.2-sq php7.2-intl
Installation
Download the Lepton cms package using wget command
linuxhelp ~ # wget https://lepton-cms.org/media/download_gallery/LEPTON_stable_3.0.3.zip
--2018-06-15 14:01:07-- https://lepton-cms.org/media/download_gallery/LEPTON_stable_3.0.3.zip
Resolving lepton-cms.org (lepton-cms.org)... 94.102.208.155
Connecting to lepton-cms.org (lepton-cms.org)|94.102.208.155|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6479663 (6.2M) [application/zip]
Saving to: ‘ LEPTON_stable_3.0.3.zip’
LEPTON_stable_3.0.3.zip 100%[==================================> ] 6.18M 547KB/s in 15s
2018-06-15 14:01:23 (430 KB/s) - ‘ LEPTON_stable_3.0.3.zip’ saved [6479663/6479663]
The download package is a zip file, so unzip the package as follows
linuxhelp ~ # unzip LEPTON_stable_3.0.3.zip
Archive: LEPTON_stable_3.0.3.zip
creating: LEPTON_stable_3.0.3/
inflating: LEPTON_stable_3.0.3/CHANGELOG
inflating: LEPTON_stable_3.0.3/COPYING
inflating: LEPTON_stable_3.0.3/INSTALL
inflating: LEPTON_stable_3.0.3/LICENSE
inflating: LEPTON_stable_3.0.3/README.md
creating: LEPTON_stable_3.0.3/upload/
creating: LEPTON_stable_3.0.3/upload/account/
.
.
.
inflating: LEPTON_stable_3.0.3/upload/templates/semantic/img/white-image.png
inflating: LEPTON_stable_3.0.3/upload/templates/semantic/index.php
inflating: LEPTON_stable_3.0.3/upload/templates/semantic/info.php
creating: LEPTON_stable_3.0.3/upload/templates/semantic/js/
inflating: LEPTON_stable_3.0.3/upload/templates/semantic/js/cookieconsent.js
inflating: LEPTON_stable_3.0.3/upload/templates/semantic/js/index.php
inflating: LEPTON_stable_3.0.3/upload/templates/semantic/preview.jpg
inflating: LEPTON_stable_3.0.3/upload/temp/index.php
Rename the extracted directory
linuxhelp ~ # ls LEPTON_stable_3.0.3 LEPTON_stable_3.0.3.zip linuxhelp ~ # mv LEPTON_stable_3.0.3 lepton
Change the ownership and permission for the Lepton directory.
linuxhelp ~ # chown -R www-data:www-data lepton/
linuxhelp ~ # chmod -R 775 lepton/
Move the lepton directory into the /html location.
linuxhelp ~ # mv lepton/ /var/www/html/
Create a new virtual host configuration for accessing the Lepton. create Lepton.conf file as follows
linuxhelp ~ # cd /etc/apache2/sites-available/
linuxhelp sites-available # vim lepton.conf
< VirtualHost *:80>
ServerName www.linuxhelp1.com
DocumentRoot /var/www/html/lepton/
< Directory /var/www/html/lepton/>
AllowOverride All
allow from all
< /Directory>
< /VirtualHost>
Enable the site access.
linuxhelp sites-available # a2ensite lepton.conf
Enabling site lepton.
To activate the new configuration, you need to run:
service apache2 reload
Make an entry to the host file as follows
linuxhelp sites-available # vim /etc/hosts
< Give your ip> < Give your domain name>
Restart the apache2 service
linuxhelp sites-available # systemctl restart apache2.service
Now you can proceed the further installation and configuration from the browser by navigating to the following URL http://local IP (or) domain name
Verify the PHP requirements
Verify the file permissions of the Lepton CMS
Configure the Path setting, Language, and Timezone
Configure the Database detail.
Configure the Admin user setup and site information.
Once the installation is done you will see the following page.
Log in using the admin user credentials
Admin control panel of Lepton CMS
With this, the method to install Lepton CMS on Linux mint 18.03 comes to an end.
Comments ( 0 )
No comments available