How to kill windows update

In this guide I will show you the ways on how to ultimately stop the windows update. There are many reasons why you would want to disable it:

  • It consumes bandwidth – people like us who has only about 50 kbps of download speed has barely enough bandwidth to even care about the windows update.
  • It is annoying – how many times did you see the popup on the lower right portion of the screen when windows update is enabled? It even prompts you to restart your computer once an update has been installed. And it never really stops not until you give up and restart the computer.
  • It consumes battery – this is true since every application that runs on the background consumes battery
  • It may sometimes cripple your system – there is once an update that I have installed in my machine. But it did something nasty because it made the enter key on my keyboard do something else other than what its made for. Every time I press the enter key the power options in the control panel shows up.

So here are the ways on how to kill it. You may use just one of them or use all of them. It would be better if you use all the methods since it may sometimes come back.

 

Control Panel

First, go to control panel then select windows update

image

Then select change settings.

image

Then just copy the settings which I have set here. Then press ok.

image

 

 

Msconfig

The second method is by using the built-in utility for windows called the msconfig. To run it, just search for msconfig on the windows 7 search box.

Click on the services tab then search for windows update. Uncheck it, click apply then ok. Then restart your system.

image

What we just did was to stop the windows update service from executing during system startup.

 

 

Services

The final method goes together with the second method so you might as well do the second method first before doing this.

What we will do here is to stop the windows update from running if it is still running even after disabling it from running during startup.

Just search services.msc on the windows 7 search box then execute it by either clicking on pressing enter on your keyboard.

Search for the windows update then click on the stop link located at the middle portion of the services.msc window.

image

 

 

Conclusion

That’s how you can kill the windows update service. But by doing this you wont receive anymore updates from microsoft.

Updates aren’t really necessary if you know your way when dealing with computers. Just stay safe  in the internet by following this guide. And you are fine without the security updates from microsoft.

How to automate Mysql database backup

In this guide I will show you how you can automate the backup process of Mysql database using a simple trick in Windows. This is the Windows equivalent of the Cron jobs that are mostly used in Linux systems.

I’m using Windows 7 at the time of this writing but the process is still the same for Windows XP and Windows Vista.

Before we start, you must have already a knowledge on how to backup mysql database using mysqldump the built-in tool for mysql which I mainly use for backups.

Here’s the link to the last tutorial that I have made which discusses about the ways on how to backup mysql database. You might want to check it out first if you don’t have an idea on how to use mysqldump utility.

Lets begin by opening up the task scheduler

image

From this screen, you need to click on create basic task

image

Input the name of the task together with the description then click next

image

In this case I selected when I log on. You can choose whatever you want. Then click on next again.

image

We will select start a program here since we will be executing a batch file. A batch file is similar to an executable file. And you can convert a batch file to an executable easily. Click next again.

image

Browse for the batch file that backups mysql database or just enter its location on the input box provided. Then click next.

image

Just click on finish when you see this screen. Its just a summary of what the task will do.

image

To check if it is really saved then just scroll down to the active task section and try to find the name of the task in the list. Or just press on your keyboard the first letter of the task name. In my case, it is ‘D’ for db backup

image

 

Conclusion

That’s a nice and easy way on how to do mysql database backups automatically using the built in windows tool, the task scheduler. You can also try to be creative by doing some other task with this neat windows tool.

How to make external hard drive last longer

I own a Seagate Free Agent external hard drive. So in this article, I’m going to share to you the methods that I am using in order to make my External Hard Drive  or Portable Hard Drive last longer.

 

  1. Do not store much files on the hard drive –  Be it music, videos, documents, applications and games. The more files you store on your drive. The more effort it will take for the heads to access information from the hard drive platter. And it means more heat is produced during the process. And we know that heat is a mortal enemy for most computer hardware.
  2. Defragment hard drive – It is always a nice practice to defragment your hard drive once in a while. Maybe once a month if you are like me who downloads lots of files from the internet regularly. But if you don’t really store that much files in your hard drive, and does not use it frequently. Then twice in one year might do.
  3. Add more RAM to your system– This is not always necessary since most of the computers sold in the market today has already 2Gb of RAM which is already enough for most of our daily task. But to make things more smoother for the part of the hard drive, you might as well add more RAM on your system.
  4. Do not play media which is stored in your external hard drive – this is what I always do. I always make it a point to never use the hard drive in playing music, video or any other application. Copy the media file first on your internal hard drive then play it from there.
  5. Do not manipulate files stored in your external hard drive– It is similar to number 4 but I think it deserves its own number. When I say manipulate files I mean that modifying files or working with files that are stored on your drive. Examples are video conversion from one format to another or working with photoshop files stored in your drive. Or working with vb.net programs. Copy it first to your internal hard drive then work with it.
  6. Store it on a cool place– this is self explanatory since most computer hardware loves it when the environment is cold.
  7. Safely remove hard drive– always make it a point that you safely remove your drive before plugging off the cable. There’s a tool called USB Disk Ejector, which I use for ejecting external storage quickly. You can download it from their site:

http://quick.mixnmojo.com/usb-disk-ejector

image

 

Conclusion

That’s it for this guide, I hope you learned something. And if you find this guide useful then you might want to share it on your site. Thanks for readingSmile

Installing bbPress

Today I’m going to teach you how you can install bbPress. A forum software brought to you by the same people who made WordPress. The popular blog hosting site.

First, you’ll going to need to download bbPress. But not from their site. Because they suck. They’re good at making free software but they cannot even fix a simple problem on their site. Basically, when you try to download bbPress from their site. Their server is not returning the correct file size for the download and the browser will have trouble deciphering what the heck is the file size and the result would be, you guessed it right, infinite download. That’s today and that’s just me, I don’t know if it’s the same for you so don’t take my word for it. You might  as well want to try to download from their site.

But if you don’t want to try, then download it from softonic.

All you have to do now is to extract the zip file on your web accessible folder. Preferably the www directory when you have installed WAMP. And htdocs folder when you have installed XAMPP.

Just extract it there and make sure you have the index.php file after opening the extracted folder.

Now, access it on your browser by typing in:

localhost/bbpress

image

That’s the default name, if you changed it to something else. Then just type the name of the folder.

Next thing that you need to do is to make a database for bbPress. To do that, just launch MySql console:

image

and type in:

create database bbPress_db;

image

Just click on go to step 1. Then enter your MySql database credentials.

Default user would be root with no password. And the database name would be the one that you entered on the mysql console. Then click next.

Just click next when you see this screen:

image

For this guide, we will not integrate bbPress to WordPress. So just click on skip. But if you want to integrate it to WordPress then you must already have WordPress installed.

image

Just click on Go to step 3

image

Input your site credentials. Anything you wish to put here would be accepted as long as it is valid. Just use the screenshot below as an example

image

This would be the final screen that you would see for the installation process. Just click on complete installation.

image

You can now navigate to the newly created forum by typing:

http://localhost/aoknforum

Its aoknforum because it is what I have entered a while ago. As you can see in my screenshot. You might have to rename the bbPress folder on your web directory. Because the one you entered in the site configuration a while ago should reflect the name of the folder in your web directory.

image

If everything is fine then you might see something like this:

image

But as you can see, there are some errors above. So we might as well use a different php version when trying to use this one. Just read on the other article that I made here on how to use different php versions on wampserver:

Using different php versions

Check also the requirements for bbPress so you have an idea what php version to use:

http://bbpress.org/about/requirements/

That’s it for the installation of bbPress.

Using different PHP Versions

In this tutorial I will show you how you can use different Php, Apache , and MySql versions on your Wampserver installation.

We basically use different versions of php because there are some web applications like WordPress, bbPress, Joomla, or drupal. Or even web frameworks like Yii or Symfony which are compatible only of working for a limited number of php versions.

It is because some of the php codes that are being used in the past are deprecated. Deprecated means that the code is not anymore updated.

Read more about code deprecation on this site: http://blog.phpkemist.com/2008/03/06/what-is-deprecated-code-and-why-should-i-upgrade-my-server/

That is why developers really need to do this at times because every upgrade in a php version, there is a code that is being deprecated or left behind. Maybe because its not anymore secure. Or it is not anymore applicable to current coding standards. Or there is a better code for the code that is being replace. Which might be more secure or optimized.

 

So to install different versions of php, mysql and apache. Just head over to:

http://www.wampserver.com/en/add-ons.php

And download the php version that is applicable to the web application or web framework that you want to install.

Just download the installer then install it. Don’t worry when wampserver is still running. The installer will automatically terminate it.

After installing. You just have to select the php version that you want to use by going to the wampserver tray icon. Left click the icon, select php then select the version you want to use.

image

After that, just reset wampserver and the changes will take effect.

The same process can be applied when installing different mysql and apache versions.

Just be careful though. Sometimes you will get to the point where you will see something like this, when you try to mix different php version with different mysql and apache versions:

wampserver error

When you encounter that problem, just stick with the wampserver defaults:

Apache 2.2.17
Php 5.3.3
Mysql 5.1.53 (version 64 bits)
Mysql 5.5.8 (version 32 bits)

Just go to the installation folder of php, mysql and apache and delete those versions that you think crippled your installation. Just go to:

C:wampbin

There you will see 3 folders:

image

Open them one by one, for example, I opened the mysql folder:

image

You can delete the one that is highlighted. Because it’s the one that didn’t came with the default wampserver installation.

Do this for the php and apache versions and everything will be fine again. Just make sure to end the process for wampserver before trying to delete anything:

image

Click on the end process button to end the wampmanager.exe process.

How to install Drupal

In this guide I will show you how you can install Drupal on your localhost.

First, you need to download Drupal from their site:

http://drupal.org/

Extract the tar.gz file to your web accessible folder. Make sure you have the index.php on the root of the drupal folder.

image

Second, you need to make sure that Drupal is really compatible to run on your current web server. In this case, the apache Webserver which came with the installer of wampserver. Which you can download for free at:

http://www.wampserver.com/en/download.php

At the time of writing of this guide, I have:

    • php –version 5.3.0
    • mysql –version 5.1.36
    • apache –version 2.2.11

Be sure that your wampserver installation complies with the requirements of the Drupal Content Management System. Because it won’t really work properly if it doesn’t meet the requirements.

http://drupal.org/requirements

As a summary for the requirements:

    • MySQL 3.23.17 or higher. MySQL
    • PHP version 4.4.0 or higher for Drupal 5 and Drupal 6, PHP 5.2.5 or higher for Drupal 7
    • Apache 1.3 or Apache 2.x hosted on UNIX/Linux, OS X, or Windows.

The wampserver installer will do, so you won’t have to install other versions of php, mysql and apache to make this work.

Next thing that you need to do is to open it up on your browser by typing:

http://localhost/drupal 

or whatever name you gave to the folder. Just choose Standard and click on Save and continue

image

Select the default English. Then click save and continue.

image

Enter your database server credentials. The defaults would be:

username: root

password:

Before you put in a database name. You first need to create one. To do that, launch MySql Console from the Wampserver tray icon found at the bottom right corner of the screen.

image

Input these commands on the mysql console:

create database drupal_db

You can change the drupal_db to whatever you want, it doesn’t  really matter if you use another name.

image

You’re now ready to input the database name you have just created. This is where the installer is going to put the tables.

image

After you click on the save and continue, this is what it will look like. Just wait for it to finish. It won’t take long.

image

All you have to do now is to configure the site name and other settings

image

Scroll down a bit, and then set the options applicable to you. Then click save and continue.

image

After that, just click on visit your new site and the installer will bring you to the newly created drupal site of yours. Installed on localhost.

image

So you won’t really see this on google search results or on any search engine if you try to search it.

image

 

Conclusion

That’s how you install drupal. A nice and free content management system just like Joomla. I might make another tutorial like this on how to use Drupal so stay tuned. Thanks for readingSmile

How to maximize laptop battery lifespan

In this article I’m going to share to you some links which contains some tips on how to maximize your laptops battery lifespan

There you go. But if you would ask me what do I do to increase battery lifespan. My answer would be to full charge the battery and remove it from the laptop. Since on the time of writing of this article, I’m just at home blogging and reading articles from sixrevisions. And I’m just on one part of the house so I do not really need battery to use the laptop. That way I’m decreasing the cycle of recharge and discharge. And so the battery will last longer. I also use granola, intelligent power management software for Linux and Windows. I basically use it to cut-off the power consumption of the processor. This is what the interface looks like:

image

I always have it on lowest speed if I’m just doing some blogs and reading. But when I convert some videos from one format to another. Or doing some programs in visual studio. Or editing some photos in photoshop, then I have it on either ‘Miserware’ or ‘Highest Power’. I’m not really sure if its really effective, but still its worth a try.