-
Notifications
You must be signed in to change notification settings - Fork 0
iRODS
#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.
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.
- Git clone the source code
git clone https://github.com/irods/irods.git
-
Set only 1 CPU work for it. Otherwise, it would cause some memory issue. Change MAKEJCMD="make" at line 253 of build.sh
-
run
./packaging/build.sh icommands
-
run
./external make clean
-
remove mysql part of the ./external Makefile
-
run
./external make generate
-
run
./packaging/build.sh icommands
again. -
dpkg -i --force-architecture
the new file in folder of build
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.
imeta add -d /tempZone/home/rods/myfile.txt AttName AttValue [AttUnits]
imeta qu -d AttName = AttValue
You can find some examples from this page