Commit 3b5fffeb authored by Yusei Tahara's avatar Yusei Tahara

Update setup.sh

parent f0da99d4
...@@ -11,15 +11,12 @@ ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/ ...@@ -11,15 +11,12 @@ 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.conf /etc/apache2/mods-enabled/
ln -s /etc/apache2/mods-available/proxy.load /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/ 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 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 rm /etc/apache2/sites-enabled/000-default.conf
systemctl restart apache2.service systemctl restart 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 https://lab.nexedi.cn/yusei/a/raw/master/slapos.cfg
wget -O /etc/opt/slapos/computer_definition.cfg http://lab.nexedi.cn/yusei/a/raw/master/computer_definition.cfg wget -O /etc/opt/slapos/computer_definition.cfg https://lab.nexedi.cn/yusei/a/raw/master/computer_definition.cfg
slapos proxy start slapos proxy start
slapos node format --now slapos node format --now
git clone https://lab.nexedi.com/nexedi/slapos.git /tmp/slapos \ No newline at end of file
slapos supply /tmp/slapos/software/erp5/software.cfg local_computer
slapos request erp5 /tmp/slapos/software/erp5/software.cfg
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment