CentOS Installation Netcat

Source: Internet
Author: User
Tags ssl connection

After Linux installs the Swoole, the test UDP service needs to use the Netcat, however the Baidu has many installs the method, and does not have a useful. After several attempts, finally installs the success, now shares to everybody, for the reference.

Configuration environment: centos6.3

1. Download the installation package ( may prompt: Unable to establish an SSL connection, if prompted please Baidu download the installation package )

wget https://sourceforge.net/projects/netcat/files/netcat/0.7.1/netcat-0.7.1.tar.gz

2. Unzip the file and extract it to/usr/local

TAR-ZXVF netcat-0.7.1.tar.gz-c/usr/local

3. Switch to/usr/local/netcat-0.7.1

1> viewing the compilation configuration file

  ./configure

2> Compiling and installing

  Make && make install

4. Configuration

1> Switch to/etc/profile

2> Edit configuration file Vim/etc/profile, join:

    Export netcat_home=/usr/local/netcat-0.7.1
Export path= $PATH: $NETCAT _home/bin

CentOS Installation Netcat

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.