added uptimed app

This commit is contained in:
2018-12-31 08:46:11 -05:00
parent 9c4889df84
commit f7fc9f3d3e

View File

@@ -37,7 +37,7 @@ if [ -f /etc/debian_version ]; then
# update the list of available packages
apt update
# install the packages
apt install -y pbis-open sudo nano htop nload iperf iperf3 open-vm-tools unattended-upgrades unzip git nfs-common
apt install -y pbis-open sudo nano htop nload iperf iperf3 open-vm-tools unattended-upgrades unzip git nfs-common uptimed
# modify ssh to allow root login and then restart the service
sed --in-place "s/^.PermitRootLogin\ prohibit-password/PermitRootLogin\ yes/" /etc/ssh/sshd_config
@@ -58,7 +58,7 @@ elif [ -f /etc/redhat-release ]; then
# clean the yum cache
yum clean all
# install the packages
yum install -y pbis-open sudo nano htop nload iperf iperf3 bind-utils open-vm-tools yum-cron unzip nfs-utils git wget
yum install -y pbis-open sudo nano htop nload iperf iperf3 bind-utils open-vm-tools yum-cron unzip nfs-utils git wget uptimed
# modify yum-cron config to auto install security updates and enable/start the service
sed --in-place "s/^update_cmd\ =\ default/update_cmd\ =\ security/" /etc/yum/yum-cron.conf