Commit 85937f79 authored by Beatriz Sanchez's avatar Beatriz Sanchez
Browse files

Update install_other.md

parent 8c77e8a3
......@@ -13,7 +13,9 @@ be build by any user. During installation of the package it will use:
NOTE: iRODS needs to be installed AND configured before installing/upgrading B2SAFE
It works as follows:
- clone the b2safe project as any user. NOT root
$ git clone https://github.com/EUDAT-B2SAFE/B2SAFE-core.git
- go to the directory where the packaging files are:
......@@ -21,19 +23,47 @@ It works as follows:
* RPM creation, installation/upgrade *
- create package:
- as irods users create package:
$ ./create_rpm_package.sh
configure b2safe /opt/eudat/b2safe/packaging.
If upgrade from older version use convert*.py to convert install.conf to install.json
INSTALLATION
- login as root and install package:
# rpm -ivh /home/irods/rpmbuild/RPMS/noarch/irods-eudat-b2safe-4.0-0.noarch.rpm
Preparing... ########################################### [100%]
1:irods-eudat-b2safe ########################################### [100%]
```
# rpm -ivh /home/irods/rpmbuild/RPMS/noarch/irods-eudat-b2safe-4.3.2-0.noarch.rpm
Vorbereiten... ################################# [100%]
Aktualisierung/ Installation...
1:irods-eudat-b2safe-4.3.2-0 ################################# [100%]
The package b2safe has been installed in /opt/eudat/b2safe.
```
UPGRADE
- login as root and upgrade package:
# rpm -Uvh /home/irods/rpmbuild/RPMS/noarch/irods-eudat-b2safe-4.0-0.noarch.rpm
Preparing... ########################################### [100%]
1:irods-eudat-b2safe ########################################### [100%]
CONFIGURATION
To configure it in iRODS do following as the user who runs iRODS :
# update install.conf with correct parameters with your favorite editor
```
sudo vi /opt/eudat/b2safe/packaging/install.json
```
Include the right irods users#zones in the handle_users and handle_groups options in install.json
# install/configure it as the user who runs iRODS
```
source /etc/irods/service_account.config
sudo su - $IRODS_SERVICE_ACCOUNT_NAME -s "/bin/bash" -c "cd /opt/eudat/b2safe/packaging/ ; ./install.py"
```
* DEB creation, installation/upgrade *
- create package:
......@@ -46,7 +76,6 @@ UPGRADE
Unpacking irods-eudat-b2safe (4.0-0) ...
Setting up irods-eudat-b2safe (4.0-0) ...
After installation/upgrade actions. Always to do! Even after an upgrade.
The package b2safe has been installed in /opt/eudat/b2safe.
......
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