Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am working on a small, self-hosted project and I need to have LAMP, FTP, and phpMyAdmin installed. It needs to be set up so it is safe to have running live on the web.

Is it best to yum install ** everything, or is there a better way to have everything integrated?


share|improve this question
I'd favour yum for the core components (apache, mysql, php, ftp), but do phpMyAdmin manually (the version on most repositories are outdated, and you will want to keep that one up to date - definitely limit access to phpMyAdmin - a different port, an additional password (e.g. htpasswd), etc. as it isn't known for its security). (You could try something like XAMPP for the integrated solution, but I would not recommend it for a production setup). You may consider following some of the 'Perfect Server' guides on as they provide a good starting point for a secure LAMP install. – cyberx86 Nov 9 '11 at 2:30
@cyberx86 thanks a bunch. The "Perfect Server" guides are great resources! – alecwhardy Nov 9 '11 at 2:59

I suggest to use yum and add custom repository for phpMyAdmin which always contains up to date versions. Yum on CentOS can help keep everything up to date.

share|improve this answer

I would highly recommend not having a public facing PHPmyadmin installation. They frequently find critical or not so critical security flaws in this software and it is a pain to keep updated.

What I usually do in this case is enable PHPmyadmin only from a specific IP or from a VPN IP range. Definitely not from the whole Internet.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.