Red Hat SATELLITE 5.3.0 RELEASE NOTES Informacje Techniczne Strona 139

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 199
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 138
/etc/sysconfig/iptables
/bin/echo "-A RH-Firewall-1-INPUT -p tcp --dport 4447 -m state --state NEW -j ACCEPT" >>
/etc/sysconfig/iptables
/bin/echo "-A RH-Firewall-1-INPUT -p tcp --dport 7900 -m state --state NEW -j ACCEPT" >>
/etc/sysconfig/iptables
/bin/echo "-A RH-Firewall-1-INPUT -p udp --dport 43333 -m state --state NEW -j ACCEPT" >>
/etc/sysconfig/iptables
/bin/echo "-A RH-Firewall-1-INPUT -p udp --dport 45551 -m state --state NEW -j ACCEPT" >>
/etc/sysconfig/iptables
/bin/echo "-A RH-Firewall-1-INPUT -p udp --dport 45556 -m state --state NEW -j ACCEPT" >>
/etc/sysconfig/iptables
/bin/echo "-A RH-Firewall-1-INPUT -p udp --dport 45557 -m state --state NEW -j ACCEPT" >>
/etc/sysconfig/iptables
/bin/echo "-A RH-Firewall-1-INPUT -p udp --dport 45668 -m state --state NEW -j ACCEPT" >>
/etc/sysconfig/iptables
/bin/echo "-A RH-Firewall-1-INPUT -p udp --dport 45557 -m state --state NEW -j ACCEPT" >>
/etc/sysconfig/iptables
/bin/echo "-A RH-Firewall-1-INPUT -p udp --dport 5432 -m state --state NEW -j ACCEPT" >>
/etc/sysconfig/iptables
/bin/echo "-A RH-Firewall-1-INPUT -p tcp --dport 67 -m state --state NEW -j ACCEPT" >>
/etc/sysconfig/iptables
/bin/echo "-A RH-Firewall-1-INPUT -p tcp --dport 68 -m state --state NEW -j ACCEPT" >>
/etc/sysconfig/iptables
/bin/echo "-A RH-Firewall-1-INPUT -p tcp --dport 16163 -m state --state NEW -j ACCEPT" >>
/etc/sysconfig/iptables
/usr/bin/tail -2 /tmp/iptables >> /etc/sysconfig/iptables
# download, install and configure JBoss EAP
cd /root
wget http://sat-vm.cloud.lab.eng.bos.redhat.com/pub/resources/jboss-eap-default.GA.zip
unzip jboss-eap-*.GA.zip
cd jboss-eap*/jboss-as/server/default/conf/props
sed -i 's/# admin=admin/admin=24^gold/' jmx-console-users.properties
# download, install and configure the JON agent
cd /root
wget http://sat-vm.cloud.lab.eng.bos.redhat.com/pub/resources/rhq-enterprise-agent-default.GA.jar
java -jar /root/rhq-enterprise-agent-default.GA.jar --install
cd /root/rhq-agent/conf
line=`grep -n "key=\"rhq.agent.configuration-setup-flag" agent-configuration.xml | cut -d: -f1`
before=`expr $line - 1`
after=`expr $line + 1`
sed -i -e "${after}d" -e "${before}d" agent-configuration.xml
sed -i -e '/rhq.agent.configuration-setup-flag/s/false/true/g' agent-configuration.xml
line=`grep -n "key=\"rhq.agent.server.bind-address" agent-configuration.xml | cut -d: -f1`
before=`expr $line - 1`
after=`expr $line + 1`
sed -i -e "${after}d" -e "${before}d" agent-configuration.xml
sed -i -e "/rhq.agent.server.bind-address/s/value=\".*\"/value=\"jon-vm.cloud.lab.eng.bos.redhat.com\"/g"
agent-configuration.xml
139 www.redhat.com
Przeglądanie stron 138
1 2 ... 134 135 136 137 138 139 140 141 142 143 144 ... 198 199

Komentarze do niniejszej Instrukcji

Brak uwag