VMware PACKAGE MANAGER 1.1 Manual de usuario Pagina 29

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 95
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 28
Adding a collector
22
b. If the preceding command returns a result, remove the packages.
yum -y erase $(rpm -qa | egrep -i "matahari|qpid")
3. Enable network traffic through required ports.
To enable traffic through specific ports, refer to Appendix B, "Required ports".
To enable traffic through all ports, enter the following commands.
IPv4: service iptables stop; chkconfig iptables off
IPv6: service ip6tables stop; chkconfig ip6tables off
Note
You may open all ports at this time, and then close unneeded ports later.
4. Resource Manager is not compatible with Security-Enhanced Linux (SELinux) in enforcing mode. Follow these
steps to disable enforcing mode.
a. Change to enforcing in permissive mode (avoiding the need to reboot).
/bin/echo 0 > /selinux/enforce
b. Disable enforcing mode permanently by editing the /etc/selinux/config file.
/bin/sed -i.bak -e 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
5. Install Oracle Java 1.6. (Java 1.7 is not supported.)
a. Only Oracle Java may be installed. Determine whether other Java pacakges are installed.
rpm -qa | egrep -i '(jdk|jre|java)'
If necessary, remove the other packages.
yum -y remove $(rpm -qa | egrep -i '(jdk|jre|java)')
b. Download the self-installing binary of Oracle Java SE Runtime Environment 6u45 from the Java SE 6 Downloads
page. The file to download is jre-6u45-linux-x64-rpm.bin.
c. Add execute permission to the self-installing binary.
chmod +x ./jre-6u45-linux-x64-rpm.bin
d. Install the Oracle JRE.
./jre-6u45-linux-x64-rpm.bin
e. Add the JAVA_HOME environment variable to /etc/profile.
echo "export JAVA_HOME=/usr/java/default" >> /etc/profile
f. Verify the correct version is installed.
java -version
The preceding command should return the following output.
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Vista de pagina 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 94 95

Comentarios a estos manuales

Sin comentarios