Archive for March, 2009

Clearing Apple Mail email cache

March 30th, 2009 by @HKw@! | No Comments | Filed in Mac OS X

In Apple mail, when we start to email the old email address. It will pops up even though the address not in address book. Can we clean this email address from computer. The answer is yes.

Below are the step:

  • in Mail go to Window menu->previous recipients. delete the unwanted emails from there and they won’t show up in the autofill anymore.
Share

Installing Apache, PHP, MySQL and phpMyAdmin on Ubuntu 8.10

March 27th, 2009 by @HKw@! | No Comments | Filed in Ubuntu

How to setup a web server on Ubuntu 8.10??
Now I’ll be showing how to install Apache, php, MySQL and phpMyAdmin (one by one) on Ubuntu 8.10 using Terminal.

Installing Apache2
Open terminal to type this command

sudo apt-get install apache2

When the setup is complete you can check if the Apache is working properly by pointing your browser to http://localhost. If you see the text “It works!”, it means Apache is working.

Installing php5
sudo apt-get install php5

When setup is complete, you have to restart Apache so that php5 will work on Apache.

sudo /etc/init.d/apache2 restart

Installing MySQL

sudo apt-get install mysql-server

Towards the end of the installation you will be prompted to set your root or admin password

Installing phpMyAdmin
phpMyAdmin is an interface for access mysql server. To install it, enter the following command from terminal

sudo apt-get install phpmyadmin

During the installation you will be asked to select the webserver that would be used to run phpMyAdmin. Select Apache2

Now you can go to the phpMyAdmin login page by pointing your browser to: http://localhost/phpmyadmin/index.php

Share

How to add user in a group on ubuntu

March 26th, 2009 by @HKw@! | No Comments | Filed in Ubuntu

To create group, user this command

# groupadd itdept

To add a new user called ken to group itdept

# useradd -G itdept ken

Setup password for ken

# passwd ken

To check whether user in a group or not

# id ken

Add existing user to a group

# usermod -a -G itdept ian

Share
BlogCatalog