• 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 Ubuntu 18.04

{{postValue.id}}

To install Lepton CMS on Ubuntu 18.04

Lepton is an open source tool 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 using PHP. It supports things such as forums, image galleries, comments, etc. as it has the necessary plug-ins.

Prerequisites

To install LAMP(Apache, MariaDB, php7)

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.0 php7.0-mysql php7.0-curl php7.0-json php7.0-cgi libapache2-mod-php7.0 php7.0-mcrypt php7.0-xmlrpc php7.0-gd php7.0-mbstring php7.0  php7.0-common  php7.0-xmlrpc php7.0-soap 
  php7.0-xml php7.0-intl  php7.0-cli  php7.0-ldap php7.0-zip php7.0-readline php7.0-imap php7.0-tidy php7.0-recode php7.0-sq php7.0-intl

Download a Lepton package using the following URL https://lepton-cms.org/modules/download_gallery/dlc.php?file=165& id=1525168125

Switch to the download directory,

root@linuxhelp1: /home/user1# cd Downloads/

The download package is a zip file, so we need to unzip the package as follows

root@www:/home/user1/Downloads# 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/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

Move the extracted file into the HTML location

root@www:/home/user1/Downloads# mv LEPTON_stable_3.0.3 /var/www/

And then switch to the following directory

root@www:/home/user1/Downloads#  cd /var/www/

Change the ownership and permission of the file as follows

root@linuxhelp1:/var/www# chown -R www-data.www-data LEPTON_stable_3.0.3/
root@linuxhelp1:/var/www# chmod -R 775 LEPTON_stable_3.0.3

Create a new virtual host configuration for accessing the Lepton

root@linuxhelp1:/var/www# vim /etc/apache2/sites-available/lepton.conf
< VirtualHost *:80> 
ServerName www.linuxhelp1.com
DocumentRoot /var/www/LEPTON_stable_3.0.3/upload/

< Directory /var/www/LEPTON_stable_3.0.3/upload/> 
AllowOverride All
allow from all
< /Directory> 

< /VirtualHost> 

Enable the site access

root@linuxhelp1:/var/www# a2ensite lepton.conf
Enabling site lepton.
To activate the new configuration, you need to run:
  systemctl reload apache2

Disable the default site access

root@linuxhelp1:/var/www# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
  systemctl reload apache2

Enable the rewrite module

root@linuxhelp1:/var/www# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
  systemctl restart apache2

Restart the apache2 service

root@linuxhelp1:/var/www# systemctl restart apache2

Now you can proceed the further installation and configuration from the browser by navigating to the following URL of http://local IP (or) domain name

browser_url

Checking configuration of PHP requirement

php_requiremnet

Check out the file permissions of the Lepton CMS

file_permission

Configure the Path setting, Language, and Timezone as follows

path_setting

Configure the Database setup

db_detail

Configure the Admin user account and Site information

admin_detail

After completing the installation, you can login with help of using Admin user credential

login_admin_credential

You will see the Admin control panel of Lepton CMS as shown below

acp_lepton

After the successful login, you get access to the admin dashboard

lepton_acp

with this, the method to install Lepton CMS on Ubuntu 18.04 comes to an end.

Tags:
caden
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

How to create Custom error and access log for Lepton CMS?

A

You can enable them in APache Virtual Host configuration of Lepton CMS by,
Errorlog /var /log /your doamin/error_log
Customlog /var /log /your domain /access_log

Q

What are the requirements of lepton cms?

A

Minimum of 30 MB web space (extended installations need more)
PHP 7.0 or higher
MySQL 5.0 or higher
PHP Safe Mode = off
Activated PHP Session Support.

Q

Do I need to pay for Lepton?

A

No, LEPTON Core is totally free, there are no costs. In case you install some commercial add-ons license fees may be charged for these add-ons.

Q

Is a "nightly built" available on Lepton CMS?

A

Yes, LEPTON SVN is accessable for developers who are team members.

Q

What is Lepton CMS?

A

Lepton is an open source tool 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 using PHP. It supports things such as forums, image galleries, comments, etc. as it has the necessary plug-ins.

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 Sebastian ?
How to change non required to required field in SuiteCRM Custom/Default Modules

How to change not required to the required field in SuiteCRM Custom/Default Modules?

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.