|
|
|
|
@ -11,9 +11,6 @@ sudo adduser --disabled-login --gecos 'Gitea' git
|
|
|
|
|
```
|
|
|
|
|
$ wget -O gitea https://dl.gitea.io/gitea/1.10.2/gitea-1.10.2-linux-amd64
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$ wget -O gitea https://dl.gitea.io/gitea/1.10.2/gitea-1.10.2-linux-arm-7
|
|
|
|
|
|
|
|
|
|
$ wget -O gitea https://dl.gitea.io/gitea/1.10.2/gitea-1.10.2-linux-arm-6
|
|
|
|
|
$ chmod +x gitea
|
|
|
|
|
```
|
|
|
|
|
@ -48,11 +45,10 @@ $ sudo rm -rf /home/git
|
|
|
|
|
```
|
|
|
|
|
************
|
|
|
|
|
|
|
|
|
|
open browser to `http://192.168.0.113:3000/install`
|
|
|
|
|
open browser to `http://192.168.10.113:3000/install`
|
|
|
|
|
|
|
|
|
|
install gitea configuration
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Run Caddy service
|
|
|
|
|
|
|
|
|
|
for x86
|
|
|
|
|
@ -81,7 +77,7 @@ $ sudo nano Caddyfile
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
```text
|
|
|
|
|
homenetyth.dlinkddns.com {
|
|
|
|
|
homenetyth.ddnsking.com {
|
|
|
|
|
proxy / 127.0.0.1:3000
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
@ -123,14 +119,20 @@ pass : yikth@7572137
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Update Gitea config file `custom/conf/app.ini`
|
|
|
|
|
sample `home/git/custom/conf/app.ini`
|
|
|
|
|
|
|
|
|
|
```text
|
|
|
|
|
[server]
|
|
|
|
|
SSH_DOMAIN = example.com
|
|
|
|
|
HTTP_PORT = 3000
|
|
|
|
|
ROOT_URL = https://example.com
|
|
|
|
|
SSH_DOMAIN = homenetyth.ddnsking.com
|
|
|
|
|
DOMAIN = localhost
|
|
|
|
|
HTTP_PORT = 3000
|
|
|
|
|
ROOT_URL = http://192.168.10.113:3000/
|
|
|
|
|
DISABLE_SSH = false
|
|
|
|
|
SSH_PORT = 29419
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
$ restart gitea service
|
|
|
|
|
|
|
|
|
|
|