J4.x

Installing Joomla: Difference between revisions

From Joomla! Documentation

Align the image to the right, like the images before it.
m Uppercase characters removed
 
(46 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<noinclude><languages /></noinclude>
<noinclude><languages /></noinclude>
<translate>
<translate>
== Introduction == <!--T:1-->
 
<!--T:2-->
<!--T:2-->
Installing Joomla! for the first time is very easy. Joomla!’s built-in web installer makes setting up your new site a breeze.
Installing Joomla! for the first time is very easy. After completion of the preliminary steps, setting up a hosting environment and creating a database, Joomla’s built-in web installer will set up your new site in just a few minutes. The previous steps:</translate>
 
<translate>
=== Hosting Setup === <!--T:67--> </translate>
<translate>
<!--T:68-->
If you have not yet set up a hosting environment you need to do it now, either on a hosting service or your local computer. Read the
[[J4.x:Hosting_Setup|Hosting Setup]] tutorial for details. </translate>


== Requirements == <!--T:3-->
<translate>
=== Hosting Requirements ===
<!--T:69-->
Before we start installing Joomla!, there are a couple of prerequisites that need to be met before installing Joomla! {{ns}} successfully. These apply whether you have a dedicated server, a shared hosting plan server, or are installing a copy on a local computer for testing or development.
Also, there are some PHP settings that need to be sufficient for Joomla to install. The settings are usually in a ''php.ini'' or ''user.ini'' configuration file on the server. If you are on shared hosting, talk to your hosting service about how to change these settings if it is possible to do so. If working on a localhost, for example with [[S:MyLanguage/XAMPP|XAMPP]], or a VPS or dedicated host, you should not be restricted by these settings and can set them yourself.


<!--T:4-->
<!--T:70-->
You’ll need to meet the following [https://downloads.joomla.org/technical-requirements requirements] to install and use Joomla!</translate>
The minimum values for the ''php.ini'' file are shown below:</translate>
 
<translate><!--T:8-->
* ''memory_limit:'' 256M
* ''upload_max_filesize:'' 30M
* ''post_max_size:'' 30M
* ''max_execution_time:'' 30
</translate>


=== <translate>
<!--T:5-->
References</translate> ===
<references/>
<translate>
<translate>
==== Recommended PHP.ini Settings ==== <!--T:6-->
<!--T:71-->
There are some PHP settings that need to be sufficient for Joomla to install.  The settings are usually in a "php.ini" or "user.ini".  Talk to your host about how to change theses settings if it is possible to do so.  If working on a localhost e.g. with [[S:MyLanguage/XAMPP|XAMPP]], you should not be restricted by these settings and VPS or dedicated hosting should also not be as restrictive.  
It is possible to work with lower values of upload_max_filesize and post_max_size but larger extensions will fail to upload and cause unpredictable problems.</translate>
<translate>


<!--T:7-->
=== Database Setup === <!--T:72--> </translate>
The values for PHP.ini below are ''suggested values'' only.
<translate>
<!--T:73-->
If you have not yet set up a database do it now. It is covered for a hosting service in the [[J4.x:Hosting_Setup|Hosting Setup]] tutorial. There is also a [[S:MyLanguage/Creating a Database for Joomla!|Creating a Database for Joomla!]] tutorial that covers localhost and phpMyAdmin methods.</translate>


<!--T:8-->
<translate>
* memory_limit - '''Minimum:''' 64M  '''Recommended:''' 128M or better
<!--T:21-->
* upload_max_filesize - '''Minimum:''' 30M
You will need to note basic database information needed when the actual Joomla installation is started.
* post_max_size - '''Minimum:''' 30M
* Location of database, usually ''localhost'' even on a hosting service. It can be a specific host's server such as <code>''dbserver1.yourhost.com''</code>.
* max_execution_time: '''Recommended:''' 30
* The database name
* The database user's name
* The database user's password
</translate>
</translate>
<translate>
<translate>
== Prepare for Install == <!--T:9-->
== Prepare for Install == <!--T:9-->
You will need to complete two tasks before you can install Joomla! on your server. First, you will need to download the Joomla! package files. Next, you will need to have a database for Joomla! to use.
</translate>
<translate>


=== Downloading and Uploading Joomla! Package Files === <!--T:10--> </translate>
=== Downloading and Uploading Joomla! Package Files === <!--T:10--> </translate>
{{warning|title=<translate>
<translate>
<!--T:63-->
Warning!</translate>| <translate><!--T:62--> Currently Joomla 4 is in development and so here we are linking you to the nightly builds. These occasionally can be unstable and should not be used on a production site. When Joomla {{ns}} is officially released - stable releases will be available as normal on</translate> [https://downloads.joomla.org]}}
#<translate>
<!--T:11-->
<!--T:11-->
Download the current nightly release of</translate> [https://developer.joomla.org/nightly-builds.html Joomla! {{ns}}]
Download the current release of Joomla! from the link on the [https://downloads.joomla.org/ Download Joomla] page</translate>
 
<translate>
<translate>
<!--T:12-->
<!--T:12-->
#Move the downloaded Joomla! installation package to the server. Use a [[wikipedia:FTP Client|FTP Client]] to transfer the Joomla! {{ns}} files to your server. There are several available for use, here is a detailed [[wp:Comparison_of_FTP_client_software|list of FTP Clients]]. Please make sure you are using a FTP client's official release.
Move the downloaded Joomla installation package zip file to the server. For a hosting service you may use the cPanel File Manager Upload function or you may use an FTP Client to transfer the downloaded Joomla {{ns}} zip file to your server. There are several FTP clients available. Here is a detailed [https://en.wikipedia.org/wiki/Comparison_of_FTP_client_software Comparison of FTP client software]. If in doubt, use FileZilla.
:: Hint - This can be accomplished more easily by simply moving the downloaded package to your server, then unpacking it.  Alternatively you can unpack the files on your local computer, then move the Joomla installation files over to your server. Either way, the Joomla installation needs to be unpacked in the root of your site.</translate>
</translate>


{{tip|text=<translate>
{{tip|text=<translate>
<!--T:14-->
<!--T:14-->
Normally you upload your web files to the root folder. This is typically named "public_html" but other variations include "htdocs" and this depends on what your host has the set up on the server. For Joomla purposes, you can load the files directly into "public_html" or a sub-folder you have created within it.</translate>|title=<translate>
It is better to move the downloaded zip package to your server and unpack it there than to unpack it locally and then move the file tree. Normally you upload your web files to the root folder of your hosting service. This is typically named ''public_html'' but other variations include ''htdocs'' and this depends on how your host has the set up the server. For Joomla purposes, you can load the files directly into ''public_html'' or a sub-folder you have created within it.</translate>|title=<translate>
<!--T:15-->
<!--T:15-->
Your Server's "root" Folder</translate>}}
Your Server's "root" Folder</translate>}}
Line 54: Line 71:
Warning!</translate>|<translate>
Warning!</translate>|<translate>
<!--T:17-->
<!--T:17-->
If you unpack the files on your own computer, then copy them to your server, be sure to move only the folders and files contained '''INSIDE''' the Joomla! package. If you unpack the folders and files into a folder, for example called,</translate> <code>''Joomla''</code> <translate>
If you unpack the files on your own computer, then copy them to your server, be sure to move only the folders and files contained '''inside''' the Joomla package. If you unpack the folders and files into a folder, for example called,</translate> <code>''Joomla''</code> <translate>
<!--T:18-->
<!--T:18-->
and then upload that folder, your site will have to be accessed at</translate> <code>''yoursitename.com/Joomla''</code> <translate>
and then upload that folder, your site will have to be accessed at</translate> <code>''yoursitename.com/Joomla''</code> <translate>
<!--T:19-->
<!--T:19-->
instead of</translate> <code>''yoursitename.com''</code>.}}
instead of</translate> <code>''yoursitename.com''</code>. <translate><!--T:74--> You can rename the sub-directory from Joomla to something more site appropriate, such as jblog, and you might find that convenient. '''Note''' directory names should be lower case, without spaces and using minus signs rather than underlines to separate words.</translate>}}
 
<translate><!--T:75--> The zip package files can be extracted directly on the host using various command line tools (e.g. unzip), which needs to be installed on the server. If your hosting service uses the admin tool cPanel, the Extract button can be pressed in the File Manager. Apart from that, the free third-party tool [https://www.akeeba.com/products/akeeba-kickstart.html Akeeba Kickstart] may also be used for this purpose. The unzipped files and directories will be placed in the current folder. Extraction on your local computer depends on your OS. Try a right-click and see if there is an extract menu. In this case your OS may put the files in a folder with the same name as the zip file. After extraction you may delete the zip file and rename the extraction folder to something short and suitable for use in a url.</translate>
=== <translate>
<!--T:20-->
Database for Joomla! Installation</translate> ===
<translate>
<translate>
<!--T:21-->
#If you need to create a database, please read "'''[[S:MyLanguage/Creating a Database for Joomla!|Create a database for use with Joomla!]]'''" first or skip to step #2.
#You will need to note basic database information needed when the actual Joomla! installation is started.
#* Location of database, localhost? Or a specific host's server such as <code>''dbserver1.yourhost.com''</code>?
#* The database name
#* The database user's name
#* The database user's password


== Start Install == <!--T:22-->
== Start Install == <!--T:22-->
=== Main Configuration ===
With the above requirements met, a database created and the required Joomla files in place, you are ready to install Joomla. Start the Joomla web installer by opening your favourite browser and browsing to the site's domain name. On a hosting installation you will use</translate> <code>''<nowiki>https://www.yoursitename.com</nowiki>''</code>. <translate>
With the above requirements met, a database created and the required Joomla! files in place, you are ready to install Joomla!. Start the Joomla! web installer by opening your favourite browser and browsing to the site's domain name. On host installation you will use</translate> <code>''<nowiki>http://www.yoursitename.com</nowiki>''</code>. <translate>
<!--T:23-->
<!--T:23-->
If your are installing Joomla! locally, you will use</translate> <code>''<nowiki>http://localhost/</nowiki><<translate>
If your are installing Joomla locally, you will use</translate> <code>''<nowiki>http://localhost/</nowiki><<translate>
<!--T:24-->
<!--T:24-->
path to Joomla files</translate>>''</code> <translate>
path to Joomla files</translate>>''</code> <translate>
<!--T:25-->
<!--T:25-->
and you should see the installation screen</translate>.
and you should see the installation screen</translate>.
<div style="clear:both; max-width:100%; height:auto; display:inline-block; float:right; margin-left:.3em;">[[File:<translate>
[[File:<translate>
<!--T:26-->
<!--T:26-->
J4x_Installation_screen_page_1.png</translate>|border|left|500px]]</div>
J4x_Installation_screen_page_1.png</translate>|border|right|500px]]


<translate>
<translate>
<!--T:27-->
<!--T:27-->
Joomla! will try to identify the '''Select Language''' field automatically from your browser's language. You can change this if needed.
Joomla will try to identify the ''Select Language'' field automatically from your browser's language. You can change this if needed.


<!--T:28-->
<!--T:28-->
Line 94: Line 100:


<!--T:29-->
<!--T:29-->
When everything on the first page is completed, click the '''Setup Login Data''' button to proceed:</translate>
When everything on the first page is completed, click the ''Setup Login Data'' button to proceed.</translate>


{{-}}
{{-}}
Line 100: Line 106:
<translate>== Login Data == <!--T:30-->
<translate>== Login Data == <!--T:30-->
You should now see the login data screen</translate>.
You should now see the login data screen</translate>.
<div style="clear:both; max-width:100%; height:auto; display:inline-block; float:right; margin-left:.3em;">[[File:<translate>
[[File:<translate>
<!--T:31-->
<!--T:31-->
J4x_Installation_screen_page_2.png</translate>|border|left|500px]]</div>
J4x_Installation_screen_page_2.png</translate>|border|right|500px]]


<translate>
<translate>
<!--T:32-->
<!--T:32-->
Fill in the following information.
Fill in the following information.
*'''Real Name''': The name of the Super User. This how Joomla will greet you when you log in!
*'''Real Name''': The name of the Super User. This is how Joomla will greet you when you log in.
*'''Account Super User username''': The username for the '''Super User'''. Avoid using admin (which a good [[S:MyLanguage/Security_Checklist/Joomla!_Setup#Change the default administrator username|Security measure]]) or use [[S:MyLanguage/Help40:Site_My_Profile|My Profile]] in the ''Administration'' interface to change it later.
*'''Super User account username''': The username for the ''Super User''. Avoid using ''admin'' (a good [[S:MyLanguage/Security_Checklist/Joomla!_Setup#Change the default administrator username|Security measure]]) or use [[S:MyLanguage/Help40:Site_My_Profile|My Profile]] in the ''Administration'' interface to change it later.
*'''Admin Password''': remember that super user has maximum control of the site (frontend & backend), so try to use a difficult password. Use [[S:MyLanguage/Help40:Site_My_Profile|My Profile]] in the ''Administration'' interface to change it later.
*'''Admin Password''': Remember that a Super User has maximum control of the Site and Administrator interfaces, so use a difficult password. Use [[S:MyLanguage/Help40:Site_My_Profile|My Profile]] in the ''Administration'' interface to change it later.
*'''Super User Email Address''': The Super User email address. Enter a valid email in case you forget your password. This is the email address where you'll receive a link to change the admin password.
*'''Super User Email Address''': The Super User email address. Enter a valid email in case you forget your password. This is the email address where you'll receive a link to change the Super User password.


<!--T:33-->
<!--T:33-->
When everything on the second page is completed, click the '''Setup Database Connection''' button to proceed:</translate>
When everything on the second page is completed, click the ''Setup Database Connection'' button to proceed.</translate>
{{-}}
{{-}}


<translate>== Database Configuration == <!--T:34-->
<translate>== Database Configuration == <!--T:34-->
=== Configuration Settings ===
Enter the database information noted down when you created the database for this installation. You may also read or review [[S:MyLanguage/Creating a Database for Joomla!|Creating a Database for Joomla!]].</translate>
You will need to enter the information about the database you will use for Joomla! now. You may also read or review [[S:MyLanguage/Creating a Database for Joomla!|Creating a Database for Joomla!]].</translate>
[[File:<translate>
<div style="clear:both; max-width:100%; height:auto; display:inline-block; float:right; margin-left:.5em;">[[File:<translate>
<!--T:35-->
<!--T:35-->
J40_Installation_screen_page_3.png</translate>|border|left|500px]]</div>
J40_Installation_screen_page_3.png</translate>|border|right|500px]]


<translate>
<translate>
Line 127: Line 132:
For simplification, these instructions are a reference to installing with a [[wikipedia:MySQLi|MySQLi]] database. The instructions on the installation page are self explanatory, but here they are again:
For simplification, these instructions are a reference to installing with a [[wikipedia:MySQLi|MySQLi]] database. The instructions on the installation page are self explanatory, but here they are again:
* '''Database Type''': MySQLi is the common database used
* '''Database Type''': MySQLi is the common database used
* '''Hostname''' Where your database is located. Common is <code>''localhost''</code>, but some hosts use a specific database server such as</translate> <code>''dbserver1.yourhost.com''</code>
* '''Hostname''' Where your database is located. Common is ''localhost'', even on hosting services. However, some hosts use a specific database server such as</translate> ''dbserver1.yourhost.com''.
<translate>
<translate>
<!--T:37-->
<!--T:37-->
* '''Username''': The username used to connect to the database
* '''Username''': The username used to connect to the database
* '''Password''': The password for the database's user
* '''Password''': The password for the database user (not your Administrator password)
* '''Database Name''': The name of the database
* '''Database Name''': The name of the database
* '''Table Prefix''': This is generated automatically and can be a helpful security step, but you can change it. For example, <code>jos3_</code> can be used. Just don't forget to put the underscore character</translate> (<code>_</code>) <translate>
* '''Table Prefix''': This is generated automatically as a security feature. You can accept the randomly generated default or change it. Just don't forget to put the underscore character</translate> (<code>_</code>) <translate>
<!--T:38-->
<!--T:38-->
at the end of the prefix.
at the end of the prefix.
* '''Connection Encryption''': specifies how the connection to the database should be encrypted. If you don't know - then it's best to stick to the default. However this allows enterprises who two way SSL encryption to the database to provide it.</translate>
* '''Connection Encryption''': specifies how the connection to the database should be encrypted. If you don't know - then it's best to stick to the default. However this allows enterprises that use one or two way authentication for the database connection to provide it.</translate>


<translate>
<translate>
<!--T:39-->
<!--T:39-->
All these choices and more can be edited on the [[S:MyLanguage/Help40:Site_Global_Configuration#Server|Site Global Configuration]] page, under Server options after the installation is completed. Note, you will break your installation if you change these settings after installation unless you have a complete copy of the current database being used by the Joomla! installation. Common uses would be to update the username and password of the database or to complete a move of an existing installation to a new host with different parameters.
All these choices and more can be edited on the [[S:MyLanguage/Help40:Site_Global_Configuration#Server|Site Global Configuration]] page, under ''Server Options'' after the installation is completed. Note, you will break your installation if you change these settings after installation unless you have a complete copy of the current database being used by the Joomla installation. Common uses would be to update the username and password of the database or to complete a move of an existing installation to a new host with different parameters.


<!--T:40-->
<!--T:40-->
After you click the '''Install Joomla''' button, you should see the Joomla logo spinning. Once the installation completes, you should see the success page!</translate>
After you click the ''Install Joomla'' button, you should see the Joomla logo spinning. Once the installation completes, you should see the success page.</translate>
{{-}}
{{-}}


Line 149: Line 154:
== Finishing Up == <!--T:41-->
== Finishing Up == <!--T:41-->
=== Success and Finishing Up the Installation ===
=== Success and Finishing Up the Installation ===
Congratulations! Joomla! 4 is now installed. If you want to start using Joomla! right way without [[S:MyLanguage/J4.x:Installing_Joomla#Installing_Extra_Languages|installing extra languages]] there is one last step to complete the installation. You must delete the '''Installation Folder'''. Click on '''Remove Installation folder''' and a success message will appear. Now you can navigate to the '''Administrator''' log in by clicking '''Administrator''' or go right to your site by clicking '''Site'''.</translate>
Congratulations! Joomla! 4 is now installed. </translate>
<div style="clear:both; max-width:100%; height:auto; display:inline-block; float:right; margin-left:.3em;">[[File:<translate>
 
[[File:<translate>
<!--T:42-->
<!--T:42-->
J40_Installation_screen_page_4.png</translate>|border|left|500px]]</div>
J40_Installation_screen_page_4.png</translate>|border|right|500px]]


<translate>
<!--T:76-->
If you want to start using Joomla right away without [[S:MyLanguage/J4.x:Installing_Joomla#Installing_Extra_Languages|installing extra languages]] you can select ''Open Administrator'' to go to the ''Administrator Dashboard'' or select ''Open Site'' to go to the Site Home page.</translate>
<translate>
<translate>
<!--T:43-->
<!--T:43-->
You may see a section with recommended PHP settings.
You may see a section with recommended PHP settings.
*'''Recommended Settings''': these are settings are recommended in your PHP configuration, but will not prevent Joomla! from being installed. You can refer to the above instructions on how they may be changed if there is a need to do so.</translate>
*'''Recommended Settings''': These settings are recommended in your PHP configuration, but will not prevent Joomla! from being installed. You can refer to the above instructions on how they may be changed if there is a need to do so.</translate>
 
{{clear}}
<p><div style="clear:both;"></div></p>
<translate>=== Extra Languages === <!--T:44--> </translate>
<translate>=== Installing Extra Languages === <!--T:44--> </translate>
<translate>
<translate>
<!--T:45-->
<!--T:45-->
Before you complete your installation by deleting the '''Installation Folder''', click on:</translate>  
As part of the Joomla installation process you are given the opportunity to install additional languages before you complete the installation.</translate>


:'''{{rarr}} <translate>
<translate>
<!--T:46-->
<!--T:46-->
Install Additional Languages</translate>'''
To do this select the Install Additional Languages button</translate>


<translate>
<translate>
<!--T:47-->
<!--T:47-->
This will continue the installation of Joomla! by taking you to a new installation page.</translate>
This will take you to an extra installation page allowing you to select the languages you require.</translate>
{{-}}
{{-}}


<translate>==== Install Languages ==== <!--T:48--> </translate>
<translate>==== Install Additional Languages ==== <!--T:48--> </translate>
{{warning|<translate>
<!--T:49-->
To allow easy development we are currently allowing installation of Joomla 3.x language packs into Joomla 4. Many aren't compatible and are expected to be missing language strings. The ability to view 3.x language packs in the list on this page will be removed before Joomla 4 stable is tagged. Out of the 3.x language packs we recommend testing with French, German and Persian for now.</translate>}}


<translate>
<translate>
<!--T:50-->
<!--T:50-->
A list of language packs is displayed.</translate>
A list of language packs is displayed.</translate>
[[File:<translate>
[[File:<translate>
<!--T:51-->
<!--T:51-->
J40_Installation_screen_page_5.png</translate>|right|450px]]
J40_Installation_screen_page_5.png</translate>|right|500px]]


<translate>
<translate>
<!--T:52-->
<!--T:52-->
Check the language or language packs you wish to install. Remember the following:</translate>
Select up to 3 languages you wish to install. (More than 3 at once can cause timeout issues; you can install more later.)
 
<!--T:65-->
Remember the following:</translate>
<translate>
<translate>
<!--T:53-->
<!--T:53-->
* Language packs included in custom distributions will not be listed at this stage as they are already installed.
* Language packs included in custom distributions will not be listed at this stage as they are already installed.
* A version of the packs proposed will match the Joomla Major version (4.0.x, 4.1.x, etc.). The minor version of the pack may not correspond, e.g. you are installing version 4.0.3 and a 4.0.2 language pack is shown.
* A version of the packs proposed will match the Joomla Major version (4.0.x, 4.1.x, etc.). The minor version of the pack may not correspond, e.g. you are installing version 4.0.3 and a 4.0.2 language pack is shown.
* Unmatched language packs in the above example may have untranslated strings.  
* Unmatched language packs in the above example may have untranslated strings.
* The unmatched language packs will be offered as an update when the packs are updated by the registered Translation teams. The available update will be shown in the Control panel as well as in {{rarr|Extensions Manager,Update}}. This behavior is similar to {{rarr|Extensions Manager,Install Languages}}.
* The unmatched language packs will be offered as an update when the packs are updated by the registered Translation teams. The available update will be shown in the Control panel as well as in {{rarr|Extensions Manager,Update}}. This behaviour is similar to {{rarr|Extensions Manager,Install Languages}}.


<!--T:54-->
<!--T:54-->
Click '''Next''' and a progress bar will be display while the language pack or packs are downloaded.</translate>
Click ''Next'' and a progress bar will be displayed while the language pack or packs are installed.</translate>
 
{{clear}}
<translate>==== Choose Default Language ==== <!--T:55--> </translate>
<translate>==== Choose the Default Language ==== <!--T:55--> </translate>
<translate><!--T:56--> When the download is complete You will now be presented with a very similar '''Congratulations! Your Joomla site is ready.''' screen. The difference will be the addition of some options allowing you to choose the default language for the Site and the Administrator interface.</translate>
<translate><!--T:56--> When the installation of the languages is complete you will now be presented with a similar ''Congratulations! Your Joomla site is ready.'' screen. The difference will be a list of the installed languages allowing you to select the default language for the Site and the Administrator interface.</translate>


<!--T:58-->
[[File:<translate>
<!--T:66-->
J40_Installation_screen_page_4_default_langs.png</translate>|border|right|500]]
<translate>
<translate>
<!--T:57-->
<!--T:57-->
* Make your choices for default languages.</translate>{{-}}[[File:<translate>
* Select the default language you wish to use.</translate>
<!--T:58-->
J40_Installation_screen_page_4_default_langs.png</translate>]]{{-}}
 
<translate>
<translate>
<!--T:59-->
<!--T:59-->
When you completed all the choices of language installation, click '''Set default language''' to confirm.</translate>
* When you have selected the default language, click the ''Set default language'' button to confirm.
* A system message will be displayed confirming Joomla has set the default '''Administrator''' and '''Site''' language. That message can be closed.
</translate>{{-}}


<translate>==== Finalise ==== <!--T:60--> </translate>
<translate>==== Finalise ==== <!--T:60--> </translate>
<translate>
<translate>
<!--T:61-->
<!--T:61-->
Now you can delete the '''Installation Folder'''. Click on '''Remove Installation folder''' and a success message will appear. Now you can navigate to the '''Administrator''' log in by clicking '''Administrator''' or go right to your site by clicking '''Site'''.</translate>
You can now can navigate to the ''Administrator Dashboard''. Log in by selecting ''Open Administrator'' or go right to your site Home page by selecting ''Open Site''.</translate>
 
<translate>== Related Information == <!--T:77--> </translate>
<translate>
<!--T:78-->
*[[Special:MyLanguage/J4.x:Hosting_Setup|Hosting Setup]]
*[[Special:MyLanguage/Security_Checklist/Hosting_and_Server_Setup|Hosting and Server Setup]]
*[[Special:MyLanguage/Creating_A_VPS_Testing_Server|Creating A VPS Testing Server]]
*[[Special:MyLanguage/J4.x:Setting_Up_Your_Local_Environment|Setting up your local environment]]
*[[Special:MyLanguage/J4.x:Joomla_CLI_Installation|Joomla CLI Installation]]
</translate>


<noinclude>
<noinclude>

Latest revision as of 10:44, 25 October 2022

Introduction

Installing Joomla! for the first time is very easy. After completion of the preliminary steps, setting up a hosting environment and creating a database, Joomla’s built-in web installer will set up your new site in just a few minutes. The previous steps:

Hosting Setup

If you have not yet set up a hosting environment you need to do it now, either on a hosting service or your local computer. Read the Hosting Setup tutorial for details.

Also, there are some PHP settings that need to be sufficient for Joomla to install. The settings are usually in a php.ini or user.ini configuration file on the server. If you are on shared hosting, talk to your hosting service about how to change these settings if it is possible to do so. If working on a localhost, for example with XAMPP, or a VPS or dedicated host, you should not be restricted by these settings and can set them yourself.

The minimum values for the php.ini file are shown below:

  • memory_limit: 256M
  • upload_max_filesize: 30M
  • post_max_size: 30M
  • max_execution_time: 30

It is possible to work with lower values of upload_max_filesize and post_max_size but larger extensions will fail to upload and cause unpredictable problems.

Database Setup

If you have not yet set up a database do it now. It is covered for a hosting service in the Hosting Setup tutorial. There is also a Creating a Database for Joomla! tutorial that covers localhost and phpMyAdmin methods.

You will need to note basic database information needed when the actual Joomla installation is started.

  • Location of database, usually localhost even on a hosting service. It can be a specific host's server such as dbserver1.yourhost.com.
  • The database name
  • The database user's name
  • The database user's password

Prepare for Install

Downloading and Uploading Joomla! Package Files

Download the current release of Joomla! from the link on the Download Joomla page

Move the downloaded Joomla installation package zip file to the server. For a hosting service you may use the cPanel File Manager Upload function or you may use an FTP Client to transfer the downloaded Joomla 4.x zip file to your server. There are several FTP clients available. Here is a detailed Comparison of FTP client software. If in doubt, use FileZilla.

Your Server's "root" Folder

It is better to move the downloaded zip package to your server and unpack it there than to unpack it locally and then move the file tree. Normally you upload your web files to the root folder of your hosting service. This is typically named public_html but other variations include htdocs and this depends on how your host has the set up the server. For Joomla purposes, you can load the files directly into public_html or a sub-folder you have created within it.

Warning!

If you unpack the files on your own computer, then copy them to your server, be sure to move only the folders and files contained inside the Joomla package. If you unpack the folders and files into a folder, for example called, Joomla and then upload that folder, your site will have to be accessed at yoursitename.com/Joomla instead of yoursitename.com. You can rename the sub-directory from Joomla to something more site appropriate, such as jblog, and you might find that convenient. Note directory names should be lower case, without spaces and using minus signs rather than underlines to separate words.

The zip package files can be extracted directly on the host using various command line tools (e.g. unzip), which needs to be installed on the server. If your hosting service uses the admin tool cPanel, the Extract button can be pressed in the File Manager. Apart from that, the free third-party tool Akeeba Kickstart may also be used for this purpose. The unzipped files and directories will be placed in the current folder. Extraction on your local computer depends on your OS. Try a right-click and see if there is an extract menu. In this case your OS may put the files in a folder with the same name as the zip file. After extraction you may delete the zip file and rename the extraction folder to something short and suitable for use in a url.

Start Install

With the above requirements met, a database created and the required Joomla files in place, you are ready to install Joomla. Start the Joomla web installer by opening your favourite browser and browsing to the site's domain name. On a hosting installation you will use https://www.yoursitename.com. If your are installing Joomla locally, you will use http://localhost/<path to Joomla files> and you should see the installation screen.

Joomla will try to identify the Select Language field automatically from your browser's language. You can change this if needed.

Fill in the following information.

When everything on the first page is completed, click the Setup Login Data button to proceed.

Login Data

You should now see the login data screen.

Fill in the following information.

  • Real Name: The name of the Super User. This is how Joomla will greet you when you log in.
  • Super User account username: The username for the Super User. Avoid using admin (a good Security measure) or use My Profile in the Administration interface to change it later.
  • Admin Password: Remember that a Super User has maximum control of the Site and Administrator interfaces, so use a difficult password. Use My Profile in the Administration interface to change it later.
  • Super User Email Address: The Super User email address. Enter a valid email in case you forget your password. This is the email address where you'll receive a link to change the Super User password.

When everything on the second page is completed, click the Setup Database Connection button to proceed.

Database Configuration

Enter the database information noted down when you created the database for this installation. You may also read or review Creating a Database for Joomla!.

For simplification, these instructions are a reference to installing with a MySQLi database. The instructions on the installation page are self explanatory, but here they are again:

  • Database Type: MySQLi is the common database used
  • Hostname Where your database is located. Common is localhost, even on hosting services. However, some hosts use a specific database server such as dbserver1.yourhost.com.
  • Username: The username used to connect to the database
  • Password: The password for the database user (not your Administrator password)
  • Database Name: The name of the database
  • Table Prefix: This is generated automatically as a security feature. You can accept the randomly generated default or change it. Just don't forget to put the underscore character (_) at the end of the prefix.
  • Connection Encryption: specifies how the connection to the database should be encrypted. If you don't know - then it's best to stick to the default. However this allows enterprises that use one or two way authentication for the database connection to provide it.

All these choices and more can be edited on the Site Global Configuration page, under Server Options after the installation is completed. Note, you will break your installation if you change these settings after installation unless you have a complete copy of the current database being used by the Joomla installation. Common uses would be to update the username and password of the database or to complete a move of an existing installation to a new host with different parameters.

After you click the Install Joomla button, you should see the Joomla logo spinning. Once the installation completes, you should see the success page.

Finishing Up

Success and Finishing Up the Installation

Congratulations! Joomla! 4 is now installed.

If you want to start using Joomla right away without installing extra languages you can select Open Administrator to go to the Administrator Dashboard or select Open Site to go to the Site Home page. You may see a section with recommended PHP settings.

  • Recommended Settings: These settings are recommended in your PHP configuration, but will not prevent Joomla! from being installed. You can refer to the above instructions on how they may be changed if there is a need to do so.

Extra Languages

As part of the Joomla installation process you are given the opportunity to install additional languages before you complete the installation.

To do this select the Install Additional Languages button

This will take you to an extra installation page allowing you to select the languages you require.

Install Additional Languages

A list of language packs is displayed.

Select up to 3 languages you wish to install. (More than 3 at once can cause timeout issues; you can install more later.)

Remember the following:

  • Language packs included in custom distributions will not be listed at this stage as they are already installed.
  • A version of the packs proposed will match the Joomla Major version (4.0.x, 4.1.x, etc.). The minor version of the pack may not correspond, e.g. you are installing version 4.0.3 and a 4.0.2 language pack is shown.
  • Unmatched language packs in the above example may have untranslated strings.
  • The unmatched language packs will be offered as an update when the packs are updated by the registered Translation teams. The available update will be shown in the Control panel as well as in Extensions Manager  Update. This behaviour is similar to Extensions Manager  Install Languages.

Click Next and a progress bar will be displayed while the language pack or packs are installed.

Choose the Default Language

When the installation of the languages is complete you will now be presented with a similar Congratulations! Your Joomla site is ready. screen. The difference will be a list of the installed languages allowing you to select the default language for the Site and the Administrator interface.

500
500
  • Select the default language you wish to use.
  • When you have selected the default language, click the Set default language button to confirm.
  • A system message will be displayed confirming Joomla has set the default Administrator and Site language. That message can be closed.

Finalise

You can now can navigate to the Administrator Dashboard. Log in by selecting Open Administrator or go right to your site Home page by selecting Open Site.

Related Information