Skip to content
Zhao Long edited this page Jul 16, 2014 · 4 revisions

#How to find and install iRODS on Server Find the document from this PDF file. And download the file from this page.

Main steps:

$ (sudo) dpkg -i irods-icat-4.0.1-64bit.deb irods-database-plugin-postgres-1.0.deb
$ (sudo) apt-get -f install
$ (sudo) su - irods

And then as the irods user:

irods@hostname:~/ $ ./packaging/setup_database.sh

If some error happens, redo it again.

How to install iRODS client on ARM board

It is a little bit complex, because the iRODS source include some 64 bit packages. It could take 4 or 5 hours to install it.

  1. Git clone the source code

git clone https://github.com/irods/irods.git

  1. Set only 1 CPU work for it. Otherwise, it would cause some memory issue. Change MAKEJCMD="make" at line 253 of build.sh

  2. run ./packaging/build.sh icommands

  3. run ./external make clean

  4. remove mysql part of the ./external Makefile

  5. run ./external make generate

  6. run ./packaging/build.sh icommands again.

  7. dpkg -i --force-architecture the new file in folder of build

Use iRODS

Use sudo su - irods to enter irods

The i-command API is here.

at server side, run ienv to show the iRODS environment.

at client side, run iinit to initialize and connect to the server. Then use iput to put a file on the server.

Server side or some clients else could use iget to get that file.

Add user-defined tag on a file.

imeta add -d /tempZone/home/rods/myfile.txt AttName AttValue [AttUnits]

Query the file by user-defined tag

imeta qu -d AttName = AttValue

You can find some examples from this page