Changes

Jump to navigation Jump to search
57 bytes added ,  22:39, 26 February 2015
Update using stephdl's software collections RPM rather than system-wide PHP upgrade.
Line 6: Line 6:  
[http://www.joomla.org/ Joomla!] is a powerful, flexible content management system (CMS) that is in wide use across the Internet.  This How-To will cover configuration of the SME 9.0 server to support Joomla! 3, and installation of Joomla! 3 on the SME 9.0 server.  It will not cover configuration or use of Joomla! itself; those subjects are covered by the Joomla! documentation and many other sources.
 
[http://www.joomla.org/ Joomla!] is a powerful, flexible content management system (CMS) that is in wide use across the Internet.  This How-To will cover configuration of the SME 9.0 server to support Joomla! 3, and installation of Joomla! 3 on the SME 9.0 server.  It will not cover configuration or use of Joomla! itself; those subjects are covered by the Joomla! documentation and many other sources.
   −
As of this writing, the most recent version of Joomla! 3 is 3.3.6.  This version requires PHP 5.3.10 or greater, which is a greater version than installed by default with SME 9.0.  You can either upgrade PHP following [[Upgrade php/mysql|these instructions]], or install Joomla! 3.2.7, which will work with the stock version of PHP.
+
As of this writing, the most recent version of Joomla! 3 is 3.3.6.  This version requires PHP 5.3.10 or greater, which is a greater version than installed by default with SME 9.0.  To avoid potential conflicts with packages in SME server which depend on the stock version of PHP, you will use [[PHP Software Collections]] to install a newer version alongside the installed version. Install and configure that contrib before proceeding with these instructions.
    
Installation of Joomla! involves creating an ibay to house Joomla!, creating a MySQL user for Joomla!, downloading and extracting the Joomla! package, and going through the Joomla! web setup.  In the text boxes below, commands you type will be in '''bold''', while any response from the system will be in normal print.
 
Installation of Joomla! involves creating an ibay to house Joomla!, creating a MySQL user for Joomla!, downloading and extracting the Joomla! package, and going through the Joomla! web setup.  In the text boxes below, commands you type will be in '''bold''', while any response from the system will be in normal print.
Line 15: Line 15:     
If you expect to give remote users the ability to log in, you should probably set "Force secure connections" to "Enabled".
 
If you expect to give remote users the ability to log in, you should probably set "Force secure connections" to "Enabled".
 +
 +
===Set the PHP version for the ibay===
 +
Browse to the PHP-SCL versions panel in the server manager (if you don't see it, return to the [[PHP Software Collections]] page and complete the installation).  Select php55 as the version for your ibay.
 +
 +
You will also need to install a PHP module which doesn't come installed as a default.  From the command line:
 +
[root@e-smith ~]# '''yum --enablerepo=remi install php54-php-mcrypt php55-php-mcrypt php56-php-mcrypt'''
    
===Create the MySQL user===
 
===Create the MySQL user===
Line 42: Line 48:     
===Download and extract the Joomla! package===
 
===Download and extract the Joomla! package===
Download the Joomla! package (either version 3.2.7 if you have chosen not to upgrade PHP, or the most recent version if you have upgraded PHP) to joomla/html and unzip it.  You can do this from the command line like this (substituting the link for the most recent version).  These commands will also move the .zip file out of your web-accessible space, and set ownership and permissions appropriately.
+
Download the Joomla! package to joomla/html and unzip it.  You can do this from the command line like this (substituting the link for the most recent version).  These commands will also move the .zip file out of your web-accessible space, and set ownership and permissions appropriately.
    
  [root@e-smith ~]# '''cd ~joomla/../html'''
 
  [root@e-smith ~]# '''cd ~joomla/../html'''
Line 97: Line 103:     
====Enable two-factor authentication====
 
====Enable two-factor authentication====
Two-factor authentication allows you to use Google Authenticator, or any compatible app or device, to further secure your installation by requiring a six-digit PIN that changes every 30 seconds.  You can require this for all users, or specific users.  Enabling this is part of the Joomla! configuration, and is not discussed here. However, it will require installation of a PHP extension.  First, you will need to add the [[Epel|EPEL repository]] to your installation.  Then, if you have upgraded PHP as discussed above, do
+
Two-factor authentication allows you to use Google Authenticator, or any compatible app or device, to further secure your installation by requiring a six-digit PIN that changes every 30 seconds.  You can require this for all users, or specific users.  Enabling this is part of the Joomla! configuration, and is not discussed here.
[root@e-smith html]# '''yum --enablerepo=remi-php55,epel install php-mcrypt'''
  −
 
  −
If you have not upgraded PHP, and have installed Joomla! 3.2.7 instead, do
  −
[root@e-smith html]# '''yum --enablerepo=epel install php-mcrypt'''
      
Then you can enable two-factor authentication following the Joomla! documentation.
 
Then you can enable two-factor authentication following the Joomla! documentation.
147

edits

Navigation menu