Installing Dependencies

Apinizer requires MySQL 5.7 or above to be installed on your system. The MySQL installation must be on the same server that will run the Apinizer manager.

Note: If your operating system is CentOS 7.x MariaDB could have been bundled with it. You’ll have to delete MariaDB before installing MySQL.

$ su
$ rpm -qa | grep maria
mariadb-libs-5.5.47-1.el7_2.x86_64 <-- mariadb is installed
$ rpm -e --nodeps mariadb-libs-5.5.47-1.el7_2.x86_64

MySQL installation

$ wget
$ sudo rpm -ivh mysql-community-release-el7-5.noarch.rpm
$ yum install mysql-server
$ systemctl start mysqld
$ systemctl enable mysqld

Note: If the server can not connect to the internet, the following rpm files must be installed to the server in the specified order.

  • mysql-community-server-5.7.20-1.el7.x86_64.rpm
  • mysql-community-client-5.7.20-1.el7.x86_64.rpm
  • mysql-community-libs-5.7.20-1.el7.x86_64.rpm
$ rpm -ivh mysql-community-*
$ systemctl start mysqld
$ systemctl enable mysqld

After initial setup you need to turn on lower case table names in the MySQL config.

$ vi /etc/my.cnf

Paste lower_case_table_names = 1 under the [mysqld] section.

Then you need to restart the server for the config to reload:

$ systemctl restart mysqld

Get temporary password

$ grep 'temporary password' /var/log/mysqld.log

Change MySQL root password. IMPORTANT: MySQL root password is important for Apinizer. Request support from your Apinizer consultant.

$ mysql_secure_installation
$ mysql -u root –p
mysql> exit;

If APINIZER install to a virtual machine, you need to delete virtual machine network interface.

$ ifconfig

virbr0: flags=4099<UP,BROADCAST,MULTICAST

$ virsh net-destroy default

$ virsh net-autostart default --disable

$ virsh net-undefine default

$ chkconfig libvirtd off

$ systemctl disable libvirtd.service