How to setup the server including OS installation, third party software and components installations.
Needed to install Variations:
Perform the following installation steps as root or sudo |
# Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost 129.12.345.67 taishan.dlib.indiana.edu taishan ::1 localhost6.localdomain6 localhost6 |
DEVICE=eth0:0 IPADDR=Variations webserver IP address NETMASK=Variations webserver netmask BROADCAST=Variations webserver broadcast address ONBOOT=yes |
DEVICE=eth0:1 IPADDR=_Darwin streaming IP address NETMASK=Darwin streaming netmask BROADCAST=Darwin streaming broadcast address ONBOOT=yes |
Install Java:
export JAVA_HOME=/usr/java/jdk1.6.0_20 export PATH=$JAVA_HOME/bin:$PATH |
Check that your JAVA_HOME location and version matches your installation |
Example IP |
Server |
Example DNS Name |
---|---|---|
129.79.184.181 |
Variations Webserver (device eth0:0) |
|
129.79.184.188 |
host machine (device eth0) |
Server1.dlib.indiana.edu |
permission java.net.SocketPermission "129.79.184.181:80", "connect,resolve"; permission java.net.SocketPermission "Server1.dlib.indiana.edu", "resolve"; permission java.net.SocketPermission "129.79.184.188:1024-", "connect,accept,resolve"; permission java.util.PropertyPermission "dml.client.url.userguidebase", "read"; permission java.util.PropertyPermission "dml.leaseManager.*", "read"; permission java.util.PropertyPermission "dml.login.loginHandler", "read"; permission java.util.PropertyPermission "user.dir", "read"; permission java.util.PropertyPermission "variations2.dir", "read"; permission java.io.FilePermission "<<ALL FILES>>", "read,execute"; permission java.io.FilePermission "/home/dmlserv/content/-", "read,execute,delete"; permission java.io.FilePermission "/home/dmlserv/public_html/score-leases/-", "read,execute,delete"; permission java.lang.RuntimePermission "setFactory"; |
# # Variations specific configuration # ScriptAlias /variations/cgi-bin/ "/home/dmlserv/Variations-6.0/public_html/cgi-bin/" <Directory "/home/dmlserv/Variations-6.0/public_html/cgi-bin"> AllowOverride All Options FollowSymLinks Order allow,deny Allow from all </Directory> Alias /variations/ "/home/dmlserv/Variations-6.0/public_html/" <Directory "/home/dmlserv/Variations-6.0/public_html"> AllowOverride All Options FollowSymLinks Order allow,deny Allow from all </Directory> |
Listen 80 |
|
Note that Apache is still listening to :443 on all hosts with this configuration. |
Variations uses two databases for Metadata and Access Management. Currently Variations is configured to work with MySQL and will require that you set up these databases in the configuration of the Variations server. Linux distributions such as RedHat Enterprise 5 already come with the appropriate version of Mysql. If you are using another Linux distribution you may want to check that it has a compatible version of MySQL or download a more current version. For more information on the Variations database see the Databases page
wait_timeout=86400 interactive_timeout=86400 character_set_client=utf8 character_set_server=utf8 default-storage-engine=INNODB |
ft_min_word_len=1 ft_stopword_file="" |
Note that cpan is an online repository for perl modules and that installing modules from it may occasionally fail due to failed tests. In these situations, you can pass a flag to the cpan command that forces the installation. Your command should then look like |
o conf init connect_to_internet_ok urllist
o conf commit
then quit cpanFor RHEL 5, the newest version of XML::LibXML (1.70) is not compatible with the most recent version of libxml in the Red Hat repositories. Thus the an older version of the perl module must be force installed. |
For RHEL 5, the newest version of XML::LibXSLT (1.68) is not compatible with the most recent version of libxslt in the Red Hat repositories. Thus the an older version of the perl module must be force installed. |
Option |
Action |
---|---|
start |
Starts the server |
stop |
Stops the server |
status |
Provides current running status for streaminaadminserver and DarwinStreamingServer |
restart |
Does a stop and then a start |
condrestart |
If Darwin is running, does a stop and then a start |
reload |
Forces Darwin to reread configuration files without disconnecting users |
<PREF NAME="bind_ip_addr" >your streaming IP address</PREF> |
If you do not have terminal access to this machine and port 1220 is not open, you can try forwarding an X connection through SSH: |
If the dmlserv user was created during the first boot process, then also
If the dmlserv user was not created during the first boot process, then
You have just finished installing the all of the components needed to install and run the Variations server software. Proceed to the next step and install the Variations Server Software.
Back to the Administrators Guide Home Page