
Installing Resource Manager
9
IPv6: service ip6tables stop; chkconfig ip6tables off
Note
You may open all ports at this time, and then close unneeded ports later, after Zenoss DataStore is installed.
10.Disable SELinux.
/bin/echo 0 > /selinux/enforce
/bin/sed -i.bak -e 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
11.Install Zenoss DataStore:
yum -y --nogpgcheck localinstall zends-*.x86_64.rpm
12.Start Zenoss DataStore and ensure it runs at system startup:
chkconfig --level 2345 zends on
service zends start
13.Switch user to zenoss.
su - zenoss
14.Start the Zenoss DataStore command shell.
zends -u root
15.Grant access to the root account from any host during installation and testing.
grant all on *.* to 'root'@'%' with grant option;
flush privileges;
Note
When the installation and testing process is complete, grant access to the specific hosts that require it. To
do so, edit the preceding grant command by replacing the percent character (%) with the fully-qualified
domain name of a host that requires access.
2.5. Install MySQLTuner
Follow these steps to download and install the MySQLTuner Perl script:
1. Log in to the Resource Manager master host as root, or as a user with superuser privileges.
2. Switch user to zenoss.
su - zenoss
3. Change to the Resource Manager bin direction.
cd $ZENHOME/bin
4. Retrieve the MySQLTuner script.
wget -O mysqltuner.pl --no-check-certificate mysqltuner.pl
5. Set permissions on the file.
chmod 755 mysqltuner.pl
Komentarze do niniejszej Instrukcji