diff options
author | ChatChimi <Pichue07@gmail.com> | 2020-05-10 09:19:17 +0200 |
---|---|---|
committer | ChatChimi <Pichue07@gmail.com> | 2020-05-10 09:19:17 +0200 |
commit | 78f0b26e11e8793e1bed7bb5d1fc98277ff4b49f (patch) | |
tree | 2edcb60c9151e7afcee1370e0ae067d66f6b4dd3 | |
parent | cb6a7852bf1015497aaaf40cc41050405f3f3f84 (diff) |
Auto Server Apache
-rwxr-xr-x | automatisation/apacheAuto.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/automatisation/apacheAuto.sh b/automatisation/apacheAuto.sh new file mode 100755 index 0000000..6b3800b --- /dev/null +++ b/automatisation/apacheAuto.sh @@ -0,0 +1,12 @@ +#!/bin/bash +#Executer en tant que root + +apt install apache2 libapache2-mod-python python-psycopg2 + +cp -r /root/ATS-Project/www /var/ + +cp -r /root/ATS-Project/www/server-config/apache2 /etc/ + +cp -r /root/ATS-Project/www/server-config/ssl /etc/ + +systemctl restart apache2 |