In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
1. Install xinetd
Yum-y install xinetd
two。 Install rsh
Note: if the rsh-server, rsh and rstatd packages installed below cannot be downloaded through wget, they can be downloaded from the 51cto download Center at the following address:
Http://down.51cto.com/data/1322433
Download it from the following address
Wget ftp://ftp.muug.mb.ca/mirror/redhat/redhat/linux/9/en/os/i386/RedHat/RPMS/rsh-server-0.17-14.i386.rpm
Install the rsh server rpm package
Rpm-ivh rsh-server-0.17-14.i386.rpm-force-nodeps
Download the rsh client rpm package
Wget ftp://ftp.muug.mb.ca/mirror/redhat/redhat/linux/9/en/os/i386/RedHat/RPMS/rsh-0.17-14.i386.rpm
Install the rsh client rpm package
Rpm-ivh rsh-0.17-14.i386.rpm-force-nodeps
3. Install rstatd
The first way to install rstatd
Wget http://nchc.dl.sourceforge.net/project/rstatd/rstatd/4.0.1/rpc.rstatd-4.0.1.tar.gz
After download, press the following contents to extract and install
# tar-xzvf rpc.rstatd-4.0.1.tar.gz
#. / configure-configuration
# make-compile
# make install-install
The second way to install rstatd
Yum install rusers-server
Run the following way to see if rusers-server has been installed (for example, sister result is still required)
Yum search rusers-server
Use rpcinfo-p to see if a rstatd service has been started, and the results are as follows:
[root@locathost init.d] # rpcinfo-p
Program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 37276 status
100024 1 tcp 51722 status
100001 3 udp 991 rstatd
100001 2 udp 991 rstatd
100001 1 udp 991 rstatd
100011 1 udp 875 rquotad
100011 2 udp 875 rquotad
100011 1 tcp 875 rquotad
100011 2 tcp 875 rquotad
If not, start it under init.d with the following command
/ etc/init.d/./rstatd start
Command extension starts (. / rstatd {start | stop | status | rstart})
4. Configure xinetd.conf
Vi / etc/xinetd.conf
#
# This is the master xinetd configuration file. Settings in the
# default section will be inherited by all service configurations
# unless explicitly overridden in the service configuration. See
# xinetd.conf in the man pages for a more detailed explanation of
# these attributes.
Defaults
{
# The next two items are intended to be a quick access place to
# temporarily enable or disable services.
#
# enabled=
# disabled=
# Define general logging characteristics.
Log_type= SYSLOG daemon info
Log_on_failure= HOST
Log_on_success= PID HOST DURATION EXIT
# Define access restriction defaults
#
# no_access=
# only_from=
# max_load= 0
Cps= 50 10
# instances= 50
# per_source= 10
Instances= 30
Per_source= 50 10
# Address and networking defaults
#
# bind=
5. Modify the three conf files under / etc/xinetd.d/ respectively
Rlogin, rsh,rexec, these three configuration files
Change the Disable = yes in these three files to Disable = no
Or set # default: off to on and remove "#", which means that all three services are started by default when xinetd starts!
For example, the content of rlogin
You can modify one of the following places in the red mark
# default: on
# description: rlogind is the server for the rlogin (1) program. The server\
# provides a remote login facility with authentication based on\
# privileged port numbers from trusted hosts.
Service login
{
Socket_type= stream
Wait= no
User= root
Log_on_success+= USERID
Log_on_failure + = USERID
Server= / usr/sbin/in.rlogind
# disable= yes
Disable = no
}
6. Start xinetd
Service xinetd start
Confirm startup
Netstat-an | grep 514
Results:
Java code
1.tcp 0 0 0.0.0. 0 514 0.0.0. 0. 0. 0.
7. Start rstatd
Rpc.rstatd
Rpc.rquotad
8. Confirm startup:
Rpcinfo-p
Results:
[root@locathost init.d] # rpcinfo-p
Program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 37276 status
100024 1 tcp 51722 status
100001 3 udp 991 rstatd
100001 2 udp 991 rstatd
100001 1 udp 991 rstatd
100011 1 udp 875 rquotad
100011 2 udp 875 rquotad
100011 1 tcp 875 rquotad
100011 2 tcp 875 rquotad
9. Turn off the firewall service
Service iptables stop
Configure the loadrunner unix monitoring input server ip as shown below:
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.