views:

25

answers:

1

Hi,

I'm an absolute newbie to EC2. My goal is to run a php-mysql-website on EC2.

I've just setup a new instance based on this ami

It seems that apache isn't running? How do I start apache? Is there a general tutorial on how to start EC2 as a web server?

Thanks!

A: 

For Suse 11, try

 rcapache2 status
 rcapache2 start

If it is not installed, you can install with

yast2 --install apache2

for a tutorial on LAMP with this server, check

http://www.susegeek.com/internet-browser/install-configure-lamp-apachemysqlphp-in-opensuse-110/

Orbit
Your last command results in "No such client module –install" Is there a preconfgured AMI where a LAMP is already installed?
murze
I don't believe so, you may have to follow a tutorial online to get the stack set up. Don't worry, after a few tries, you'll have the hang of it for good.
Orbit
sorry, typo. two hyphens, or -i
Orbit