mysql apache php

2006 December 12
by efrenefren

mysql
sudo apt-get install mysql-server
gksudo gedit /etc/mysql/my.cnf

#bind-address = 127.0.0.1

change password
mysqladmin -u root password your-new-password
mysqladmin -h root@local-machine-name -u root -p password your-new-password
sudo /etc/init.d/mysql restart

mysql admin
sudo apt-get install mysql-admin

apache2
sudo apt-get install apache2

php4
sudo apt-get install php4
sudo apt-get install libapache2-mod-php4
sudo /etc/init.d/apache2 restart

php5
sudo apt-get install php5
sudo apt-get install libapache2-mod-php5
sudo /etc/init.d/apache2 restart

mysql for apache
sudo apt-get install libapache2-mod-auth-mysql
sudo apt-get install php-mysql
sudo apt-get install phpmyadmin
gksudo gedit /etc/php/apache2/php.ini
uncomment extension=mysql.so
sudo /etc/init.d/apache2 restart

from: http://ubuntuguide.org/wiki/Ubuntu_Edgy

No comments yet

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS