The Full List of Control Panel Installer Options
Usage: /onapp/onapp-cp-install/onapp-cp-install.sh [-c CONFIG_FILE] [-m MYSQL_HOST] [-p MYSQL_PASSWD] [-d MYSQL_DB] [-u MYSQL_USER] [-U ADMIN_LOGIN] [-P ADMIN_PASSWD] [-F ADMIN_FIRSTNAME] [-L ADMIN_LASTNAME] [-E ADMIN_EMAIL] [-v ONAPP_VERSION] [-i SNMP_TRAP_IPS] [--redis-host=REDIS_HOST] [--redis-passwd[=REDIS_PASSWD] [--redis-port=REDIS_PORT] [--redis-sock=REDIS_PATH] [-a] [-y] [-D] [-h] | |
---|---|
Where: | |
MYSQL_* | Options are useful if MySQL is already installed and configured. |
-m MYSQL_HOST | MySQL host |
-p MYSQL_PASSWD | MySQL password |
-d MYSQL_DB | OnApp MySQL database name |
-u MYSQL_USER | MySQL user |
REDIS_* | Options are useful if Redis Server is already installed and configured. |
--redis-host=REDIS_HOST | IP address/FQDN where Redis Server runs. The Redis Server will be installed and configured on the current box if localhost/127.0.0.1 or box's public IP address (listed in SNMP_TRAP_IPS) is specified. If local Redis, it will serve as well on the unix socket '/tmp/redis.sock'. Default value is 127.0.0.1. |
--redis-port=REDIS_PORT | Redis Server listen port. Defaults are: 0 - if local server 6379 - if remote server |
--redis-passwd[=REDIS_PASSWD] | Redis Server password to authentificate. Random password is generated if the option's argument isn't specified. By default no password is used for local Redis. |
--redis-sock=REDIS_PATH : | Path to the Redis Server's socket. Used if local server only. Default is /tmp/redis.sock |
ADMIN_* | Options are used to configure OnApp Control Panel administrator data. Please note, that these options are for NEW INSTALL only and not for upgrade |
-P ADMIN_PASSWD | CP administrator password |
-F ADMIN_FIRSTNAME | CP administrator first name |
-L ADMIN_LASTNAME | CP administrator last name |
-E ADMIN_EMAIL | CP administrator e-mail |
-v ONAPP_VERSION | Install custom OnApp CP version |
-i SNMP_TRAP_IPS | IP addresses separated with coma for snmp to trap |
-c CONFIG_FILE | Custom installer configuration file. Otherwise, preinstalled one is used. |
--accept-eula | accept End User License Agreement automatically |
-y | update OS packages (except of OnApp provided) on the box with 'yum update'. |
-a | do not be interactive. Process with automatic installation. |
-D | do not make database dump, and make sure it is disabled in the cron and not running at the moment |
-h | print this info |