Build a low cost Intranet solution with Joomla


Build a low cost Intranet solution with Joomla

More and more companies are realising the benefit of using an Intranet to communicate with their staff/customers/stakeholders. In the past this has often meant a large investment in bespoke solutions or products such as Microsoft SharePoint. Well my friends, those times have gone.

Joomla is a powerful Open Source content management system. It allows you to easily create an Intranet and then extend its capabilities with Joomla extensions and customised programming. As you will see below you can create a very powerful Intranet in a relatively short period of time and with very little cost. Although Joomla can be installed on various platforms it was originally designed for Linux and that is where it runs best so grab yourself a SLES server (either physical or virtual – it works brilliantly with XEN) and off we go.

N.B. I have blanked out some parts of my screen shots to protect my clients identity.

  1. Install SLES 10 SP1 onto your server hardware. The default settings will generally be fine however on the Installation Settings screen click on the Software heading and then select the “Web and LAMP Server” software package. All other ‘Primary Functions’ packages can be deselected.
  1. If you didn’t register with the Novell Customer Center during your SLES 10 installation complete this step now by running the Novell Customer Center Configuration Wizard from within YaST. This will allow you to input your SLES 10 activation code which in turn allows you to run Online Update.
  2. In YaST select the Online Update module and install any outstanding updates.
  3. We now need to install two additional software components. To do this open YaST and select Software Management. In the ‘Search’ field on the left hand side type php5. Then click on Search. All packages with ‘php5’ in their name will be listed in the right hand window. Place a tick in the box next to the php5-mysql and php-zlib packages. Click Accept to install the packages. Click Continue to any dependency warning messages.N.B. You could complete this step during the initial installation process.
  1. To start your Apache web server open a server terminal and type /etc/init.d/apache2 start.
  2. Before proceeding open a web browser on your server and browse to http://localhost. If Apache is working correctly you should see a page saying “It works!”.
  1. Next configure Apache to start when the server boots by typing inserve apache2 in the server terminal.
  2. You now need to download the latest version of the Joomla software from
  3. Extract the downloaded file either using the GUI or the command line.If you downloaded the software to your desktop you can use the following commands in a server terminal to extract the files to a folder called Joomla on your desktop:
    cd ~/Desktop
    mkdir Joomla
    cd Joomla
    tar –xvf ~/Desktop/Joomla_<version>-Stable-Full_Package.tar.gz
  4. I always recommend backing up your default Apache files before doing anything else. To do this enter the following into a server terminal:
    cd /srv/www/htdocs
    mkdir apache_backup
    mv * apache_backup
  5. Next copy your extracted Joomla files into the root of your web sever (/srv/www/htodcs) by using the following command in the server terminal:
    cd /srv/www/htdocs
    cp –r ~/Desktop/Joomla/. .

    To ensure the wwwrun user and www group (used by Apache) have access to these files type the following commands in your terminal:

    chown –R wwwrun.www /srv/www/htdocs
    	chmod –R 744 /srv/www/htdocs
  6. Next we need to modify the /etc/php5/apache2/php.ini configuration file to ensure the settings are correct for Joomla. To do this open a server terminal and perform the following tasks:
    • Type vi/etc/php5/apache2/php.ini
    • Once vi has loaded type /magic to find the magic_quotes_qpc directive. The first reference is simply a description of the setting. Press n to find the next reference. You should now see the line ‘magic_quotes_qpc = Off’. Press the Ins key (to change to Insert mode) and change this setting to On.
    • Press the Esc key to return to Command mode and type /display_errors.
    • The first instance of this directive is again probably a description of the directive. Press n several times (3 times in my case) to find the line “display_errors = Off’. Press the Ins key (to change to Insert mode) and change this to ‘display_errors = On’.
    • Press Esc to return to Command mode.
    • Finally type 😡 to save the file and exit vi.
  7. Now restart Apache to ensure these settings take effect. Type /etc/init.d/apache2 restart in your terminal.
  8. Again open the web browser on your server and browse to http://localhost. You may need to refresh your browser if it is still open from earlier in the installation. You should see the first page of the Joomla Installation, as shown below. Select your Language and click on the Next button.
  1. On the Pre-Installation Check page you can see that Joomla automatically checks that the settings on your system are correct before the installation continues. All items should be displayed in green. If not resolve these issues before you proceed. Click Next.
  1. Read the License agreement and then click Next.
  1. On the Database Configuration page you need to enter parameters for your MySQL database. These options are explained below:
    Database Type Leave this as the default, mysql.
    Host name This is the name of your server hosting mysql. If you have mysql installed on your local server (the same server as Joomla) use localhost. If not specify the host name.
    User Name The default MySQL user is root. If you are happy to use this simply enter root.
    Password By default the password for the root MySQL user is blank. This is obviously insecure. To configure this open a terminal and use the following commands to set a password:/etc/init.d/mysql start
    insserv mysql
    mysql –u root

    Type your new password in this field.

    Database Name Type joomla. (This is created for you by the installation)

    Click Next to continue.

  2. On the FTP Configuration page I am going to leave the option No selected for now. You can manually enable this at a later date if you wish. Click Next.
  1. On the Main Configuration page input the following information:
    Site Name Specify a name for your site. This will be displayed on your web site. You can easily modify it at a later stage.
    Your Email Email your email address. This address will be used for the admin user account (within Joomla).
    Admin password Type a secure password and confirm it.
    Install Default Sample Data Ensure this option is ticked and then click on the Install Sample Data button. Unless you are experienced with Joomla getting the system up and running without any sample data can be difficult. You can easily remove this data later.

    Click Next.

  2. The installation is now complete. Read the message carefully on the page as shown below.

    As mentioned on the page above you must remove the installation directory before your Joomla web site will work. To do this open a terminal window and type the following commands:

    cd /srv/www/htdocs
    rm –r installation
  3. You can now use your browser to go to http://localhost. You will see the default Joomla home page as shown below. Please note in my installation I didn’t install any sample data, which is why it’s blank!!
  1. To access the backend administrator area of the site browse to http://localhost/administrator. Login with the username admin and the password you specified during the installation.

    Once logged in you can very easily customise and extend your web site using the tools provided by Joomla.

  1. Finally create an entry in your DNS to point to the IP address of the server hosting your Joomla site e.g. ability to customise and add features to Joomla is almost unlimited using Joomla Templates (many of which are free or very low cost) and Joomla Extensions. Joomla also has many built-in features such as LDAP authentication so you can authenticate users to your Novell eDirectory servers!

    An example of a Joomla web site after some work can be seen below:

Example Extensions

The Billets Support Desk extension gives you the ability to add a very smart cleverly designed Helpdesk system.

The Codingfish Limited Market Place extension allows employees to buy/sell items on the intranet:

For advice/assistance email (without the NO SPAM) or better still post a comment to this article so other users can see. I try endeavour to respond to all emails, depending on demand!

(Visited 1 times, 1 visits today)


  • anonymous says:

    Hi all,

    In India at , the following services in JOOMLA CMS at very low cost

    1. The Interested customer will select a template from our resource links
    2. After finalizing the template, we will help customers in registering domain and in finding web space (Customers will be billed directly by the Vendors)
    3. Implement CMS in the Web Space, configure and customize as per the customer requirements.
    4. Publish content received from client
    5. Build custom developed applications on top of CMS, by using its framework or Leveraging the power of CAKEPHP
    6. Search engine optimization, PPC and other promotional activity planning
    7. Testing the site, once done, will roll out the site and register in search engines.
    8. Maintain the Site and provide support to our clients.

    Read more on our website design and development process by visiting the site.

  • chra says:

    This worked better for me.

    1) Login to mysql server, type following command at shell prompt:

    $ mysql -u root -p

    2) Use mysql database (type command at mysql> prompt):

    mysql> use mysql;

    3) Change password for user vivek:

    mysql> update user set password=PASSWORD(“NEWPASSWORD”) where User=’vivek’;

    4) Reload privileges:

    mysql> flush privileges;
    mysql> quit

  • CSDCEO says:

    Great article, but with the installation installed in that way I found one little problem. The problem lies with some extensions and plug-ins in a way that only the web server can write to the file system, so for example if you would want to have a blog in place and let your users use a blogging client and using Joomlas’ rpc-xml metablog plug-in it would work. A little anyway, but try to add media content to the blog entry and you’ll receive a nice error.

    By using wwwrun.www as user and group for apache that leaves nobody else the right to put content on the web server unless everything is done from the joomla web interface.

    Joomla does have a way to work around this but I personally haven’t tried it. It’s a module called phpsu.

  • Leave a Reply

    Your email address will not be published.