Apache, PHP, MySQL, PhpMyAdmin installations in Ubuntu
Update list of available packages: 
To install apache2 server:
To start apache server for testing:
To install PHP:
To install MySQL:
sudo apt-get install mysql-server
Set a password when prompted
To check installation, issue the command mysqladmin
To install phpmyadmin:
select apache when prompted for web-server configuration
when prompted for phpmyadmin configuration, select no
after installation, run the following command
sudo cp /etc/phpmyadmin/apache.conf /etc/apache2/conf.d
restart apache and goto localhost/phpmyadmin to test the installation
 
sudo apt-get update
To install apache2 server:
sudo apt-get install apache2 
To start apache server for testing:
sudo /etc/init.d/apache2 restart 
Go to http://localhost/ You should see a It Works! pageTo install PHP:
sudo apt-get install php5 
To install MySQL:
sudo apt-get install mysql-server
Set a password when prompted
To check installation, issue the command mysqladmin
To install phpmyadmin:
sudo apt-get install phpmyadmin
select apache when prompted for web-server configuration
when prompted for phpmyadmin configuration, select no
after installation, run the following command
sudo cp /etc/phpmyadmin/apache.conf /etc/apache2/conf.d
restart apache and goto localhost/phpmyadmin to test the installation
Comments
Post a Comment