How to install Concrete5 on OpenSUSE Leap 42.3

To Install Concrete5 on OpenSUSE Leap 42.3

In our preceding article, we have seen the installation procedure of Concrete 5 with Nginx on CentOS 6.9. In this article, we will be briefed about the installation procedure of Concrete5 on OpenSUSE Leap 42.3. Concrete5 is a flexible, secure and mobile ready content management system available on the Internet. It is written in PHP and uses MySQL or MariaDB to store its data. It comes with an easy to use website builder through which you can easily create pages and content.

Pre - Requisite
LAMP Stack (Use the following link, to know about the installation of LAMP. https://www.linuxhelp.com/how-to-install-and-configure-lamp-in-open-suse-leap/)
- Apache
- MariaDB
- PHP 7
To install PHP 7 in the system, execute the following command.
zypper in php php-openssl php-mysql php-mbstring php-fileinfo php-dom php-json php-session php-ctype php-tokenizer php-simplexml php-pcre php-zip php-pdo php-curl php-iconv php-xml

Installation procedure

To proceed with the insallation procedure, download the latest stable version of Concrete5 using wget command followed by the download link.

linuxhelp:~ # wget https://core-releases.s3.amazonaws.com/9314/8193/0256/concrete5-8.0.3.zip
--2017-11-04 13:53:17--  https://core-releases.s3.amazonaws.com/9314/8193/0256/concrete5-8.0.3.zip
Resolving core-releases.s3.amazonaws.com (core-releases.s3.amazonaws.com)... 54.231.168.238
Connecting to core-releases.s3.amazonaws.com (core-releases.s3.amazonaws.com)|54.231.168.238|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 45636723 (44M) [application/zip]
Saving to: ‘ concrete5-8.0.3.zip’ 

100%[=========================================================================================================================================================================> ] 45,636,723   700KB/s   in 3m 14s

2017-11-04 13:56:32 (230 KB/s) - ‘ concrete5-8.0.3.zip’  saved [45636723/45636723]

Extract the downloaded package by running the unzip command.

linuxhelp:~ # unzip concrete5-8.0.3.zip -d /srv/www/htdocs/
Archive:  concrete5-8.0.3.zip
   creating: /srv/www/htdocs/concrete5-8.0.3/
   creating: /srv/www/htdocs/concrete5-8.0.3/application/
   creating: /srv/www/htdocs/concrete5-8.0.3/application/attributes/
   creating: /srv/www/htdocs/concrete5-8.0.3/application/authentication/
   creating: /srv/www/htdocs/concrete5-8.0.3/application/blocks/
   creating: /srv/www/htdocs/concrete5-8.0.3/application/bootstrap/
  inflating: /srv/www/htdocs/concrete5-8.0.3/application/bootstrap/app.php  
  inflating: /srv/www/htdocs/concrete5-8.0.3/application/bootstrap/autoload.php  
  inflating: /srv/www/htdocs/concrete5-8.0.3/application/bootstrap/start.php  
.
.
.
.
.
inflating: /srv/www/htdocs/concrete5-8.0.3/concrete/views/panels/page/versions.php  
 extracting: /srv/www/htdocs/concrete5-8.0.3/concrete/views/panels/page.php  
  inflating: /srv/www/htdocs/concrete5-8.0.3/concrete/views/panels/sitemap.php  
 extracting: /srv/www/htdocs/concrete5-8.0.3/index.php  
  inflating: /srv/www/htdocs/concrete5-8.0.3/LICENSE.TXT  
   creating: /srv/www/htdocs/concrete5-8.0.3/packages/
  inflating: /srv/www/htdocs/concrete5-8.0.3/robots.txt  
   creating: /srv/www/htdocs/concrete5-8.0.3/updates/

Move to the Apache document root

linuxhelp:~ # cd /srv/www/htdocs/
linuxhelp:/srv/www/htdocs # ll
total 16
drwxr-xr-x 6 root   root 4096 Dec 17  2016 concrete5-8.0.3
drwxrwxrwx 2 wwwrun www  4096 Oct  9 23:15 gif
-rwxrwxrwx 1 wwwrun www  2356 Mar 18  2017 info2html.css

Rename your Directory as per your convenience and also provide owner and file execution permissions for the file.

linuxhelp:/srv/www/htdocs # mv concrete5-8.0.3 concrete5
linuxhelp:/srv/www/htdocs # chown -R wwwrun:www /srv/www/htdocs/
linuxhelp:/srv/www/htdocs # chmod -R 775 /srv/www/htdocs/

Create an Apache Configuration file named concrete.conf using vim editor and enter the following command.

linuxhelp:/srv/www/htdocs # vim /etc/apache2/conf.d/concrete.conf

< VirtualHost *:80> 
DocumentRoot " /srv/www/htdocs" 
ServerName www.linuxhelp1.com
< Directory " /srv/www/htdocs/" > 
DirectoryIndex index.php
Options FollowSymLinks
AllowOverride All
Require all granted
< /Directory> 
< /VirtualHost> 

Restart the Apache Service.

linuxhelp:/srv/www/htdocs # systemctl restart apache

Switch over to the browser enter the URL as http://yourdomain/concrete5. The installation page of Concrete 5 appears on the screen. Select the required language.

The next page shows the list of system check before starting the installation procedure. Click Continue to Installation option.

Fill the required admin details along with password and email address.

Fill the required database details and give Install concrete5 option.

The installation is in progress and the user has to wait for some time.

The installation is now complete. To open the admin page click Edit Your Site option.

The admin home page of Concrete5 appears on the screen.

This concludes the installation procedure of Concrete5 on OpenSUSE Leap 42.3.

FAQ
Q
What are the pre requirements?
A
Pre requirements of this,
" Lamp service enabled in it
Create a database and user for concrete5".
Q
Can I integrate Slife in my own code?
A
Absolutely. For example this sends out a message to Slack:


\Slife\Support\Facade\Slife::send('Test notification via Slife');
Q
How Extract the .tar format downloaded package?
A
Extract the downloaded package by utilizing the following command

# tar -zxvf concrete5.7.5.8.zip
Q
Which integrations are available?
A
Currently we are working on 'Slife C5 Events', which hooks into several useful concrete5 events. The source code is available on https://github.com/a3020/slife_c5_events.
Q
How can I configure MySql for Concrete5 CMS?
A
By using this command to configure MySql for Concrete5 CMS on Ubuntu

# mysql -u root -p