Sunday, March 14, 2010

Installing LAMP in ubuntu



This guide is divided into 3 steps: installing/tesing Apache, PHP and finally MySQL.

Lets start with Apache:
1. Open the terminal (we will be using it through most of my guide) from Applications > Accessories > Terminal
2. Install apache2 using apt-get by typing the following



sudo apt-get install apache2
Note that you should know the root password.
Now everything should be downloaded and installed automatically.
To start/stop apache2 write:

sudo /etc/init.d/apache2 start
sudo /etc/init.d/apache2 stop
Your www folder should be in: /var/www/

If everything is OK you should see an ordinary HTML page when you type: http://localhost in your firefox browser

Finished with Apache ? lets conquer PHP:
1. Also in terminal write:

sudo apt-get install php5 libapache2-mod-php5
or any php version you like
2. restart apache

sudo /etc/init.d/apache2 restart
This is it for PHP :D
Wanna test it ? Just create an ordinary PHP page in /var/www/ and run it.
Example:

sudo gedit /var/www/test.php
and write in it: < ?php echo “Hello World”; ?>

Now run it by typing http://localhost/test.php in firefox… You should see your ” Hello World ”
66 % is over, lets continue to installing MySQL:
1. Again and again in terminal execute:

sudo apt-get install mysql-server
2. (optional) If you are running a server you should probably bind your address by editing bind-address in /etc/mysql/my.cnf and replacing its value (127.0.0.1) by your IP address

3. set your root password (although mysql should ask you about that when installing)

mysql> SET PASSWORD FOR ‘root’@'localhost’ = PASSWORD(‘xxxxxx’);
4. Try running it

mysql -uroot -pxxx
where xxx is your password.
Note: You can install PHPMyAdmin for a graphical user interface of MySQL by executing

sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin
5. restart apache for the last time

sudo /etc/init.d/apache2 restart
Congratulions your LAMP system is installed and running :D
Happy Coding

UPDATE:
Installing/running phpmyadmin.
Do the following:

sudo apt-get install phpmyadmin
The phpmyadmin configuration file will be installed in: /etc/phpmyadmin
Now you will have to edit the apache config file by typing

sudo vi /etc/apache2/apache2.conf
and include the following line:

Include /etc/phpmyadmin/apache.conf
Restart Apache

sudo /etc/init.d/apache2 restart
Another issue was making mysql run with php5
First install these packages:

sudo apt-get install php5-mysql mysql-client
then edit php.ini and add to it this line : ” extensions=mysql.so” if it isnt already there

sudo vi /etc/php5/apache2/php.ini
Restart Apache

sudo /etc/init.d/apache2 restart
Hope this helps :)




Suggestion by Vignesh on 9th July:


Download xampp from this site. The installation is much simpler. This installs PHP, MySQL, Apache , even Perl. This runs on any OS. To be more professional way try with Zend Servers.



Earth Hour in Coimbatore

Nature of KCT, first time ever in Coimbatore taken an initiative for Earth Hour.
Earth Hour this year is on March 27th, 8.30 to 9.30. As Students power is the one of the strongest power. KCT in association with other colleges and few NGO's and City Corporation and Cognizant will make Earth hour in Cbe Possible.

In Association with event, Nature Club of KCT has arranged for a pre-Earth Hour meet on 20th of March in Corporation Kalai Arangam, near R.S. Puram Post Office from 3.15 pm to 4.30 pm. Press Meet also been arranged. Please do show your Support.

[ Switch off your lights from 8.30 to 9.30 pm on March 27th ]

Tuesday, January 26, 2010

My Favourites by MSV, Raja and AR - Part 5

Punnagi Mannan Being the limelight of Kamal Hasaan. Even during the Tribute to Kamal(Kamal Iimbadhu), only the Theme song of Punnagi Mannan was played, thats the place for the movie in his life.

aedhaedhoa eNNam valarththaen
un kaiyil ennaik koduththaen
needhaanae punnagai mannan
un raani naanae
paNNpaadum paadagan neeyae
un raagam naanae

aedhaedhoa eNNam valarththaen
un kaiyil ennaik koduththaen
needhaanae punnagai mannan un raani naanae
paNNpaadum paadagan neeyae un raagam naanae


sila kaalamaay naanum sirai vaazhgiraen
unaip paarppadhaal thaanae uyir vaazhgiraen
thookkam vizhikkiraen pookkal valarkkiraen
sila pookkal thaanae malarginradhu
pala pookkal aenoa udhirginradhu
kadhai enna kooru poovum naanum vaeru

aedhaedhoa eNNam valarththaen
un kaiyil ennaik koduththaen
needhaanae punnagai mannan un raani naanae
paNpaadum paadagan neeyae un raagam naanae

kuladheyvamae endhan kurai theerkkavaa
kai neettinaen ennaik karai saerkkavaa
neeyae anaikka vaa theeyai anaikka vaa
nee paarkkumboadhu paniyaagiraen
un maarbil saayndhu kulir kaaigiraen
edhu vandha poadhum indha anbu poadhum


aedhaedhoa eNNam valarththaen
un kaiyil ennaik koduththaen
needhaanae punnagai mannan
un raani naanae
panpaadum paadagan neeyae
un raagam naanae

---------------------------------------------------------------------------------------------------------

Tuesday, December 15, 2009

Myself as a Priest (Dream Job) !

Yopam puspam veda
Puspavan prajavan pasuvan bhavati
Candramava Apam puspam
Puspavan, Prajavan pasuman bhavati
Ya Evam Veda 
Yopa mayatanam Veda
Ayatanam bhavati. 

He who understands the flowers of water,
He becomes the possessor of flowers, children and cattle.
Moon is the flower of the water,
He who understands this fact,
He becomes the possessor of flowers, children and cattle.
He who knows the source of water,
Becomes established in himself,

Agnirva Apamayatanam
Ayatanavan Bhavati
Yo agnerayatanam Veda
Ayatanavan bhavati
Apovagner ayatanam
Ayatanavan bhavati
Ya Evam Veda 
Yopa mayatanam Veda
Ayatanavan bhavati
Fire is the source of water,
He who knows this,
Becomes established in himself,
Water is the source of fire,
He who knows this,
Becomes established in himself.
He who knows the source of water,
Becomes established in himself,
     Vayurva Apamaya tanam
     Ayatanavan bhavati.
     Yova Yorayatanam Veda
     Ayatanavan bhavati|
     Apovai va yorayatanam
     Ayatanavan bhavati.
     Ya Evam veda 
Yopamayatanam Veda
Ayatanavan Bhavati 
Air is the source of water,
He who knows this,
Becomes established in himself,
Water is the source of air,
He who knows this,
Becomes established in himself.
He who knows the source of water,
Becomes established in himself,

Asowvai tapanna pamayatanam
Ayatanavan bhavati
Yo musya tapata Ayatanan Veda
Ayatanavan bhavati
Apova Amusyatapata Ayatanam
Ayatanavan bhavati
Ya Evam Veda 
Yopa mayatanam Veda
Ayatanavan bhavati
Scorching sun is the source of water,
He who knows this,
Becomes established in himself,
Water is the source of scorching sun,
He who knows this,
Becomes established in himself.
He who knows the source of water,
Becomes established in himself,
     Candrama Vama pamayatnam
     Ayatanavan bhavati.
     Yascandra masa Ayatanam Veda
     Ayatanavan bhavati
     Apovai Candra masa Ayatanam
     Ayatanavan bhavati
     Ya Evam Veda
Yo pamayatanam veda
Ayatanavan bhavati
Moon is the source of water,
He who knows this,
Becomes established in himself,
Water is the source of moon,
He who knows this,
Becomes established in himself.
He who knows the source of water,
Becomes established in himself,
     Nakshtrani va Apamayatanam
     Ayatanavan bhavati
     Yo Nakshtrana mayatanam Veda
     Ayatanavan bhavati
     Apovai Nakshtrana mayatanam
     Ayatanavan bhavati
     Ye evam Veda 
Yopamaya tanam Veda
Ayatanavan bhavati 
Stars are the source of water,
He who knows this,
Becomes established in himself,
Water is the source of stars,
He who knows this,
Becomes established in himself.
He who knows the source of water,
Becomes established in himself,
     Parjanyova apamayatanam
     Ayatanavan bhavati
     Yah parjanyasya syayatinam Veda
     Ayatanavan bhavati
     Apovai parjanya Syayatanam
     Ayatanavan bhavati
     Ye Evam veda 
Yopa maya tanam Veda
Ayatanavan bhavati 
Clouds are the source of water,
He who knows this,
Becomes established in himself,
Water is the source of clouds,
He who knows this,
Becomes established in himself.
He who knows the source of water,
Becomes established in himself,

Samvastaro Va Apamayatanam
Ayatavan bhavati
Yassavatsa rasyaya tanam Veda
Ayatavan bhavati.
Apovai samvasara ayatanam
Ayatanavan bhavati
Ya Evam veda 
Yopsu Navam pratistitam veda
Pratyeva tistati
Rainy season is the source of water,
He who knows this,
Becomes established in himself,
Water is the source of rainy season,
He who knows this,
Becomes established in himself.
He who knows that there is a raft is available,
Becomes established in that raft.
Om thad Brahma, Om it is Brahma
Om Thad Vayu. Om it is air
Om Thad Athma Om it is the soul
Om Thad Sathyam Om it is the truth
Om That Sarvam Om it is everything
Om That puror nama Om salutations to that Purusha
Anthascharathi bhootheshu Guhyam Viswa Murthishu
That which is inside all beings secretly is that Universal God
Thvam Yajna You are the fire sacrifice,
Thwam vashatkara You are the the personification of Vedic sacrifice
Thwam Indra You are the Indra
Thvam vayu You are the air
Thvam Rudra You are the Rudra
Vishnus thvam You are the Vishnu
Brahmasthvam You are the Brahma
Thvam prajaipathi You are the Lord of all beings
Om Thadhapa apo jyothi raso amrutham brahma bhur bhuvasuvarom
Om water is light, the essence is the nectar and the concept of Brahma is in all the seven worlds.
    Rajadhi rajaya Prasahya Sahine|
    Namo Vayam Vai Sravanaya Kurmahe
    Samekaman Kama Kamaya mahyam
    Kamesvaro Vai Sravano dadatu
    Kuberaya Vai Sravanaya
    Maha rajaya Namah.
(This last stanza is normally recited by priests while giving back prasada after performing an Archana in all temples)

King of kings , we praise thee,
Who is the giver of all victories,
Who is the fulfiller of all desires,
Please bless me with wealth,
To fulfill all our desires,
Oh, Kubhera*, we praise thee,
Salutations to the king of kings.
* Kubhera is the Lord of wealth.

Wednesday, November 11, 2009

My Favourites by MSV, Raja and AR - Part 4

Kamal Haasan and Sridevi famous number from Vazhve Mayam.

vandhanam en vandhanam - nee
manmadhan oadhidum mandhiram
punnagai sundharam poomugam ponniram
unnidam ullamae arppanam

(vandhanam)

oru raaththiri oru kaadhali vilaiyaadaththaan koabamaa
oru sooriyan pala thaamarai oravaadinaal paavamaa
manam oru vandinam dhinam oru pennidam
en vaanam thannil nooru vennilaa
andha nooril onru indha pennilaa
sorry!

(vandhanam)

paadhangalil salangaigalin naadhangalaik kaetkiraen
pooppandhalaa ponnoonjalaa puriyaamal naan paarkkiraen
pazhaiya paal puliththadhu puthiya thaen iniththadhu
ilam thenral veesum thanga maaligai
idhil thangip poaga enna vaadagai

EXTREMELY SORRY!

(vandhanam)

---------------------------------------------------------------------------------------------------

The following two songs is from Varumaiyin Niram Sivapu( The color of Poverty is Red) starring Kamal and Sri Devi ,directed by KB with music composed by MSV. These are from Bharthiyar Kavithaikal...
theerththak karaiyinilae therku moolaiyil shenbagath thoattaththilae
paarththirundhaal varuvaen vennilaavilae paanigiyoadenru sonnaay
vaarththai thavarivittaay adi kannammaa maarbu thudikkudhadi
paarththa idaththilellaam unnaip poalavae paavai theriyudhadi
paavai theriyudhadi

(theerththak)

maeni kodhikkudhadi thalai sutriyae vaedhanai seygudhadi
vaanin idaththaiyellaam indha vennilaa vandhu thazhuvudhu paar
moanaththirukkudhadi indha vaiyagam moozhgith thuyilinilae
naanoruvan mattilum pirivenbadhoar naragath thuzhaluvadhoa (2)

(theerththak)
 
-----------------------------------------------------------------------------------------------------
nalladhoar veenai seydhae - adhai
nalangedap puzhudhiyil erivadhundoa

(nalladhoar)

solladi sivasakthi - enaich
chudarmigum arivudan padaiththuvittaay
vallamai thaaraayoa - indha
maanilam payanura vaazhvadharkae
solladi sivasakthi - nilach
chumaiyena vaazhndhidap puriguvaiyoa

(nalladhoar)

visaiyurup pandhinaip poal - ullam
vaendiyapadi seyyum udal kaettaen
nasaiyaru manam kaettaen - niththam
navamenach chudar tharum uyir kaettaen...uyir kaettaen...uyir kaettaen
thasaiyinaith theechchudinum - siva
sakthiyaip paadum nallagam kaettaen
asaivuru madhi kaettaen - ivai
arulvadhil unakkedhum thadaiyuladhoa (2)

------------------------------------------------------------------------------------------
I love the lyrics and the humming by janaki amma. Wow ...

thanananaana thanananaana thanananaana thaananana thaanaana
sippiyirukkudhu muththumirukkudhu thirandhu paarkka naeram illadi raajaaththi
thanananaana thanananaana thanananaana thaananana thannaana
sindhaiyirukkudhu sandhamirukkudhu kavidhaipaada naeramilladi raajaaththi

thanaanaa...sandhangal...thanaanaa...neeyaanaal
... risari...sangeedham...laalaalaa...naanaavaen
... sandhangal neeyaanaal sangeedham naanaavaen

(sippiyirukkudhu)

thanana thana...sirikkum sorggam...
thananana thanana thana...thangaththattu enakku mattum
thana thana thana...thaevai paavai paarvai
thanana thana...ninaikka vaiththu...
thananana thanana thana...nenjil ninru nerungi vandhu
thanana thananana thanana thanana thanana
mayakkam thandhadhu yaar thamizhoa amudhoa kaviyoa

(sippiyirukkudhu)

thanana thanana thana
mazhaiyum veyilum enna
thananana thanana thanana thana
unnaikkandaal malarum mullum enna
thanananana thanananana thana
radhiyum naadum azhagilaadum kangal
thanana thanana thana thananana thanana thanana thana
kavidhai ulagam kenjum unnaikkandaal kavinjar idhayam kenjum
thanana nananana thanana thanana thanana
koduththa sandhangalil en manadhai neeyariya naanuraiththaen

(sippiyirukkudhu)

sippiyirukkudhu muththumirukkudhu
thirandhu paarkka naeram vandhadhu ippoadhu
sindhaiyirukkudhu sandhamirukkudhu
kavidhai paadik kalandhiruppadhu eppoadhu

(sippiyirukkudhu)