wget https://sourceforge.net/projects/netcat/files/netcat/0.7.1/netcat-0.7.1.tar.gz
tar -zxvf netcat-0.7.1.tar.gz -C /usr/local
cd /usr/local
mv netcat-0.7.1 netcat
cd /usr/local/netcat
./configure
make && make install
配置文件
vim /etc/profile
添加以下内容:
export NETCAT_HOME=/usr/local/netcat
export PATH=$PATH:$NETCAT_HOME/bin
保存,退出,并使配置生效:
source /etc/profile
aliyun服务器安装nc工具
猜你喜欢
转载自blog.csdn.net/CosmopolitanMe/article/details/87385010
今日推荐
周排行