mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-02-08 07:39:07 +01:00
update some help info
This commit is contained in:
@@ -376,17 +376,26 @@ fi
|
||||
Show_Help() {
|
||||
echo -e "\nCyberPanel Installer Script Help\n"
|
||||
echo -e "\nUsage: sh <(curl cyberpanel.sh) --argument"
|
||||
echo -e "\n -v or --version: choose to install CyberPanel OpenLiteSpeed or CyberPanel Enterprise, available options are \e[31mols\e[39m and \e[31mSERIAL_NUMBER\e[39m, default ols"
|
||||
echo -e "\n Please be aware, this serial number must be obtained from LiteSpeed Store."
|
||||
echo -e "\n And if this serial number has been used before, it must be released/migrated in Store first, otherwise it will fail to start."
|
||||
echo -e "\n -a or --addons: install addons: memcached, redis, PHP extension for memcached and redis"
|
||||
echo -e "\n -p or --password: set password of new installation, empty for default 1234567, [r] or [random] for randomly generated 16 digital password, any other value besides [d] and [r(andom)] will be accept as password, default use 1234567."
|
||||
echo -e "\n -m: set to minimal mode which will not install PowerDNS, Pure-FTPd and Postfix"
|
||||
echo -e "\n Example:"
|
||||
echo -e "\n sh <(curl cyberpanel.sh) -v ols -p r or ./cyberpanel.sh --version ols --password random"
|
||||
echo -e "\n This will install CyberPanel OpenLiteSpeed and randomly generate the password."
|
||||
echo -e "\n sh <(curl cyberpanel.sh) -v LICENSE_KEY -a -p my_pass_word"
|
||||
echo -e "\n This will install LiteSpeed Enterise , replace LICENSE_KEY to actual license key and set password to my_pass_word\n"
|
||||
echo -e "\n\e[31m-v\e[39m or \e[31m--version\e[39m : choose to install CyberPanel OpenLiteSpeed or CyberPanel Enterprise, available options are \e[31mols\e[39m , \e[31mTRIAL\e[39m and \e[31mSERIAL_NUMBER\e[39m, default ols"
|
||||
echo -e "Please be aware, this serial number must be obtained from LiteSpeed Store."
|
||||
echo -e "And if this serial number has been used before, it must be released/migrated in Store first, otherwise it will fail to start."
|
||||
echo -e "\n\e[31m-a\e[39m or \e[31m--addons\e[39m : install addons: memcached, redis, PHP extension for memcached and redis"
|
||||
echo -e "\n\e[31m-p\e[39m or \e[31m--password\e[39m : set password of new installation, empty for default 1234567, [r] or [random] for randomly generated 16 digital password, any other value besides [d] and [r(andom)] will be accept as password, default use 1234567."
|
||||
echo -e "e.g. \e[31m-p r\e[39m will generate a random password"
|
||||
echo -e " \e[31m-p 123456789\e[39m will set password to 123456789"
|
||||
echo -e "\n\e[31m-m\e[39m or \e[31m--minimal\e[39m : set to minimal mode which will not install PowerDNS, Pure-FTPd and Postfix"
|
||||
echo -e "\n\e[31m-m postfix/pureftpd/powerdns\e[39m will do minimal install also with compoenent given"
|
||||
echo -e "e.g. \e[31m-m postfix\e[39m will do minimal install also with Postfix"
|
||||
echo -e " \e[31m-m powerdns\e[39m will do minimal install also with PowerDNS"
|
||||
echo -e " \e[31m-m postfix\e[39m powerdns will do minimal install also with Postfix and PowerDNS"
|
||||
echo -e "\n\e[31m-b\e[39m or \e[31m--branch\e[39m : install with given branch/version , must be higher than 1.9.4"
|
||||
echo -e "e.g. \e[31m-b 2.0.2\e[39m will install 2.0.2 version"
|
||||
echo -e "\n\e[31m--mirror\e[39m : this argument force to use mirror server for majority of repositories, only suggest to use for servers within China"
|
||||
echo -e "\nExample:"
|
||||
echo -e "\nsh <(curl cyberpanel.sh) -v ols -p r or ./cyberpanel.sh --version ols --password random"
|
||||
echo -e "\nThis will install CyberPanel OpenLiteSpeed and randomly generate the password."
|
||||
echo -e "\nsh <(curl cyberpanel.sh) -v LICENSE_KEY -a -p my_pass_word"
|
||||
echo -e "\nThis will install LiteSpeed Enterise , replace LICENSE_KEY to actual license key and set password to my_pass_word\n"
|
||||
}
|
||||
|
||||
Check_Argument() {
|
||||
|
||||
Reference in New Issue
Block a user