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

Update setup.sh

parent e9fcad73
......@@ -11,12 +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.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
wget -O /etc/apache2/sites-enabled/erp5apachefront.conf https://lab.nexedi.com/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
wget -O /etc/opt/slapos/slapos.cfg https://lab.nexedi.com/yusei/a/raw/master/slapos.cfg
wget -O /etc/opt/slapos/computer_definition.cfg https://lab.nexedi.com/yusei/a/raw/master/computer_definition.cfg
slapos proxy start
slapos node format --now
\ No newline at end of file
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