Tuesday, 5 June 2012
On 06:16 by Unknown No comments
How-to Install LAMP Server[Apache, MySQL, Php] On Ubuntu 10.10
14
Linux LAMP servers are also popular, flexible and reliable as WAMP server. The installation of both servers are very easy and differ from each other. LAMP means Linux Apache Mysql Php, and WAMP is for Windows. WAMP server installs automatically(installer),you are able to use server without touching setting files. While LAMP server installs with commands. Here, I am going to show how to install LAMP server through Terminal on Ubuntu.
LAMP Installation:
To install LAMP server, open up a Terminal window(Ctrl+Alt+t), and type the following commands.
All commands have written in italic words and remember Terminal commands are case sensitive!!
To install Apache:
sudo apt-get install apache2
Now to confirm the installation of Apache2 open http://127.0.0.1 in your web browser, you will see It Works! default page of Apache.
To install Mysql:
sudo apt-get install mysql-server
At the installation you be will asked to provide a root password for Mysql.
To install php:
sudo apt-get install php5 libapache2-mod-php5
After this installation restart Apache [sudo /etc /init.d/apache2 restart] don’t write brackets.
Now make a phpinfo.php file and save that in /var/www to do this use [sudo gedit /var/www/phpinfo.php] write a code in this file
Now open http://127.0.0.1/phpinfo.php
To install phpmyadmin:
sudo apt-get install phpmyadmin
Two option window will open in installation one for web server reconfigure automatically[select apache2] and second for configure database for phpmyadmin with dbconfig-common [select No].
lamp-server-installation-ubuntu-10.10
You will need to copy the apache.conf to /etc/apache2/conf.d/ from /etc/phpmyadmin/ or the page will return a 404 error. To copy Run-
sudo cp /etc/phpmyadmin/apache.conf /etc/apache2/conf.d
Now you have to restart your apache server
sudo /etc/init.d/apache2 restart
Now open http://127.0.0.1/phpmyadmin
Package: libapache2-mod-php5
This package provides the PHP5 module for the Apache 2 webserver (as found in the apache2-mpm-prefork package). Please note that this package ONLY works with Apache's prefork MPM, as it is not compiled thread-safe. The following extensions are built in: bcmath bz2 calendar Core ctype date dba dom ereg exif fileinfo filter ftp gettext hash iconv json libxml mbstring mhash openssl pcre Phar posix Reflection session shmop SimpleXML soap sockets SPL standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter zip zlib.source
Package: libapache2-mod-php5
This package provides the PHP5 module for the Apache 2 webserver (as found in the apache2-mpm-prefork package). Please note that this package ONLY works with Apache's prefork MPM, as it is not compiled thread-safe. The following extensions are built in: bcmath bz2 calendar Core ctype date dba dom ereg exif fileinfo filter ftp gettext hash iconv json libxml mbstring mhash openssl pcre Phar posix Reflection session shmop SimpleXML soap sockets SPL standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter zip zlib.source
Subscribe to:
Post Comments (Atom)
Search
Popular Posts
-
(CNN) -- It's a truth of the modern digital age: If you're using a Web service for free, you're not the customer. You're ...
-
Rich text editors(RTE) can really save you a lot of work that is for those who do not like going the cms way.The cms comes comes with a RTE....
-
Install unrar Note:The commands work only with a full path to the archive directory. sudo apt-get install unrar Using unrar to extract t...
-
right click on the project >properties>run>then change console type to standard output
-
check the file permissions of the file. This means the file has only read/execute permissions for the owner. To fix this:you have to chan...
-
Client sided solution This error can simply be an issue with cookies in your web browser, so either delete all stored cookies or selecti...
-
An older version of java was copied into the home directory under .swt. By Creating a symbolic link to /usr/lib/jni/libswt I was able to sol...
-
FileZilla is open source client fast and reliable cross-platform FTPS, FTP, and SFTP also with lots of useful features and with graphical u...
-
First,you need to creat the file using gedit, Then open terminal, Then change directory to to the file location, Then type g++ <filena...
-
1.Install build-essential package apt-get install build-essential 2.Install g++ if not already installed apt-get install g++ 3.You can now c...
Recent Posts
Sample Text
Blog Archive
-
▼
2012
(37)
-
▼
June
(10)
- Installing filezilla on linux
- Netbeans 7.1.2 refuses to include php plugin after...
- Installing a .sh file on ubuntu
- Searching for a grid?
- Installing some Microsoft Office fonts on ubuntu
- Enabling connecting to the Iinternet using a modem...
- Use a javascript confirm box to ask the user if th...
- INSTALLING MYSQL
- SETTING UP PHPMYADMIN
- LAMP
-
▼
June
(10)
Sample Text
Powered by Blogger.
Social Icons
Followers
About Me
Featured Posts
Popular Posts
-
(CNN) -- It's a truth of the modern digital age: If you're using a Web service for free, you're not the customer. You're ...
-
Rich text editors(RTE) can really save you a lot of work that is for those who do not like going the cms way.The cms comes comes with a RTE....
-
Install unrar Note:The commands work only with a full path to the archive directory. sudo apt-get install unrar Using unrar to extract t...
-
right click on the project >properties>run>then change console type to standard output
-
check the file permissions of the file. This means the file has only read/execute permissions for the owner. To fix this:you have to chan...
-
Client sided solution This error can simply be an issue with cookies in your web browser, so either delete all stored cookies or selecti...
-
An older version of java was copied into the home directory under .swt. By Creating a symbolic link to /usr/lib/jni/libswt I was able to sol...
-
FileZilla is open source client fast and reliable cross-platform FTPS, FTP, and SFTP also with lots of useful features and with graphical u...
-
First,you need to creat the file using gedit, Then open terminal, Then change directory to to the file location, Then type g++ <filena...
-
1.Install build-essential package apt-get install build-essential 2.Install g++ if not already installed apt-get install g++ 3.You can now c...
0 comments:
Post a Comment