0

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)

Eastern Monk
  • 177
  • 1
  • 1
  • 6
  • What flavor? `uname -a` (Redhat, CentOS, Fedora, OpenSuse, Ubuntu, etc) – Joshua Enfield Sep 06 '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 06 '10 at 17:50
  • Its the latest Ubuntu 10.04 – Eastern Monk Sep 14 '10 at 19:29

3 Answers3

1

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.

Matt
  • 256
  • 1
  • 2
0

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.

James L
  • 6,025
  • 1
  • 22
  • 26
0

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

lg.
  • 4,649
  • 3
  • 21
  • 20