Skip to content
This repository has been archived by the owner on May 26, 2018. It is now read-only.

Commit

Permalink
Update installation_script
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Gueudelot committed Mar 21, 2017
1 parent 8645b20 commit cd22ec9
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions docs/installation_script
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
# sudo apt update && apt upgrade
# sudo apt install git ca-certificates nginx rabbitmq-server mongodb lxd build-essential libssl-dev libffi-dev python3-dev virtualenv
# sudo newgrp lxd
# sudo lxd init
Optional, if you want to wrap Pirus into a lxc container:
$ echo 'lxc.mount.auto = cgroup
lxc.aa_profile = lxc-container-default-with-nesting' >> ~/.config/lxc/default.conf
$ lxc-create -n regovar_pirus -t download -- -d ubuntu -r xenial -a amd64
$ lxc-start -n regovar_pirus
$ lxc-attach -n regovar_pirus

Installation script for Pirus on a fresh Ubuntu Xenial:
# apt update && apt upgrade
# apt install git ca-certificates nginx rabbitmq-server mongodb lxd build-essential libssl-dev libffi-dev python3-dev virtualenv
# newgrp lxd
# lxd init
# useradd pirus --create-home
# sudo usermod -a -G lxd pirus
# mkdir -p /var/regovar/pirus/{cache,downloads,files,databases,pipelines,runs}
Expand Down

0 comments on commit cd22ec9

Please sign in to comment.