Hi guys,

Could someone help me out on how to install LAMP on Edubuntun Dapper Drake.

I've manage to find some tutorials but its pretty hard to understand, see, Im just a beginner on linux platform so I really need someones help to setup a LAMP server on my Edubuntu Machine.

If someone could provide me with the best example it would be much appreciated and also please provide me comments.

kind regards,

bps

Dani AI

Generated

A compact, beginner-friendly LAMP checklist for Edubuntu (Dapper Drake), tied to 's request and 's ask for a simple step-by-step. Note: Dapper is a very old release; security updates and regular repositories are no longer maintained. For any exposed or production use, a supported Ubuntu/Edubuntu release is strongly recommended.

Common commands (run on the Edubuntu machine):

sudo apt-get update

# install Apache and MySQL
sudo apt-get install apache2 mysql-server

# find the PHP package name available for this release, then install the Apache PHP module + MySQL bridge
apt-cache search php
sudo apt-get install libapache2-mod-php php-mysql

# restart Apache
sudo /etc/init.d/apache2 restart

# secure MySQL
sudo mysql_secure_installation

Quick test (creates a PHP info page served from the default document root /var/www):

echo '<?php phpinfo(); ?>' | sudo tee /var/www/index.php
# then point a browser to http://localhost

Troubleshooting & notes:

  • If packages cannot be found, the release repositories have likely moved to Ubuntu archive mirrors (older releases use http://old-releases.ubuntu.com/ubuntu/ in /etc/apt/sources.list). Update sources and run sudo apt-get update again.
  • If PHP code displays as plain text, the Apache PHP module is not enabled or Apache needs a restart. Check enabled modules with apache2ctl -M and review logs at /var/log/apache2/error.log and /var/log/mysql/.
  • Run sudo mysql_secure_installation to set a strong MySQL root password and remove test accounts. Keep site files owned by a non-root user and group www-data (example: sudo chown -R <user>:www-data /var/www).
  • For exposed servers, enable a firewall and avoid using an EOL release on production systems.

i not even sure if i did it right, a simple step by step would be great until i master this.

sorry wrong thread

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.