Slow ftp speed in RedHat7.2

Source: Internet
Author: User
Article title: slow ftp speed in RedHat7.2. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Author: powlliu
  
Oh, how is the ftp speed so slow and it is unacceptable for telnet? this is probably the reason for this problem. My brother assigned an ftp server to someone else, what can I do if the speed of other users is slow, whether through the internet or through the intranet (Lan)? my brother is also clever and says that the ftp software of other clients is faulty. haha, is that true? I have to try.
1. move out of CuteFtp and write the Internet IP address of the server. Oh, it's really unacceptable;
2. try the intranet again. first telnet an Internet server (another intranet with this ftp server) and then ftp x. x. x. x (intranet IP address). why is it so slow;
3. there is a problem. this is not correct. no matter what it is, telnet it first and try again. it's a little slow to get to him;
4. dns problems. some time ago I played dns for a long time. in this case, I will first consider dns. it seems that someone else said that dns is the basis of network services;
5. first, vi/etc/named. conf. nothing is added in it, as shown below:
...... // The part is omitted here
Controls {
Inet 127.0.0.1 allow {localhost;} keys {rndckey ;};
};
Zone "." IN {
Type hint;
File "named. ca ";
};
  
Zone "localhost" IN {
Type master;
File "localhost. zone ";
Allow-update {none ;};
};
  
Zone "0.0.127.in-addr. arpa" IN {
Type master;
File "named. local ";
Allow-update {none ;};
};
...... // Omitted
6. add reverse resolution first (assuming your intranet ip address is a. B. c. d ):
......
Controls {
Inet 127.0.0.1 allow {localhost;} keys {rndckey ;};
};
Zone "." IN {
Type hint;
File "named. ca ";
};
  
Zone "localhost" IN {
Type master;
File "localhost. zone ";
Allow-update {none ;};
};
  
Zone "0.0.127.in-addr. arpa" IN {
Type master;
File "named. local ";
Allow-update {none ;};
};
  
// Your reverse resolution:
Zone "c. B. adr. arpa" IN {
Type master;
File "a. B. c
Allow-update {none ;};
};
......
7. In your/var/named Directory, cp named. local a. B. c, vi a. B. c has the following content:
$ TTL 86400
@ In soa localhost. root. localhost .(
1997022700; Serial
28800; Refresh
14400; Retry
3600000; Expire
86400); Minimum
In ns localhost.
  
1 in ptr localhost.
Change it:
$ TTL 86400
@ In soa yourname. root. yourname .(
1997022700; Serial
28800; Refresh
14400; Retry
3600000; Expire
86400); Minimum
In ns yourname.
  
D in ptr yourname.
8. the above is all done. First, add the following lines to the vi/etc/resolv. conf file:
Nameserver a. B. c. d
9. the last note is that vi/etc/hosts should have the following content:
127.0.0.1 yourname localhost. localdomain localhost
10. the speed is finally Fast. Fortunately, face has not been lost. it's a bit useful for linux after several years.
  
  
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.