How to install LAMP and PhpMyadmin on LinuxMint 7 Gloria
LAMP (Linux, Apache, MySQL and PHP) is an open source Web development platform that uses Linux as operating system, Apache as the Web server, MySQL as the relational database management system and PHP as the object-oriented scripting language.
In this Simple tutorial we will explain you how to install LAMP server on your LinuxMint7 Gloria
The installation will be done in 3 steps:
Apache, PHP and MySQL, after that we will install phpmyadmin the administration software tool for MySql.
1- Apache2 installation
sudo apt-get install apache2
to check that Apache has been installed without problems, go to your browser and type
if everything is correct you will see the message :
Now we will go and try to install PHP5
2- PHP5 and dependencies installation:
sudo apt-get install php5 libapache2-mod-php5
A restart of apache2 is needed to make this one see PHP5, to restart apache2 use the command:
sudo /etc/init.d/apache2 restart
3- MySql Installation :
To install MySql type the command
sudo apt-get install mysql-server
During the installation you will got this screen (package configuration) to set root password for MySql, enter your password and retype it
if you diden`t got the screen to setup root password for mysql then you have to do it manually, to setup root password for mysql :
mysql -u root
mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('YOURPASSWORD');
Don`t forget to change YOURPASSWORD with the password you want to use The basic installation of LAMP is ready. Now we will install phpmyadmin,
phpMyAdmin is a free graphical software tool to handle the administration of MySQL, this will make it easy for you to create, import/export and delete
databases. Install phpmyadmin using the command:
sudo apt-get install phpmyadmin
During the installation a blue screen will appear asking you which server you want to use apache, apache2 …. choose then apache2 and click ok
Then you will be asked to set a password for your phpmyadmin
Type the password and retype it
Now is done, Point your browser to: http://domain/phpmyadmin you will got this screen
if you diden`t receive any screen of psckage configuration during the installation of phpmyadmin then you will have
To set up phpmyadmin under Apache manually, all you need to do is include the following line in /etc/apache2/apache2.conf, first type the following command to open up this file:
sudo gedit /etc/apache2/apache2.conf
Add the following line of code inside apache2.conf:
Now restart Apache:
sudo /etc/init.d/apache2 restart
and is done, now Point your browser to: http://domain/phpmyadmin (see pic above)
If you have any problem please report it .Thanks.
Like us on Facebook
This week Top Posts
- Top Things To Do After Installing Ubuntu 13.10 'Saucy Salamander' : Ubuntu 13.10 Saucy Salamander will be released on coming October 17th with many new salient featur...0 comments |
- OpenLDAP Installation and Configuration in Ubuntu 12.10/13.04/13.10 And Debian 6/7 : OpenLDAP is a free open source Light Weight Directory Access protocol developed by the OpenLDAP proj...0 comments |
- Configure Your Browser To Use Tor On Ubuntu/Debian/Linux Mint : Tor, The Onion Router, is a network of Virtual Tunnels that allows users to communicate securely and...1 comment |
- How To Upgrade From Ubuntu 13.04 Raring To Ubuntu 13.10 Saucy Salamander : Ubuntu 13.10 Saucy will be released on October 17th. Hope it will come with lot of improvements and ...0 comments |
- Install lamp with 1 command in Ubuntu 12.10, 13.04 Raring Ringtail & LinuxMint13 : Updated: 10/09/2012 :LAMP (Linux, Apache, MySQL and PHP) is an open source Web development platform ...0 comments |
- Twelve Vulnerabilities Have Been Fixed In Ubuntu 12.04, Time To Update : Canonical has released security updates for Ubuntu 12.04 LTS and advices to update your system as so...0 comments |
- TeamViewer 9 Final Has Been Released!
- Twelve Vulnerabilities Have Been Fixed In Ubuntu 12.04, Time To Update
- OpenLDAP Installation and Configuration in Ubuntu 12.10/13.04/13.10 And Debian 6/7
- Configure Your Browser To Use Tor On Ubuntu/Debian/Linux Mint
- Setup A Full Featured ITIL Management System Using Integria IMS On CentOS 6
- Install LibreOffice 4.1.3 in Elementary OS ‘Luna’
- How To Install Simple Scan in Crunchbang ‘Waldorf’
- Selene Media Encoder: Convert Audio, Video Files To Most Popular Formats
- Linux Kernel 3.12.2 Is Available For Download! Install / Upgrade Instructions
- CentOS 6.5 Has Been Officially Released!
This work by unixmen.com is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Copyright © 2008-2013 Unixmen.com .