forked from norman/fusionpbx-install.sh-github-mirror
Devuan: update all install scripts from debian (#390)
* devuan: pull fail2ban updates from debian installer * devuan: merge updates to postgresql.sh from debian * devuan: pull updated resources/backup scripts from debian * devuan: merge and update php installer scripts * devuan: merged changes to reset_admin_password.sh from debian * devuan: fix release name typo for chimaera * devuan: merge iptables changes from debian * devuan: merge nginx changes from debian * devuan: merge letsencrypt.sh from debian * devuan: merge main install scripts and config from debian * devuan: simplify sngrep install, its in all maintained releases * devuan: merge main install script updates from debian * devuan: finish.sh: use /usr/sbin/service for restart * devuan: postgresql.sh: fix syntax error * devuan: update and unify sysvinit setup there is no sysvinit package available from freeswitch, usethe same init and defaults file for package and source install * devuan: add equvalent debian releasesto environment.sh * devuan: merge changes to switch* from debian * devuan: switch: use os_codenam_debian to add repos * devuan: olny stop ufw if it was installed * devuan: update config.sh defaults * devuan: remove systemd-specifics from switch package installation * devuan: install postgres before freeswitch * devuan: removed libyuv-dev installation, embedded in freeswitch * devuan: fix failing move of freeswitch music * devuan: removed another libyuv-dev installation, embedded in freeswitch * devuan: revert freeswitch script dir setting in /etc/default * devuan: Enable mod_av for the install. (#389) * devuan: merge improved nginx ssl settings (#388)
This commit is contained in:
@@ -15,19 +15,35 @@ verbose "Update installed packages"
|
||||
apt-get -q update && apt-get -q --assume-yes upgrade
|
||||
|
||||
#Add dependencies
|
||||
apt-get install -q -y lsb-release sudo
|
||||
apt-get install -y wget
|
||||
apt-get install -y lsb-release
|
||||
apt-get install -y ca-certificates
|
||||
apt-get install -y dialog
|
||||
apt-get install -y nano
|
||||
apt-get install -y net-tools
|
||||
|
||||
#SNMP
|
||||
apt-get install -y snmpd
|
||||
echo "rocommunity public" > /etc/snmp/snmpd.conf
|
||||
service snmpd restart
|
||||
|
||||
#IPTables
|
||||
resources/iptables.sh
|
||||
|
||||
#Optional CLI SIP monitoring tool
|
||||
resources/sngrep.sh
|
||||
|
||||
#FusionPBX
|
||||
resources/fusionpbx.sh
|
||||
|
||||
#PHP
|
||||
resources/php.sh
|
||||
|
||||
#NGINX web server
|
||||
resources/nginx.sh
|
||||
|
||||
#PHP
|
||||
resources/php.sh
|
||||
#Postgres
|
||||
resources/postgresql.sh
|
||||
|
||||
#FreeSWITCH
|
||||
resources/switch.sh
|
||||
@@ -35,22 +51,8 @@ resources/switch.sh
|
||||
#Fail2ban
|
||||
resources/fail2ban.sh
|
||||
|
||||
#Optional CLI SIP monitoring tool
|
||||
resources/sngrep.sh
|
||||
|
||||
#Postgres
|
||||
resources/postgresql.sh
|
||||
|
||||
#restart services
|
||||
if [ ."$php_version" = ."5" ]; then
|
||||
service php5-fpm restart
|
||||
fi
|
||||
if [ ."$php_version" = ."7" ]; then
|
||||
service php7.0-fpm restart
|
||||
fi
|
||||
|
||||
service nginx restart
|
||||
service fail2ban restart
|
||||
#set the ip address
|
||||
server_address=$(hostname -I)
|
||||
|
||||
#add the database schema, user and groups
|
||||
resources/finish.sh
|
||||
|
||||
Reference in New Issue
Block a user