In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Install tftp-server
1. Install tftp-server
[root@localhost weijie] # yum install-y tftp-server
Loaded plugins: fastestmirror, refresh-packagekit, security
Running Transaction
Installing: tftp-server-0.49-8.el6.i686 1 Compact 1
Verifying: tftp-server-0.49-8.el6.i686 1 Compact 1
Installed:
Tftp-server.i686 0RO 0.49-8.el6
Complete!
2. Open configuration file "/ etc/xinetd.d/tftp"
[root@localhost weijie] # gedit / etc/xinetd.d/tftp
Service tftp
{
Socket_type = dgram
Protocol = udp
Wait = yes
User = root
Server = / usr/sbin/in.tftpd
Server_args =-s / var/lib/tftpboot / / default directory
Disable = no / / whether to start or not
Per_source = 11
Cps = 100 2
Flags = IPv4
}
3. Modify the firewall to allow UDP port number 69
[root@localhost weijie] # gedit / etc/sysconfig/iptables
-An INPUT-m state-- state NEW-m udp-p udp-- dport 69-j ACCEPT
4. Restart the service
[root@localhost weijie] # service iptables restart / / restart the firewall
Iptables: set chain to policy ACCEPT: filter nat [OK]
Iptables: clear firewall rules: [OK]
Iptables: uninstalling module: [OK]
Iptables: apply firewall rules: [OK]
Iptables: load additional modules: nf_conntrack_ftp [OK]
You have new mail in / var/spool/mail/root
[root@localhost weijie] # service xinetd restart / / restart xinetd. Tftp relies on xinetd service
Stop xinetd: [OK]
Starting xinetd: [OK]
5. Test
[root@localhost weijie] # tftp 192.168.1.8 / / Connect to the server
Tftp > get 11.c / / get the file
Tftp > quit / / exit
You have new mail in / var/spool/mail/root
[root@localhost weijie] # ls / / View the file and get the
1 11.c 1.zip 2.c.bz2 4.c 6.c ~ rec000012.c.bz2
1. 1.c 2.c 3.c 5.c col res.zip
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.