Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

2. Installation: Getting Joomla Up and R... > Time for action – running the Joomla...

Time for action – running the Joomla installation wizard

Time for action – running the Joomla installation wizard You have got all the Joomla files copied to the web server and you have got a database ready to be filled. Let's finally install Joomla! Enter the URL for your site (for example, http://www.example.com) in your browser. The installation screen will come up. Select the language you want to use during the installation.Click the Next button. Joomla will now verify if all web hosting settings are correct. Tip If any of the settings in the top row doesn't meet your requirements, you can correct them and click Check Again. If configuration.php is not writable, this really means that Joomla can't add or change any files in your install directory. This way, Joomla won't be able create the required configuration.php file during installation. To make the installation directory writable, use your FTP program to change directory access permissions. After installation, you can change permissions back to their old (safer) value. To read more about file permissions, checkthe Protect files and directories section discussed in Appendix A, Keeping the Site Secure. Sometimes, the settings your hosting provider uses don't match Joomla's recommended settings (the bottom row in the preceding screenshot). For example, many providers set Display Errors to On. You can safely ignore Joomla's warning.Click Next. The installer will display the Joomla license. You will probably want to agree to the license restrictions. Joomla is distributed under the GNU GPL license, the most widely used free software license. To accept the license, click Next.Now you're getting somewhere! In the next screen, you will fill out the critical database information. In the Database Configuration screen, enter the following details: Database Type: Set this to MySQLi, unless you are sure that your database is of the MySQLi type. At the time of writing, MySQL is more common, so this is a safe choice. You may want to check if your web host supports MySQLi, as it allows for faster and more secure communication with the database.Host Name: Usually this is localhost (unless your web hosting company has provided you with another name).Username: Enter the username for the database you have created before. If you haven't created the database yourself, your hosting provider should be able to provide you with the database and user details. In our example, the username is databaseadmin.Password: Enter the database user password you have created when setting up the database. Again, if the hosting provider has created the database, they should be able to provide you with the user password for the database.Database Name: Enter the name of the database you created earlier.Table Prefix: You can leave the Table Prefix unchanged. A Table Prefix is relevant only when one database is shared by several Joomla installations. This way, each of them can look up the appropriate data in the database by checking for the correct prefix.Old Database Process: This option is only relevant when you have installed Joomla before, and need to empty the tables (the contents) of a previous database. Select Backup to back up existing database contents from a previous Joomla installation, or select Remove to remove them. Once the Database Configuration screen is complete, click Next. Joomla will now check if it can connect to the database.If you see an error message, you have probably made a typo when entering the database details. Make sure you have typed the password correctly. You can go back to the database details screen, enter the correct data, and click Next again.If all goes well, you are taken to the FTP Configuration screen. You are free to skip the FTP Configuration screen. It is also possible to enter the FTP details after you have installed Joomla (in the Site Configuration screen). These settings allow Joomla to have direct FTP access to your web server. However, if the server has been configured correctly, you won't need the FTP layer. To enter FTP information right now, follow the given steps: In the Basic Settings section, select Enable FTP Layer as Yes.In the FTP Username and FTP Password fields, enter the FTP details you have received from your web hosting provider. Click Autofind FTP Path to have Joomla automatically detect the root path of your site. Click Verify FTP Settings to check if the FTP works OK.In the Advanced Settings section, you can skip to the third option. It's a good idea to select Save FTP Password as Yes. If you don't, you will have to enter the password manually every time you want to upload files using Joomla's FTP facility. But be warned—saving your password implies a security risk. If someone obtains access to the Joomla configuration file, they will also know your FTP credentials. Click Next. Almost done! The next step is called Main Configuration: Site Name: Enter the name for the website; this will be displayed in the browser title bar (and in some cases in the site header). You can change this later. In this example, we have entered Corba—you will learn more about this esteemed client for your example site in later chapters.Advanced Settings – Optional: It is okay to leave the Meta Description and Meta Keywords blank for now. The information is important for search engines, but you can add this at a later stage through Joomla's configuration settings.Your Email: Enter a valid e-mail address. Joomla will use this to send system messages and it will be used as the e-mail address for the default administrator user account (the Super Admin account).Admin Username: For security reasons, choose a username that is not too easy to guess (preferably something more original than admin).Admin Password: Enter the site administrator password. This is a different password from the one you have entered previously for the database user. This new password is created here and now; you will use this to log in to Joomla after the installation. Make a note of your username and password!Install Sample Data: When you first create a Joomla site, it's a good idea to click Install Sample Data. The button text will change to Sample Data Installed Successfully. Using the sample data option, you get a ready made sample site to build upon, already filled with example pages, menus, and extras. If you want to follow the exercises in this book, click Install Sample Data. If you don't install sample data, you have to create all content from scratch. You will prefer this option when you are Joomla-savvy and know where to start, how to add content, and how to customize things. Click Next. You are done! Joomla congratulates you for your success. You are good to go now—just one thing left to do. Before you can use Joomla, you should delete the folder named installation . The installation folder contains information that's needed for the installation, but it's now no longer required (and you do not want to reveal its contents to hackers). Click the Remove installation folder button to do this; the button text will change to Installation folder successfully removed. What just happened? Congratulations! You have just installed Joomla. On the Finish screen, click the Site button to see what your Joomla site looks like. But there's more to Joomla than meets the eye of the web visitor. To go to the secret login page of your site, enter your site URL in your browser address bar, adding the word administrator—www.example.com/administrator. You will see the following page: Here you can log in to the backend of the site using the User Name (that you chose on the Main Configuration page of the installation routine) and the Password that you created during installation (make sure you enter the site administrator password, not the database user password). Click Login to reveal to the Joomla web interface. Tip Protecting your site You have just installed Joomla, so you probably want to get to the fun stuff right away and start creating cool sites. You are right of course, but it's still a good idea to keep an eye on security issues from the very start. As soon as you have got your site set up, it's really important to make sure you don't leave any doors open to people who like to break into other people's websites. Check Appendix A, Keeping the Site Secure, to learn how you can keep your site secure.

  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint