extrastats
Simon 3 years ago
parent 8614390f23
commit 3148438591

@ -21,12 +21,8 @@
echo FreeDMR Docker installer... echo FreeDMR Docker installer...
echo Installing required packages... echo Installing required packages...
#apt-get -y install docker.io &&
#apt-get -y install docker-compose &&
#apt-get -y install conntrack &&
echo Install Docker Community Edition... echo Install Docker Community Edition...
#apt-get remove docker docker-engine docker.io && apt-get remove docker docker-engine docker.io &&
apt-get -y update && apt-get -y update &&
apt-get -y install apt-transport-https ca-certificates curl gnupg2 software-properties-common && apt-get -y install apt-transport-https ca-certificates curl gnupg2 software-properties-common &&
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - && curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - &&
@ -217,6 +213,18 @@ mv /var/log/FreeDMRmonitor/lastheard.log /var/log/FreeDMRmonitor/lastheard.log.s
EOF EOF
chmod 755 /etc/cron.daily/lastheard chmod 755 /etc/cron.daily/lastheard
echo Tune network stack...
cat <<EOF > /etc/sysctl.conf
net.core.rmem_default=134217728
net.core.rmem_max=134217728
net.core.wmem_max=134217728
net.core.rmem_default=134217728
net.core.netdev_max_backlog=250000
net.netfilter.nf_conntrack_udp_timeout=15
net.netfilter.nf_conntrack_udp_timeout_stream=35
EOF
/usr/bin/sysctl -p &&
echo Run FreeDMR container... echo Run FreeDMR container...
docker-compose up -d docker-compose up -d

Loading…
Cancel
Save

Powered by TurnKey Linux.