- URL: Gitit
- Author: Dominic Imhof
- Follow instructions at DigitalOcean
echo Europe/Zurich > /etc/timezone && dpkg-reconfigure tzdata
apt-get update -y && apt-get upgrade -y
sed -i 's/#PasswordAuthentication yes/PasswordAuthentication no/g' /etc/ssh/sshd_config
sed -i 's/AcceptEnv LANG LC_*/#AcceptEnv LANG LC_*/g' /etc/ssh/sshd_config
service ssh restart
ufw default deny incoming
ufw allow ssh
ufw allow http
ufw allow https
ufw enable
apt-get install -y git apache2 libtinfo-dev
useradd -m gitit && sudo su - gitit
- Follow instructions at GitHub
stack setup
## Install Gitit
- Follow instructions at GitHub
- Checkout right version
git fetch origin refs/tags/0.12.0.1:refs/tags/0.12.0.1 && git checkout 0.12.0.1
- Copy gitit file to /etc/init.d
chmod +x /etc/init.d/gitit
update-rc.d gitit defaults