aboutsummaryrefslogtreecommitdiff
path: root/automatisation/apacheAuto.sh
blob: 66d4e0527a27eb8dfb28d0fa8b49c64c05ff2125 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
#Executer en tant que root

apt install apache2 libapache2-mod-python python-psycopg2

cp -rv /root/ATS-Project/www /var/

cp -rv /root/ATS-Project/www/server-config/apache2 /etc/

cp -rv /root/ATS-Project/www/server-config/ssl /etc/

systemctl restart apache2