#!/bin/sh
# centos 7 server initialization shell commands
# for upcloud atleast (2017-06-18)

sudo yum makecache fast

# epel (needed by some)
sudo yum install -y epel-release

# basics/comfort
sudo yum install -y bash-completion git vim-enhanced

# timezone
sudo yum install -y ntp ntpdate
sudo timedatectl set-timezone Europe/Helsinki
#sudo systemctl enable ntpdate
#sudo systemctl start ntpdate
sudo systemctl enable ntpd
sudo systemctl start ntpd
