From 78f0b26e11e8793e1bed7bb5d1fc98277ff4b49f Mon Sep 17 00:00:00 2001
From: ChatChimi <Pichue07@gmail.com>
Date: Sun, 10 May 2020 09:19:17 +0200
Subject: Auto Server Apache

---
 automatisation/apacheAuto.sh | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100755 automatisation/apacheAuto.sh

(limited to 'automatisation')

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
-- 
cgit v1.2.3