Prepare for API Portal Installation (UNIX System)
![*](chapterTOC_bullet.png)
Check the setting for shared memory (kernel parameter shmmax) by executing the command
sysctl -a | fgrep kernel.shmmax. If the value is less than 629145600, log on as root user and increase the value by executing
sysctl -w kernel.shmmax=629145600 or
echo "kernel.shmmax=629145600" >> /etc/sysctl.conf, then activate the new value by executing
sysctl -p.
![*](chapterTOC_bullet.png)
Check the settings for the system-wide maximum number of file descriptors (kernel parameter fs.file-max) by executing the command
sysctl -a | fgrep fs.file-max. If the value is less than 200000, log on as the root user and increase the value by executing
sysctl -w fs.file-max=200000 or
echo "fs.file-max=200000" >> /etc/sysctl.conf, then activate the new value by executing
sysctl -p.
![*](chapterTOC_bullet.png)
Check the user, group, and process settings for the maximum number of open file descriptors by executing the command
ulimit -Hn and ulimit -Sn, where -Hn is the hard limit and -Sn is the soft limit. If the value is less than 200000, log on as a non-root user and increase the value by executing
ulimit -n 200000. To permanently save this setting for the user, execute:
echo "<user name> soft nofile 200000" >> /etc/security/limits.conf
echo "<user name> hard nofile 200000" >> /etc/security/limits.conf
![*](chapterTOC_bullet.png)
Enter the host name of the machine on which you are installing products in the DNS of the network or in the file /etc/hosts.
API Portal uses Elasticsearch 7.8.1. If you are going to install on a Linux system, the maximum map count checks that the kernel allows a process to have at least 262,144 memory-mapped areas. Go to the /etc/sysctl.conf file and set vm.max_map_count value=262144. Then restart the machine to make this change to take effect.