This is a step by step tutorial on how to install Joomla manually on a web server. In this article we focus on the installation of Joomla 3, as it is the latest stable branch officially recommended for all new projects.
Follow these steps to install Joomla manually:
- Step 1: Download the Joomla installation package
- Step 2: Upload the Joomla files to your server
- Step 3: Create a MySQL Database for Joomla to use
- Step 4: Go through the installation process
STEP 1 : Download the Needed Joomla 3 Installation Package
To start a Joomla installation on a web server, first you need to download the Joomla installation package. We recommend that you download Joomla only from the official website of the application –Joomla.org. If you download the Joomla 3 installation package from other than the official one, there is a risk of malicious code in the setup files.
Once you click on the Download button for the latest Joomla version, the installation package will be saved to your hard disk. Locate the installation package (should be named Joomla_3.0.3-Stable-Full_Package.zip or similar) that you’ve just downloaded and extract it to a new folder.
STEP 2 : Upload the Joomla Files to Your Server
Now, you need to upload the extracted files and folders to your web server. The easiest way to upload the Joomla installation files is via FTP. For detailed information on how to upload files via FTP, please check our FTP Tutorial.
IMPORTANT!If you want your Joomla 3 to be the main installation on your account and to be accessible through your main domain (i.e. www.mydomain.com), you need to upload the extracted files to your public_html folder. If you want to access Joomla on a subfolder of your domain (i.e. www.mydomain.com/joomla) you should upload it to the appropriate subdirectory (i.e.public_html/joomla/).
STEP 3 – Create a MySQL Database for Joomla to Use
Next, you need to create a MySQL database and assign a user to it with full permissions. For detailed instructions on how to do that, please follow the steps described in our tutorial on How to Create MySQL Username and Database.
Once you create your MySQL Database and User, make sure you write down the database name, database username and password you’ve just created. You will need those for the installation process.
STEP 4 – Go Through the Installation Process
If you have uploaded the installation files, simply open your browser and navigate to your main domain (i.e. http://mydomain.com), or to the appropriate subdomain (i.e http://mydomain.com/joomla), depending where you have uploaded the Joomla installation package. Once you do that, you will be taken to the first screen of the Joomla Web Installer. On the first step of the installation process, you need to add the necessary information about your site and your administrative username.
- Site Name: Enter the name of your site. Most templates will use this for the first heading of your index.
- Description: Add a brief description of your website. It depends on your template if and where this text would be displayed.
- Admin Email: Enter a valid email address. It will be used for password recovery and system messages.
- Admin Username: Your administrative username. Please select a unique username, rather than “admin” or “administrator” since those are often subject to hacker attacks.
- Admin Password: Add a password as strong as possible.
- Site Offline: Select whether your site should be taken offline after you complete the installation. For the purpose of this tutorial we will leave this option set to NO (site will be live after installation).
Once you fill in all the required fields, press the Next button to proceed with the installation.
On the next screen, you will have to enter the necessary information for your MySQL database.
- Database Type: By default this value is set to MySQLi. Leave it that way, MySQLi is an optimised version of the regular MySQL database and it is supported on FastWebHost servers.
- Host Name: Once again, leave the default localhost value.
- Username: Enter the username for your MySQL database (Refer to Step 3).
- Password: Fill in the password for the database username (Refer to Step 3).
- Database Name: Enter the name of the MySQL database you want to use (Refer to Step 3).
- Table Prefix: Joomla will add this prefix to all of its database tables. This is useful if you want to host multiple Joomla sites on a single database. You should leave the default value.
- Old Database Process: If you have any existing databases, choose what to do with the existing tables that are required by the installer. The options are to remove or backup any existing data that’s about to be replaced. We recommend that you leave this option set to Backup since it is the safest choice.
After you enter all the necessary information, press the Next button to proceed.
You will be forwarded to the last page of the installation process. On this page, you can specify if you want any sample data installed on your server. For beginners, we recommend you to choose the Default Sample data option since it will serve as an example/backbone, that you can use to build your actual website. Note that you can delete all sample articles, menus, etc. at any time.
The second part of the page will show you all pre-installation checks. The FastWebHost servers meet all Joomla requirements and you will see a green check after each line.
Finally, hit the Install button to start the actual Joomla installation. In a few minutes you will be redirected to the last screen of the Joomla Web Installer.
On the last screen of the installation process you need to press the Remove installation folderbutton. This is required for security reasons, so no one can reinstall your existing site later on. Note that Joomla won’t let you use your site unless you remove this folder completely!
That’s it! You have a fully functional Joomla website. You can now start building your website content!