Install LAMP (Linus Apache My SQL PHP ) in LINUX / UBUNTU TIPS

This is how wiki defines LAMP ...




                     LAMP is an acronym for a solution stack of free, open source software, referring to the first letters of Linux (operating system), Apache HTTP Server, MySQL (database software) and originally Perl (but now sometimes PHP or Python), principal components to build a viable general purpose web server.


1. At first  Login as root:
sudo su
2 Install MySQL 5
apt-get install mysql-server mysql-client


3.  Install Apache
apt-get install apache2
Now type "localhost" in web page ad you will lead to apache page



Default location is /var/www   - web-root by default
4.  Install PHP5
apt-get install php5 libapache2-mod-php5
Now restart PHP
/etc/init.d/apache2 restart



6.  To get support of My Sgl in php
apt-cache search php5
Also install the following bundles...
apt-get install php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl
Now restart Apache2:
/etc/init.d/apache2 restart
MAniac Coding now Starts...


Comments

Popular posts from this blog

How To Install LEX and YACC in Linux or Ubuntu

Lex Program To Check The Syntax of For Loop

Listing/Delisting of an article in to an Assortment in SAP SCM Retail