commit ff0e4bfec29dde9eea4339c1d9bca35b82f1eea7
Author: Ankitkumar Patel <ankit(a)redhat.com>
Date: Fri Jun 10 17:26:47 2011 +0530
added RHEL6 installation script
scripts/RHEL6installation.sh | 42 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 42 insertions(+), 0 deletions(-)
---
diff --git a/scripts/RHEL6installation.sh b/scripts/RHEL6installation.sh
new file mode 100755
index 0000000..ff62aa9
--- /dev/null
+++ b/scripts/RHEL6installation.sh
@@ -0,0 +1,42 @@
+#!/bin/sh
+#
+#
+# author:
+# Naveen Kumar <nkumar(a)redhat.com>
+#
+
+# Remember: RHEl6 repo (offical) needs to be configured before this installation can
proceed
+yum install gcc -y
+yum install git -y
+yum install perl-Template-Toolkit -y
+yum install mysql-server mysql-devel -y
+yum install zlib zlib-devel -y
+yum install ruby* -y
+
+gem update --system
+gem install -v=2.3.8 rails
+gem install mysql
+yum install ImageMagick* -y
+gem install rmagick
+
+service iptables stop
+
+if [ -d "utrrs" ]; then
+echo "directory utrrs exists..."
+else
+git clone
git://git.fedorahosted.org/utrrs.git
+fi
+cd utrrs/utrrs
+make
+sh utrrssqldump.sh
+/etc/init.d/mysqld start
+mysql <utrrs.sql
+
+# Now in order to run this web application execcute the following:
+# /etc/init.d/mysqld start
+# cd utrrs/utrrs/web/utrrs
+# ruby script/server &
+#
+# Remember mysql start/restart is required each time this application server needs to be
started after reboot
+#
+#