A port of the Ubuntu LAMP Stack which will fully update the server as well as install wget, rsync, openssh-clients, jwhois, subversion, and a LAMP environment.
Allows for setting the root MySQL password as well as an optional user. Information regarding the LAMP configuration can be found at:
http://www.linode.com/stackscripts/view/?StackScriptID=10
#!/bin/bash # <UDF name="db_password" Label="MySQL - Root Password" /> # <UDF name="db_name" Label="MySQL - Database Name" default="" example="Optionally create this database." /> # <UDF name="db_user" Label="MySQL - Username" default="" example="Optionally create this user." /> # <UDF name="db_user_password" Label="MySQL - Password" default="" example="User's password." /> source <ssinclude StackScriptID="20"> source <ssinclude StackScriptID="154"> # optionally include any packages you want here function install_personal { yum install -y subversion } system_update install_basics postfix_install_loopback_only mysql_install "$DB_PASSWORD" && mysql_tune 40 mysql_create_database "$DB_PASSWORD" "$DB_NAME" mysql_create_user "$DB_PASSWORD" "$DB_USER" "$DB_USER_PASSWORD" mysql_grant_user "$DB_PASSWORD" "$DB_USER" "$DB_NAME" php_install_with_apache && php_tune apache_install && apache_tune 40 && apache_virtualhost_from_rdns install_personal goodstuff restartServices