Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
R6A06
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Abdallah Toumji
R6A06
Commits
66b58f13
Commit
66b58f13
authored
1 year ago
by
Jean-Marie Place
Browse files
Options
Downloads
Patches
Plain Diff
installation depot git
parent
91b05c02
Branches
home
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Vagrantfile
+9
-1
9 additions, 1 deletion
Vagrantfile
with
9 additions
and
1 deletion
Vagrantfile
+
9
−
1
View file @
66b58f13
...
...
@@ -74,6 +74,7 @@ Vagrant.configure("2") do |config|
apt -y install net-tools
export CONFIG=/vagrant/config
apt-get install -y gnupg
apt-get install -y git
wget -O - https://scodoc.org/misc/scodoc-repo.gpg.key | gpg --dearmor > /usr/share/keyrings/scodoc-archive-keyring.gpg
#ajout depot et installation scodoc
cp $CONFIG/scodoc.list /etc/apt/sources.list.d
...
...
@@ -84,7 +85,6 @@ Vagrant.configure("2") do |config|
apt-get install -y scodoc9
echo '# scodoc user is created by scodoc install. configure it'
usermod -aG sudo scodoc
cp $CONFIG/.bashrc /home/scodoc/.bashrc
su -c "psql -c 'GRANT postgres TO scodoc;'" postgres
chpasswd <<EOF
...
...
@@ -103,6 +103,14 @@ EOF
cp $CONFIG/.env /opt/scodoc/.env
cd /opt/scodoc
yes | tools/restore_scodoc9_data.sh /$CONFIG/SCODOC.tgz
# iniitalise repo
cd /opt/scodoc
su -c "git init" scodoc
su -c "git remote add origin https://gitlab.univ-lille.fr/Jean-Marie.Place/scodoc_r6a06.git" scodoc
su -c "git fetch" scodoc
su -c "git switch master --force" scodoc
echo -n "Adresse ip: "
ip a show eth1
SHELL
...
...
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