Installation
useradd -c "STOR2RRD user" -m stor2rrd chmod 755 /home/stor2rrd chdev -l sys0 -a maxuproc=2000 chuser nofiles=32768 data=-1 stack=-1 rss=-1 stor2rrd chuser data=-1 stack=-1 rss=-1 apache
yum install httpd rrdtool rrdtool-perl net-snmp-perl
useradd -c "STOR2RRD user" -m stor2rrd chmod 755 /home/stor2rrd
stor2rrd hard stack -1 stor2rrd soft stack -1 stor2rrd hard data -1 stor2rrd soft data -1 stor2rrd hard nofile 32768 stor2rrd soft nofile 32768 stor2rrd hard nproc 5000 stor2rrd soft nproc 5000 apache hard stack -1 apache soft stack -1 apache hard data -1 apache soft data -1
ARCH=$( /bin/arch ) subscription-manager repos --enable "codeready-builder-for-rhel-8-${ARCH}-rpms"
yum config-manager --set-enabled PowerTools or dnf config-manager --set-enabled powertoolsYou can also just open /etc/yum.repos.d/CentOS-Linux-PowerTools.repo with a text editor and set enabled= to 1 instead of 0
dnf install 'dnf-command(config-manager)'Based on your operating system enable one of following (crb was renamed to codeready-builder-for-rhel-9-x86_64-rpms)
dnf config-manager --enable crb or dnf config-manager --enable codeready-builder-for-rhel-9-x86_64-rpms
yum install perl rrdtool rrdtool-perl httpd mod_ssl yum install epel-release yum install perl-TimeDate perl-HTTP-Date perl-Env perl-CGI perl-Data-Dumper perl-LWP-Protocol-https perl-libwww-perl perl-Time-HiRes perl-IO-Tty yum install perl-JSON-XS perl-XML-Simple perl-XML-NamespaceSupport perl-URI perl-XML-SAX-Base perl-XML-SAX perl-XML-LibXML yum install ed bc libxml2 sharutils
useradd -c "STOR2RRD user" -m stor2rrd chmod 755 /home/stor2rrd
stor2rrd hard stack -1 stor2rrd soft stack -1 stor2rrd hard data -1 stor2rrd soft data -1 stor2rrd hard nofile 32768 stor2rrd soft nofile 32768 stor2rrd hard nproc 5000 stor2rrd soft nproc 5000 apache hard stack -1 apache soft stack -1 apache hard data -1 apache soft data -1
umask 0022 apt-get install apache2 perl rrdtool ed bc apt-get install librrdp-perl libxml-sax-perl libxml-simple-perl libtimedate-perl libenv-sanctify-perl libcgi-pm-perl libdata-dumper-simple-perl libpdf-api2-perl libxml2-utils apt-get install liblwp-protocol-https-perl libcrypt-ssleay-perl libio-socket-ssl-perl libmozilla-ldap-perl libxml-parser-perl libjson-xs-perl libio-pty-perl
useradd -c "STOR2RRD user" -m stor2rrd chmod 755 /home/stor2rrd
stor2rrd hard stack -1 stor2rrd soft stack -1 stor2rrd hard data -1 stor2rrd soft data -1 stor2rrd hard nofile 32768 stor2rrd soft nofile 32768 stor2rrd hard nproc 5000 stor2rrd soft nproc 5000 apache hard stack -1 apache soft stack -1 apache hard data -1 apache soft data -1
zypper install rrdtool perl-rrdtool apache2 zypper install perl-TimeDate perl-XML-Simple perl-XML-SAX perl-XML-LibXML perl-CGI perl-LWP-Protocol-https perl-libwww-perl perl-IO-Tty zypper install perl-PDF-API2 perl-JSON-XS zypper install ed bc libxml2-2 sharutils
useradd -c "STOR2RRD user" -m stor2rrd chmod 755 /home/stor2rrd
/opt/csw/bin/pkgutil -y -i pm_xml_simple pm_libxml_perl pm_xml_sax rrdtool