Skip to Content.
Sympa Menu

idok-commit - [idok-commit] idok commit r59 - trunk/sites/psi/scripts/admin

idok-commit AT lists.psi.ch

Subject: Commit emails of the iDok project

List archive

[idok-commit] idok commit r59 - trunk/sites/psi/scripts/admin


Chronological Thread 
  • From: "AFS account Roman Geus" <geus AT savannah.psi.ch>
  • To: idok-commit AT lists.psi.ch
  • Subject: [idok-commit] idok commit r59 - trunk/sites/psi/scripts/admin
  • Date: Tue, 8 Apr 2008 17:59:07 +0200
  • List-archive: <https://lists.web.psi.ch/pipermail/idok-commit/>
  • List-id: Commit emails of the iDok project <idok-commit.lists.psi.ch>

Author: geus
Date: Tue Apr 8 17:59:06 2008
New Revision: 59

Log:
Added simple install script to document installation of the pydok framework
on PSI iDok servers

Added:
trunk/sites/psi/scripts/admin/install_pydok.sh (contents, props changed)

Added: trunk/sites/psi/scripts/admin/install_pydok.sh
==============================================================================
--- (empty file)
+++ trunk/sites/psi/scripts/admin/install_pydok.sh Tue Apr 8 17:59:06
2008
@@ -0,0 +1,69 @@
+#! /bin/sh
+#
+# Install pydok (see python/pydok) on PSI iDok servers along with all
+# prerequisites.
+#
+
+cd /tmp
+
+# gcc/g++
+yum install gcc gcc-c++ swig openssl-devel
+
+# Python
+tar zxvf /root/install/Python-2.5.2.tgz
+cd Python-2.5.2
+./configure --prefix=/opt/python-2.5.2
+make
+make install
+make test
+cd ..
+rm -rf Python-2.5.2/
+
+# omniORB
+tar zxvf /root/install/omniORB-4.1.0.tar.gz
+cd omniORB-4.1.0/
+PATH=/opt/python-2.5.2/bin:$PATH ./configure --prefix=/opt/omniorb-4.1.0
+make
+make install
+cd ..
+rm -rf omniORB-4.1.0/
+
+# omniORBpy
+tar zxvf /root/install/omniORBpy-3.0.tar.gz
+cd omniORBpy-3.0/
+PATH=/opt/python-2.5.2/bin:$PATH ./configure --prefix=/opt/omniorb-4.1.0
--with-omniorb=/opt/omniorb-4.1.0
+make
+make install
+cd ..
+rm -rf omniORBpy-3.0/
+
+echo "/opt/omniorb-4.1.0/lib" > /etc/ld.so.conf.d/omniorb.conf
+ldconfig
+
+echo "/opt/omniorb-4.1.0/lib/python2.5/site-packages" >
/opt/python-2.5.2/lib/python2.5/site-packages/omniorb.pth
+
+# m2crypto
+tar zxvf /root/install/m2crypto-0.18.tar.gz
+cd m2crypto-0.18/
+/opt/python-2.5.2/bin/python setup.py install
+cd ..
+rm -rf m2crypto-0.18/
+
+# PyCrypto
+tar zxvf /root/install/pycrypto-2.0.1.tar.gz
+cd pycrypto-2.0.1/
+/opt/python-2.5.2/bin/python setup.py install
+cd ..
+rm -rf pycrypto-2.0.1/
+
+# pykerberos-fork
+cd /afs/psi.ch/user/g/geus/eclipse-projects/pydev/pykerberos-fork/
+/opt/python-2.5.2/bin/python setup.py install
+
+# pydok
+cd /afs/psi.ch/user/g/geus/eclipse-projects/java/dms-trunk/python/pydok/
+/opt/python-2.5.2/bin/python setup.py install
+
+# pydok web apps
+mkdir /opt/dms/cgi_bin
+cp test/idok_upload_cgi.py test/idok_search_cgi.py test/krb_deleg_demo.py
/opt/dms/cgi_bin



  • [idok-commit] idok commit r59 - trunk/sites/psi/scripts/admin, AFS account Roman Geus, 04/08/2008

Archive powered by MHonArc 2.6.19.

Top of Page