解決Centos系統(tǒng)使用yum update命令報錯的問題
1.輸入`apt-get update -y`更新系統(tǒng)軟件源。
2.然后輸入`apt-get install -y tcptraceroute bc`安裝依賴。
3.以上2個步驟都安裝完成后開始安裝tcping,首先輸入`cd /usr/bin`切換目錄到/usr/bin,
然后輸入: wget -O tcping https://soft.mengclaw.com/Bash/TCP-PING 下載TCP-PING可執(zhí)行文件,并重命名為tcping。
4.輸入`chmod +x tcping`賦予tcping執(zhí)行權(quán)限。
5.使用tcping進行測試,輸入tcping 域名或者ip 端口 ,本文以域名baidu.com為測試,端口為80。
版權(quán)保護: 本文「解決Centos系統(tǒng)使用yum update命令報錯的問題」由 云主機配置專家 原創(chuàng),轉(zhuǎn)載請保留鏈接: http://www.iqcg.cn/docs/system/267.html