We were asked to set up a LAMP server on an unused desktop PC a week ago. I am a complete newbie regarding this matter. The only experience I had was that I was slightly familiar with vi and the terminal. So I researched on how to do this task and we were successful in setting up the LAMP server.

I then wrote a simple tutorial on how to setup a LAMP server from scratch and I would like to post it here in a Q&A style with a title that goes like this:

How do I set up a LAMP server from scratch using CentOS 6.7?

Then I would provide the tutorial I wrote as an answer.

I am new to the SuperUser community, but I'm not exactly new to the StackExchange network. I would like to ask the community's reaction. If I post this. Will it get downvoted and closed?

To express the reasons why I want to do this:

  • it will be easier to look for it if I need it later
  • so that others will see what I have done, and they can comment the things that I might have done wrong
  • someone else might have the same problem(my question is installing LAMP from scratch)

Also, should I mark it as community wiki?

Edit: I posted the question here.

  • 4
    Sure, post it. Seems to be on-topic for Super User. And as for community wiki, that's up to you.
    – Insane
    Commented Oct 28, 2015 at 4:18
  • @Insane thanks for the response. It's not that I'm not respecting your opinion but I still want to wait for what others will say.
    – Keale
    Commented Oct 28, 2015 at 5:26
  • It goes in the same category as this question, I think. But yeah, do what you want.
    – Insane
    Commented Oct 28, 2015 at 5:31
  • If that is the case then it is on topic.
    – Ramhound
    Commented Oct 28, 2015 at 13:12
  • Thanks to everyone for the answer. With 7 upvotes, and from your comments, I think it would be okay to post this question. I'll just let the community sort it out.
    – Keale
    Commented Oct 29, 2015 at 0:55
  • "How do I set up a LAMP server from scratch using CentOS 6.7?" can be separated on "setting up apache, mysql, php/perl". And I really don´t thing it should be in a single post dealing with the entire process, instead several with each step explained (there are many ways to put php and apache together, from 2.0, 2.2 and 2.4, for example).
    – Braiam
    Commented Nov 2, 2015 at 14:05

1 Answer 1


We like canonical and complete answers and I personally don't see any reason for it to be classed as off topic as such.

Typically a question and answer should be short and to the point, but a canonical answer detailing how to do something properly and succinctly is always appreciated.

One thing to keep in mind though is whether or not you need to update it when components get updated and the process changes.

  • 1
    With regards to updating the process when components are update. You can prevent yourself from having to come back to the question and answer by limiting the scope of the question to specific version(s). By doing that you basically indicate to reviewer(s) that any new answers should be limited to those version(s) also.
    – Ramhound
    Commented Oct 29, 2015 at 13:31
  • Thanks a lot for the response. I feel assured to have an answer from a moderator. As per updating the answer, I am considering following Ramhound's advice here because the one that asked us to set up the server specified the versions of CentOS, Apache, MySQL and PHP in their request. Anyways, there is no need to worry as I am very active on SO and I continually improve my posts so if something changes I'll visit this site too. :)
    – Keale
    Commented Oct 30, 2015 at 0:47
  • On another note, could I ask to make the question a community wiki too? I would like to 'dissociate' from the question and give it to the community. But please use your best judgment. If you think it is okay as it is, then it is okay for me too. Just a very very minor request from me.
    – Keale
    Commented Oct 30, 2015 at 0:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .