How to Install Pluck CMS 4.7.9 on Ubuntu 18.10

INSTALLATION OF PLUCK CMS 4.7.9 ON UBUNTU 18.10

Pluck CMS is a simple and small flat file content management system which is written in Php.It enables everyone to manage their own websites without any programming knowledge.It is very easy to use. It stores all the pages right on your website,which makes your website even more portable.This video covers the tutorial on Installation of pluck CMS 4.7.9 On Ubuntu 18.10

Features

• Create an unlimited amount of pages

• Create own blog

• Create an album to show images to your visitors

• Include a contact form in your page.

Software requirements

• LAMP Setup

• Ubuntu 18.10

• Apache 2.4.3

• Php 7.2

Download Link: click here, download for Pluck CMS 4.7.9

Installation

Change the directory to Apache’s Document root directory

root@linuxhelp:~# cd /var/www

Create A directory For pluck CMS

root@linuxhelp:/var/www# mkdir pluck
root@linuxhelp:/var/www# cd pluck

Download the Pluck CMS using wget by copying the link from the website.

root@linuxhelp:/var/www/pluck# wget https://github.com/pluck-cms/pluck/archive/4.7.9-dev1.zip
--2019-04-20 01:56:25--  https://github.com/pluck-cms/pluck/archive/4.7.9-dev1.zip
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/pluck-cms/pluck/zip/4.7.9-dev1 [following]
--2019-04-20 01:56:26--  https://codeload.github.com/pluck-cms/pluck/zip/4.7.9-dev1
Resolving codeload.github.com (codeload.github.com)... 192.30.253.121, 192.30.253.120
Connecting to codeload.github.com (codeload.github.com)|192.30.253.121|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘4.7.9-dev1.zip’

4.7.9-dev1.zip                   [           <=>                               ]   1.54M   610KB/s    in 2.6s    

2019-04-20 01:56:30 (610 KB/s) - ‘4.7.9-dev1.zip’ saved [1614971]

List the contents to view the extracted files and folders

root@linuxhelp:/var/www/pluck# ll
total 1588
drwxr-xr-x 2 root root    4096 Apr 20 01:56 ./
drwxr-xr-x 5 root root    4096 Apr 20 01:56 ../
-rw-r--r-- 1 root root 1614971 Apr 20 01:56 4.7.9-dev1.zip

Extract the zip file of Pluck CMS 4.7.9 using unzip command as follows:

root@linuxhelp:/var/www/pluck# unzip 4.7.9-dev1.zip 
Archive:  4.7.9-dev1.zip
ca6bc74dd0913554e35b3e1a613bfcc23ce34797
creating: pluck-4.7.9-dev1/
inflating: pluck-4.7.9-dev1/README.md  
inflating: pluck-4.7.9-dev1/admin.php  
creating: pluck-4.7.9-dev1/data/
creating: pluck-4.7.9-dev1/data/image/
inflating: pluck-4.7.9-dev1/data/image/AUTHORS  
extracting: pluck-4.7.9-dev1/data/image/add.png  
extracting: pluck-4.7.9-dev1/data/image/add_small.png  
inflating: pluck-4.7.9-dev1/data/image/back.jpg  
.
.
.
inflating: pluck-4.7.9-dev1/images/.htaccess  
inflating: pluck-4.7.9-dev1/index.php  
inflating: pluck-4.7.9-dev1/install.php  
inflating: pluck-4.7.9-dev1/login.php  
inflating: pluck-4.7.9-dev1/requirements.php  
inflating: pluck-4.7.9-dev1/robots.txt  

List the contents in the Apache’s Document root directory to check the extracted file of Pluck CMS 4.7.9

root@linuxhelp:/var/www/pluck# ll
total 1592
drwxr-xr-x 3 root root    4096 Apr 20 01:56 ./
drwxr-xr-x 5 root root    4096 Apr 20 01:56 ../
-rw-r--r-- 1 root root 1614971 Apr 20 01:56 4.7.9-dev1.zip
drwxr-xr-x 6 root root    4096 Sep  5  2018 pluck-4.7.9-dev1/

Ease by renaming the Extracted file of Pluck CMS 4.7.9

root@linuxhelp:/var/www/pluck# mv pluck-4.7.9-dev1/ final

Check whether has it been renamed or not by listing the contents.

root@linuxhelp:/var/www/pluck# ll
total 1592
drwxr-xr-x 3 root root    4096 Apr 20 01:56 ./
drwxr-xr-x 5 root root    4096 Apr 20 01:56 ../
-rw-r--r-- 1 root root 1614971 Apr 20 01:56 4.7.9-dev1.zip
drwxr-xr-x 6 root root    4096 Sep  5  2018 final/

Assigning ownership permissions to the pluck directory recursively

root@linuxhelp:/var/www/pluck# chown -R www-data. final/

Assigning writable permissions to the pluck directory recursively.

root@linuxhelp:/var/www/pluck# chmod -R 775 final/

Change the directory to pluck to assign full permissions to certain files.

root@linuxhelp:/var/www/pluck# cd final/

List the contents in the final directory

root@linuxhelp:/var/www/pluck/final# ll
total 60
drwxrwxr-x 6 www-data www-data 4096 Sep  5  2018 ./
drwxr-xr-x 3 root     root     4096 Apr 20 01:56 ../
-rwxrwxr-x 1 www-data www-data 8113 Sep  5  2018 admin.php*
drwxrwxr-x 8 www-data www-data 4096 Sep  5  2018 data/
drwxrwxr-x 2 www-data www-data 4096 Sep  5  2018 docs/
drwxrwxr-x 2 www-data www-data 4096 Sep  5  2018 files/
drwxrwxr-x 2 www-data www-data 4096 Sep  5  2018 images/
-rwxrwxr-x 1 www-data www-data 3406 Sep  5  2018 index.php*
-rwxrwxr-x 1 www-data www-data 7649 Sep  5  2018 install.php*
-rwxrwxr-x 1 www-data www-data 3832 Sep  5  2018 login.php*
-rwxrwxr-x 1 www-data www-data 1788 Sep  5  2018 README.md*
-rwxrwxr-x 1 www-data www-data 3862 Sep  5  2018 requirements.php*
-rwxrwxr-x 1 www-data www-data   47 Sep  5  2018 robots.txt*

Assigning full permissions to certain files as it is essential for the Pluck CMS 4.7.9 Installation procedure.

root@linuxhelp:/var/www/pluck/final# chmod 777 files images data data/settings data/settings/langpref.php data/trash data/themes data/modules data/themes/olddata-style data/themes/default 

Create A customised Configuration File for Pluck CMS 4.7.9 to access through browser.

root@linuxhelp:/var/www/pluck/final# vim /etc/apache2/sites-available/pluck.conf
<virtualhost *:80>
servername www.linuxhelp1.com
documentroot /var/www/pluck/final/

<directory /var/www/pluck/final/>
allowoverride all
allow from all
</directory>
</virtualhost>

Disable the default sites to access the Pluck CMS

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

Enable the pluck.conf that has configured in the virtual hosting to access the pluck CMS

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

Enable the rewrite module to alter the configuration file of Apache accordingly .

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

restart the service Of Apache

root@linuxhelp:/var/www/pluck/final# systemctl restart apache2

Enter the server name that you have set inside the virtual hosting of Pluck Cms 4.7.9 Click Start the Installation on the welcome page of pluck Cms 4.7.9 to proceed further Save the Configured general information of the website And Admin credentials

After the Successful installation of pluck Cms 4.7.9 click take a look at your website

Click Admin to enter into the login page of pluck Cms 4.7.9 Thus Admins account of Pluck Cms 4.7.9 has been opened successfully. Installation of pluck Cms 4.7.9 On Ubuntu 18.10 is successful.

FAQ
Q
Does pluck CMS 4.7.9 need database?
A
No, It does not need any database support to build Pluck CMS.
Q
Is there any feature to showcase my images in pluck CMS 4.7.9?
A
you can create gallery and album to showcase your images.
Q
Does PHP 7.2 supports Pluck CMS 4.7.9?
A
Yes,it does support PHP 7.2 version.
Q
Is it posssible to create many pages in the pluck CMS 4.7.9 ?
A
you can create unlimited pages in the pluck cms 4.7.9
Q
What are the php modules required for Pluck CMS 4.7.9?
A
php-gd php-pdo php-mysql php-simplexml php-mbstring php-zip php-mcrypt are the modules required for Pluck CMS.