Programming

WordPress: (Part 1) Installation and Configuration

WordPress: (Part 1) Installation and Configuration

In this three-part series I will be showing you the basics of creating a simple website using the Content Management System (CMS) WordPress. By using a CMS  you can add and modify content to the the website directly in your browser even without any programming experience.

WordPress is easily extended to support various types of websites.

Part 1: Installation and Configuration:

  • Server Requirements
  • WordPress installation
  • WordPress configuration
  • Difference Post and Pages

Part 2 Themes and Menus:

  • Themes
  • Widgets
  • Menus

Part 3 Plugins:

  • Plugins
  • General tips

Server Requirements

A website is always hosted on a server. A server is basically a computer that is constantly running and connected to the internet. When choosing a web hosting service you have to make sure that it supports PHP and MySQL.

Free Web hosting

If you are just starting out and want to test things on a server there are several providers that offer free web hosting, however you usually only get a sub-domain. These offers are useful for experimenting with WordPress however a sub-domain suggests that you are an amateur.

One of the few exceptions is when you simply want to run a blog. www.wordpress.com has blog hosting services however you only get a sub-domain.

Paid Web hosting

Professional web hosting costs money. In most cases you have to pay for the domain and the available web space. The package includes email-addresses accompanying the site.

Amazon AWS

Finding a Domain name

At this point in time the most good names are already taken or people bought the domain and just wait to sell them off.

To check if your domain is still available try out:

http://instantdomainsearch.com/

Or if you want a random web 2.0 domain Name:

http://www.dotomator.com/web20.html

https://domains.google.com/

WordPress Installation

You got your server and are ready to go? Great.

Preparation

  1. Download and install Filezilla on your computer www.filezilla.org
  2. Open Filezilla and
  3. Create a new Site, and enter your ftp-access data.

    Filezilla - Site Manager

    Enter your FTP Access Data

  4. Test the connection.
  5. Go to the Configuration website of your server
  6. Go to the MySQL configuration site
  7. Create a new user (e.g. wordpress_sqlusr) with a strong password

Installation

  1. Download WordPress from www.wordpress.org
  2. Extract the files on your computer
  3. Open Filezilla, and open a ftp-connection to your server
  4. Transfer all files to your server
  5. In a Browser open your website
  6. WordPress will state that the config-file has not been configured. Click on next
  7. Enter the data asked by wordpress. Use a very strong Password to prevent anybody else accessing your site as administrator.

WordPress configuration

Now that WordPress is installed you can configure the site

  1. When you go to /wp-admin you can logon and start configuring your site.
  2. Simply Navigate on the sidebar and click on Settings. WordpressPart1
  3. You will find all Settings in this panel and all of it is very well described. Simply go through every different type of Settings.

Difference Post and Pages

A Page is a static website. The Webpage is always the same and never changes. (usually the About Page)

However one of the benefits of a blog is that it has an RSS Feed. Other people can subscribe to this feed with an RSS Reader and when you add new content to your blog they automatically get notified of the change. The blog is generated dynamically from all the posts available.

In most cases it is more useful to use Posts, but it depends entirely on your website. A simple website also can only use static Pages.

Continue to Part 2

Posted by happyneal in Web Technologies, 2 comments
Java GUI: Using AbstractTableModel

Java GUI: Using AbstractTableModel

When using the AbstractTableModel the easiest way to store the table data is to use a Vector of Vectors.You have to implement additonal functions to insert new data.

Here is a simple example:

Posted by happyneal in Programming, 7 comments