You must change the default value of Apinizer’s Cache Master IP. The variable you need to change is
apinizerCacheMasterIp. For Example:
$ vi startApinizer.sh export apinizerCacheMasterIp=*.*.*.*:5900
You also need to change the MySQL dump file’s path.
apinizerMysqlPath will be used for retrieving automatic backups through Apinizer Manager.
$ vi startApinizer.sh export apinizerMysqlPath=/usr/bin/mysqldump
Apinizer starts the JVM with 2 GiB of memory by default. To change this value, you need to change 2 parameters in the startApinizer script.
$ vi startApinizer.sh export APINIZER_START_INITIAL_MEMORY=-Xms2048m export APINIZER_START_MAX_MEMORY=-Xms2048m
By default Apinizer uses the port 8090. To change this value, you need to change the
APINIZER_PORT variable in the startApinizer script.
$ vi startApinizer.sh export APINIZER_PORT=8090
You need to install lsof to prevent starting APINIZER in a different port every time.lsof means ‘List Open Files’. Lsof is used to find all files that are open by a process that is running on the server.
sudo apt-get install lsof
yum install lsof