Subversion Repositories ALCASAR

Rev

Rev 1518 | Rev 1527 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log

Rev 1518 Rev 1525
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 1518 2014-12-16 23:06:52Z richard $ 
2
#  $Id: alcasar.sh 1525 2014-12-21 10:50:00Z franck $ 
3
 
3
 
4
# alcasar.sh
4
# alcasar.sh
5
 
5
 
6
# ALCASAR Install script -  CopyLeft ALCASAR Team [Rexy + 3abtux + Steweb + Crox + ...] 
6
# ALCASAR Install script -  CopyLeft ALCASAR Team [Rexy + 3abtux + Steweb + Crox + ...] 
7
# Ce programme est un logiciel libre ; This software is free and open source
7
# Ce programme est un logiciel libre ; This software is free and open source
Line 816... Line 816...
816
ErrorDocument 502 /error/error.php?error=502
816
ErrorDocument 502 /error/error.php?error=502
817
ErrorDocument 503 /error/error.php?error=503
817
ErrorDocument 503 /error/error.php?error=503
818
ErrorDocument 506 /error/error.php?error=506
818
ErrorDocument 506 /error/error.php?error=506
819
EOF
819
EOF
820
 
820
 
-
 
821
# Initialization of Vnstat
-
 
822
	/usr/bin/vnstat -u -i eth0
-
 
823
 
821
} # End of ACC ()
824
} # End of ACC ()
822
 
825
 
823
##########################################################################################
826
##########################################################################################
824
##				Fonction "CA"						##
827
##				Fonction "CA"						##
825
## - Création d'une Autorité de Certification et du certificat serveur pour apache 	##
828
## - Création d'une Autorité de Certification et du certificat serveur pour apache 	##
Line 1864... Line 1867...
1864
 
1867
 
1865
[Install]
1868
[Install]
1866
WantedBy=multi-user.target
1869
WantedBy=multi-user.target
1867
EOF
1870
EOF
1868
# processes launched at boot time (Systemctl)
1871
# processes launched at boot time (Systemctl)
1869
	for i in alcasar-load_balancing mysqld httpd ntpd iptables dnsmasq dnsmasq-blacklist dnsmasq-whitelist dnsmasq-blackhole radiusd nfsen dansguardian freshclam ulogd-ssh ulogd-traceability ulogd-ext-access chilli fail2ban havp tinyproxy
1872
	for i in alcasar-load_balancing mysqld httpd ntpd iptables dnsmasq dnsmasq-blacklist dnsmasq-whitelist dnsmasq-blackhole radiusd nfsen dansguardian freshclam ulogd-ssh ulogd-traceability ulogd-ext-access chilli fail2ban havp tinyproxy vnstat
1870
	do
1873
	do
1871
		systemctl -q enable $i.service
1874
		systemctl -q enable $i.service
1872
	done
1875
	done
1873
	
1876
	
1874
# disable processes at boot time (Systemctl)
1877
# disable processes at boot time (Systemctl)