Haruue Icymoon
ac56271d03
fix(script): url in rerun_with_sudo
2023-09-06 23:29:46 +08:00
Haruue Icymoon
2716b92e94
fix(script): grammar
...
cherry-pick: a2347ad75f
2023-09-06 23:26:39 +08:00
Haruue Icymoon
d1d9f9c666
fix(script): auto sudo when run from stdin
...
cherry-pick: 5379655798
2023-09-06 23:22:55 +08:00
Haruue Icymoon
692f241579
doc: links for v1 docs
2023-09-02 19:02:42 +08:00
Haruue Icymoon
c464049e7b
fix: deprecated warn not show in install_server.sh
2023-09-02 18:57:56 +08:00
Haruue Icymoon
cda0246dc2
chore: install_server.sh for hy1
...
now hy1 and hy2 can be installed side-by-side
2023-09-02 18:51:04 +08:00
Haruue Icymoon
a5647379b1
Revert "feat(install_server.sh): auto detect amd64-avx"
...
some vps have avx in their /proc/cpuinfo but actually not support it
This reverts commit f203ab901e
.
2022-12-12 13:28:22 +08:00
Haruue Icymoon
6e3a3f5388
feat(install_server.sh): customized hysteria user
...
it seems like some linux newbies might try to manage the cert & key by
themselves or thirdparty software (such as caddy), and complain about
hysteria start failure due to permission denied.
and it is actually really pretty hard to teach them how to edit systemd
units, or place their certs & key files into a suitable directory and
set proper permission.
which this commit, we can easily tell them just re-run the install
script with the following command:
HYSTERIA_USER=root ./install_server.sh -f
this script can also detect the correct user from the installed systemd
units, so it still works properly even if the user forgets to specify
HYSTERIA_USER= in the subsequent runs.
2022-12-11 23:27:08 +08:00
Haruue Icymoon
f203ab901e
feat(install_server.sh): auto detect amd64-avx
2022-12-11 22:04:53 +08:00
Haruue Icymoon
986c163040
feat(install_server.sh): version number format
...
validate user specified version number format should begin with 'v'
2022-11-29 12:37:38 +08:00
Haruue Icymoon
dbe9f3414c
fix(install_server.sh): centos 7 supports
...
there is no systemd-sysusers on centos 7, and
its bash does not support $(("1" - "2"))
2022-11-28 15:15:34 +08:00
Haruue Icymoon
608810ceac
fix(install_server.sh): systemd unit desc
2022-11-28 13:36:26 +08:00
Haruue Icymoon
173d3a5a1d
fix(install_server.sh): sudo with $@
2022-11-28 13:22:39 +08:00
Haruue Icymoon
e2cc0dff48
fix(install_server.sh): curl missing -f
2022-11-28 12:15:35 +08:00
Haruue Icymoon
960a380521
fix(install_server.sh): userdel missing -r
2022-11-28 12:11:16 +08:00
Haruue Icymoon
249af28506
chore(install_server.sh): minor code fix
...
rm a redundant assign
2022-11-28 02:39:19 +08:00
Haruue Icymoon
2e6cb1c838
refactor: install_server.sh
...
rewrite this script entirely, and solve all historical issues.
close : #513
close : #514
2022-11-28 02:06:16 +08:00
Toby
7ce4bf7dbe
chore: update module name
2022-11-16 22:57:35 -08:00
Haruue Icymoon
ecf84ee07e
chore: remove python req in the install_server.sh
2022-02-28 21:33:52 +08:00
Toby
1ac9598d1b
chore: rename install.sh to install_server.sh
2022-02-06 19:25:43 -08:00