mysql apache php
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
sudo apt-get install phpmyadmin
gksudo gedit /etc/php
uncomment extension=mysql.so
sudo /etc/init.d/apache2 restart
from: http://ubuntuguide.org/wiki/Ubuntu_Edgy
No comments:
Post a Comment