How to install Joomla 3.7.2 on OpenSUSE Leap 42.3

To install Joomla 3.7.2 on OpenSUSE Leap 42.3

Joomla is a free, open-source, and popular content management system (CMS) that can be used to build online applications and websites. It uses a PHP application and back-end database such as MySQL or MariaDB. A main benefit of using Joomla CMS is that it does not require significant technical skill or knowledge to manage. This tutorial covers the installation procedure of Joomla 3.7.2 on OpenSUSE Leap 42.3.

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 in the target system, execute the following command along with its dependencies
zypper in php php-openssl php-mysql php-mbstring 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 installation procedure, download the latest stable version of Joomla using wget command followed by the download link.

linuxhelp:~ # wget https://downloads.joomla.org/cms/joomla3/3-7-2/Joomla_3-7.2-Stable-Full_Package.zip?format=zip
--2017-11-02 10:21:32--  https://downloads.joomla.org/cms/joomla3/3-7-2/Joomla_3-7.2-Stable-Full_Package.zip?format=zip
Resolving downloads.joomla.org (downloads.joomla.org)... 72.29.124.146
Connecting to downloads.joomla.org (downloads.joomla.org)|72.29.124.146|:443... connected.
HTTP request sent, awaiting response... 303 See Other
Location: https://s3-us-west-2.amazonaws.com/joomla-official-downloads/joomladownloads/joomla3/Joomla_3.7.2-Stable-Full_Package.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIZ6S3Q3YQHG57ZRA%2F20171102%2Fus-west-2%2Fs3%2Faws4_request& X-Amz-Date=20171102T045241Z& X-Amz-Expires=60& X-Amz-SignedHeaders=host& X-Amz-Signature=fa0cb94d595d3dcadf440fa939eb5476273302868f8bc70584a95278e8a41aa0 [following]
--2017-11-02 10:21:35--  https://s3-us-west-2.amazonaws.com/joomla-official-downloads/joomladownloads/joomla3/Joomla_3.7.2-Stable-Full_Package.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIZ6S3Q3YQHG57ZRA%2F20171102%2Fus-west-2%2Fs3%2Faws4_request& X-Amz-Date=20171102T045241Z& X-Amz-Expires=60& X-Amz-SignedHeaders=host& X-Amz-Signature=fa0cb94d595d3dcadf440fa939eb5476273302868f8bc70584a95278e8a41aa0
Resolving s3-us-west-2.amazonaws.com (s3-us-west-2.amazonaws.com)... 54.231.184.240
Connecting to s3-us-west-2.amazonaws.com (s3-us-west-2.amazonaws.com)|54.231.184.240|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13006329 (12M) [application/x-www-form-urlencoded]
Saving to: ‘ Joomla_3-7.2-Stable-Full_Package.zip?format=zip’ 

100%[=========================================================================================================================================================================> ] 13,006,329   135KB/s   in 2m 7s  

2017-11-02 10:23:43 (100 KB/s) - ‘ Joomla_3-7.2-Stable-Full_Package.zip?format=zip’  saved [13006329/13006329]

Extract the downloaded package in Apache document root using unzip command.

linuxhelp:~ # unzip Joomla_3-7.2-Stable-Full_Package.zip?format=zip -d /srv/www/htdocs/
Archive:  Joomla_3-7.2-Stable-Full_Package.zip?format=zip
  inflating: /srv/www/htdocs/LICENSE.txt  
  inflating: /srv/www/htdocs/README.txt  
   creating: /srv/www/htdocs/administrator/
   creating: /srv/www/htdocs/administrator/cache/
  inflating: /srv/www/htdocs/administrator/cache/index.html  
   creating: /srv/www/htdocs/administrator/components/
   creating: /srv/www/htdocs/administrator/components/com_admin/
  inflating: /srv/www/htdocs/administrator/components/com_admin/admin.php  
  inflating: /srv/www/htdocs/administrator/components/com_admin/admin.xml  
  inflating: /srv/www/htdocs/administrator/components/com_admin/controller.php  
   creating: /srv/www/htdocs/administrator/components/com_admin/controllers/
.
.
.
.
.
extracting: /srv/www/htdocs/templates/system/images/j_button2_pagebreak.png  
 extracting: /srv/www/htdocs/templates/system/images/j_button2_readmore.png  
 extracting: /srv/www/htdocs/templates/system/images/j_button2_right.png  
 extracting: /srv/www/htdocs/templates/system/images/selector-arrow.png  
  inflating: /srv/www/htdocs/templates/system/index.php  
  inflating: /srv/www/htdocs/templates/system/offline.php  
   creating: /srv/www/htdocs/tmp/
  inflating: /srv/www/htdocs/tmp/index.html  
  inflating: /srv/www/htdocs/web.config.txt  

Move to the Apache document root by executing the following cd command.

linuxhelp:~ # cd /srv/www/htdocs/
linuxhelp:/srv/www/htdocs # ll
total 116
-rw-r--r--  1 root   root 18092 May 22 14:19 LICENSE.txt
-rw-r--r--  1 root   root  4494 May 22 14:19 README.txt
drwxr-xr-x 11 root   root  4096 May 22 14:19 administrator
drwxr-xr-x  2 root   root  4096 May 22 14:19 bin
drwxr-xr-x  2 root   root  4096 May 22 14:19 cache
drwxr-xr-x  2 root   root  4096 May 22 14:19 cli
drwxr-xr-x 19 root   root  4096 May 22 14:19 components
drwxrwxrwx  2 wwwrun www   4096 Oct  9 23:15 gif
-rw-r--r--  1 root   root  3005 May 22 14:19 htaccess.txt
drwxr-xr-x  5 root   root  4096 May 22 14:19 images
drwxr-xr-x  2 root   root  4096 May 22 14:19 includes
-rw-r--r--  1 root   root  1420 May 22 14:19 index.php
-rwxrwxrwx  1 wwwrun www   2356 Mar 18  2017 info2html.css
drwxr-xr-x 14 root   root  4096 May 22 14:19 installation
drwxr-xr-x  4 root   root  4096 May 22 14:19 language
drwxr-xr-x  5 root   root  4096 May 22 14:19 layouts
drwxr-xr-x 11 root   root  4096 May 22 14:19 libraries
drwxr-xr-x 26 root   root  4096 May 22 14:19 media
drwxr-xr-x 27 root   root  4096 May 22 14:19 modules
drwxr-xr-x 16 root   root  4096 May 22 14:19 plugins
-rw-r--r--  1 root   root   836 May 22 14:19 robots.txt.dist
drwxr-xr-x  5 root   root  4096 May 22 14:19 templates
drwxr-xr-x  2 root   root  4096 May 22 14:19 tmp
-rw-r--r--  1 root   root  1690 May 22 14:19 web.config.txt

Provide the appropriate owner permission and file execution permission by running the following commands.

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 joomla.conf and enter the following content in the file. Save and exit the file.

linuxhelp:/srv/www/htdocs # vim /etc/apache2/conf.d/joomla.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 and enter the URL as http://yourdomain/installation/index.php. The installation page of Joomla appears on the screen. Select the required Language.

Enter the required user account details as shown below and click Next.

Enter the required details for creating a database for Joomla and click Next.

Choose the None option for the finalization from the list of options and click Install option to begin the installation process.

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

The installation is now complete and the installation wizard prompts the user to remove the installation folder from the target system.

The installation folder has been removed and the login page of Joomla appears on the screen.

Enter the required credentials and Login.

The dashboard of Joomla is displayed as shown below.


Thus we conclude the installation procedure of Joomla on OpenSUSE Leap 42.3.

FAQ
Q
Why doesn't the pdf of my page show the images on Joomla?
A
Images are not supported in Joomla! 1.0.x in the pdf creation script. Images are supported in Joomla! 1.5.
Q
Can I install Joomla! on my hosting account?
A
Yes, you can.

Download the version of Joomla! that you want to use, unpack the files locally and then upload them to your account directly using FTP.

You’ll also want to create a database with a username and password.

When you’re done, visit the front end of your site, and you will see the installer page and you can begin the installation process.
Q
Did you clear your cache?
A
When you make any changes to SEF settings it is advisable to make sure that you clear your cache, and if you are caching URLS (for example using a third-party SEF extension) make sure that yo
Q
Is Joomla OpenSource?
A
Joomla is a free, open-source, and popular content management system.
Q
What is Joomla?
A
Joomla is a free, open-source, and popular content management system (CMS) that can be used to build online applications and websites. It uses a PHP application and back-end databases such as MySQL or MariaDB. The main benefit of using Joomla CMS is that it does not require significant technical skill or knowledge to manage.