UbuntuThis forum is for the discussion of Ubuntu Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
There's an automatic LAMP (Linux, Apache, MySQL, and PHP) installer for Ubuntu Server - I think. I can't seem to find any documentation on it. You might also check out The Perfect Setup for Ubuntu Server.
Another way is to use dependency checking in apt-get. If you just do a
apt-get install mysql-server phpmyadmin
You'll get mysql-server, and since phpmyadmin requires PHP on the Apache, it will install and configure it correctly. It will also install the libraries and the mysql module for PHP because its required too.
You wont get mysql-server that way, as it's not needed (it could be on another box), but you'll get the mysql module for apache. Just take a note of all the packages you get so you can remove what you dont think you'll need.
while your link is great (thanks), this one is wrong:
Also replace apt-get with aptitude as it will remove any dependancies.
Correct is that Aptitude is just a viewer upon APT, and actually, doesn't add functionality. - While Synaptic and Adept are graphical interfaces to APT, Aptitude is a text-(curses-)based interface to it. - APT itself is the pure command-line interface, that will care for dependencies as well.
i have installed as LAMP. But it still doesn't work. it prompts me to download the php files. But if i install phpmyadmin it works. i guess i have to make some adjustemnts to apache2.conf. what could those be?