{"id":390,"date":"2024-08-28T15:54:15","date_gmt":"2024-08-28T07:54:15","guid":{"rendered":"https:\/\/feel.name\/?p=390"},"modified":"2024-08-28T15:58:38","modified_gmt":"2024-08-28T07:58:38","slug":"centos7%e5%ae%89%e8%a3%85sngrep","status":"publish","type":"post","link":"http:\/\/feel.name\/?p=390","title":{"rendered":"Centos7\u5b89\u88c5sngrep"},"content":{"rendered":"\n<p>sudo yum install epel-release<\/p>\n\n\n\n<p>sudo yum install sngrep<\/p>\n\n\n\n<p>yum\u5b89\u88c5\u4e0d\u4e86\uff0c\u6253\u7b97\u6e90\u7801\u7f16\u8bd1\u5b89\u88c5<\/p>\n\n\n\n<p>\u9700\u8981\u7f16\u8bd1\u5230\u7684\u73af\u5883\u5de5\u5177\u548c\u5e93<\/p>\n\n\n\n<p>sudo yum groupinstall &#8220;Development Tools&#8221;<br>sudo yum install autoconf automake ncurses-devel openssl-devel libpcap-devel git<\/p>\n\n\n\n<p>git\u514b\u9686\u5230\u672c\u5730<\/p>\n\n\n\n<p>git clone https:\/\/github.com\/irontec\/sngrep<\/p>\n\n\n\n<p>cd sngrep<\/p>\n\n\n\n<p>.\/bootstrap.sh<\/p>\n\n\n\n<p>.\/configure<\/p>\n\n\n\n<p>make &amp;&amp; sudo make install<\/p>\n\n\n\n<p>\u8fd9\u6837\u53ef\u4ee5\u8d8a\u5feb\u7684\u73a9\u800dsngrep\u4e86\u3002<\/p>\n\n\n\n<p>\u4e5f\u53ef\u4ee5rpm\u5b89\u88c5\uff0crpm\u5b89\u88c5\u6bd4\u8f83\u7b80\u5355\u7684\u3002<\/p>\n\n\n\n<p>http:\/\/packages.irontec.com\/<\/p>\n\n\n\n<p>\u627e\u5230\u4f60\u5bf9\u5e94\u7684\u7cfb\u7edf\u7684\u7248\u672c<\/p>\n\n\n\n<p>\u6211\u7684\u662fcentos7<\/p>\n\n\n\n<p>http:\/\/packages.irontec.com\/centos\/7\/x86_64\/sngrep-1.4.9-0.el7.x86_64.rpm<\/p>\n\n\n\n<p>\u76f4\u63a5\u4e0b\u8f7d\u7136\u540erpm -ivh sngrep-1.4.9-0.el7.x86_64.rpm  OK\u5566\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>sudo yum install epel-release sudo yum install sngrep y&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-390","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"http:\/\/feel.name\/index.php?rest_route=\/wp\/v2\/posts\/390","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/feel.name\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/feel.name\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/feel.name\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/feel.name\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=390"}],"version-history":[{"count":3,"href":"http:\/\/feel.name\/index.php?rest_route=\/wp\/v2\/posts\/390\/revisions"}],"predecessor-version":[{"id":393,"href":"http:\/\/feel.name\/index.php?rest_route=\/wp\/v2\/posts\/390\/revisions\/393"}],"wp:attachment":[{"href":"http:\/\/feel.name\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/feel.name\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=390"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/feel.name\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}