Sunday, October 20, 2013

Installing WordPress (Software) Manually

The manual installation of WordPress (Software) that's instructed in this documentation is divided into five parts. But of course, you need to get a domain name and find a suitable web host that meets the system requirements first before proceeding to the installation. You can follow these guidelines to install WordPress to your website.

Download and Extract the Software Package

  1. Go to WordPress › Download WordPress.
  2. And click on such as the “Download WordPress 3.6.1” button for version 3.6.1, to download the software package.
  3. Wait a minute while your computer is downloading such as the "wordpress-3.6.1.zip" file for the version 3.6.1. It may take 1 to 2 minutes, depends on the speed of your connection and if the server isn't busy.
  4. Now “Show in folder” the newly downloaded ZIP file.
  5. And ‘Extract to "wordpress-3.6.1\"’ (or to what version your WordPress is,) that ZIP archive.

Now you have the real contents of WordPress software if you've followed the instructions above.

Create a Database and Its User

  1. Log in to your control panel.
  2. Note that you need to remember the values of the database name, username and the password you chose and the value of your database hostname if any which is usually be "localhost" in default.
  3. And create a MySQL database and its user, and select all the privillages for this user to complete the task.

Set Up "wp-config.php" File

You can either rename and edit the "wp-config-sample.php" file yourself, or you can skip this section and let WordPress try to do this itself when you run the installation script. You just need to tell WordPress your database details later while Running the Script if you've skipped.

  1. On your computer, find the extracted file folder such as "wordpress-3.6.1" in my case, which is often in the Downloads folder of the user's home directory.
  2. Open that folder, and under it, there you will see another folder named "wordpress".
  3. And open that folder named "wordpress".
  4. Now, you will see the "wp-config-sample.php" file.
    1. Right click on this PHP file to "Rename" it.
    2. And change the name of the "wp-config-sample.php" file to "wp-config.php".
  5. Now, edit the renamed file "wp-config.php" with a text editor. And enter your database details under the section labeled:
    // ** MySQL settings - You can get this info from your web host ** //
    1. Change the value "database_name_here" to the database name you created for WordPress.
    2. Change the value "username_here" to the username of your database user you created.
    3. Change the "password_here" to the password of your DB user that you chose.
    4. Change the value "localhost" if only your MySQL hostname is different from that value.
    5. The database character set therein the file is "utf8" and normally should not be changed!
    6. The database collation with the attribute of DB_COLLATE should normally be left blank!
    And now focus under the section labeled:
    * Authentication Unique Keys and Salts.
    1. And run a web browser (but don't close the text editor) and go to: https://api.wordpress.org/secret-key/1.1/salt/
    2. And copy all the code text therein the web page. It contains automated random secret key values.
    3. And go back to your "wp-config.php" file-editing text editor.
    4. And select from the beginning of the line with the code define('AUTH_KEY', to the end of the line started with the code define('NONCE_SALT',

Monday, October 14, 2013

How to Find the Root Web Directory's Location?

In this blog, you'll see how to find the location of the root directory for your specific domain that's hosted by your web hosting provider.

On cPanel

If you're using cPanel, you may see your Home Directory under the content Stats on the sidebar, but it may not the root directory of any of your hosted domains. But it could be the containing folder of the root directory for your domain.

  • To find the root directory for your addon domain or even for your main domain that's listed at the row Main Domain of the content Stats.
    1. When you click the “File Manager” on the cellbox Files and if you didn't mark to skip the follow up question yet.
    2. There you will see the popup File Manager Directory Selection.
      Customized File Manager Directory Selection of cPanel
    3. Select the option with the words “Document Root for:”.
    4. And choose the hosted domain you want to see the location of its root directory.
    5. And lastly, click the "Go" button below the popup area.
    6. In File Manager, focus on the top left area of the application interface.
      The Location of Root Web Directory on the File Manager of cPanel

How to Find the Hostname of a Database Server?

Some web software for a website needs the value of the hostname of a database server for it to be installed to a web server, such as WordPress (software) which needs MySQL database connection details. The MySQL database hostname will usually be "localhost" on most web hosting companies, but not always!

The name could be simply "localhost" if your database is local to your web server or to the server on your hosting provider. But if your database is external to your web server or to your hosting server, then you or your hosting provider would need to put the name of that database.

Most Hosting Providers

To be sure about your database hostname, here we will going to find the exact hostname of MySQL server through the application called phpMyAdmin, version 4.0.5:

  1. First, log in to your control panel.
  2. Find the PHP application "phpMyAdmin":
    The Application 'phpMyAdmin' on the Home of cPanel
    • On the Databases heading section if you're using cPanel.
    • Or on the Advanced Features heading section if you're using DirectAdmin Web Control Panel.
    And then click it to run that application.
  3. And in phpMyAdmin, the value of the item "Server" on the top of the user interface, is your database hostname.
    The Database Hostname on the Application Interface of phpMyAdmin Version 4.0.5

Wednesday, October 9, 2013

Automated Installation Using an Installer

An auto installer also known as scripts installer, is used to automate the installation of the software. For you to know more about it, visit What is a Web Application Auto-Installer?

Requirement: Your server hosting account must have the specific auto installer that you will going to use!

Note that we already have blogs how to automate the installation of the software that you want to install to your website by using:

Softaculous Auto Installer Fantastico De Luxe

If the web application installer on your control panel is different from the scripts installers that are linked above, then you can still view them to see how it works. Actually it's really easy to use an auto installer, you can even use it without any instructions but if you still need it, as I said you can view the links above and you can also check the following simple guidelines below for using a simple auto installer:

  1. Log in to your control panel that have the specific scripts installer that you'll going to use.
  2. Find the “Auto Installer” application on your logged control panel. It may be found on the Website section of the applications and may have a name such as “Auto Installer” or any.
  3. Inside the web application installer, find the exact name of the software you may wish to install to your website, and click it.
  4. Now you may see some information about the software that you've chosen. You will going to install it and when you're now on the installation form, fill out that form such as these:
    1. Choose what folder do you want to “Install To”. For example if you want to install in only "example.com" then leave it empty, and if you want to install to "example.com/wordpress" then fill the word "wordpress" therein the field.
    2. Fill your personal username in the “Administrator username” field.
    3. Fill a strong password in the “Administrator password” field.
    4. There may be another fields which was not listed here. And if there are another fields, you need to fill out all the required fields therein the form!
    And last, click on such as “Install {Software Name} to continue. (Note that the {Software Name} is our term on the name of the software you chose.)

Tuesday, October 8, 2013

Automated Installation Using Fantastico

Fantastico De Luxe is an auto installer for cPanel servers. For more information about Fantastico De Luxe, please visit What is a Web Application Auto-Installer? To be able to use this autoinstaller, your web server hosting must have it! Asking how to use Fantastico De Luxe? Here we will going to automate the installation of the software that you want, by using Fantastico De Luxe:

  1. Log in to your cPanel server hosting account.
  2. Run the application named “Fantastico De Luxe” under the Software/Services (heading) section.
    Fantastico De Luxe on Host-ed.net cPanel
  3. Make sure that you haven't reached your database limit for a new database.
  4. Choose and click the software that you want to install (which in my case is WordPress), on any of the items (scripts) that are listed on the left.
  5. Now you will see the disk space required and the disk space available on your server. Make sure you meet the required space.
  6. Click the link New Installation.
  7. In the part Install {SOFTWARE} (1/3):
    (Remember that in this blog, the {SOFTWARE} means the name of the software that you've chosen.)
    1. Installation location
      1. Choose in the “Install on domain” selection what domain name do you want to install the software.
      2. Fill up the “Install in directory” if you're going to install the software on a directory of your domain (e.g. "example.com/UNEXIST/"). The directory should not exist, it will be automatically created. Just leave it empty to install in the root directory (e.g. "example.com").