Showing posts with label Blogging. Show all posts
Showing posts with label Blogging. Show all posts

Tuesday, 2 December 2008

Wordpress- Ummm!

Seeing as blogger exists and how simple it is to set up a blog, I do wonder why Wordpress is so popular when the installation instructions are as follows!

Detailed Instructions

Step 1: Download and Extract

Download and unzip the WordPress package from http://wordpress.org/download/.

  • If you will be uploading WordPress to a remote web server, download the WordPress package to your computer with your favorite web browser and unzip the package.
  • If you have shell access to your web server, and are comfortable using console-based tools, you may wish to download WordPress directly to your web server using wget (or lynx or another console-based web browser) if you want to avoid FTPing:
    • wget http://wordpress.org/latest.tar.gz
    • Then unzip the package using:
      tar -xzvf latest.tar.gz

      The WordPress package will extract into a folder called wordpress in the same directory that you downloaded latest.tar.gz.
  • If you do not have shell access to your web server, or you are not comfortable using console-based tools, you may wish to deploy WordPress directly to your web server using ZipDeploy.

Step 2: Create the Database and a User

If you are using a hosting provider, you may already have a WordPress database set up for you, or there may be an automated setup solution to do so. Check your hosting provider's support pages or your control panel for clues about whether or not you'll need to create one manually.

If you determine that you'll need to create one manually, follow the instructions for accessing phpMyAdmin on various servers, or follow the instructions for Using cPanel or Using phpMyAdmin below.

If you are installing WordPress on your own web server, follow the Using phpMyAdmin or Using the MySQL Client instructions below to create your WordPress username and database.

If you have only one database and it is already in use, you can install WordPress in it - just make sure to have a distinctive prefix for your tables, to avoid over-writing any existing database table.

Using cPanel

Main article: Using cPanel

If your hosting provider uses cPanel, you may follow these instructions to create your WordPress username and database.

  1. Log in to your cPanel.
  2. Click MySQL Databases.
  3. If a user relating to WordPress does not already exist under the Users section, create one:
    1. Chose a username for WordPress ('wordpress' is good) and enter it in the UserName field.
    2. Choose a difficult-to-guess password (ideally containing a combination of upper- and lower-case letters, numbers, and symbols), and enter it in the Password field.
    3. Write down the username and password you chose.
    4. Click Add User.
  4. If a database relating to WordPress does not already exist under the Databases section, create one:
    1. Choose a name for your WordPress database ('wordpress' or 'blog' are good), enter it in the Db field, and click Add Db.
  5. Under Databases, select your WordPress username from the User dropdown, then select your WordPress database from the Db dropdown. Make sure All is checked under Privileges, then click Add User to Db.
  6. When you return to the main MySQL Account Maintenance screen, cPanel will list information about the database you just created. You should see the username you just added to the database (with ALL PRIVILEGES), as well as a few sample Connection Strings for you to use in Perl or PHP scripts to connect to the database. The PHP code will have the following format:
$dbh = mysql_connect("hostname", "username", "") or die ("message");
mysql_select_db("databasename");
Write down the values of hostname, username, databasename, and the password you chose. (Note that hostname will usually be localhost.)

Using phpMyAdmin

If your web server has phpMyAdmin installed, you may follow these instructions to create your WordPress username and database.

Note: These instructions are written for phpMyAdmin 2.6.0; the phpMyAdmin user interface can vary slightly between versions.

  1. If a database relating to WordPress does not already exist in the Database dropdown on the left, create one:
    1. Choose a name for your WordPress database ('wordpress' or 'blog' are good), enter it in the Create new database field, and click Create.
  2. Click the Home icon in the upper left to return to the main page, then click Privileges. If a user relating to WordPress does not already exist in the list of users, create one:
    1. Click Add a new User.
    2. Chose a username for WordPress ('wordpress' is good) and enter it in the User name field. (Be sure Use text field: is selected from the dropdown.)
    3. Choose a difficult-to-guess password (ideally containing a combination of upper- and lower-case letters, numbers, and symbols), and enter it in the Password field. (Be sure Use text field: is selected from the dropdown.) Re-enter the password in the Re-type field.
    4. Write down the username and password you chose.
    5. Leave all options under Global privileges at their defaults.
    6. Click Go.
  3. Return to the Privileges screen and click the Check privileges icon on the user you've just created for WordPress. In the Database-specific privileges section, select the database you've just created for WordPress under the Add privileges to the following database dropdown. The page will refresh with privileges for that database. Click Check All to select all privileges, and click Go.
  4. On the resulting page, make note of the host name listed after Server: at the top of the page. (This will usually be localhost.)

Using the MySQL Client

You can create MySQL users and databases quickly and easily by running mysql from the shell. The syntax is shown below and the dollar sign is the command prompt:

$ mysql -u adminusername -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 5340 to server version: 3.23.54

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> CREATE DATABASE databasename;
Query OK, 1 row affected (0.00 sec)

mysql> GRANT ALL PRIVILEGES ON databasename.* TO "wordpressusername"@"hostname"
-> IDENTIFIED BY "password";
Query OK, 0 rows affected (0.00 sec)

mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.01 sec)

mysql> EXIT
Bye
$

The example shows:

  • that root is also the adminusername. It is a safer practice to choose a so-called "mortal" account as your mysql admin, so that you are not entering the command "mysql" as the root user on your system. (Any time you can avoid doing work as root you decrease your chance of being exploited). The name you use depends on the name you assigned as the database administrator using mysqladmin.
  • wordpress or blog are good values for databasename.
  • wordpress is a good value for wordpressusername but you should realize that, since it is used here, the entire world will know it too.
  • hostname will usually be localhost. If you don't know what this value should be, check with your system administrator if you are not the admin for your Wordpress host. If you are the system admin, consider using a non-root account to administer your database.
  • password should be a difficult-to-guess password, ideally containing a combination of upper- and lower-case letters, numbers, and symbols. One good way of avoiding the use of a word found in a distionary, uses the first letter of each word in a phrase that you find easy to remember.

If you need to write these values somewhere, avoid writing them in the system that contains the things protected by them. You need to remember the value used for databasename, wordpressusername, hostname, and password. Of course, since they are already in ) or will be, shortly) your wp-config.php file, there is no need to put them somewhere else, too.

Using Plesk

See: Plesk 7 at tamba2.org

Step 3: Set up wp-config.php

For the next part, the code you will be looking to change is as follows:

// ** MySQL settings ** //
define('DB_NAME', 'putyourdbnamehere'); // The name of the database
define('DB_USER', 'usernamehere'); // Your MySQL username
define('DB_PASSWORD', 'yourpasswordhere'); // ...and password
define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');
// Change SECRET_KEY to a unique phrase. You won't have to remember it later,
// so make it long and complicated. You can visit https://www.grc.com/passwords.htm
// to get a phrase generated for you, or just make something up.
define('SECRET_KEY', 'put your unique phrase here'); // Change this to a unique phrase.
  1. Returning to where you extracted the WordPress package in Step 1, rename the file wp-config-sample.php to wp-config.php.
  2. Open the renamed wp-config.php file in your favorite text editor and fill in the following information, per the example above:
    DB_NAME
    The name of the database you created for WordPress in Step 2 .
    DB_USER
    The username you created for WordPress in Step 2.
    DB_PASSWORD
    The password you chose for the WordPress username in Step 2.
    DB_HOST
    The hostname you determined in Step 2 (usually localhost, but not always. See some possible DB_HOST values).
    DB_CHARSET
    The database character set, normally should not be changed. See Editing wp-config.php for details.
    DB_COLLATE
    The database collation should normally be left blank. See Editing wp-config.php for details.
  3. Save the file.
  • For more extensive details, and step by step instructions for creating the configuration file, refer to Editing wp-config.php.

For information on enabling SSL in WordPress 2.6, see SSL and Cookies in WordPress 2.6.

Step 4: Upload the files

Now you will need to decide where on your web site you'd like your blog to appear:

  • In the root directory of your web site. (For example, http://example.com/)
  • In a subdirectory of your web site. (For example, http://example.com/blog/)

Note: The location of your root web directory in the filesystem on your web server will vary across hosting providers and operating systems. Check with your hosting provider or system administrator if you do not know where this is.

In the Root Directory

  • If you need to upload your files to your web server, use your favorite FTP client to upload all the contents of the wordpress directory (but not the directory itself) into the root directory of your web site.
  • If your files are already on your web server, and you are using shell access to install WordPress, move all of the contents of the wordpress directory (but not the directory itself) into the root directory of your web site.

In a Subdirectory

  • If you need to upload your files to your web server, rename the wordpress directory to your desired name, then use your favorite FTP client to upload the directory to your desired location within the root directory of your web site.
  • If your files are already on your web server, and you are using shell access to install WordPress, move the wordpress directory to your desired location within the root directory of your web site, and rename the directory to your desired name.

Step 5: Run the Install Script

Point your favorite web browser to start the installation script.

  • If you placed the WordPress files in the root directory, you should visit: http://example.com/wp-admin/install.php
  • If you placed the WordPress files in a subdirectory called blog, for example, you should visit: http://example.com/blog/wp-admin/install.php

The following screenshots show how the installation progresses. Notice in the screen, Entering the details, you enter your Weblog title and your e-mail address. Also displayed is a check-box asking if you would like your blog to appear in search engines like Google and Technorati. Leave the box checked if you would like your blog to be visible to everyone, including search engines, and uncheck the box if you want to block search engines, but allow normal visitors. Note all this information can be changed later in your Administration Panels.

Version 2.3

Even the following famous install procedure would be beyond many!

Famous 5-Minute Install

Here's the quick version of the instructions, for those that are already comfortable with performing such installations. More detailed instructions follow.

  1. Download and unzip the WordPress package, if you haven't already.
  2. Create a database for WordPress on your web server, as well as a MySQL user who has all privileges for accessing and modifying it.
  3. Rename the wp-config-sample.php file to wp-config.php.
  4. Open wp-config.php in your favorite text editor and fill in your database details.
  5. Place the WordPress files in the desired location on your web server:
    • If you want to integrate WordPress into the root of your domain (e.g. http://example.com/), move or upload all contents of the unzipped WordPress directory (but excluding the directory itself) into the root directory of your web server.
    • If you want to have your WordPress installation in its own subdirectory on your web site (e.g. http://example.com/blog/), rename the directory wordpress to the name you'd like the subdirectory to have and move or upload it to your web server. For example if you want the WordPress installation in a subdirectory called "blog", you should rename the directory called "wordpress" to "blog" and upload it to the root directory of your web server.

      Hint: If your FTP transfer is too slow read how to avoid FTPing at : Step 1: Download and Extract.
  6. Run the WordPress installation script by accessing wp-admin/install.php in your favorite web browser.
    • If you installed WordPress in the root directory, you should visit: http://example.com/wp-admin/install.php
    • If you installed WordPress in its own subdirectory called blog, for example, you should visit: http://example.com/blog/wp-admin/install.php

That's it! WordPress should now be installed.

Saturday, 25 October 2008

How to post a single mp3 to Blogger

You can get text, images and video on your blog but have you tried getting a single mp3 file up there for your visitors to listen to?
Blogger supplies heaps of gadgets but not one for a single mp3 so yep, you have probably given up before today!
Well here is a way you can do it using Box.net, a great free online file storage site, which provides a means to post, well, anything you have stored there to your blog, very cool!
So let's get started.
  • Click on the box .net logo above and create an account for yourself.
  • Upload the mp3 you want to post to your blog.
  • Go to the services tab and add the service called Blog Posting.












  • Now return to the My Files tab and click on the Blue arrow next to the star on the right.















  • Choose Post to Blogger fill in your username and password details and Bob's your uncle it will appear on your blog as a very nifty looking little player.

Saturday, 15 December 2007

16 interesting RSS feeds - What I choose to read about!



There are many news readers available and I happen to use a Firefox extension Wizz RSS which I have found works well for me. Following my last blog, about two minutes ago, it occurred to me to blog about the feeds I choose to follow that enhance my internet life.
There are quite a few, many you will already know, others you may not have come across and they are:

Coding Horror - A very interesting blog!

I am sure those of you into coding would probably have come across this great blog published by Jeff Attwood. If you haven't it is well worth checking as much as anything for the length and breadth of the discussion that occurs in the comments!
Here is one relating to Jeff's assertion that there are only two types of programmers! and here is another relating to current levels of Apple laptop pricing compared to Dell!
There are plenty of other examples to keep you busy for the day as Jeff has been publishing his blog since 2004! I have added his feed to my news reader and look forward to keeping up with what he has to say in the future.

Wednesday, 12 December 2007

A Radical Makeover - The Wizard has fled!

Wo! That looks a bit different! In line with the recent change of emphasis of this site, I have also redecorated!
This has occurred as I am currently in the process of developing a website for myself which also has a dark theme.
I have for sometime wanted to create a logo that reflected the Aries/Snake that I am and I was pretty pleased to come up with the design on the left which I created using Inkscape - the open source equivalent of Illustrator. Can you believe that one can actually get the hang of using those weird Bezier curve drawing tools!

Monday, 10 December 2007

We have hit the 5000 views milestone!



Thanks to everybody who has visited this site for taking the time to do so.
I hope it has been worth your while and that you have found something here of interest to you!

Saturday, 10 November 2007

A realisation more than a blog name change!

It is clear that we will all be soon using the Internet as our main resource for entertainment and information.
The beauty of this medium, of course, is that individuals can be the ones that make decisions about what content to present and how it should be put together providing a unique experience for those that choose to view it!
This blog represents a beginning of this rapidly developing change in our entertainment habits.

Welcome to the Wizard Web Content Network!

Sunday, 1 July 2007

ITtoolbox for IT professionals




I discovered this brilliant site sometime ago and have decided to blog it just in case you might be interested and don't know about it!




ITtoolbox is a community of 1.2 million IT professionals who share information and provide assistance to each other on all things related to being involved in the IT profession.

Main category areas include:
  • CRM
  • Data Management
  • Development and Integration
  • Enterprise Back Office
  • IT Management and Trends
  • Networking and Infrastructure
You can also:
  • View, contribute to or comment a vast array of Blogs on real IT issues and trends.
  • Use Groups to ask and answer questions among skilled peers.
  • View the excellent Wiki, create and edit definitions, FAQs, and HOWTOs.
There are also any number of white papers and research, webcasts and events and......... you can even score a new job!

I have joined various blogs and become, like many others a fan of bloggers with names like Security Monkey, Locutus and Puramu.

Sunday, 1 April 2007

Bloggers cool new Video Bar!


Blogger has introduced two great new widgets!
News Bar and Video Bar.


I have installed the Video Bar which I feel adds a whole new dimension to this blog as you can watch a video without leaving the blog! - in fact you can watch 4!!!!!!!!!!!

The way it works is I set the search parameters and the Video Bar displays 4 random videos from Google Video/YouTube based on the results of that search.

Today I have set the search parameter to Java Programming and the video appears at the top of the blog.

Both these widgets can easily be installed by clicking your blog's Layout link on your Dashboard, then clicking "Add a Page Element. You will see the two new widgets at the top of the page.

Enjoy mine and make sure you get yours installed too!

Update!
Couldn't resist and added the News Bar as I realised I could target Aussie news so it is there now too!

Tuesday, 27 March 2007

Tried Wordpress briefly!!!!!!!!


Well, I gave a Wordpress blog a try over the last couple of days as I was after a couple of blogging features that Blogger does not have.

A three column layout and categorising posts! Which I have now just discovered how to do in Blogger!

It was easy to import all my posts and comments from Blogger but?
I am back at Blogger as I was unable to get my widgets to work on a hosted Wordpress site!? Very annoying!

Oh Well! I will keep trying to find a 3 column layout I can actually implement without too much hassle.
Can anybody help me out with that? Especially a solution that allows me to keep this template and just add a third column!

Tuesday, 13 March 2007

Wow! All my Blog images ended up in Picasa!





Well, I did have a nice surprise when I logged in to my blog to write a new post.
All the images that I have uploaded have been placed in a folder in a Picasa web album for me.
Check it out if your interested here - Wizard Blog images

I really appreciate the way Google adds so intelligently sometimes to my internet life!

Tuesday, 6 March 2007

A great Blogging Firefox extension!


One of the many great things about Firefox is the extensions.




Today on the recommendation of an article in the current issue of the Linux Format magazine I added 5 more to the 6 I have already installed!

Fast Video Download - downloads embedded video from sites like YouTube (replacing Ook video Ook!)

Nightly Tester Tools - A test tool for extension compatability

Wizz RSS News Reader - Obviously a news reader

Greasemonkey - A website redesign tool using javascript which I have installed for a second time to explore the possibilities of a bit further.

Scribefire
(used to be called Performancing) - A great blogging editor.

I used Scribefire to create this post.

powered by performancing firefox

Friday, 16 February 2007

Great little widgets from Widgetbox!


On the left you will see that I have added some widgets.





A bookmarking widget which will give you the option to bookmark the post with most of the available social bookmarking sites.

I have also added a search widget that will enable you to search within this blog, which might be useful as there are a fair few posts now and this little widget works really well.
For instance, try a search for "guitar" and you will find that you get quite a few results!
You can also use it to directly search the web from this blog.

An RSS feed to GigOm which features articles relating to cutting edge developments on the internet. This compliments the two other RSS feeds further down the page from Slashdot and ZDNet.

But the best widget of all of them is the site translation one which is just awesome! Give it a try especially if you don't speak English!

I am checking out some other widgets to add and you can too at Widgetbox.
Very cool and lots of fun!