A simple guide to easily setup your LAMP server
sudo apt-get install apache2
test your apache http://localhost
sudo apt-get install php5 libapache2-mod-php5
sudo /etc/init.d/apache2 restart
sudo gedit /var/www/testphp.php
<?php phpinfo(); ?>
http://localhost/testphp.php
Install MySQL
sudo apt-get install mysql-server
mysql -u root
mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('yourpassword');
No comments:
Post a Comment
If you have any suggestion or clarification you send it via on this form.