Saturday, June 26, 2010

Installing Apache Mysql and PHP on Ubuntu

Installing

Apache :
Enter this command in terminal (application --- accessories-- terminal or ctl+alt+t)

$ sudo apt-get install apache2



once you done open the browser and type http://localhost you will get message like it works.


PHP:

sudo apt-get install php5 libapache2-mod-php5



Mysql:

sudo apt-get install mysql-server

This are the 3 simple steps to install LAMP (Linux,Apache,Mysql, PHP)
Once you done with it open terminal and set some password to your Mysql

by typing this command. open terminal

Once you done with these steps if you to check whether PHP is work or not
type http://localhost in your browser. you will get It works Message

for Mysql type

mysql -u root -p in the terminal then it asks for your password
enter your password. that its


for more details please go through this link http://www.howtoforge.com/ubuntu_lamp_for_newbies

UNABLE TO RESTART APACHE SERVER ON LINUX UBUNTU


apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
 

When I am working apache. just i want to check whether how start,stop and restart server works. unfortunately when i stop and tried to restart it i couldn't. The solution is...

To fix this problem in Ubuntu follow this steps.


 1. sudo /etc/init.d/apache2 restart
to fix this problem you need to modify httpd.conf file 
2. sudo gedit /etc/apache2/httpd.conf


This file would be empty just you need to type 


ServerName localhost


save and exit the gedit. 


finally type this command in your terminal 


3. sudo /etc/init.d/apache2 restart


I hope your problem is fixed. if you find any better 
solution or other solution please let me know 

Break Your Heart ....Taio Cruz

Friday, June 25, 2010

You belong with me by Taylor Swift

Love Story ... Taylor Swift

Unity leads Everywhere

The secret won't be a secret if

it is knowven by two

Love won't be a true love if

the hearts are two

Friendship won't be the best if

the souls are two

A country won't be the Emperor of world if

the people are two.


by

vIjAy duTt

Miss you

You were on my mind when i woke up this morning
remembering your smile
i guess the next time i'll see your face
will take a little while
i was remembering your arms which are very little
but I love the way they help others
with you by my side
i completely feel no harm
i was remembering your voice
makes my heart skip a beat
but without you baby
my whole body's weak
i was remembering our times
the good and the bad
the funny times when you cheered me up
and especially the sad
remembering your eyes
how they always meet mine
remembering all the little things you do
to make my life worthwhile
I was wondering when we'll be together
just us two
I guess i'm missing you more than i usually do

Thursday, June 24, 2010

English Grammar Test 1

1) Would you like .......... jam on your bread?
A) a B) some C) few D) little
................

English vocabulary Test 1

Theory: set of reasoned ideas intended to explain facts or events
Significant: important in effect or meaning
ex: significant change in tax laws.
Involve: to include as a necessary circumstance, condition or consequence
Ex: This decision involves many changes.
Context: writings preceding and following passage quoted.
Ex: have misinterpreted my remark because you took it out of context.
Analyse: Separate into its parts in order to study its nature or structure.