Information

    Our service hours
    Monday to Friday
    09:00 hs. to 18:00 hs.
    Buenos Aires (+3) time.

    Our telephones
    +5411 5434-9304/05

    Our email
    info@pproyectos.com

Categories

Online IT Support

    Please click here to download our Online IT Tool.

Latest projects:

Choose Your Language

Website Development with WordPress: Installing WordPress

to return to  “Website Development With WordPress: Chosse a hosting service” please click here
or to return to the tutorial index please click here.

Ok, by this moment you have already chosen a design and a hosting service where to place your website. So, finally, let’s begin installing the software.

Important, when your design was chosen, in the website you did your search, the design should have a wordpress version compatibility note. For example, the original design applied to this website you are reading was 2.7, meaning that the version for wordpress you should download to work with is 2.7. Please don’t disregard this information, as some versions of wordpress may have no compatibility issues in your design (for example a 2.7 version may very well work in 2.8), but if they do, you’ll find yourself hacking into the design to correct this issues.

Finally, let’s download the corresponding version. To do so, please click here (when this tutorial was published, the wordpress current version was 2.8.4) . The file you will download is a .zip compressed format file containing all the WordPress Software. This software has to be unzipped and transferred to your hosting service. By the way, our article consideres you have registered and delegated a domain for your future website. If not, please read our article about “Choosing Domain Names to tackle this issue.

Once downloaded the wordpress zip (in our case wordpress-2.8.4-zip), please feel free to decompress the zip file. If you don’t already have a winzip or a similar sofwtare installed, maybe consider 7-zip. 7-zip is an excellent full compression solution, it’s open source and it’s free. You can visit their website by clicking here. Download, install, decompress the wordpress zip.

FileZilla WordPress Path

FileZilla WordPress Path

Now, upload the decompressed folder structure to your hosting. To do this you will need a ftp transfer program. Personally, and after using various ftp software programs, I can recommend filezilla ftp client. This software it’s also open source and free, multiplatform and very reliable. In our development team it has wide acceptance. To download filezilla please click here. To simplify things, I recommend you put the folder structure under your web root directory (the web directory that will show when you type http://www. yourwordpresswebsite.com/), this will make things a lot simpler when search engines start to crawl your website and visitors want to remember links. In linux based hosting services, this would be the inside the public_html directory, and so, for example, the path to your wordpress index.php would be /public_html/index.php (see figure).

Once you’ve copied all the content into the hosting directory, let’s start installation.

First we need to create a database in the webserver. As explained before, we recommend a cpanel enabled website, so this article will explain how to do this with the cpanel software installed, but you can do this with any software your host provides, as long as you can create an empty datababase and a user with priviledges to create, edit and delete all structure and data in that database.

In case you have cpanel, goto http://www.yourwordpresswebsite.com/cpanel and login with the user/password you were provided upon subscription to your hosting service. Look for the Database section of the cpanel screen and choose the corresponding MySQL icon.

MySQL Cpanel Icon

MySQL Cpanel Icon

Keep in mind that your Cpanel account may be using a skin or different theme, so it will not always look exactly like the screenshot above. Now you will be introduced to athe MySQL database admin area of cpanel. The first step in the process will be to create the database.

Create Database

Create Database

My recomendation is to choose a simple name, as WP or wordpress. Enter the name in the form and click on “Create Database”. This process will create a database in your webserver, tipically, under the name “username_databasename”, so for example, if your cpanel username was “johnuser” and you named “wordpress” the database you created, your datababse will have to be addressed “johnuser_wordpress”. This is because in shared hosting environments the database name has to be unique and so the software will always append the username to the database so to guarantee this. Now we should create a user for the database.

Database User

Database User

Choose a simple name, easy to remember, for example admin. This will not make your security vulnerable, as the real trick for not easily being hacked is a good password (Please see our section about password selection to deepen this particular issue) and lets simply say that the password must be at least 10 characters long, should have numbers and alphanumeric symbols, and must evade dictionary words. Now enter both, and press “Create User”. This will create a user that can be assigned, with certain priviledges, to your newly created database.

Assing User to Database

Assing User to Database

In the future, this same user can perform tasks in other databases. In MySQL, as in various database server softwares, users and databases are independent entities that relate themselves according to privileges. Privileges are what a user can do in the corresponding database. So, simply choose your new user and database from the drop downs and click on the “Add” button. Now you will be taken to another sreen to choose what privileges should the user you’ve created have in this database.

Choosing privileges

Choosing privileges

Simply select “All Privileges” to ensure wordpress will be able to perform all tasks needed in the database.

Once the database is created, the rest is quite simple, go into your ftp software and rename wp-config-sample.php file to wp-config.php.

Edit this file with a text editor (Important: never use a word processor like Microsoft Word for editing WordPress files!) and fill in your database details by replacing the default values in your in this file with your own specific database settings.

Set Database Name:  Replace putyourdbnamehere, with the name of your database, e.g. MyDatabaseName. The line should read … define(‘DB_NAME’, ‘MyDatabaseName’); // Example MySQL database name
Set Database User: Replace usernamehere, with the name of your username e.g. MyUserName. The line should read … define(‘DB_USER’, ‘MyUserName’); // Example MySQL username
Set Database Password:  Replace yourpasswordhere, with the your password, e.g. MyPassWord. The line should read … define(‘DB_PASSWORD’, ‘MyPassWord’); // Example MySQL password
Set Database Host: Replace localhost, with the name of your database host, e.g. MyDatabaseHost. The line should read … define(‘DB_HOST’, ‘MyDatabaseHost’); // Example MySQL Database host

Finally, when this is done, save the file to your server, and if you copied the wordpress files directly under your web root, run the WordPress installation script by accessing http://www.yourwordpresswebsite.com/wp-admin/install.php. If you installed WordPress in its own subdirectory called blog, for example, you should visit: http://www.yourwordpresswebsite.com/blog/wp-admin/install.php.

Finally, you will be directed to the administration login, where you can enter the user/password you provided during the installation and start the configuration process.  There are many options to configure, and we will start by installing the chosen designer theme. Please continue to next section now.

to continue to  “Website Development With WordPress: Installing your chosen design theme” please click here.

posted by admin
Sábado, octubre 17, 2009