aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xinstall.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/install.sh b/install.sh
new file mode 100755
index 0000000..fc032a8
--- /dev/null
+++ b/install.sh
@@ -0,0 +1,16 @@
+usage () {
+ echo "You must set a $1 !"
+ echo "Usage:"
+ echo " install.sh <user> <password>"
+ exit 0
+}
+
+if [ -z $1 ]; then
+ usage "USER"
+elif [ -z $2 ]; then
+ usage "PASSWORD"
+fi
+
+./new_kresus.sh $1 $2
+./create_service.sh $1
+sudo ./create_apache_conf.sh $1