[ ! -d /export/home/`hostname`/services ] && mkdir -p /export/home/`hostname`/services
ln -s /export/home/`hostname`/services /opt/services
mkdir -p /tmp/root cd /tmp/root
tar xfvz /home/src/3dm2/3dm2-CLI-non-java-linux-9.5.3.tgz
./install.sh -i -fN0
mv /opt/3ware /opt/services/3ware rm -f /usr/sbin/3dm2 && ln -s /opt/services/3ware/3DM2/3dm2 /usr/sbin/3dm2 sed -i -e 's|/opt/3ware|/opt/services/3ware|g' /etc/3dm2/3dm2.conf
sed -ie 's/^Port 888/Port 443/' /etc/3dm2/3dm2.conf sed -ie 's/^EmailEnable .*$/EmailEnable 1/' /etc/3dm2/3dm2.conf sed -ie 's/^EmailSender .*$/EmailSender root@aoc.nrao.edu/' /etc/3dm2/3dm2.conf sed -ie 's/^EmailServer .*$/EmailServer smtp.aoc.nrao.edu/' /etc/3dm2/3dm2.conf sed -ie 's/^EmailRecipient .*$/EmailRecipient req-dist@aoc.nrao.edu/' /etc/3dm2/3dm2.conf /etc/init.d/tdm2 restart
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.