How to install WordPress in Windows.

 Netw0rking  Comments Off on How to install WordPress in Windows.
Dec 172011
 

If you are reading this, then I suppose, you are not a fan of Linux, BSD or MacOS. I wrote a WordPress for Linux installation few months ago, but still friends are asking me “What about Us? We don’t use your strange OS with text mode only! Bleh!”

So I’ve decided to help them too. There are few things you will need to do the installation:

  1. Install XAMPP or other windows web server.
  2. Install WordPress.
  3. Configure MySQL
  4. Configure WordPress to use your web server and database.
  5. Write your own first post 😉

How to Install XAMPP

First you need to download XAMPP. Go to their site, download either the archives or the installer and follow their installation instructions. They are quite easy to follow even for non-techies. Next-next-finish. You may like other web servers, but I really suggest this one for the easy installation. It is packed with everything you are going to need for a WordPress clean install.

Read carefully All security measures and precautions in the site. Some of the important passwords are left :blank: by default. You don’t want this!

Launch a browser and enter “localhost” in the address field (without quotes). Choose your preferred language. It will be for the interface only. Have some few minutes to get to know the interface. It is friendly. The only Bug I’ve seen in the installation is – the PHPMyAdmin is set in German by default. If you are quick to go there before setting a password – you will  see German interface. To change this. Click on the tab “localhost” above and in “Anzeige-Einstellungen” choose [Sprache – Language] to be English. If you set PhPMyAdmin with password – the login screen will have language selector.

To change default passwords (blank) for the users, you need to choose [Security] from the left menu. There you will see a link sending you to http://localhost/security/xamppsecurity.php. Go there and enter passwords for MySQL root user. The other user and password will protect your local server directory from free access. Don’t forget those passwords and always use GOOD passwords (as in the end of this article for security I wrote).

Go to XAMPP control panel and click [Stop -> Start] on the MySQL server for the new password to take effect. REMEMBER the PhpMyAdmin password.

You are set for now. Now launch another tab/window in the browser and enter http://localhost/index.html in the address field. You are supposed to see the caption “It works!”. If it does not – review the steps so far. You are missing something.

XAMPP is set. Now we need to

Install WordPress

For the purpose of this “How to” – I will be using latest WordPress .org. It is freely downloadable at http://wordpress.org/download/

Get the file and unzip it in a handy folder. Then move the WordPress contents to the “htdocs”, where you installed the XAMPP. It will look like this:

Path to htdocs, where to put WordPress

Now the things will become a little bit complicated. You need to know how to edit a .php file with some important data inside. By going to https://127.0.0.1/wordpress/, WordPress installation will reply with:

There doesn’t seem to be a wp-config.php file. I need this before we can get started.

Need more help? We got it.

You can create a wp-config.php file through a web interface, but this doesn’t work for all server setups. The safest way is to manually create the file.

Create a Configuration File

You can either click the links and follow instructions or open the sample file and edit it by hand. The file is in X:/xampp/htdocs/wordpress/wp-config-sample.php

Rename the file to wp-config.php and open it in Notepad or other editor, that does NOT put formatting and fonts/sizes/symbols/eyecandies and other useless tags. (Have in mind, that some windows installations will rename the file like this -> wp-config.php.txt when you use “Save-as” in Notepad. The extension must be .php and not .php.txt. Change it accordingly!!! Go to your htdocs/wordpress directory and execute “rename wp-config.php.txt wp-config.php”) There are few lines, that are important in this file:

define('DB_NAME', 'database_name_here');
define('DB_USER', 'username_here');
define('DB_PASSWORD', 'password_here');
define('DB_HOST', 'localhost');

To fill them, we need first to set them in MySQL data base, that will be holding our WordPress articles and pages. Go to the MySQL installation at https://127.0.0.1/phpmyadmin/ and enter your root user and password, that you set earlier and I told you to remember. All important settings are to be done from this admin page before the Blog is set.

  1. Go to Databases tab and enter new data base name. “wordpress”, “wordpressbase”,  or “blogdatabase” are all good names. Click “Create”. PhpMyAdmin will reply that the database is created.
  2. Now hover on “More” tab and choose “Privileges” -> “Add a new user” and set a name.
  3. Choose Localhost for a server
  4. Choose a complex password, that is not easy to guess. This user will have all access to your articles and can destroy and create tables in your database.  If unsure WHAT is a complex password -> reread the end lines of this article or create one with “Generate” button. In the last case, it will be a gibberish-ungueassable-very-strong-password, that will be very hard to guess by a malicious software or bad friends.
  5. Grant all privileges to our new user for table “wordpressbase” or whatever name you have used in step 1.
  6. Click “Go”.

The data above is important. Needs to be remembered and not written on a paper or a file that will fall in malevolent hands or scripts.

WordPress configuration

is the next step.

Edit the file X:/path/to/xampp/htdocs/wordpress/wp-config.php and enter the data in the config lines I pointed as important, until they look like this:

define('DB_NAME', 'wordpressbase');
define('DB_USER', 'wpuser1234');
define('DB_PASSWORD', '0neExtremelyL0ngBadPassw0rd');
define('DB_HOST', 'localhost');

Mind the bold text. It is only an example and your server may be set to something else. The password is long enough and has digits and caps. SAVE the file and go back to the link https://127.0.0.1/wordpress

This time, it will not reply you are lacking the file wp-config.php but will show the setup screen with the data needed for installation of the blog itself:

  1. Setup the blog

    Site title. Choose whatever suits you. This will be shown in search engines and as a header above all articles. If you enter “Johny’s blog” and you write article “How to ride a bike”, for the search engine results, your article will be shown as “How to ride a bike >> Johny’s blog”. This values can be changed later, so don’t think too much.

  2. Your user name. Not “root”, not “wpuser1234”, not some nonsense -> something artistic or your real name. This username will be shown below/above all articles you write (depending on theme). All your comments will be show also with this user name. Choose wisely, because this is your MAIN and Almighty user, that can set everything else in your blog. Giving rights to other users, deleting spam, moderating articles and user comments.
  3. Good password. Very important. See step 2.
  4. Your e-mail. It will be used to contact you in case someone needs it. Can be shown or hidden. There are plugins that will send you e-mail and user input without the need to show your e-mail at all.
  5. Click “Install WordPress”. Wait a bit. Ready ;). WordPress will tell you how disappointed they are, that this install is not more complex 😀 and then allow you to enter the Admin page of your new blog.
  6. Have a good look in your Dashboard. This is where ALL happens. If already bored to death, click on the upper left corner, where the name of your blog is and click “Visit site”. There is your first blog post saying “Hello world”.  Go back to the dashboard from the [Right bottom blog menu -> Meta -> Site admin].
  7. Your blog is ready. There are few more steps to set, but they will depend on your own installation.

The next steps are strictly depending on your preferences, the domain name you bought, the theme you have chosen to use and the style of your blog.

You need to decide them yourself, and most of them are covered ELSEWHERE. The most important are:

  • Dashboard -> Settings -> General. Choose your site name, title, full path to your WP installation, data and hour format for article posts.
  • Dashboard -> Settings -> Privacy. Set if your new blog should be indexed by search engines or you are going to advertise it yourself.
  • Dashboard -> Settings -> Permalinks. This is important for Search Engine Optimization. Most of the bloggers advice to choose the “Post name” format instead of “Default”.

Again. It is up to you when choosing those settings.

Write your own first post

Ready 🙂 ?!

Go to Dashboard -> Posts -> Add new.

There will be a small dialog with Rich Text Editor inside. Take your time. It’s like opening a document in WordPad. When you decide what to write – get to work. I’ve thought it will be easy, but it took me almost 1 year of experience until I learnt how to write my own articles in my own way.

Few advices:

  1. Don’t copy&paste articles from Internet.
  2. Think about what you write. Content is the main and most important thing in your new blog.
  3. Read articles about blogging. There are 4 main article types. Personal, how to, news and reviews. First, take almost no traffic, How-to’s get good traffic, news get traffic when they are current and reviews are good as long as the article is relevant and new. It is up to you to decide, but believe me – there are TOO MANY personal blogs. I read some of them, but their count is in digits. Stick with the other 3 categories. I know a person that has 5 digits per year in passive income just by writing reviews for a photo materials and tools.
  4. Don’t use black hat techniques to promote your blog. It takes time to build authority and get backlinks. It is not an overnight job.
  5. Decide if you are going to monetize your blog. This can be very frustrating but interesting process. Don’t expect “Big money” until you reach at least 1000 visits per day. According to WikiPedia and math statistics -> Conversion goes between 3 and 10 AD clicks on 1000 visits. Don’t expect miracles. Especially if someone told you, that you will get $200 per day from blogging… you may get there … eventually… after some 2-3 years of work. There are no shortcuts. Using forbidden tricks will only get your blog blacklisted and your AD account blocked with all your revenues held. Believe me. You can’t. And if someone promises you to get rich overnight – block him and report him. It’s a scam.

Good luck and welcome to our online family.

 Posted by at 2:08 pm
Dec 152011
 
lungs

Lungs (Image source: Flickr)

What is mesothelioma?

It is also called Malignant mesothelioma, and is a terminal lung cancer. The main cause is prolonged exposing to asbestos fibers dust. The resulting asbestosis leads to shortness of breath because of the asbestos  irritating the lung. Asbestos cannot leave the lungs naturally and very often the disease is caught too late.

The main symptoms are a chest pain and shortness of breath on minimal exertion or even standing still, without doing anything in particular. You better visit a doctor, even if you are not exposed to asbestos fibers (anymore). The disease may take years to develop.

So what happens, when you are exposed far too long to asbestos and develop terminal cancer?

In all cases – You need to take care for the ones you will be leaving after your demise while punishing the employer that allowed you to work with hazardous materials without mask.

Anyway, to get to the point which most bloggers-for-money ask:

Why does it pay so much?

There were claims 2 years ago, that mesothelioma ADs are paying $200 per click. Nowadays, the black hat forums claim that the keyword pays “merely” $55 per click.

The question remains: Why so much!?

In a WikiPedia article, we see that in mid 1982, a retired employee named  James Cavett, won a lawsuit of $2.3 million for compensation and another $1.5 million in punitive damages.

This triggered even more lawsuits and led to a group of lawyers specialized in this category of terminal cancers.

Lawsuits in US only are to reach $270 billion in compensations and punitive damages. There are more than 8k defendants and 700k claimants.

Imagine how many Lawyers are actually giving their left kidney to be hired for such a lawsuit.

Simple math from statistics:

  • ~3 in every 1000 clicks will end in hiring the Lawyer for a mesothelioma case;
  • 1000 clicks will cost the lawyer $55 000;
  • 3 cases won will total in approximately $3 million in compensation (with $2.3 million being the record for a single case);

Imagine the lawyer’s tax in this process. It must be huge.  And because of the very high competition, the lawyers are paying A LOT to sites that publish their ADs.

As simple as that.

Why I say it WAS high paying keyword?

After the Google Panda update, the search engine algorithm has changed. High paying keywords are now targeted by a heuristic relevancy check and spammy sites that target the high paying keywords are now penalized.

You may still write an article filled with high paying keywords, but this article will never reach page 1 of SERPs. And even if it does, you have NO control if the relevant high paying ADs will be displayed to your article.

So, regardless you place the keywords, you article will probably NOT benefit from them for real. It will be another article farm designed for money, that will be marked by Google bot for analysis by heuristics. Later, when the page rank algorithm evaluates it, you may have your whole site penalized and even sand boxed.

Be smart. Help the big G clean the internet from nonsense and heavy AD packed sites. Write an article that answers questions and helps the others. Don’t try to benefit from dieing lung cancer sufferers.

I am not telling you to abandon SEO optimization. Just don’t target a profit from the misery of the others.

 Posted by at 2:28 pm
Dec 112011
 

Demon hunter walkthrough and maps

This part of the walkthrough is after you complete “Makerusia Feather” quest. If you are not yet there, DON’T spoil your game story but refer to previous parts of the walkthrough:

Part 1 – About Kamael and Dubaq

Part 2 – About Inferno

Part 3 – About Stigia and Cave of Darkness

Part 4 – About Gehena

Part 5 – About Distia

Part 6 – About Marlborose and Makerusia

Arbenus map

Map of Arbenus

When you are ready with all Makerusian and Marlborose quests, you may head to the eastern part of Inferno, where the rocktasha’s reside (Flame of devil-6). Once you reach the map a new portal will open – heading east to Arbenus.

Once you enter, the twins Kira and Kiba will confront you and gloat a bit “how awesomely strong” they are. (we will see about that later) The way to Arbenus is open.

The Arbenus area is quite poor on quests. I am sorry to say but it’s all grinding until you [are/feel] ready for the twins. There is hardly the need of any walkthrough here. 1 quest total – grind your head OFF and then find the feather of Arbenus. ;(

There are 2 areas good for grinding. Essence of Illusion-1 and Essence of Greed-4. They are filled with ghosts with low HP, that fall quick and give random drops. Use the drops for money and Hunter Points while grinding. You will need quite a lot until you are sturdy enough for the twins.

There is another secret cave with another relic of the treasure king reachable from Essence of Doom-3. Break the column on the south-east wall. Two very rich herb deposits, one rich ore deposit and the 9-th relic from all 12.

The hole below Essence of Greed-2 leads to the map below. Be sure not to jump or you will have to load previous save game or walk back some half dozen maps.

Kira&Kiba Boss Fight (quite easy).

When you finally make it to the boss room, Kiba and Kira will meet you again to gloat and play tough. Then the fight starts.

Only one tricky part. Both brothers must be low on HP when you kill them. If you kill one of the twins, the other will cast a resurrect spell after 10 seconds. Kiba has a little more health than Kira and you better focus on him first.

Kiba holds a sword, Kira holds a gun. Both will hit you and hide after this so be sure to use good damage-over-time skill. Kira will place landmines or shooting ice balls and Kiba will slash on you with a sword. Sometimes they will group and do purple combo slash. This is the only really strong move they have but the move is quite easy to predict and avoid (simply jump away). Kalax’ blizzard is way harder to run from. 4800 xp and Arbenus Feather for killing the twins. They salute you and tell you they are waiting in hell, then disappearing with a *poof*. Completing the feather opens the quest “Supply“. (“Supply” is to simply get back to Dubaq. 500 xp. )

Arbenus is Not really hard Quest pack. The grinding is quite boring, so If you think you can manage the Twins – BLAZE through Arbenus and leave. Dull boring map. Two of the chests give free Cubics. Barely worth the searching.

Back to Dubaq, Evan wants you to find “Where is Chu?” so you need to go to Marlborose again. There is new portal, where Greed first battle was. (boss room) 1500 xp for entering and “Where’s Chu” completed. He is quite dead. Now you need to speak with Chu’s ghost in front of an ent. He sends you back with a filthy lie involving girls. There is no fighting, because Chu says you are too weak 🙂 (… Ents are slow and respond quite well to fire and slashing … what’s so hard?!)

It’s up to you” is the next quest. Simply get back to Evan. 3500 xp.

Next stage is Minauros where you have to find “Minauros’ feather“. Go west to Stigia, keep going until you reach Forest of Evil-2. New portal opens to a dark and gloomy forest.

(This dark forest is quite brutal for Slashers. Lots of poisoning and stunning. But I will explain more in the next part VIII.

The Hunter quests are spread around the Arbenus map, the easiest are in the way to grinding places (Rock tarts and Kurian), but if you have nothing better to do or tired from grinding:

Target Description/place Hunter points Gold
Captain of henchman Kurian @ Essence of Greed-4 670 720
Wacoom wacoom okugum!! Okugum @ Essence of Illusion-3 670 720
Demon within the mist Mist @ Essence of Doom-8 670 720
Death of Grime Grime @ Essence of Suffering-8 670 720
Cruel rock tarts Rock tarts @ Essence of Destruction-1 670 720
Betrayer Kira and Kiba @ Essence of Betrayal 940 1270
Totals 4290 4870
 Posted by at 12:45 pm