hidden:Irods installation on irods-2

From Lsdf
Revision as of 10:17, 28 October 2013 by Jmeyer (talk | contribs) (Created page with "==OS== * SL 6.4 * various packages: yum install ntp bind-utils man strace nmap emacs gcc-c++ make * add user: useradd -u 995 irods [root@irods-2 ~]# id irods uid=995(irods)…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

OS

  • SL 6.4
  • various packages:
yum install ntp bind-utils man strace nmap emacs gcc-c++ make
  • add user:
useradd -u 995 irods 
[root@irods-2 ~]# id irods
uid=995(irods) gid=995(irods) groups=995(irods)

postgresql

  • repository
wget http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-sl93-9.3-1.noarch.rpm
rpm -ihv pgdg-sl93-9.3-1.noarch.rpm
  • installation
yum install postgresql93-server ppostgresql93-libs ostgresql93 
  • directory
/var/lib/pgsql/9.3/data
  • first start
service postgresql-9.3 initdb
  • start/stop/status
service postgresql-9.3 start/stop/status

ODBC

yum install unixODBC unixODBC-devel
  • config files:
/etc/odbcinst.ini
/etc/odbc.ini
  • replace /etc/odbc.ini by (taken from irods-1 and adopted):
[PostgreSQL]
Driver=/usr/lib64/psqlodbc.so
Debug=0
CommLog=0
Servername=irods-2
ReadOnly=no
Ksqo=0
Port=5432
Database=ICAT
  • crosscheck that all libs in /etc/odbcinst.ini exist
  • point to config files (not sure whether this is needed):
# cat /etc/profile.d/odbc.sh
export ODBCSYSINI=/etc
export ODBCINI=/etc/odbc.ini
  • test:

[root@irods-2]# odbcinst -q -s [PostgreSQL] [root@irods-2]# odbcinst -q -d [PostgreSQL] [MySQL]

irods installation

  • get irods3.2.tgz from somewhere (e.g. irods-1)
mkdir /data/irods
cd /data/irods
mv irods3.2.tgz .
tar xfvz irods3.2.tgz
cd iRODS
less INSTALL.txt

irods configuration