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_PASSWDMySQL password
-d MYSQL_DBOnApp MySQL database name
-u MYSQL_USERMySQL 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_PORTRedis 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_FIRSTNAMECP administrator first name
-L ADMIN_LASTNAMECP administrator last name
-E ADMIN_EMAILCP administrator e-mail


-v ONAPP_VERSIONInstall custom OnApp CP version
-i SNMP_TRAP_IPSIP addresses separated with coma for snmp to trap
-c CONFIG_FILECustom installer configuration file. Otherwise, preinstalled one is used.
--accept-eulaaccept End User License Agreement automatically
-yupdate OS packages (except of OnApp provided) on the box with 'yum update'.
-ado not be interactive. Process with automatic installation.
-Ddo not make database dump, and make sure it is disabled in the cron and not running at the moment
-hprint this info