U. Setup of public Web server with SCOOP appliance
From SCOOP Wiki
Contents |
Introduction
The SCOOP appliance runs a Web server that, by default, serves data privately only to the computer running the appliance. It is also possible to configure the SCOOP appliance such that the Web server is publicly accessible. This is useful for live demonstration purposes if you'd like to show the features of the SCOOP appliance from any browser (Javascript-enabled).
However, be mindful that there is no user authentication or authorization in place, i.e. any user who has the address of the Web server can use the system to submit jobs. If you would like for these features to be enabled, there are possible ways to do it with Apache configuration, but this is beyond the scope of this tutorial.
Requirements
You need to secure a public IP address for the SCOOP appliance and a desktop or server machine that is connected to the Internet. Consult your system administrator or ISP provider to obtain the following information for your appliance:
- IP address
- Network mask
- Gateway
- A fully qualified name (e.g. some.name.com)
Configuring VMware
- Download and install the SCOOP appliance as explained in the tutorial. This tutorial assumes that you use VMware Server. Before starting up the SCOOP appliance, use the VMware Server VM configuration interface to change the configuration of the second virtual network interface card (NIC) from "host-only" to "Bridged"
- It is suggested that you increase the virtual memory from the default 256MB to 512MB, if possible
- Turn on the SCOOP appliance
Configuring the appliance
- Log in to the appliance
- Change the default password
- As root, edit the networking configuration file for the interface "eth1" to configure the public IP address, network mask, and gateway:
subo bash cd /etc/network vi interfaces
Change the entry for eth1 in the "interfaces" file as follows (replace with appropriate configuration for your IP address, etc):
iface eth1 inet static # check that you change from dhcp to static address a.b.c.d netmask e.f.g.h gateway i.j.k.l
Change the host name from localhost to your machine's name (e.g. some.name.com):
cd /etc vi hostname
Finally, restart the network interfaces:
/etc/init.d/networking restart
Test that the web site works by pointing your browser to http://a.b.c.d (or http://some.name.com, where some.name.com)

