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 not an advanced user. I have hired a machine in cloud and I am accessing it through Putty.

How do I install a LAMP stack on it ? I tried using LAMPP (XAMPP) from Apache friends but it dies saying it supports only 32 bit library.

Can someone give me a list of commands? (I need PHP with GD, CURL SSL support)

share|improve this question
What flavor? uname -a (Redhat, CentOS, Fedora, OpenSuse, Ubuntu, etc) – Joshua Enfield Sep 6 '10 at 17:49
First of all, this is entirely dependent on what OS you are using - "Linux" isn't enough info. Also, you shouldn't use pre-packaged LAMP/XAMP packages for production. They are packaged insecurely on purpose and are intended only for internal development and shouldn't be used on Internet-facing servers. You are better off installing and configuring each component by hand. – MDMarra Sep 6 '10 at 17:50
Its the latest Ubuntu 10.04 – Eastern Monk Sep 14 '10 at 19:29
up vote 1 down vote accepted

As the others here have mentioned, we'd need to know your architecture, distro, and version in order to offer advice.

For example:

uname -a
Linux somebox 2.6.32-24-generic #42-Ubuntu SMP Fri Aug 20 14:21:58 UTC 2010 x86_64 GNU/Linux

cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 5.4 (Tikanga)

cat /etc/redhat-release 
Fedora release 8 (Werewolf)

cat /etc/debian_version 

cat /etc/debian_version 

cat /etc/motd
Ubuntu 10.04.1 LTS

cat /etc/issue
Ubuntu 10.04.1 LTS

Should get you close in most cases.

share|improve this answer

Which operating system? I'd recommend these articles from Slicehost - if your distribution is listed under "Linux Distros" then they'll probably have something to get you going.

share|improve this answer

After you discover which linux distribution you are running, search on howtoforge site. There you can find a lot of detailed instructions.

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.