debian-mirror-gitlab/workhorse/doc/operations/install.md
2021-04-29 21:17:54 +05:30

1.1 KiB

Installation

To install GitLab Workhorse you need Go 1.15 or newer and GNU Make.

To install into /usr/local/bin run make install.

make install

To install into /foo/bin set the PREFIX variable.

make install PREFIX=/foo

On some operating systems, such as FreeBSD, you may have to use gmake instead of make.

NOTE: Some features depends on build tags, make sure to check Workhorse configuration to enable them.

Run time dependencies

Exiftool

Workhorse uses exiftool for removing EXIF data (which may contain sensitive information) from uploaded images. If you installed GitLab:

  • Using the Omnibus package, you're all set. NOTE that if you are using CentOS Minimal, you may need to install perl package: yum install perl

  • From source, make sure exiftool is installed:

    # Debian/Ubuntu
    sudo apt-get install libimage-exiftool-perl
    
    # RHEL/CentOS
    sudo yum install perl-Image-ExifTool