Say automaticaly yes on installation

This commit is contained in:
Mathieu Sanchez 2019-04-05 14:12:45 +09:00
parent cd2a4ebdbc
commit 4fcf6f3d5b
4 changed files with 6 additions and 5 deletions

View File

@ -1 +1 @@
apt-get install git; git clone https://git.sanchezm.fr/mathieu/C2A-Installation-Server.git; cd C2A-Installation-Server/ apt-get install -y git; git clone https://git.sanchezm.fr/mathieu/C2A-Installation-Server.git; cd C2A-Installation-Server/; ./install.sh

0
docker/mongo.sh → docker/install-mongo.sh Executable file → Normal file
View File

View File

@ -1,4 +1,4 @@
apt-get install nginx apt-get install -y nginx
cp ./docker/conf/nginx.conf /etc/nginx/ cp ./docker/conf/nginx.conf /etc/nginx/
cp ./docker/conf/mime.types /etc/nginx/ cp ./docker/conf/mime.types /etc/nginx/

View File

@ -1,9 +1,9 @@
# Update debian # Update debian
apt-get update; apt-get upgrade apt-get update; apt-get upgrade -y
# Installation of Docker # Installation of Docker
apt-get remove docker docker-engine docker.io containerd runc apt-get remove docker docker-engine docker.io containerd runc
apt-get install \ apt-get install -y \
apt-transport-https \ apt-transport-https \
ca-certificates \ ca-certificates \
curl \ curl \
@ -16,7 +16,7 @@ add-apt-repository \
$(lsb_release -cs) \ $(lsb_release -cs) \
stable" stable"
apt-get update apt-get update
apt-get install docker-ce docker-ce-cli containerd.io apt-get install -y docker-ce docker-ce-cli containerd.io
# Add Alias in bash # Add Alias in bash
./docker/add-alias.sh ./docker/add-alias.sh
@ -29,5 +29,6 @@ git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt
./docker/install-gitlab.sh ./docker/install-gitlab.sh
./docker/install-portainer.sh ./docker/install-portainer.sh
./docker/install-jenkins.sh ./docker/install-jenkins.sh
./docker/install-mongo.sh
service nginx restart service nginx restart