Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 –  Akshar Prabhu Desai Sep 14 '10 at 19:29
add comment

3 Answers

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 
squeeze/sid

cat /etc/debian_version 
5.0.4

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
add comment

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
add comment

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
add comment

Your Answer

 
discard

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.