Skip to content

Instantly share code, notes, and snippets.

@cmhobbs
Created December 27, 2010 17:31
Show Gist options
  • Save cmhobbs/756321 to your computer and use it in GitHub Desktop.
Save cmhobbs/756321 to your computer and use it in GitHub Desktop.
#!/bin/sh
# mgbootstrap.sh - some southern engineering to start up mgserv
MGPATH="/opt/Autodesk/mapguideenterprise2011"
echo "-- STARTING MGSERV DAEMON"
$MGPATH/server/bin/mgserverd.sh
echo "-- SLEEP 5"
sleep 5
echo "-- STARTING APACHE2 (MGSERV PACKAGE)"
$MGPATH/webserverextensions/apache2/bin/apachectl start
echo "-- SLEEP 5"
sleep 5
echo "-- STARTING TOMCAT (MGSERV PACKAGE)"
$MGPATH/webserverextensions/tomcat/bin/startup.sh
echo "-- DONE"
yum install mysql.i386
SELINUX=disabled
/etc/init.d/iptables save
/etc/init.d/iptables stop
chkconfig iptables off
ISO: mount -o loop PATH/TO/YOUR/MGSERV.ISO /mnt
DISC: mount /dev/YOURCDROM /mnt
cd /mnt/linux/DESIRED_COMPONENT
./setup
yum provides "*/libssl.so.4"
yum provides "*/libcrypto.so.4"
yum provides "*/libxslt.so.1
lmutil lmhostid -hostid
lmutil lmhostid -hostname
lmgrd -c /opt/Autodesk/networklicensemanager/YOUR_LICENSE_FILE_HERE >> /opt/Autodesk/networklicensemanager/boot.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment