How to install October cms on linuxmint-18.03

To install October cms on linuxmint-18.03


October is a free and open source content management system (CMS) based on the PHP programming language and Laravel web application framework.


Pre-requirements

Install LAMP (Apache, php7.0, mariadb-server)
In MariaDB (create database, user and give privileges to the user)

FOR PHP INSTALLATION

apt-get install python-software-properties
add-apt-repository ppa:ondrej/php
apt-get update
apt-get install php7.0-mysql php7.0-curl php7.0-json php7.0-cgi php7.0 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 October cms package using wget command

linuxhelp ~ # wget http://octobercms.com/download -O octobercms.zip
--2018-05-21 14:12:28--  http://octobercms.com/download
Resolving octobercms.com (octobercms.com)... 104.24.112.12, 104.24.113.12, 2400:cb00:2048:1::6818:710c, ...
Connecting to octobercms.com (octobercms.com)|104.24.112.12|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github.com/octobercms/install/archive/master.zip [following]
--2018-05-21 14:12:29--  https://github.com/octobercms/install/archive/master.zip
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/octobercms/install/zip/master [following]
--2018-05-21 14:12:31--  https://codeload.github.com/octobercms/install/zip/master
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: 141847 (139K) [application/zip]
Saving to: ‘ octobercms.zip’ 

octobercms.zip           100%[=================================> ] 138.52K   158KB/s    in 0.9s    

2018-05-21 14:12:33 (158 KB/s) - ‘ octobercms.zip’  saved [141847/141847]

Extract the package

linuxhelp ~ # unzip octobercms.zip 
Archive:  octobercms.zip
70e36944290129d4bf3ae710569c16156e4d2f2c
   creating: install-master/
 extracting: install-master/.gitignore  
  inflating: install-master/README.md  
  inflating: install-master/install.php  
   creating: install-master/install_files/
   creating: install-master/install_files/css/
  inflating: install-master/install_files/css/animations.css  
  inflating: install-master/install_files/css/controls.css  
.
.
.
   creating: install-master/install_files/partials/themes/
  inflating: install-master/install_files/partials/themes/theme.htm  
  inflating: install-master/install_files/partials/title.htm  
   creating: install-master/install_files/php/
  inflating: install-master/install_files/php/Installer.php  
  inflating: install-master/install_files/php/InstallerException.php  
  inflating: install-master/install_files/php/InstallerRewrite.php  
  inflating: install-master/install_files/php/boot.php  

Rename the extracted file

linuxhelp ~ # ls
install-master  octobercms.zip
linuxhelp ~ # mv install-master/ october

Move the file to HTML location

linuxhelp ~ # mv october /var/www/html/

Switch to the directory

linuxhelp ~ # cd /var/www/html/
linuxhelp html # ls
index.html  october

change ownership and permission of the October directory

linuxhelp html # chown -R www-data:www-data october/
linuxhelp html # chmod -R 775 october/

Create the virtualhost for October cms

linuxhelp html # cd /etc/apache2/sites-available/
linuxhelp sites-available # vim october.conf
< VirtualHost *:80> 
ServerName www.linuxhelp1.com
DocumentRoot /var/www/html/october/
< Directory /var/www/html/october/> 
AllowOverride All
Order allow,deny
allow from all
< /Directory> 
< /VirtualHost> 

Enable the october.conf file

linuxhelp sites-available # a2ensite october.conf
Enabling site october.
To activate the new configuration, you need to run
service apache2 reload

Make an entry to the host file

linuxhelp sites-available # vim /etc/hosts
< give your ip>    < give your dom  ain name> 

To restart the apache:

linuxhelp sites-available # systemctl restart apache2.service

Open a browser and type http://local IP (or) domain name


Verify the system check and continue.


Accept the License agreement



Configure the database settings


Configure the admin user account setup


Choose where do you want to setup your site


Choose the theme and install


You can verify the Progress of the installation as shown below.


After the successful installation, the following page will appear


Log in using the admin account credentials


After the successful login, you will see the admin dashboard of October CMS

with this, the method to install October cms on linuxmint-18.03 comes to an end.

FAQ
Q
How do you define a Website?
A
A Website is defined as a single installation of OctoberCMS that is accessible from a single webpage and is controlled by a single back-end administration area, operated by a single organization or person.
Q
What are the main differences between the Regular License and the Extended License?
A
The main difference is that under the Regular License, you are granted permission to use the product you've licensed on a single website. Whereas under the Extended License, you (as a person or organization) are granted permission to use the product on an unlimited number of websites.

Neither license permits you to sell the product as a product under any circumstances. For example, as a theme or plugin on the OctoberCMS marketplace or any other marketplace.

However, you are permitted to sell the product as part of your service offering. For example, if you are a freelancer, you are allowed to create a website for a client using either license and charge them for your services.
Q
What are the features available in October CMS?
A
The following feature is available for October CMS as given below,
Features

Add & Edit Q/A in the backend
Category admin for Q/A
Interactive questions (visitors can ask questions directly on the page)
Email notifications: question being asked, the question is answered
Shows featured Q/A
Lists Q/A for given category
Lists newest Q/A
Q
How do I tell what License should be used in October CMS?
A
You can find a link to the applicable license on the detail page for any given product.
Q
What are some examples of permitted use in October CMS?
A
You buy a theme, add your content, logo and other images, then use it as your website.
You buy a plugin, configure and implement it, and use it for your website (but not as a new plugin for sale).
You create a project with several plugins, create a custom theme and use it for a single website.