Изменил(а) на 'setup_web1c.sh'

This commit is contained in:
dimon 2022-04-04 15:04:32 +00:00
parent 4973e362d7
commit 869279fbdc

View File

@ -6,20 +6,21 @@ apt install -y apache2
# Configure
rm /var/www/html/index.html
wget https://gitlab.dfosd.synology.me/docker-images/ubuntu-1c/-/raw/master/configuration/default-ssl.conf -O /etc/apache2/sites-enabled/default-ssl.conf
wget https://git.dfosd.synology.me/docker/ubuntu-1c-web/raw/branch/master/default-ssl.conf -O /etc/apache2/sites-enabled/default-ssl.conf
ln -s /etc/apache2/mods-available/ssl.conf /etc/apache2/mods-enabled/ssl.conf
ln -s /etc/apache2/mods-available/ssl.load /etc/apache2/mods-enabled/ssl.load
ln -s /etc/apache2/mods-available/socache_shmcb.load /etc/apache2/mods-enabled/socache_shmcb.load
wget https://gitlab.dfosd.synology.me/docker-images/ubuntu-1c/-/raw/master/infobase_apache_mod/db1cv8.load -P /etc/apache2/mods-enabled
wget https://git.dfosd.synology.me/docker/ubuntu-1c-web/raw/branch/master/db1cv8.load -P /etc/apache2/mods-enabled
# Configure infobase
wget https://gitlab.dfosd.synology.me/docker-images/ubuntu-1c/-/raw/master/infobase_apache_mod/db1cv8_auto_compare.conf -P /etc/apache2/mods-enabled
wget https://gitlab.dfosd.synology.me/docker-images/ubuntu-1c/-/raw/master/infobase_apache_mod/db1cv8_diabet.conf -P /etc/apache2/mods-enabled
wget https://gitlab.dfosd.synology.me/docker-images/ubuntu-1c/-/raw/master/infobase_apache_mod/db1cv8_finances.conf -P /etc/apache2/mods-enabled
wget https://gitlab.dfosd.synology.me/docker-images/ubuntu-1c/-/raw/master/infobase_apache_mod/db1cv8_gift.conf -P /etc/apache2/mods-enabled
wget https://gitlab.dfosd.synology.me/docker-images/ubuntu-1c/-/raw/master/infobase_apache_mod/db1cv8_project.conf -P /etc/apache2/mods-enabled
wget https://gitlab.dfosd.synology.me/docker-images/ubuntu-1c/-/raw/master/infobase_apache_mod/db1cv8_zhkekh.conf -P /etc/apache2/mods-enabled
wget https://git.dfosd.synology.me/docker/ubuntu-1c-web/raw/branch/master/conf/db1cv8_auto_compare.conf -P /etc/apache2/mods-enabled
wget https://git.dfosd.synology.me/docker/ubuntu-1c-web/raw/branch/master/conf/db1cv8_diabet.conf -P /etc/apache2/mods-enabled
wget https://git.dfosd.synology.me/docker/ubuntu-1c-web/raw/branch/master/conf/db1cv8_finances.conf -P /etc/apache2/mods-enabled
wget https://git.dfosd.synology.me/docker/ubuntu-1c-web/raw/branch/master/conf/db1cv8_gift.conf -P /etc/apache2/mods-enabled
wget https://git.dfosd.synology.me/docker/ubuntu-1c-web/raw/branch/master/conf/db1cv8_project.conf -P /etc/apache2/mods-enabled
wget https://git.dfosd.synology.me/docker/ubuntu-1c-web/raw/branch/master/conf/db1cv8_zhkekh.conf -P /etc/apache2/mods-enabled
wget https://git.dfosd.synology.me/docker/ubuntu-1c-web/raw/branch/master/conf/db1cv8_budget.conf -P /etc/apache2/mods-enabled
mkdir /var/www/html/auto
mkdir /var/www/html/diabet
@ -27,10 +28,14 @@ mkdir /var/www/html/finances
mkdir /var/www/html/gift
mkdir /var/www/html/project
mkdir /var/www/html/zhkekh
mkdir /var/www/html/budget
mkdir /var/www/html/english
wget https://gitlab.dfosd.synology.me/docker-images/ubuntu-1c/-/raw/master/infobase_web/auto.vrd -O /var/www/html/auto/default.vrd
wget https://gitlab.dfosd.synology.me/docker-images/ubuntu-1c/-/raw/master/infobase_web/diabet.vrd -O /var/www/html/diabet/default.vrd
wget https://gitlab.dfosd.synology.me/docker-images/ubuntu-1c/-/raw/master/infobase_web/finances.vrd -O /var/www/html/finances/default.vrd
wget https://gitlab.dfosd.synology.me/docker-images/ubuntu-1c/-/raw/master/infobase_web/gift.vrd -O /var/www/html/gift/default.vrd
wget https://gitlab.dfosd.synology.me/docker-images/ubuntu-1c/-/raw/master/infobase_web/project.vrd -O /var/www/html/project/default.vrd
wget https://gitlab.dfosd.synology.me/docker-images/ubuntu-1c/-/raw/master/infobase_web/zhkekh.vrd -O /var/www/html/zhkekh/default.vrd
wget https://git.dfosd.synology.me/docker/ubuntu-1c-web/raw/branch/master/conf/auto.vrd -O /var/www/html/auto/default.vrd
wget https://git.dfosd.synology.me/docker/ubuntu-1c-web/raw/branch/master/conf/diabet.vrd -O /var/www/html/diabet/default.vrd
wget https://git.dfosd.synology.me/docker/ubuntu-1c-web/raw/branch/master/conf/finances.vrd -O /var/www/html/finances/default.vrd
wget https://git.dfosd.synology.me/docker/ubuntu-1c-web/raw/branch/master/conf/gift.vrd -O /var/www/html/gift/default.vrd
wget https://git.dfosd.synology.me/docker/ubuntu-1c-web/raw/branch/master/conf/project.vrd -O /var/www/html/project/default.vrd
wget https://git.dfosd.synology.me/docker/ubuntu-1c-web/raw/branch/master/conf/zhkekh.vrd -O /var/www/html/zhkekh/default.vrd
wget https://git.dfosd.synology.me/docker/ubuntu-1c-web/raw/branch/master/conf/budget.vrd -O /var/www/html/budget/default.vrd
wget https://git.dfosd.synology.me/docker/ubuntu-1c-web/raw/branch/master/conf/english.vrd -O /var/www/html/english/default.vrd