How to install APACHE, MYSQL, PHP, and phpMyAdmin after installing Debian
Ok so you have just installed Debian for the first time and now want to do something useful with this new Linux box. How about we set up a web server that has php and mysql support. Then we will install phpMyAdmin to make it easier to manage the databases. If you have no idea how to install Debian, see the post, How to get started with Debian before attempting this part.
Lets log on to the Debian box as root.
apt-get upgrade update
apt-get install apache
apt-get install phpmyadmin
apt-get install mysql-server
Don’t forget to change the root passwords for this stuff. To test it get the ip address of your Debian box using the
ifconfig
Then go to a web browser on another computer hooked up to your network and type in the IP address of your server into the address line of internet explorer.
You should be able to type
http://192.168.0.[x]
you now have a fully functioning web server with php. You can now start editing the code by
cd /var/www
ls
Have fun!

Recent comments
37 weeks 6 days ago
48 weeks 20 hours ago
48 weeks 20 hours ago
1 year 1 week ago
1 year 7 weeks ago
1 year 9 weeks ago
1 year 22 weeks ago
1 year 22 weeks ago
1 year 22 weeks ago
1 year 37 weeks ago