Before you can install PPM on a Linux system you must check the following system settings and change them, if required.
On Redhat systems, you do this by executing the following commands as the root user:
echo "<user name> soft nofile 200000" >> /etc/security/limits.d/40-<user name>.conf
echo "<user name> hard nofile 200000" >> /etc/security/limits.d/40-<user name>.conf
echo "<user name> soft nproc 65535" >> /etc/security/limits.d/40-<user name>.conf
echo "<user name> hard nproc 65535" >> /etc/security/limits.d/40-<user name>.conf
On SUSE systems, you do this by executing the following commands as the root user:
echo "<user name> soft nofile 200000" >> /etc/security/limits.conf
echo "<user name> hard nofile 200000" >> /etc/security/limits.conf
echo "<user name> soft nproc 65535" >> /etc/security/limits.conf
echo "<user name> hard nproc 65535" >> /etc/security/limits.conf
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-ports 4080
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 443 -j REDIRECT --to-ports 4443
sysctl -w vm.max_map_count=262144
To set this value permanently, update the vm.max_map_count setting in /etc/sysctl.conf. To verify after rebooting, run sysctl vm.max_map_count.
The RPM and Debian packages will configure this setting automatically. No further configuration is required.