Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 have got a new dedicated server. I have to set it up for my live website. I have read basic things like yum install php mysql etc. But with each tutorial, there's notice that don't use it for production server. Can anybody guide me in setting it up for production use. Here's what i need: Php,Mysql,ftp access, multiple accounts, I will not be using cpanel. I can use webmin..

share|improve this question

closed as too broad by HopelessN00b, MadHatter, kasperd, Jenny D, HBruijn Feb 26 at 15:55

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.

When you say "live website" do you mean on the internet?

Sorry hardeep, but if you've only "read basic things", then you're just asking for trouble setting up your own server on the internet - and potentially creating problems for everyone else out there. How would you feel if you had to be operated on, and the surgeon told you he'd "read some basic things" about appendectomies? It takes years to learn how to set up a system securely - and you never stop learning. The cheapest route to doing this safely is to pay for a hosted service - let someone else (who hopefully knows what they are doing) worry about hardening the server, installing/patching the software, maintaining backups etc.

If the server will not be exposed on the internet....that's a different matter. But you should still take every sensible precaution to making your system secure. The bare minimum you should be doing is presented in the SANS Linux Security Checklist. But you really need to understand why each of these requirements should be implemented for them to have any value for you.

share|improve this answer

I can suggest you use the EPEL repository, if you want use more recent versions of useful packages.

share|improve this answer

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