Changing Default Configurations

You must change the default value of Apinizer’s Cache Master IP. The variable you need to change is apinizerCacheMasterIp. For Example: export apinizerCacheMasterIp=

$ vi

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

export apinizerMysqlPath=/usr/bin/mysqldump

Additional configuration (Optional)

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


By default Apinizer uses the port 8090. To change this value, you need to change the APINIZER_PORT variable in the startApinizer script.

$ vi

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