Commit 8411d0f3 authored by Staiger, Christine's avatar Staiger, Christine
Browse files

Some more rules and engine design

parent ebca55d1
# Installation of iRODS 4.2
This document describes how to install iRODS4.2 on a Ubuntu machine with a postgresql database as iCAT.
## Environment
The documentation is tested with an Ubuntu 16.04 and Ubuntu 18.04 server.
## Prerequisites
### 1. Add repo key, Update and upgrade if necessary
......@@ -10,19 +18,6 @@ echo "deb [arch=amd64] https://packages.irods.org/apt/ $(lsb_release -sc) main"
sudo apt-get update
```
<!---
#### Ubuntu18
1. install postgresql
2. edit /etc/apt/sources.list.d/renci-irods.list
```sh
deb [arch=amd64] https://packages.irods.org/apt/ xenial main
```
%3. `sudo apt-get update`
--->
### 2. Set firewall
```sh
......@@ -92,6 +87,7 @@ sudo pg_createcluster 10 main --start
sudo su - postgres
/usr/lib/postgresql/10/bin/pg_ctl -D /var/lib/postgresql/10/main -l logfile start
```
If necessary fix `locale` settings before proceeding.
```
......@@ -259,12 +255,6 @@ irodsReServer :
Process 21359
```
Enable `systemctl`:
```
sudo systemctl enable irods
```
iRODS comes with init.d scripts which will be enabled through systemctl.
### Additional Server configuration
iRODS creates a lot of log files, which are not cleaned up automatically. To do so start a cron-job:
......
# Advanced rules
### Become a user as admin
```
sudo su - irods
export clientUserName=<user>
# all commands and rules will be executed as the user
export clientUserName=<rodsadmin>
```
Get all users:
```
iquest "SELECT USER_NAME where USER_TYPE like 'rodsadmin' || like'rodsuser'"
```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment