Joomla – CMS

Installation of Joomla on Stand Alone System:

Installing Joomla 3.x. on localhost is straightforward but can be tricky the first time you attempt it. So for this steps are given to start the installation from scratch.

First, let me clarify the meaning of “localhost”. As you know, any website needs to be hosted on a web server in order to be shown to users. Normally, you would need to buy a hosting package from some hosting provider like web2host, Inway communication or GoDaddy and may more. Depending on the package you choose, a hosting provider will install a web server for you on one of their server machines, which is accessible to the public.

A localhost is basically the same type of web server but installed on your own local computer.

Now, in order to run Joomla, you need not only a web server, but also two more things:

  • PHP script interpreter and
  • MySQL database system.

Means, you need the following software in order to install Joomla:

  • Apache Web Server
  • PHP script interpreter
  • MySQL database system
  • Joomla Software

If you are not computer expert, you may feel tensed before installation as it sounds complicated to install everything in order but thanks to open source community who developed and compiled the bundle of all these software into one package called XAMPP with all the elements included.

XAMPP is a free and open source cross-platform web server solution stack package developed by Apache Friends, consisting mainly of the Apache HTTP Server, MariaDB database, and interpreters for scripts written in the PHP and Perl programming languages. XAMPP stands for Cross-Platform (X), Apache (A), MariaDB (M), PHP (P) and Perl (P). It is a simple, lightweight Apache distribution that makes it extremely easy for developers to create a local web server for testing purposes. Everything needed to set up a web server – server application (Apache), database (MariaDB), and scripting language (PHP) – is included in an extractable file. XAMPP is also cross-platform, which means it works equally well on Linux, Mac and Windows. Since most actual web server deployments use the same components as XAMPP, it makes transitioning from a local test server to a live server extremely easy as well.

Download the XAMPP software from the link given below:

https://www.apachefriends.org/index.html

Let’s install XAMPP on local machine.

  1. Download the XAMPP installer package at http://www.apachefriends.org/en/xampp.html
  2. Run the installation file as you do with regular software and follow the step by step instructions.
  3. Open “XAMPP Control Panel Application” and start “Apache” and “MySQL”.

That’s it; your localhost is now installed. You can check if it works or not by typing the address: “http://localhost” in your web browser. You should see a page as illustrated below.

  1.  Create a database in PhpMyAdmin

From the XAMPP interface, click PhpMyAdmin to start creating database. Enter the database name and click on Create button. It will create the database in MySQL.

Once database is created, you are ready to install Joomla.

Install Joomla:

  1. Download the Joomla 3.x full package at http://www.joomla.org/download.html
  2. Create a new folder entitled “Joomla” in folder “htdocs” in XAMPP folder. Normally it will be located at “C:\xampp\htdocs”
  3. Unpack the downloaded package file into the folder “Joomla”
  4. Go to the URL “http://localhost/Joomla”
  5. Follow all steps in Joomla installation:

Step 1. Main Configuration

  1. Select Language: Choose your own language in the drop-down menu, for example, “English (United States)”
  2. Site Name: Enter the name of your site
  3. Description: Enter the description of your site
  4. Site Offline: Choose status for your website when you access to your site: Click “Yes” for “offline” and “No” for “online”
  5. Admin Email: Enter your valid email address you want to use for your site
  6. Admin Username: Enter “admin” as default
  7. Admin Password: Enter your own password
  8. Confirm Admin Password: Re-type your password
  9. Click “Next” to continue Step 2

Step 2. Database Configuration

  1. Database Type: Select MySQL
  2. Host Name: Enter “localhost”
  3. Username: Enter “root”
  4. Password: let it be blank (if you have set any password then enter it)
  5. Database Name: enter the name of the database you created “Joomla”
  6. Table Prefix: let it generate automatically
  7. Old Database Process: Click “Backup” to back up tables from former Joomla! installation, or “Remove” to delete these tables
  8. Click “Next” to continue Step 3

Step 3. Overview

  1. Finalization: You can choose installing sample data or not, by clicking on corresponding selection.
  2. Overview: This step is to review all information you configured in step 1. After checking, you click “Install”.
  3. When installation finishes, you just need to click the button “Remove installation folder” button to complete the installation process. After that, you can either click on “Site” to see your newly created or “Administrator” to access the administration area.

Now you have your first Joomla Site installed successfully.

Installation of Joomla with Web Hosting Plan:

In order to install Joomla with web hosting plan, you will require an account with web host with necessary requirements and it is advisable to choose the host which has extensive experience hosting website with Joomla.

There are many web host providers who can host your Joomla site. These are paid websites which can be purchased with nominal annual fee and can be used for said purpose.

Web Hosting Requirements:

Most of the Joomla websites run on the server powered by Linux Operating System. However, it can also be run on Windows Operating System. In order to run Joomla, you will require minimum these software to start the work.

  • Apache 2 or later version
  • PHP 5.3.1 or later version
  • MySQL 5.1 or later version

If it is windows account, then it requires Windows IIS Version 7

Domain Name:

To float and access the website on Internet, you will also require the name of the website or domain name to navigate the website. The above mentioned websites can provide the domain name on payment basis annually. This domain will allow other users to access your website from outside also.

NOTE: But, if you have decided to install the Joomla on local machine, web hosting is not compulsory. It can be later transferred to web server using any FTP software preferably FileZilla. To install FileZilla, simply download FTP Software from www.sourceforge.net and install it in local machine

 When you purchase the web hosting plan, they will provide the control panel which contains many features such as file manager, MySQL database, phpmyadmin, Softaculous etc.

Joomla can also be installed directly through cPanel provided by your host. For ex. I have URL www.joomla.dptripathi.in  and I have been provided cPanel user ID and Password, which I am going to use for installing Joomla.

Just open the browser and type your <domain name/cpanel> (http://dptripathi.in/cpanel) and you will get the screen just as given below.

Enter the User ID and Password; it will take you inside the cPanel where you will get many options.

cPanel will enable you to install Joomla software in two ways:

  • Installation by creating database in MySQL, its user name & password, then uploading the Joomla software in the webhosting space.
  • Installation of Joomla using Softaculous (which comes with web installer of different software)

Let us see the procedure for both the Installation one by one.

Installation by creating database in MySQL, its user name & password, then uploading the Joomla software in the webhosting space.

Installation of Joomla with this method requires the following steps:

  1. Create Database:

In order to install Joomla and develop website, you will need to create database so it is very important to understand the basics of database and how does this database work with Joomla?

In order to create database, you will need to specify the name of database, database user and database password. In control panel, look for database section and an option to create a new database.

In the cPanel, there is MySQL Database Wizard and that is to create a new database.

Step – 1: Login to your control panel with your User ID and Password provided by your host.

Step – 2: Click MySQL Database Wizard

Step – 3: Enter a name of database then press, next step. Here, you will get next screen

Finally click on Create User. It will create the user.

Now you will need to integrate user with database.

Click on Add and it will take you to next screen where you need to provide privilege.

Finally click on ‘Make Changes’ and it will assign the privileges and show you the next screen.

Upload & Extract Joomla File

Now, go to cPanel and login with cPanel User ID and Password and open the File Manager. It will open another window where you can upload the zipped Joomla software.

Now upload the downloaded, Joomla Zipped file through File Manager in cPanel.

Select the software and upload it. It may take some time to upload.

Once it is uploaded, extract the files and then run the web Installer in order to install Joomla. Follow the same procedure which you followed while installing Joomla on Standalone System. Simply, run the Web Installer and follow the instructions which will help you to complete the installation.

See, how to extract the file.

Now, select the concerned zip file and click on ‘Extract’ button to extract the file. Once extracted, it will show you the list of files and folders.

Now, open the browser and enter your domain name in the browser. It will show you the web installer. Follow the same steps which you followed while installing Joomla at localhost.

Reference:

  1. joomla.org
Is this Page useful? Useful Useless 9 of 9 people say this Page is useful.