Skip to main content

Posts

Showing posts from April, 2009

How to install AMP (Apache, PHP and MySQL)in centos

I just learn to setup AMP on centos. Below are the steps Download a copy of CentOS Linux and install it Once your CentOS is installed. type yum install httpd to install apache web server type yum install php to install PHP Once PHP installed successfully, type yum install mysql-server mysql Once everything finish, type service httpd start to start your apache web server, screen will show you if web server service successfully started type service mysqld sta rt to start your mysql server Once both services is running, you can point your browser to http://localhost and you should see a welcome page from CentOS To test php is running properly, go to /var/www/html and create an index.php file with the content below

Windows XP could not start because the following file is missing or corrupt: \WINDOWS\SYSTEM32\CONFIG\SYSTEM

I believed your might see this error message (Windows XP could not start because the following file is missing or corrupt: \WINDOWS\SYSTEM32\ CONFIG\SYSTEM) before. This error occured because of corruption in the registry. Below are the steps to recover a corrupted registry. Solution 1: Insert the Windows XP startup disk into the floppy disk drive, or insert the Windows XP CD-ROM into the CD-ROM drive, and then restart the computer. When the "Welcome to Setup" screen appears, press R to start the Recovery Console. If you have a dual-boot or multiple-boot computer, select the installation that you want to access from the Recovery Console. When you are prompted to do so, type the Administrator password. If the administrator password is blank, just press ENTER. At the Recovery Console command prompt, type the following lines, pressing ENTER after you type each line: make backups of the following files:- c:\windows\system32\config\system (to c:\windows\tmp\system.bak)c:\windows\...

What is Chkdsk in Windows XP

In Windows XP, there is 1 powerful command-line tool called chkdsk (chkdsk.exe). It use to checks volumes for problems and will repair the problems related to bad sectors, lost clusters, cross-linked files, and directory errors. System crashes or freezes, power glitches, incorrectly turning off a computer can all cause corruption in the file or folder structure. Physically bumping or jarring a computer can cause the head that reads disks to hit the surface and damage sectors. Once some sort of error occurs it can propagate to create more errors so a regularly scheduled disk checkup is part of good system maintenance. Note: To use Chkdsk, you must log on as an administrator or as a member of the Administrators group

How to Add and Delete User with Command line on Windows XP

In Windows Environment, we can simple add a new user account by go to Control Panel->User Account to add a new user account. But this can be done via Command Line. Here are the steps: go to Start->Run->type in cmd To add a user to your computer , type in "net user username password /add " EXAMPLE: net user kakaka 12345 /add To delete a user on your computer , go to start>run>type in cmd . A black screen will appear. Type in "net user username /del". EXAMPLE: net user kakaka /del . Once the user account successfully delete, an message "The command completed successfully" will be display.

How to Relaunch Finder on Mac

Why we need to relaunch Finder? We need to relaunch Finder when our Mac Computer freezes. Below are the steps to show how to relaunch Finder. Using Keyboard Press Command + Option + esc. This will open "Force Quit". Navigate to and choose "Finder". Click Relaunch. In a few seconds, the dock/icons/apple menu will disappear. It will then quickly reappear and reload everything. Using Mouse Go to the Apple Menu. That is the Apple image on the top left. Go to "Force Quit". Choose "Finder" and click relaunch.

Windows XP Reboot Loop: Help!

I think most of yours might experience as your windows pc continually reboots. It did not start sucessfully..." screen then goes to the Windows XP splash screen and reboot. It keeps on repeating this process. How to solve this problem: Press F8 at bootup and select "Last Known Good Configuration" then Enter . If this doesn't work, then you might try system file checker. Go to the safe mode command prompt and type sfc /scannow . Note: space between c and / You may be asked for the Windows CD, if asked insert it. Another solution: Perform disk error checking in Windows XP Boot from Windows CD At the Windows Setup screen, press R to enter the Recovery Console. You will enter the Recovery Console and be asked to choose which Windows installation you would like to log into. Most users will only have one choice. You will be prompted to enter the administrator password. This is the password set for the user Administrator. You may have set this password when you first we...

Amarok Music Player

Amarok is a powerful music player for Linux and Unix, MacOS X and Windows with an intuitive interface. I know about these from 1 of my friends. I did try to install Amarok to my ubuntu. It work and easy to use. Here are the steps to install: Open terminal type sudo apt-get install amarok For Windows and Mac OS user, can go to Amarok official web side download the installation file to install it.

How to Create a Signature in Thunderbird Email

Step 1 Open your Thunderbird software. Click on “Tools”. This will open a list of options. Step 2 Scroll down the list and click on “Account Settings.” This will open a dialogue box that displays the default identity. If this is not the email account you wish to work with, scroll through the list on the left-hand side to locate it. Click on the appropriate email account. Step 3 In the identity display, there is a check box with an “Attach this signature” with location box and “Choose” button below it. Step 4 Use the “Choose” button to locate your signature file. Once you locate the file, select it, and click “OK”. Step 5 Verify that the correct file and location has been input into the address bar. If it has not, search and select again. Once the correct file and location is in the location bar, click “OK” on the identity display. Step 6 Use the “Write” option to open up a new email. Your signature should be displayed on it. It will not display as an attachmen...

How to Use the vi Editor

Starting vi and Saving Files vi filename - start editing filename , create it if necessary Saving the file you're working on and/or leaving vi: :wq - write the file to disk and quit :q! - quit without saving any changes :w! newfile - write all lines from the entire current file into the file 'newfile' , overwriting any existing newfile : n,m w! newfile - write the lines from n to m , inclusive, into the file newfile , overwriting any existing newfile