Install Drupal in Your XAMPP Local Host Environment - Administration
Drupal is one of the best open source CMS for developing websites. This tutorial will guide you through the details of developing your first Drupal website in an Ubuntu local web server environment using XAMPP.
Now that all of the preparation has been completed, you are ready to install the Drupal files onto your XAMPP localhost. To do this, follow the steps below.
Using web browser, go to this URL: http://localhost/drupal/
You are then required to select a language (clicking “Install Drupal in English” will work in most cases).
Drupal will then ask you for the database configuration details. Use the information you prepared earlier and select mysqli for the database type if you are using MySQL. When this is done, click “Save and Continue.”
Drupal will then ask you to configure your site.
This is an important step, and it is recommended that you take note and write down the username and password you have used, because you will be using this when logging in to your Drupal website after installation.
Change the site name from “localhost” to something you are going to use for your Drupal website. The site name in our example will be CodexM Travel Agency and Tours.
Another important thing that you should enable is the “Clean URLs:.” They will make your website SEO- and user-friendly, because they let you use keywords in the URL, which makes it easy for visitors and search engines to understand what the content is all about just by looking at the URLs.
Note that in order for this to work, your web server should support mod rewrite, which is done in Apache. This is not a problem with XAMPP, as it uses Apache by default. If you consider uploading your website to an IIS web server, however, make sure the web server has the correct modules for rewriting the URLs.
It is important to check the “Check for updates automatically.” When everything is done, click “Save and Continue.”
Since you are installing Drupal in the local host environment, Drupal will be unable to send an email. This is normal and you can ignore this error. If you can see the message: “Congratulations, Drupal has been successfully installed,” then you are ready to edit and customize your Drupal website according to your design.
To get started, click the “your new site” link.
What you will see is the front page of your Drupal website, which should look like the screen shot below:
Note that this looks different if you log out from your website. Try clicking the log out link at the bottom of your website; the sidebar navigation will be replaced with a login menu.
Administering Your Drupal Website
Now that you have logged out from your Drupal website, try logging in again using the username and password you created during the Drupal installation process.
Two of the most important administration skills you should have are working with templates and adding new content. Under the sidebar navigation of your new Drupal website, you should see a link named “Administer” and “Create Content.”
“Administer” will be used to change the templates and perform detailed administration tasks. “Create Content” will be used to add new content to your Drupal website.
Drupal content is categorized into two types. They are Page and Story. The distinction between the two is very simple. “Page” will not allow comments from your users, whereas “story” allows user-related comments. You can use “story” if you are adding a blog entry, and use “page” if you are adding a static page in your website such as “Contact,” “About Us” or “Frequently Asked Questions.”
In the second part of this tutorial, you will learn how to work with Drupal themes and templates as well as start customizing your Drupal content according to some development/design related criteria.