In my last article I mentioned why one might choose Joomla for building a web site. In this description you will see, how you can manually install a fresh new Joomla CMS on your web server.
First download the latest Joomla installation zip package. Go to joomla.org and download the latest release
Unzip the installation files. In my case the file is named Joomla_3.6.5-Stable-Full_Package.zip.
The are currently 5336 files in this release 5336 which cover 52 Megabyte. Of course, this will vary depending on the version.
Upload files to webserver
Upload unziped files to the server/hoster of your choice. In my case I uploaded all the files to /public_html.
Please check what is the name of the right directory. Different hoster may use different names.
Select all the files and upload them. With Filezilla you might use the right mouse button and choose upload.
Depending on the speed of your internet, this may last a few minutes.
Creating a MySQL database for Joomla
Please refer to your hoster how this can be done. Possibly you can do that in your cpanel or Plesk tool. You need a new database and a user which has all the privileges. For security reason please choose a secure password.
What is a secure password?
- More then 12 characters
- Password should not be found in any dictionary. If it is, it can be used in a dictionary attack.
- Use numbers, lower and upper case characters and special characters
- Use the password for only one account or one purpose. Do not reuse passwords. If the password is used several times and is compromised, other accounts can easily taken over.
- I suggest using a Password Safe like KeyPassX.
Now these prerequisites are done, you can open your browser and start the installation. Go to your domain and enter:
If you have Joomla installed in a subdirectory (local install) you should adapt the URL.
You will see the Joomla installer, where you can enter some administrative input.
Site Name: Here you can define how your site should be named. A lot of templates use that as a heading. This can be changed afterwards.
Description: Add a brief description. Depending on your template this may appear at different places. This is a alternative meta description. Best is to use 20 to 25 words. This can also be changed afterwards.
Admin E-Mail: This email will be used in cases of system messages and password recovery. Should be valid, of course.
Admin Username: This is the user name of the admin account. Default is admin, which should be changed. As you recognized my admin name is not easily guessable: it is admin and 4 random characters. This helps preventing script kiddies from brute force the admin account.
Admin Password: A secure password, see above.
Configure the Database
If you are done, you can choose NEXT. In the next tab you have to configure the database. You can enter the necessary information of your MySQL database.
Database Type: Should be MySQL
Host Name: mostly localhost, but contact the support of your hoster if you have troubles in deciding.
Username: Name of user who has the permissions. This is the one you have chosen earlier, when setting up the MySQL database
Password: The password from the database
Database Name: The name of the database
Table Prefix: There is a prefix, so you could install more Joomla sites in one database. You can leave this value.
After that, there is the possibility of backing up any existing data from an old Joomla installation. If there is one please do by clicking Backup, otherwise choose Remove.
Now you can press Next and you are almost done.
On the last page you can choose if you want some sample files which should be copied to your installation. For a beginner, this is very neat. You can plunge around in the files and see how things can be done. So Default English (GB) Sample Date is quite well.
Further more the is a summary about what you have chosen for the installation. Have a look at these and correct if some is wrong.
After that you will be shown a summary of the configuration. If all seems well you will get a green Yes at every line.
You can now hit the Install button and everything should be done in a few minutes.
There is one last thing to do. Please remove the installation folder. This is required for security. If you do not, anyone could reinstall Joomla and destroy your site. If you do not remove the installation files, you can’t process any further. This is prevented by Joomla itself.
Congrats, you have installed your first Joomla CMS System. Now you can start publishing.
You can now choose between viewing the installation on http://yourdomain.com
or login with the admin account on http://yourdomain.com/administrator