Bash script for installing PanIndex in operating systems such as CentOS / Debian that support systemd
Please run it as a root user.
installed service: /etc/systemd/system/PanIndex.service
installed executable file: /usr/local/bin/PanIndex
installed working directory(data): /usr/local/etc/PanIndex
# bash <(curl -L https://github.com/px-org/PanIndex-install/raw/main/install-release.sh) -i
# bash <(curl -L https://github.com/px-org/PanIndex-install/raw/main/install-release.sh) -i -pre
# bash <(curl -L https://github.com/px-org/PanIndex-install/raw/main/install-release.sh) -h
# bash <(curl -L https://github.com/px-org/PanIndex-install/raw/main/install-release.sh) -c
# bash <(curl -L https://github.com/px-org/PanIndex-install/raw/main/install-release.sh) -r
# bash <(curl -L https://github.com/px-org/PanIndex-install/raw/main/install-release.sh) -a
# bash <(curl -L https://github.com/px-org/PanIndex-install/raw/main/install-release.sh) -a -pre
# bash <(curl -L https://github.com/px-org/PanIndex-install/raw/main/install-release.sh) -i -p=socks5://127.0.0.1:1089
# export WORKING_DIRECTORY='/usr/local/etc/PanIndex'