diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-17 14:59:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-17 14:59:07 +0300 |
commit | 8b573c94895dc0ac0e1d9d59cf3e8745e8b539ca (patch) | |
tree | 544930fb309b30317ae9797a9683768705d664c4 /workhorse/doc/operations/install.md | |
parent | 4b1de649d0168371549608993deac953eb692019 (diff) |
Add latest changes from gitlab-org/gitlab@13-7-stable-eev13.7.0-rc42
Diffstat (limited to 'workhorse/doc/operations/install.md')
-rw-r--r-- | workhorse/doc/operations/install.md | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/workhorse/doc/operations/install.md b/workhorse/doc/operations/install.md new file mode 100644 index 00000000000..28efc407515 --- /dev/null +++ b/workhorse/doc/operations/install.md @@ -0,0 +1,44 @@ +# Installation + +To install GitLab Workhorse you need [Go 1.13 or +newer](https://golang.org/dl) and [GNU +Make](https://www.gnu.org/software/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](doc/operations/configuration.md) to enable them. + +## Run time dependencies + +### Exiftool + +Workhorse uses [exiftool](https://www.sno.phy.queensu.ca/~phil/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: + + ```sh + # Debian/Ubuntu + sudo apt-get install libimage-exiftool-perl + + # RHEL/CentOS + sudo yum install perl-Image-ExifTool + ``` |