Skip to content

Commit

Permalink
One location for docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
mvliet committed Jan 7, 2011
1 parent 736dc64 commit b3ba6b8
Showing 1 changed file with 2 additions and 54 deletions.
56 changes: 2 additions & 54 deletions server/INSTALL.markdown
Original file line number Diff line number Diff line change
@@ -1,57 +1,5 @@
# REPOMAN

## Install from PyPi
1. Install prerequisites
yum install python-setuptools gcc sqlite sqlite-devel
easy_install pip virtualenv

1. Create a Virtual Environment
virtualenv --no-site-packages /opt/repoman

1. Activate the virtual env
cd /opt/repoman
source bin/activate

1. Install repoman
pip install repoman

1. Create a file for populating the database with administrators
vim $HOME/repoman_admins

The file should contain lines containing `username,email,client_dn', with no trailing space or lines.

Example file:
bob,[email protected],/C=CA/O=Grid/OU=phys.uvic.ca/CN=Bob McKenzie
doug,[email protected],/C=CA/O=Grid/OU=phys.uvic.ca/CN=Doug McKenzie

1. Create and edit the application config
paster make-config repoman deploy.ini

Make sure to point `admin_file` to the file you created in the previous step

1. Create the database
paster setup-app deploy.ini

If using the default sqlite DB, ensure that the `apache` user has read/write
permissions on the database file and the base directory the database file is in.

1. Create the apache configs
paster --plugin=repoman make-wsgi-config deploy.ini

1. Modify the `repoman.conf`

Make `SSLCertificateFile` point to your host certificate

Make `SSLCertificateKeyFile` point to your host certificate key

Make `SSLCACertificatePath` point the directory that contains your Root CA certificates for verifying clients

Make `SSLCARevocationPath` point to the directory that contains your CRLs for the Root CA certificates

1. Copy `repoman.conf` to your apache config directory
cp repoman.conf /etc/httpd/conf.d

1. Start Apache
sudo service httpd restart

See wiki server install page for current instructions

https://github.com/hep-gc/repoman/wiki/Server-install

0 comments on commit b3ba6b8

Please sign in to comment.