• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install Lepton CMS on Linux mint 18.03

{{postValue.id}}

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
web_configuration

Verify the PHP requirements
php_setup

Verify the file permissions of the Lepton CMS
file_permission

Configure the Path setting, Language, and Timezone
path_settings

Configure the Database detail.
database_settings

Configure the Admin user setup and site information.
site_settings

Once the installation is done you will see the following page.
Snap7

Log in using the admin user credentials
Snap 8
Admin control panel of Lepton CMS
Snap9

With this, the method to install Lepton CMS on Linux mint 18.03 comes to an end.

Tags:
owen
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

How to download the Lepton CMS package?

A

Execute the following link:
# wget https://lepton-cms.org/media/download_gallery/LEPTON_stable_3.0.3.zip

Q

What are the Prerequisites in Lepton CMS?

A

Install LAMP(Apache, MariaDB, and php7.2)
In MariaDB (create database and user and give privileges to that user )

Q

What is Lepton CMS?

A

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.

Q

How to extract the download package is a zip file?

A

Run the following command:
# unzip LEPTON_stable_3.0.3.zip

Q

How to Create a new virtual host configuration?

A

Run the following command:
# vim lepton.conf

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 Jayce ?
What are the types of table used in IPtables

What are the various types of table used in IPtables and how to use that for my server security?

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.