- sudo apt-get install apache2
- sudo apt-get install mysql-server
- sudo apt-get install php5-mysql
- sudo /etc/init.d/apache2
- gksudo gedit /etc/apache2/httpd.conf
insert this line(without the quotes) : "ServerName localhost" - sudo apt-get install phpmyadmin
- If you do not specify password for your mysql installation, you need to modify the phpmyadmin config file. open gedit and edit the phpmyadmin configuration file "/etc/phpmyadmin/config.inc.php" and uncomment those line similar to this one :
$cfg['Servers'][$i]['AllowNoPassword'] = TRUE;
open firefox and type this address : http://localhost/phpmyadmin
Well done and congratulation, you basic server (local) configuration is ready! ;)
basic information :
your local website storage located in "/var/www" if you would like to configure for other location, you should do it within the apache virtual hosts.. and that's another topics i will try to cover next time..
Tidak ada komentar:
Posting Komentar