Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
b19cf80e
Commit
b19cf80e
authored
7 years ago
by
yvesn
Browse files
Options
Downloads
Patches
Plain Diff
obis: vagrant - fixed git-annex installation for all users
parent
4be85c01
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/vagrant/obis/initialize/install_obis.sh
+8
-6
8 additions, 6 deletions
src/vagrant/obis/initialize/install_obis.sh
src/vagrant/obis/initialize/install_openbis.sh
+14
-8
14 additions, 8 deletions
src/vagrant/obis/initialize/install_openbis.sh
with
22 additions
and
14 deletions
src/vagrant/obis/initialize/install_obis.sh
+
8
−
6
View file @
b19cf80e
...
@@ -7,15 +7,17 @@ sudo pip3 install pyOpenSSL
...
@@ -7,15 +7,17 @@ sudo pip3 install pyOpenSSL
if
[
!
-L
/usr/bin/git
]
;
then
if
[
!
-L
/usr/bin/git
]
;
then
pushd
~obis
$@
>
/dev/null
pushd
/
$@
>
/dev/null
wget https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-amd64.tar.gz
sudo
wget https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-amd64.tar.gz
tar
-xvvf
git-annex-standalone-amd64.tar.gz
sudo
tar
-xvvf
git-annex-standalone-amd64.tar.gz
sudo ln
-s
/home/obis
/git-annex.linux/git /usr/bin/git
sudo ln
-s
/git-annex.linux/git /usr/bin/git
sudo ln
-s
/home/obis
/git-annex.linux/git-annex /usr/bin/git-annex
sudo ln
-s
/git-annex.linux/git-annex /usr/bin/git-annex
sudo chown
-R
obis:obis /home/obis/git-annex.linux
sudo chmod
-R
777 /git-annex.linux
sudo chmod
-R
777 /usr/bin/git
sudo chmod
-R
777 /usr/bin/git-annex
popd
$@
>
/dev/null
popd
$@
>
/dev/null
...
...
This diff is collapsed.
Click to expand it.
src/vagrant/obis/initialize/install_openbis.sh
+
14
−
8
View file @
b19cf80e
#!/bin/env bash
#!/bin/env bash
pushd
.
$@
>
/dev/null
if
[
!
-L
/openbis_installed
]
;
then
ob_dir
=
$(
find /vagrant/initialize/
-maxdepth
1
-type
d
-name
openBIS-installation-standard-technologies-
*
|
head
-n1
)
pushd
.
$@
>
/dev/null
echo
"Installing openBIS from
$ob_dir
"
cp
/vagrant/config/openbis/console.properties
$ob_dir
chmod
a+rw
"
$ob_dir
/console.properties"
sudo
-u
openbis
cd
~openbis/
ob_dir
=
$(
find /vagrant/initialize/
-maxdepth
1
-type
d
-name
openBIS-installation-standard-technologies-
*
|
head
-n1
)
sudo
su openbis
-c
"export ADMIN_PASSWORD=admin && export ETLSERVER_PASSWORD=etlserver &&
$ob_dir
/run-console.sh"
echo
"Installing openBIS from
$ob_dir
"
cp
/vagrant/config/openbis/console.properties
$ob_dir
chmod
a+rw
"
$ob_dir
/console.properties"
popd
$@
>
/dev/null
sudo
-u
openbis
cd
~openbis/
sudo
su openbis
-c
"export ADMIN_PASSWORD=admin && export ETLSERVER_PASSWORD=etlserver &&
$ob_dir
/run-console.sh"
sudo touch
/openbis_installed
popd
$@
>
/dev/null
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment