Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
a
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Yusei Tahara
a
Commits
69b8d3b7
Commit
69b8d3b7
authored
Dec 26, 2016
by
Yusei Tahara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new file
parent
8dc347e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
setup_wendelin.sh
setup_wendelin.sh
+25
-0
No files found.
setup_wendelin.sh
0 → 100644
View file @
69b8d3b7
#!/bin/bash
# You can setup erp5 in your computer without ipv6.
# You must use a machine which has at least two cpu cores.
set
-x
apt-get update
apt-get
install
-y
wget git xz-utils apache2
echo
"deb http://download.opensuse.org/repositories/home:/VIFIBnexedi/Debian_8.0/ ./"
|
tee
/etc/apt/sources.list.d/slapos.list
wget
-O-
"http://download.opensuse.org/repositories/home:/VIFIBnexedi/Debian_8.0/Release.key"
| apt-key add -
apt-get update
ln
-s
/etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/
ln
-s
/etc/apache2/mods-available/proxy.conf /etc/apache2/mods-enabled/
ln
-s
/etc/apache2/mods-available/proxy.load /etc/apache2/mods-enabled/
ln
-s
/etc/apache2/mods-available/proxy_http.load /etc/apache2/mods-enabled/
wget
-O
/etc/apache2/sites-enabled/erp5apachefront.conf https://lab.nexedi.cn/yusei/a/raw/master/erp5apachefront.conf
rm
/etc/apache2/sites-enabled/000-default.conf
systemctl restart apache2.service
apt-get
install
-y
slapos-node
slapos configure
local
wget
-O
/etc/opt/slapos/slapos.cfg https://lab.nexedi.cn/yusei/a/raw/master/slapos.cfg
wget
-O
/etc/opt/slapos/computer_definition.cfg https://lab.nexedi.cn/yusei/a/raw/master/computer_definition.cfg
slapos proxy start
slapos node format
--now
git clone https://lab.nexedi.com/nexedi/slapos.git /tmp/slapos
slapos supply /tmp/slapos/software/wendelin/software.cfg local_computer
slapos request wendelin /tmp/slapos/software/wendelin/software.cfg
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment