You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.6 KiB

  1. ---
  2. date: "2017-06-19T12:00:00+02:00"
  3. title: "Installation from binary"
  4. slug: "install-from-binary"
  5. weight: 10
  6. toc: true
  7. draft: false
  8. menu:
  9. sidebar:
  10. parent: "installation"
  11. name: "From binary"
  12. weight: 20
  13. identifier: "install-from-binary"
  14. ---
  15. # Installation from binary
  16. All downloads come with SQLite, MySQL and PostgreSQL support, and are built with
  17. embedded assets. This can be different for older releases. Choose the file matching
  18. the destination platform from the [downloads page](https://dl.gitea.io/gitea), copy
  19. the URL and replace the URL within the commands below:
  20. ```
  21. wget -O gitea https://dl.gitea.io/gitea/1.3.2/gitea-1.3.2-linux-amd64
  22. chmod +x gitea
  23. ```
  24. ## Test
  25. After getting a binary, it can be tested with `./gitea web` or moved to a permanent
  26. location. When launched manually, Gitea can be killed using `Ctrl+C`.
  27. ```
  28. ./gitea web
  29. ```
  30. ## Troubleshooting
  31. ### Old glibc versions
  32. Older Linux distributions (such as Debian 7 and CentOS 6) may not be able to load the
  33. Gitea binary, usually producing an error such as ```./gitea: /lib/x86_64-linux-gnu/libc.so.6:
  34. version `GLIBC\_2.14' not found (required by ./gitea)```. This is due to the integrated
  35. SQLite support in the binaries provided by dl.gitea.io. In this situation, it is usually
  36. possible to [install from source]({{< relref "from-source.en-us.md" >}}) without sqlite
  37. support.
  38. ### Running gitea on another port
  39. For errors like `702 runWeb()] [E] Failed to start server: listen tcp 0.0.0.0:3000:
  40. bind: address already in use` gitea needs to be started on another free port. This
  41. is possible using `./gitea web -p $PORT`. It's possible another instance of gitea
  42. is already running.