{"id":6557,"date":"2018-09-06T14:23:37","date_gmt":"2018-09-06T10:23:37","guid":{"rendered":"https:\/\/www.howtoforge.com\/tutorial\/ubuntu-apache-pluck-cms-installation\/"},"modified":"2018-09-06T14:23:37","modified_gmt":"2018-09-06T10:23:37","slug":"how-to-install-pluck-cms-on-ubuntu-18-04-lts","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/how-to-install-pluck-cms-on-ubuntu-18-04-lts\/","title":{"rendered":"How to Install Pluck CMS on Ubuntu 18.04 LTS"},"content":{"rendered":"<p>Pluck is a free, open source, small and simple content management system that can be used to manage your own website without knowledge of programming languages. It is written in PHP language and does not use a database to store its data. It comes with lots of modules that allow us to integrate custom functionality into the system.<\/p>\n<p>In this tutorial, we will learn to install Pluck CMS on Ubuntu 18.04 LTS (Bionic Beaver).<\/p>\n<h2 id=\"requirements\">Requirements<\/h2>\n<ul>\n<li>A server running Ubuntu 18.04.<\/li>\n<li>A non-root user with sudo privileges.<\/li>\n<\/ul>\n<h2 id=\"install-apache-and-php\">Install Apache and PHP<\/h2>\n<p>First, install Apache web server with the following command:<\/p>\n<p class=\"command\">sudo apt-get install apache2 -y<\/p>\n<p>Next, you will need to add Ondrej repository to your system. You can add it with the following command:<\/p>\n<p class=\"command\">sudo add-apt-repository &#8211;yes ppa:ondrej\/php<\/p>\n<p>Next, update the system and install PHP with all the required libraries with the following command:<\/p>\n<p class=\"command\">sudo apt-get update -y<br \/>sudo apt-get install php7.2 libapache2-mod-php7.2 php7.2-common php7.2-mysql php7.2-curl php7.2-opcache -y<\/p>\n<p>Once all the packages are installed, start Apache service and enable it to start on boot time with the following command:<\/p>\n<p class=\"command\">sudo systemctl start apache2<br \/>sudo systemctl enable apache2<\/p>\n<h2 id=\"install-pluck-cms\">Install Pluck CMS<\/h2>\n<p>First, download the latest version of Pluck CMS with the following command:<\/p>\n<p class=\"command\">wget https:\/\/codeload.github.com\/pluck-cms\/pluck\/zip\/master<\/p>\n<p>Once the download is completed, unzip the downloaded file with the following command:<\/p>\n<p class=\"command\">mv master master.zip<br \/>unzip master.zip<\/p>\n<p>Next, copy the extracted directory to the Apache root directory with the following command:<\/p>\n<p class=\"command\">sudo cp -r pluck-master \/var\/www\/html\/pluck<\/p>\n<p>Next, give proper permissions to the pluck directory:<\/p>\n<p class=\"command\">sudo chown -R www-data:www-data \/var\/www\/html\/pluck\/<br \/>sudo chmod -R 755 \/var\/www\/html\/pluck\/<\/p>\n<h2 id=\"configure-apache-for-pluck-cms\">Configure Apache for Pluck CMS<\/h2>\n<p>First, you will need to create an Apache virtual host file for Pluck CMS. You can create it with the following command:<\/p>\n<p class=\"command\">sudo nano \/etc\/apache2\/sites-available\/pluck.conf<\/p>\n<p>Add the following lines:<\/p>\n<pre>&lt;VirtualHost *:80&gt;&#13; ServerAdmin <a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"741510191d1a34110c15190418115a171b19\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>&#13; DocumentRoot \/var\/www\/html\/pluck&#13; ServerName example.com&#13;\n&#13; &lt;Directory \/var\/www\/html\/pluck\/&gt;&#13; Options FollowSymlinks&#13; AllowOverride All&#13; Order allow,deny&#13; allow from all&#13; &lt;\/Directory&gt;&#13;\n&#13; ErrorLog ${APACHE_LOG_DIR}\/pluck_error.log&#13; CustomLog ${APACHE_LOG_DIR}\/pluck_access.log combined&#13;\n&#13;\n&lt;\/VirtualHost&gt;&#13;\n<\/pre>\n<p>Save the file, then enable apache virtual host file with the following command:<\/p>\n<p class=\"command\">sudo a2ensite pluck<\/p>\n<p>Finally, restart Apache service to apply the changes:<\/p>\n<p class=\"command\">sudo systemctl restart apache2<\/p>\n<h2 id=\"access-pluck-cms\">Access Pluck CMS<\/h2>\n<p>Open your web browser and type the URL http:\/\/example.com. You will be redirected to the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page1\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_pluck_cms_on_ubuntu_1804\/big\/page1.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/09\/how-to-install-pluck-cms-on-ubuntu-18-04-lts.png\" alt=\"Pluck CMS web installer\" width=\"550\" height=\"248\" title=\"\"><\/a><\/p>\n<p>Now, click on the <strong>start the installation<\/strong> button. You should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page2\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_pluck_cms_on_ubuntu_1804\/big\/page2.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/09\/how-to-install-pluck-cms-on-ubuntu-18-04-lts-1.png\" alt=\"Installation started\" width=\"550\" height=\"284\" title=\"\"><\/a><\/p>\n<p>Now, check if the displayed files and directories are writable, then click on the <strong>Proceed<\/strong> button. You should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page3\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_pluck_cms_on_ubuntu_1804\/big\/page3.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/09\/how-to-install-pluck-cms-on-ubuntu-18-04-lts-2.png\" alt=\"Set email and language\" width=\"550\" height=\"291\" title=\"\"><\/a><\/p>\n<p>Now, provide your site title, email, and password, then click on the <strong>Save<\/strong> button. You should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page4\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_pluck_cms_on_ubuntu_1804\/big\/page4.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/09\/how-to-install-pluck-cms-on-ubuntu-18-04-lts-3.png\" alt=\"Create Homepage content\" width=\"550\" height=\"320\" title=\"\"><\/a><\/p>\n<p>Now, provide your homepage title and description, then click on the <strong>Save<\/strong> button. You should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page5\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_pluck_cms_on_ubuntu_1804\/big\/page5.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/09\/how-to-install-pluck-cms-on-ubuntu-18-04-lts-4.png\" alt=\"Pluck installation successful\" width=\"550\" height=\"237\" title=\"\"><\/a><\/p>\n<p>Now, click on <strong>manage your website<\/strong> button. You should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page6\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_pluck_cms_on_ubuntu_1804\/big\/page6.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/09\/how-to-install-pluck-cms-on-ubuntu-18-04-lts-5.png\" alt=\"Login to Pluck as administrator\" width=\"550\" height=\"219\" title=\"\"><\/a><\/p>\n<p>Now, provide your site password, then click on the <strong>Log In<\/strong> button. You should see the following page:<\/p>\n<p><a class=\"fancybox\" id=\"img-page7\" href=\"https:\/\/www.howtoforge.com\/images\/how_to_install_pluck_cms_on_ubuntu_1804\/big\/page7.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/09\/how-to-install-pluck-cms-on-ubuntu-18-04-lts-6.png\" alt=\"Pluck CMS dashboard\" width=\"550\" height=\"275\" title=\"\"><\/a><\/p>\n<h2 id=\"links\">Links<\/h2>\n<div class=\"authorbox\" readability=\"30\">\n<img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/09\/how-to-install-pluck-cms-on-ubuntu-18-04-lts.jpg\" alt=\"Hitesh Jethva\" title=\"\"> <\/p>\n<p><strong>About Hitesh Jethva<\/strong><\/p>\n<p>Over 8 years of experience as a Linux system administrator. My skills include a depth knowledge of Redhat\/Centos, Ubuntu Nginx and Apache, Mysql, Subversion, Linux, Ubuntu, web hosting, web server, Squid proxy, NFS, FTP, DNS, Samba, LDAP, OpenVPN, Haproxy, Amazon web services, WHMCS, OpenStack Cloud, Postfix Mail Server, Security etc.<\/p>\n<\/div>\n<div>\n<p><b>Share this page:<\/b><\/p>\n<p>\n<a href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Fwww.howtoforge.com%2Ftutorial%2Fubuntu-apache-pluck-cms-installation%2F\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/09\/how-to-install-pluck-cms-on-ubuntu-18-04-lts-7.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/twitter.com\/intent\/tweet?url=https%3A%2F%2Fwww.howtoforge.com%2Ftutorial%2Fubuntu-apache-pluck-cms-installation%2F&amp;text=How+to+Install+Pluck+CMS+on+Ubuntu+18.04+LTS&amp;via=howtoforgecom&amp;related=howtoforgecom\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/09\/how-to-install-pluck-cms-on-ubuntu-18-04-lts-8.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/twitter.com\/howtoforgecom\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/09\/how-to-install-pluck-cms-on-ubuntu-18-04-lts-9.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/plus.google.com\/share?url=https%3A%2F%2Fwww.howtoforge.com%2Ftutorial%2Fubuntu-apache-pluck-cms-installation%2F\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/09\/how-to-install-pluck-cms-on-ubuntu-18-04-lts-10.png\" height=\"20\" alt=\"\" title=\"\"><\/a>\n<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Pluck is a free, open source, small and simple content management system that can be used to manage your own website without knowledge of programming languages. It is written in PHP language and does not use a database to store its data. It comes with lots of modules that allow us to integrate custom functionality &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-6557","post","type-post","status-publish","format-standard","hentry","category-36"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/6557","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=6557"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/6557\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=6557"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=6557"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=6557"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}