Last change
on this file since 1904 was 1778, checked in by Bruno Cornec, 11 years ago |
- New hyperlinux project for pre-installing servers
|
-
Property svn:executable
set to
*
|
File size:
608 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | #
|
---|
3 | # Prerequisite : there should be a /var/hyperlinux directory
|
---|
4 | # owner:group = hyperlinux:hyperlinux
|
---|
5 |
|
---|
6 | # Launch the dedicated Web server
|
---|
7 | /usr/sbin/httpd -f /home/hyperlinux/etc/httpd.conf &
|
---|
8 |
|
---|
9 | # Let the server work
|
---|
10 | echo "Launching HyPer-Linux Web Server & client ..."
|
---|
11 | sleep 5
|
---|
12 |
|
---|
13 | # Prepare the timeout for the client
|
---|
14 | (sleep 300 ; /usr/bin/killall lynx)&
|
---|
15 |
|
---|
16 | # Launch the HyPerlinux installation request form
|
---|
17 | /usr/bin/lynx http://localhost:8000/cgi-bin/hyperlinux.pl
|
---|
18 |
|
---|
19 | # In case the customer killed the browser, wait for completion
|
---|
20 | echo "HyPer-Linux is reconfiguring your server, please wait ..."
|
---|
21 | sleep 300
|
---|
Note:
See
TracBrowser
for help on using the repository browser.