Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eRaid6/gitea-install
Install and Upgrade Gitea on CentOS 7/RHEL7 and Fedora 30
https://github.com/eRaid6/gitea-install
Last synced: about 1 month ago
JSON representation
Install and Upgrade Gitea on CentOS 7/RHEL7 and Fedora 30
- Host: GitHub
- URL: https://github.com/eRaid6/gitea-install
- Owner: eRaid6
- License: wtfpl
- Created: 2019-10-26T18:18:03.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-09T14:53:51.000Z (almost 2 years ago)
- Last Synced: 2024-08-01T20:51:47.291Z (4 months ago)
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 7
- Watchers: 3
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - eRaid6/gitea-install - Install and Upgrade Gitea on CentOS 7/RHEL7 and Fedora 30 (Shell)
README
# gitea-install
Bash script written to automate installing Gitea binary on CentOS 7/8, RHEL 7/8, Fedora 30/31. `gitea-install.sh` will install gitea go binary in /usr/local/bin/, create a systemd unit file for gitea, create the gitea user.`gitea-install.sh` is safe to run multiple times, in fact that's how you can use it to upgrade your current installation. When `gitea-install.sh` updates a installation it takes a backup first to /tmp.
## Installing
Checkout gitea-install to any place you want
```
cd /tmp
git clone
```
Run the installer
```
/tmp/gitea-install/gitea-install.sh
```
gitea will be running on port 3000 by default. When going through the web install you can switch it to 443 if you would like and put ssl certs in /etc/gitea/ssl### Starting/Stopping and Enabling gitea
#### Start
```
sudo systemctl start gitea
```
#### If you want gitea to automatically start on server boot
```
sudo systemctl enable gitea
```## Uninstalling
`gitea-uninstall.sh` will undo/remove everything `gitea-install.sh` does.