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
e702cde2
Commit
e702cde2
authored
Mar 09, 2016
by
Yusei Tahara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add local apache frontend.
parent
4d1442c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
erp5apachefront.conf
erp5apachefront.conf
+5
-0
setup.sh
setup.sh
+7
-1
No files found.
erp5apachefront.conf
0 → 100644
View file @
e702cde2
<
VirtualHost
*:
80
>
RewriteEngine
On
RewriteCond
%{
HTTP_HOST
} (.*)
RewriteRule
^/(.*)
http
://
127
.
0
.
0
.
1
:
2200
/
VirtualHostBase
/
http
/%
1
:
80
/
VirtualHostRoot
/$
1
[
L
,
P
]
</
VirtualHost
>
setup.sh
View file @
e702cde2
...
@@ -3,10 +3,16 @@
...
@@ -3,10 +3,16 @@
# You must use a machine which has at least two cpu cores.
# You must use a machine which has at least two cpu cores.
set
-x
set
-x
apt-get update
apt-get update
apt-get
install
-y
wget git xz-utils
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
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 -
wget
-O-
"http://download.opensuse.org/repositories/home:/VIFIBnexedi/Debian_8.0/Release.key"
| apt-key add -
apt-get update
apt-get update
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 http://lab.nexedi.cn/yusei/a/raw/master/erp5apachefront.conf
rm
/etc/apache2/sites-enabled/000-default.conf
systemctl reload apache2.service
apt-get
install
-y
slapos-node
apt-get
install
-y
slapos-node
slapos configure
local
slapos configure
local
wget
-O
/etc/opt/slapos/slapos.cfg http://lab.nexedi.cn/yusei/a/raw/master/slapos.cfg
wget
-O
/etc/opt/slapos/slapos.cfg http://lab.nexedi.cn/yusei/a/raw/master/slapos.cfg
...
...
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