#!/bin/bash # # Prerequisite : there should be a /var/hyperlinux directory # owner:group = hyperlinux:hyperlinux # Launch the dedicated Web server /usr/sbin/httpd -f /home/hyperlinux/etc/httpd.conf & # Let the server work echo "Launching HyPer-Linux Web Server & client ..." sleep 5 # Prepare the timeout for the client (sleep 300 ; /usr/bin/killall lynx)& # Launch the HyPerlinux installation request form /usr/bin/lynx http://localhost:8000/cgi-bin/hyperlinux.pl # In case the customer killed the browser, wait for completion echo "HyPer-Linux is reconfiguring your server, please wait ..." sleep 300