LAMP

by mastar
2 deployments · 0 still active · last rev. 1 year ago

LAMP

Compatible with: Ubuntu 14.04 LTS
						#!/bin/bash
# <UDF name="db_password" Label="MySQL root Password" />
# <UDF name="db_name" Label="Create Database" default="" example="Optionally create this database" />
# <UDF name="db_user" Label="Create MySQL User" default="" example="Optionally create this user" />
# <UDF name="db_user_password" Label="MySQL User's Password" default="" example="User's password" />


source <ssinclude StackScriptID="1">

system_update
postfix_install_loopback_only
mysql_install "$Ramborau46**" && mysql_tune 40
mysql_create_database "$Ramborau46**" "$mailwizz"
mysql_create_user "$root" "$DB_USER" "$Ramborau46**"
mysql_grant_user "$Ramborau46**" "$root" "$mailwizz"
php_install_with_apache && php_tune
apache_install && apache_tune 40 && apache_virtualhost_from_rdns
goodstuff
restartServices