Here is a very common user data boot strapping script for installing Apache, PHP, and starting the Apache server:
#!/bin/sh
yum -y install httpd php
chkconfig httpd on
/etc/init.d/httpd start
No comments:
Post a Comment