Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Wiki Markup
Note:  These insturctions are currently written for RHEL 5.  Check http://trac.mcs.anl.gov/projects/bcfg2/wiki/Prereqs

...

 for general requirements that may be missing from RHEL 4.

...



#  Determine if the system being installed to is a client, Host server, or a Master server.

...


#  Install the lxml Python package from Trogdor.  It is named lxml-2.0.3.tar.gz.

...


{code

...

}
cd /opt
tar -xzvf /root/lxml-2.0.3.tar.gz
cd lxml-2.0.3
python setup.py build
python setup.py install

...

{code}
#  If the system is a Host or Master server, download the Python OpenSSL wrapper from the software repository on Trogdor.  It is named pyOpenSSL-0.6.tar.gz.

...


{code

...

}
cd /opt
tar -xzvf /root/pyOpenSSL-0.6.tar.gz 
cd pyOpenSSL-0.6
python setup.py build
python setup.py install

...

{code}
#  Download and install the Bcfg2 source code for the repository on Trogdor.  It is in CM-project/Bcfg2/bcfg2-0.9.5.7.tar.gz.

...


{code

...

}
cd /opt
tar -xzvf /root/bcfg2-0.9.5.7.tar.gz
cd bcfg2-0.9.5.7
python setup.py install --prefix=/usr/local

...

{code}
#  If this is a new network or site, set up a repository on the Host server.
{code}
bcfg2-admin init

...

{code}
#*  Answer the configuration questions, conforming to ISDA/MAP standards.

...


{code

...

}
location of bcfg2 repository [/var/lib/bcfg2]: /opt/bcfg2
please provide the password used for communication verification: *******    -- set a custom password, do not use stars
please provide the server location[https://eurydice.mit.edu:6789]:
Country Name (2 letter code) [GB]:US
State or Province Name (full name) [Berkshire]:Massachusetts
Locality Name (eg, city) [Newbury]:Cambridge
Organization Name (eg, company) [My Company Ltd]:Massachusetts Institute of Technology
Organizational Unit Name (eg, section) []:IS&T ISDA
Common Name (eg, your name or your server's hostname) []:eurydice.mit.edu
Email Address []:map-support@mit.edu
 selection: a
Repository created successfuly in /opt/bcfg2

...

{code}
#  If this is the Host server, copy the init script to /etc/init.d, check the status of it, and start up the server if it is not running.

...


{code

...

}
cp /root/bcfg2-server /etc/init.d
/etc/init.d/bcfg2-server status
/etc/init.d/bcfg2-server start
{code}