How to install Quick CMS on Ubuntu 20.4.1
- 00:39 lsb_release -a
- 00:56 apt install apache2
- 01:55 apt install mysql-server
- 04:00 apt install php php-xml php-mysql php-mbstring php-zip php-soap php-sqlite3 php-curl php-gd php-ldap php-imap php-common
- 04:40 mkdir quick
- 05:02 wget https://opensolution.org/download/home.html?sFile=Quick.Cms_v6.6-en.zip
- 05:40 unzip home.html\?sFile\=Quick.Cms_v6.6-en.zip
- 06:02 chmod -R 775 ./
- 07:23 vim /etc/apache2/sites-available/quick.conf
- 08:22 a2enmod rewrite
- 08:32 systemctl restart apache2
To Install Quick CMS on Ubuntu 20.4.1
Introduction:
Quick CMS is an ideal choice for beginners and for people who are looking to make simple websites. It is one of the easiest solutions available on the Internet. A basic understanding of HTML and CSS is needed to design the site
Installation process:
Run lsb_release command to check the installed version of OS as follows.
root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
Install Apache by using below command:
root@linuxhelp:~# apt install apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
apache2-bin apache2-data apache2-utils libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.2-0
Suggested packages:
apache2-doc apache2-suexec-pristine | apache2-suexec-custom
The following NEW packages will be installed:
apache2 apache2-bin apache2-data apache2-utils libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.2-0
0 upgraded, 9 newly installed, 0 to remove and 186 not upgraded.
Need to get 1,819 kB of archives.
After this operation, 7,935 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://in.archive.ubuntu.com/ubuntu focal/main amd64 libapr1 amd64 1.6.5-1ubuntu1 [91.4 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu focal/main amd64 libaprutil1 amd64 1.6.1-4ubuntu2 [84.7 kB]
Start the apache by following command
root@linuxhelp:~# systemctl start apache2
Check the status of apache:
root@linuxhelp:~# systemctl status apache2
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-11-25 11:38:42 IST; 47s ago
Docs: https://httpd.apache.org/docs/2.4/
Main PID: 2784 (apache2)
Tasks: 55 (limit: 2285)
Memory: 5.5M
CGroup: /system.slice/apache2.service
├─2784 /usr/sbin/apache2 -k start
├─2786 /usr/sbin/apache2 -k start
└─2787 /usr/sbin/apache2 -k start
Nov 25 11:38:42 linuxhelp systemd[1]: Starting The Apache HTTP Server...
Nov 25 11:38:42 linuxhelp apachectl[2783]: AH00558: apache2: Could not reliably determine the server's fully qualified domain>
Nov 25 11:38:42 linuxhelp systemd[1]: Started The Apache HTTP Server.
Install PHP modules by using below commands:
root@linuxhelp:~# apt install php php-xml php-mysql php-mbstring php-zip php-soap php-sqlite3 php-curl php-gd php-ldap php-imap php-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libapache2-mod-php7.4 libc-client2007e libonig5 libzip5 mlock php7.4 php7.4-cli php7.4-common php7.4-curl php7.4-gd
php7.4-imap php7.4-json php7.4-ldap php7.4-mbstring php7.4-mysql php7.4-opcache php7.4-readline php7.4-soap php7.4-sqlite3
php7.4-xml php7.4-zip
Install mysql by using below command:
root@linuxhelp:~# apt install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libaio1 libcgi-fast-perl libcgi-pm-perl libevent-core-2.1-7 libevent-pthreads-2.1-7 libfcgi-perl libhtml-template-perl
libmecab2 mecab-ipadic mecab-ipadic-utf8 mecab-utils mysql-client-8.0 mysql-client-core-8.0 mysql-server-8.0
mysql-server-core-8.0
Suggested packages:
libipc-sharedcache-perl mailx tinyca
The following NEW packages will be installed:
libaio1 libcgi-fast-perl libcgi-pm-perl libevent-core-2.1-7 libevent-pthreads-2.1-7 libfcgi-perl libhtml-template-perl
Create database for quick CMS:
root@linuxhelp:~# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 8
Server version: 8.0.22-0ubuntu0.20.04.2 (Ubuntu)
Copyright (c) 2000, 2020, 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 quick;
Query OK, 1 row affected (0.02 sec)
mysql> use quick;
Database changed
mysql> create user user1@localhost identified by 'linuxc';
Query OK, 0 rows affected (0.02 sec)
mysql> grant all on quick.* to user1@localhost;
Query OK, 0 rows affected (0.01 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)
mysql> exit
Bye
Change to apache directory:
root@linuxhelp:~# cd /var/www
Create a directory for Quick:
root@linuxhelp:/var/www# mkdir quick
Change the path to quick directory:
root@linuxhelp:/var/www# cd quick
Download the Quick file by using wget command
root@linuxhelp:/var/www/quick# wget https://opensolution.org/download/home.html?sFile=Quick.Cms_v6.6-en.zip
--2020-11-25 11:45:44-- https://opensolution.org/download/home.html?sFile=Quick.Cms_v6.6-en.zip
Resolving opensolution.org (opensolution.org)... 94.152.51.156
Connecting to opensolution.org (opensolution.org)|94.152.51.156|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘home.html?sFile=Quick.Cms_v6.6-en.zip’
home.html?sFile=Quick.Cms_v6.6- [ <=> ] 787.35K 92.0KB/s in 8.6s
2020-11-25 11:45:56 (92.0 KB/s) - ‘home.html?sFile=Quick.Cms_v6.6-en.zip’ saved [806242]
List the directory
root@linuxhelp:/var/www/quick# ll
total 796
drwxr-xr-x 2 root root 4096 Nov 25 11:45 ./
drwxr-xr-x 4 root root 4096 Nov 25 11:45 ../
-rw-r--r-- 1 root root 806242 Nov 25 11:45 'home.html?sFile=Quick.Cms_v6.6-en.zip'
Extract the zip file by using below command:
root@linuxhelp:/var/www/quick# unzip home.html\?sFile\=Quick.Cms_v6.6-en.zip
Archive: home.html?sFile=Quick.Cms_v6.6-en.zip
creating: core/
inflating: core/common-admin.js
inflating: core/common-admin.php
inflating: core/common.js
inflating: core/common.php
inflating: core/files-admin.php
inflating: core/files.php
inflating: core/lang-admin.php
Give the Ownership and permissions to quick directory
root@linuxhelp:/var/www/quick# chown -R www-data. ./
root@linuxhelp:/var/www/quick# chmod -R 775 ./
List the directory:
root@linuxhelp:/var/www/quick# ll
total 828
drwxrwxr-x 7 www-data www-data 4096 Nov 25 11:46 ./
drwxr-xr-x 4 root root 4096 Nov 25 11:45 ../
-rwxrwxr-x 1 www-data www-data 3573 Dec 28 2016 admin.php*
drwxrwxr-x 3 www-data www-data 4096 Jan 17 2019 core/
drwxrwxr-x 3 www-data www-data 4096 Jan 18 2019 database/
drwxrwxr-x 4 www-data www-data 4096 Jan 17 2019 files/
-rwxrwxr-x 1 www-data www-data 806242 Nov 25 11:45 'home.html?sFile=Quick.Cms_v6.6-en.zip'*
-rwxrwxr-x 1 www-data www-data 63 Jan 18 2019 HOW_TO_INSTALL.txt*
-rwxrwxr-x 1 www-data www-data 2628 Dec 31 2018 index.php*
drwxrwxr-x 5 www-data www-data 4096 Jan 3 2019 plugins/
drwxrwxr-x 4 www-data www-data 4096 Jan 17 2019 templates/
Give the permissions for database directory:
root@linuxhelp:/var/www/quick# chmod -R 777 database files
change to database directory:
root@linuxhelp:/var/www/quick# cd database
List the directory:
root@linuxhelp:/var/www/quick/database# ll
total 68
drwxrwxrwx 3 www-data www-data 4096 Jan 18 2019 ./
drwxrwxr-x 7 www-data www-data 4096 Nov 25 11:46 ../
drwxrwxrwx 2 www-data www-data 4096 Jan 18 2019 cache/
-rwxrwxrwx 1 www-data www-data 1905 Jan 18 2019 config_en.php*
-rwxrwxrwx 1 www-data www-data 13261 Jan 18 2019 config.php*
-rwxrwxrwx 1 www-data www-data 22528 Jan 18 2019 database.db*
-rwxrwxrwx 1 www-data www-data 31 Sep 4 2012 .htaccess*
-rwxrwxrwx 1 www-data www-data 5985 Jan 18 2019 lang_en.php*
Open the configuration file:
root@linuxhelp:/var/www/quick/database# vim config.php
Create a virtualhost for quick CMs:
root@linuxhelp:/var/www/quick/database# vim /etc/apache2/sites-available/quick.conf
Disable default access
root@linuxhelp:/var/www/quick/database# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
Enable site access
root@linuxhelp:/var/www/quick/database# a2ensite quick.conf
Enabling site quick.
To activate the new configuration, you need to run:
systemctl reload apache2
Enable rewrite module
root@linuxhelp:/var/www/quick/database# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2
Once it is completed, Restart the Apache Web Server by running the following command
root@linuxhelp:/var/www/quick/database# systemctl restart apache2
Once completed goto browser type url
Then, it will open home page for quick CMS
Open new tab and type url for admin page
Give the login credentials
Then it will open the administration panel for quick CMS
with this installation of quick cms comes to end on ubuntu.
Comments ( 0 )
No comments available