install and enable

gem install gollum
gem install github-markdown #required for tables

navigate to wiki dir and run gollum

gollum --css --h1-title

running as a service

enter the following in /etc/systemd/system/gollum-personal.service

Description=Personal Gollum wiki server

ExecStart=/home/pyratebeard/.gem/ruby/2.5.0/bin/gollum --show-all --live-preview --h1-title --port 4666 --css "/path/to/your/repo"


installing gollum on jump-test # use –bare

  • configure omnigollum
  • using azuread


  • to enable git server
    • install git (duh!)
    • create 'git' user
        adduser git
        mkdir ~git/.ssh
        chmod 700 ~git/.ssh
        touch ~git/.ssh/authorized_keys
        chmod 600 ~git/.ssh/authorized_keys
  • mkdir 'wiki' dir
      mkdir /wiki
      chown git. /wiki
  • create git repo - getting git on server
      su - git
      cd /wiki
      git init --bare --shared
  • clone repo and initial commit (on local machine)
      git clone git@gitserver:/wiki wiki
      cd wiki/
      echo "# wiki" >
      git add
      git commit -m "Initial commit"
      git push -u origin master
  • install gollum
      apt install ruby ruby-dev build-essential zlib1g-dev libicu-dev
      gem install gollum
      yum group install "Development Tools"
      yum install ruby ruby-devel libicu libicu-devel zlib zlib-devel
      gem install gollum
  • enable gollum as a service
      vi /etc/systemd/system/gollum.service
      ExecStart=/usr/local/bin/gollum --show-all "/wiki"
  • allow traffic
      iptables -I INPUT -p tcp --dport 4567 -j ACCEPT -m comment --comment "Allow access to wiki"