How to install Composer cms on Linux mint 18.03
To install Composer cms on Linux mint 18.03
Composer CMS is a web application for creating websites. It is a combination of a Web content management system and online community software. The composer is licensed as free software and primarily written in the PHP programming language.
Prerequisites
To install LAMP(Apache, MariaDB and php7.0)
In MariaDB (create database and user and give privileges to that user)
Php installation with required following modules
add-apt-repository ppa:ondrej/php
apt-get update
apt-get install php7.0 php7.0-mysql php7.0-curl php7.0-json php7.0-cgi 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
Installation
Download a composer cms package using by wget command.
linuxhelp ~ # wget https://compo.sr/site/dload.php?id=494
--2018-08-18 02:05:52-- https://compo.sr/site/dload.php?id=494
Resolving compo.sr (compo.sr)... 65.111.167.187
Connecting to compo.sr (compo.sr)|65.111.167.187|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16212376 (15M) \[application/octet-stream\]
Saving to: ‘dload.php?id=494’
dload.php?id=494 100%\[===========================>\] 15.46M 981KB/s in 18s
2018-08-18 02:06:11 (874 KB/s) - ‘dload.php?id=494’ saved \[16212376/16212376\]
The downloaded package is a zip file, so we need to unzip the package now.
linuxhelp ~ # unzip dload.php?id=494 -d composer
Archive: dload.php?id=494
extracting: composer/\_config.php
creating: composer/adminzone/
inflating: composer/adminzone/.htaccess
inflating: composer/adminzone/find\_permissions.php
inflating: composer/adminzone/index.php
inflating: composer/adminzone/load\_template.php
.
.
.
creating: composer/uploads/watermarks/
inflating: composer/uploads/watermarks/.htaccess
extracting: composer/uploads/watermarks/index.html
creating: composer/uploads/website\_specific/
extracting: composer/uploads/website\_specific/index.html
inflating: composer/web.config
Change the ownership and permission for composer directory
linuxhelp ~ # ls
composer dload.php?id=494
linuxhelp ~ # chown -R www-data:www-data composer/
linuxhelp ~ # chmod -R 775 composer/
Move the composer directory into the /html location
linuxhelp ~ # mv composer/ /var/www/html/
Create a new virtual host configuration to accessing the composer cms application
linuxhelp ~ # cd /etc/apache2/sites-available/
linuxhelp sites-available # vim composer.conf
ServerName www.linuxhelp1.com
DocumentRoot /var/www/html/composer/
AllowOverride All
allow from all
Enable the site access.
linuxhelp sites-available # a2ensite composer.conf
Enabling site composer.
To activate the new configuration, you need to run:
service apache2 reload
Enable the rewrite module.
linuxhelp sites-available # a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
service apache2 restart
Entry to the host file
linuxhelp sites-available # vim /etc/hosts
Then we need to restart the apache2 service
linuxhelp sites-available # systemctl restart apache2.service
Now we have to open a browser and type the following URL of http://local IP (or ) domain name
Now, here accrue some critical error, so click on ‘run the installer’
Choose your language and click on ‘proceed’.
Here you can see license agreement so, click on ‘I agree’
Select your forums software.
Fill the general setting details.
Fill the admin user details.
Fill the database details.
Here you can see composer installation log.
The installation is completed, now remove or rename the install.php. Then if you want login your site click on ‘Go to my new website now’.
linuxhelp sites-available # cd /var/www/html/composer
linuxhelp sites-available #rm –rvf install.php
linuxhelp sites-available #systemctl restart apache2
Here, give username and password.then, click login.
Finally, here you can see the admin page of composer cms.
with this, the method to install composer cms on Linuxmint-18.03 comes to an end.
Comments ( 0 )
No comments available