• 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 19.04

  • 00:40 lsb_release -a
  • 00:54 mysql -u root -p
  • 02:08 wget https://lepton-cms.org/media/download_gallery/LEPTON_stable_4.3.0.zip
  • 02:27 unzip LEPTON_stable_4.3.0.zip
  • 02:37 mv LEPTON_stable_4.3.0 /var/www/lepton
  • 02:51 chown -R www-data.www-data /var/www/lepton
  • 03:08 chmod -R 755 /var/www/lepton
  • 03:24 vim /etc/apache2/sites-available/lepton.conf
  • 04:44 a2dissite 000-default.conf
  • 04:59 a2ensite lepton.conf
  • 05:12 a2enmod rewrite
  • 05:21 systemctl restart apache2
{{postValue.id}}

Installation of Lepton cms on Ubuntu 19.04

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 forums, image galleries, comments and many more. This Tutorial covers the installation of Lepton cms on Ubuntu 19.04

Requirements for Lepton cms:

Apache

MySQL

PHP and its modules

php php-xml php-mysql php-mbstring php-zip php-soap php-curl php-gd php-ldap php-imap php-common php-dev libmcrypt-dev php-pear

Installation procedure

Before you begin the installation process, check the Ubuntu version by using the following command.

root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 19.04
Release:	19.04
Codename:	disco

Configure the MySQL database. Log into MySQL as a root user and make the necessary settings.

root@linuxhelp:~# mysql -u root -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.7.26-0ubuntu0.19.04.1 (Ubuntu)
Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> create database lepton;
Query OK, 1 row affected (0.02 sec)
mysql> create user 'lepuser'@localhost identified by 'Linuxc#4';
Query OK, 0 rows affected (0.07 sec)
mysql> grant all privileges on lepton.* to 'lepuser'@localhost;
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.08 sec)
mysql> exit
Bye

Once the database configuration is done, download Lepton CMS's installation package by using the wget command.

root@linuxhelp:~# wget https://lepton-cms.org/media/download_gallery/LEPTON_stable_4.3.0.zip
--2019-05-09 12:16:16--  https://lepton-cms.org/media/download_gallery/LEPTON_stable_4.3.0.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: 7427479 (7.1M) [application/zip]
Saving to: ‘LEPTON_stable_4.3.0.zip’
LEPTON_stable_4.3.0.zip     100%[========================================>]   7.08M  1.05MB/s    in 7.7s    
2019-05-09 12:16:25 (939 KB/s) - ‘LEPTON_stable_4.3.0.zip’ saved [7427479/7427479]

Once the download is completed extract the downloaded package using unzip command.

root@linuxhelp:~# unzip LEPTON_stable_4.3.0.zip
Archive:  LEPTON_stable_4.3.0.zip
   creating: LEPTON_stable_4.3.0/
  inflating: LEPTON_stable_4.3.0/CHANGELOG  
  inflating: LEPTON_stable_4.3.0/COPYING  
  inflating: LEPTON_stable_4.3.0/INSTALL  
  inflating: LEPTON_stable_4.3.0/LICENSE  
  inflating: LEPTON_stable_4.3.0/README.md  
   creating: LEPTON_stable_4.3.0/upload/
.
.
 inflating: LEPTON_stable_4.3.0/upload/templates/semantic/img/white-image.png  
  inflating: LEPTON_stable_4.3.0/upload/templates/semantic/index.php  
  inflating: LEPTON_stable_4.3.0/upload/templates/semantic/info.php  
   creating: LEPTON_stable_4.3.0/upload/templates/semantic/js/
  inflating: LEPTON_stable_4.3.0/upload/templates/semantic/js/index.php  
  inflating: LEPTON_stable_4.3.0/upload/templates/semantic/preview.jpg  
  inflating: LEPTON_stable_4.3.0/upload/temp/index.php  

Move the Lepton cms directory to apache root directory.

root@linuxhelp:~# mv LEPTON_stable_4.3.0 /var/www/lepton

Set the ownership and permission for Lepton cms by using the following command.

root@linuxhelp:~# chown -R www-data.www-data /var/www/lepton
root@linuxhelp:~# chmod -R 755 /var/www/lepton

Configure the virtualhost for accessing the Lepton CMS.

root@linuxhelp:~# vim /etc/apache2/sites-available/lepton.conf
<Virtualhost *:80>
        Servername www.linuxhelp1.com
        Documentroot /var/www/lepton
<directory /var/www/lepton>
allowoverride all
allow from all
</directory>
</Virtualhost>

Disable the default site access.

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

Enable the site access for accessing the Lepton CMS.

root@linuxhelp:~# a2ensite lepton.conf
Enabling site lepton.
To activate the new configuration, you need to run:
systemctl reload apache2

Enable the rewrite module.

root@linuxhelp:~# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2

Restart the apache service by using the following command.

root@linuxhelp:~# systemctl restart apache2

Switch to your browser and enter the domain name. snap1 Checking configuration of PHP requirement. snap2 Check out the file permissions of the Lepton CMS. snap3 Configure the Path setting, Language, and Time zone. snap4 Configure the Database Setup. snap5 Configure the Admin user account.

snap6 After completing the installation, you can log in with the help of using Admin user credential. snap7 You will see the Admin control panel of Lepton CMS snap8 Copy the two-factor authentication pin. snap9 Enter the admin credentials to log in the Lepton CMS. snap10 Paste the two-factor authentication pin. snap11 This is the dashboard of Lepton CMS. snap12 With this, the method to install Lepton CMS on Ubuntu 19.04 comes to an end.

Tags:
caden
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is the use of 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 forums, image galleries, comments and many more

Q

What PHP version should I use in Lepton CMS?

A

You can make use of the latest php version for the best output on Lepton CMS.

Q

How to entry to the hosts file for Lepton CMS?

A

Use the following command to enter the host file
# vim /etc/hosts

Q

What are the PHP modules required for Lepton CMS?

A

These are the PHP modules required for Lepton CMS:

php php-xml php-mysql php-mbstring php-zip php-soap php-curl php-gd php-ldap php-imap php-common php-dev libmcrypt-dev php-pear

Q

What are the requirements for Lepton CMS?

A

These are the requirements for Lepton cms

Apache

Mysql

Php and its modules

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 legeek ?
Installation of the call center module

hello

I wish to install a call center in virtual with issabel, I downloaded the latest version of it , but I don' t arrive to install the call center module in issabel. please help me

thanks!

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.