curl命令及返回

基本指标

curl     URL          #获取该网址的文本信息
         -i  URL      #获取该网址的文本信息以及协议头部信息 
	     -x 47.94.151.148:80 zhujy.com.cn             #使用代理获取网页文本信息
	     -I url       #仅返回请求头部信息
	     -C/continue-at                             # 断点续转
	     -v           #参数可以显示一次http通信的整个过程,包括端口连接和http request头信息
	     -V           #show the version of curl

常用命令

curl -O http://10.167.209.1:1212/hongtabank/ #下载指定ip底下的hongtabank文件

curl www.zhujy.com  #获取该网址的文本信息

这就是获取的www.zhujy.com信息
<!DOCTYPE html>


Welcome to nginx<span class="token operator">!</span><<span class="token operator">/</span>title>
<style>
    body <span class="token punctuation">{</span>
        width: 35em<span class="token punctuation">;</span>
        margin: 0 auto<span class="token punctuation">;</span>
        font<span class="token operator">-</span>family: Tahoma<span class="token punctuation">,</span> Verdana<span class="token punctuation">,</span> Arial<span class="token punctuation">,</span> sans<span class="token operator">-</span>serif<span class="token punctuation">;</span>
    <span class="token punctuation">}</span>
<<span class="token operator">/</span>style>
<<span class="token operator">/</span>head>
<body>
<h1>Welcome to nginx<span class="token operator">!</span><<span class="token operator">/</span>h1>
<p><span class="token keyword">If</span> you see this page<span class="token punctuation">,</span> the nginx web server is successfully installed and
working<span class="token punctuation">.</span> Further configuration is required<span class="token punctuation">.</span><<span class="token operator">/</span>p>

<p><span class="token keyword">For</span> online documentation and support please refer to
<a href=<span class="token string">"http://nginx.org/"</span>>nginx<span class="token punctuation">.</span>org<<span class="token operator">/</span>a><span class="token punctuation">.</span><br<span class="token operator">/</span>>
Commercial support is available at
<a href=<span class="token string">"http://nginx.com/"</span>>nginx<span class="token punctuation">.</span>com<<span class="token operator">/</span>a><span class="token punctuation">.</span><<span class="token operator">/</span>p>

<p><em>Thank you <span class="token keyword">for</span> <span class="token keyword">using</span> nginx<span class="token punctuation">.</span><<span class="token operator">/</span>em><<span class="token operator">/</span>p>
<<span class="token operator">/</span>body>
<<span class="token operator">/</span>html>
</code></pre> 
  <pre><code class="prism language-powershell">curl  <span class="token operator">-</span>i www<span class="token punctuation">.</span>zhujy<span class="token punctuation">.</span>com  <span class="token comment">#获取的www.zhujy.com文本信息以及协议头部信息</span>

HTTP<span class="token operator">/</span>1<span class="token punctuation">.</span>1 200 OK
Server: nginx<span class="token operator">/</span>1<span class="token punctuation">.</span>14<span class="token punctuation">.</span>0
Date: Mon<span class="token punctuation">,</span> 11 Mar 2019 02:06:55 GMT
Content<span class="token operator">-</span><span class="token function">Type</span>: text<span class="token operator">/</span>html
Content<span class="token operator">-</span>Length: 612
Last<span class="token operator">-</span>Modified: Mon<span class="token punctuation">,</span> 29 Oct 2018 09:52:22 GMT
Connection: keep<span class="token operator">-</span>alive
ETag: <span class="token string">"5bd6d856-264"</span>
Accept<span class="token operator">-</span>Ranges: bytes

<<span class="token operator">!</span>DOCTYPE html>
<html>
<head>
<title>Welcome to nginx<span class="token operator">!</span><<span class="token operator">/</span>title>
<style>
    body <span class="token punctuation">{</span>
        width: 35em<span class="token punctuation">;</span>
        margin: 0 auto<span class="token punctuation">;</span>
        font<span class="token operator">-</span>family: Tahoma<span class="token punctuation">,</span> Verdana<span class="token punctuation">,</span> Arial<span class="token punctuation">,</span> sans<span class="token operator">-</span>serif<span class="token punctuation">;</span>
    <span class="token punctuation">}</span>
<<span class="token operator">/</span>style>
<<span class="token operator">/</span>head>
<body>
<h1>Welcome to nginx<span class="token operator">!</span><<span class="token operator">/</span>h1>
<p><span class="token keyword">If</span> you see this page<span class="token punctuation">,</span> the nginx web server is successfully installed and
working<span class="token punctuation">.</span> Further configuration is required<span class="token punctuation">.</span><<span class="token operator">/</span>p>

<p><span class="token keyword">For</span> online documentation and support please refer to
<a href=<span class="token string">"http://nginx.org/"</span>>nginx<span class="token punctuation">.</span>org<<span class="token operator">/</span>a><span class="token punctuation">.</span><br<span class="token operator">/</span>>
Commercial support is available at
<a href=<span class="token string">"http://nginx.com/"</span>>nginx<span class="token punctuation">.</span>com<<span class="token operator">/</span>a><span class="token punctuation">.</span><<span class="token operator">/</span>p>

<p><em>Thank you <span class="token keyword">for</span> <span class="token keyword">using</span> nginx<span class="token punctuation">.</span><<span class="token operator">/</span>em><<span class="token operator">/</span>p>
<<span class="token operator">/</span>body>
<<span class="token operator">/</span>html>

</code></pre> 
  <pre><code class="prism language-powershell">curl <span class="token operator">-</span>x 47<span class="token punctuation">.</span>94<span class="token punctuation">.</span>151<span class="token punctuation">.</span>148:80 zhujy<span class="token punctuation">.</span>com<span class="token punctuation">.</span>cn  <span class="token comment">#使用代理获取网页文本信息</span>

<<span class="token operator">!</span>DOCTYPE html PUBLIC <span class="token string">"-//W3C//DTD XHTML 1.1//EN"</span> <span class="token string">"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"</span>>

<html xmlns=<span class="token string">"http://www.w3.org/1999/xhtml"</span> xml:lang=<span class="token string">"en"</span>>
    <head>
        <title>Test Page <span class="token keyword">for</span> the Nginx HTTP Server on Fedora<<span class="token operator">/</span>title>
        <meta http<span class="token operator">-</span>equiv=<span class="token string">"Content-Type"</span> content=<span class="token string">"text/html; charset=UTF-8"</span> <span class="token operator">/</span>>
        <style <span class="token function">type</span>=<span class="token string">"text/css"</span>>
            <span class="token operator">/</span><span class="token operator">*</span><<span class="token operator">!</span><span class="token punctuation">[</span>CDATA<span class="token punctuation">[</span><span class="token operator">*</span><span class="token operator">/</span>
            body <span class="token punctuation">{</span>
                background<span class="token operator">-</span>color: <span class="token comment">#fff;</span>
                color: <span class="token comment">#000;</span>
                font<span class="token operator">-</span>size: 0<span class="token punctuation">.</span>9em<span class="token punctuation">;</span>
                font<span class="token operator">-</span>family: sans<span class="token operator">-</span>serif<span class="token punctuation">,</span>helvetica<span class="token punctuation">;</span>
                margin: 0<span class="token punctuation">;</span>
                padding: 0<span class="token punctuation">;</span>
            <span class="token punctuation">}</span>
            :link <span class="token punctuation">{</span>
                color: <span class="token comment">#c00;</span>
            <span class="token punctuation">}</span>
            :visited <span class="token punctuation">{</span>
                color: <span class="token comment">#c00;</span>
            <span class="token punctuation">}</span>
            a:hover <span class="token punctuation">{</span>
                color: <span class="token comment">#f50;</span>
            <span class="token punctuation">}</span>
            h1 <span class="token punctuation">{</span>
                text<span class="token operator">-</span>align: center<span class="token punctuation">;</span>
                margin: 0<span class="token punctuation">;</span>
                padding: 0<span class="token punctuation">.</span>6em 2em 0<span class="token punctuation">.</span>4em<span class="token punctuation">;</span>
                background<span class="token operator">-</span>color: <span class="token comment">#294172;</span>
                color: <span class="token comment">#fff;</span>
                font<span class="token operator">-</span>weight: normal<span class="token punctuation">;</span>
                font<span class="token operator">-</span>size: 1<span class="token punctuation">.</span>75em<span class="token punctuation">;</span>
                border<span class="token operator">-</span>bottom: 2px solid <span class="token comment">#000;</span>
            <span class="token punctuation">}</span>
            h1 strong <span class="token punctuation">{</span>
                font<span class="token operator">-</span>weight: bold<span class="token punctuation">;</span>
                font<span class="token operator">-</span>size: 1<span class="token punctuation">.</span>5em<span class="token punctuation">;</span>
            <span class="token punctuation">}</span>
            h2 <span class="token punctuation">{</span>
                text<span class="token operator">-</span>align: center<span class="token punctuation">;</span>
                background<span class="token operator">-</span>color: <span class="token comment">#3C6EB4;</span>
                font<span class="token operator">-</span>size: 1<span class="token punctuation">.</span>1em<span class="token punctuation">;</span>
                font<span class="token operator">-</span>weight: bold<span class="token punctuation">;</span>
                color: <span class="token comment">#fff;</span>
                margin: 0<span class="token punctuation">;</span>
                padding: 0<span class="token punctuation">.</span>5em<span class="token punctuation">;</span>
                border<span class="token operator">-</span>bottom: 2px solid <span class="token comment">#294172;</span>
            <span class="token punctuation">}</span>
            hr <span class="token punctuation">{</span>
                display: none<span class="token punctuation">;</span>
            <span class="token punctuation">}</span>
            <span class="token punctuation">.</span>content <span class="token punctuation">{</span>
                padding: 1em 5em<span class="token punctuation">;</span>
            <span class="token punctuation">}</span>
            <span class="token punctuation">.</span>alert <span class="token punctuation">{</span>
                border: 2px solid <span class="token comment">#000;</span>
            <span class="token punctuation">}</span>

            img <span class="token punctuation">{</span>
                border: 2px solid <span class="token comment">#fff;</span>
                padding: 2px<span class="token punctuation">;</span>
                margin: 2px<span class="token punctuation">;</span>
            <span class="token punctuation">}</span>
            a:hover img <span class="token punctuation">{</span>
                border: 2px solid <span class="token comment">#294172;</span>
            <span class="token punctuation">}</span>
            <span class="token punctuation">.</span>logos <span class="token punctuation">{</span>
                margin: 1em<span class="token punctuation">;</span>
                text<span class="token operator">-</span>align: center<span class="token punctuation">;</span>
            <span class="token punctuation">}</span>
            <span class="token operator">/</span><span class="token operator">*</span><span class="token punctuation">]</span><span class="token punctuation">]</span>><span class="token operator">*</span><span class="token operator">/</span>
        <<span class="token operator">/</span>style>
    <<span class="token operator">/</span>head>

    <body>
        <h1>Welcome to <strong>nginx<<span class="token operator">/</span>strong> on Fedora<span class="token operator">!</span><<span class="token operator">/</span>h1>

        <div <span class="token keyword">class</span>=<span class="token string">"content"</span>>
            <p>This page is used to test the proper operation of the
            <strong>nginx<<span class="token operator">/</span>strong> HTTP server after it has been
            installed<span class="token punctuation">.</span> <span class="token keyword">If</span> you can read this page<span class="token punctuation">,</span> it means that the
            web server installed at this site is working
            properly<span class="token punctuation">.</span><<span class="token operator">/</span>p>

            <div <span class="token keyword">class</span>=<span class="token string">"alert"</span>>
                <h2>Website Administrator<<span class="token operator">/</span>h2>
                <div <span class="token keyword">class</span>=<span class="token string">"content"</span>>
                    <p>This is the default <tt>index<span class="token punctuation">.</span>html<<span class="token operator">/</span>tt> page that
                    is distributed with <strong>nginx<<span class="token operator">/</span>strong> on
                    Fedora<span class="token punctuation">.</span>  It is located in
                    <tt><span class="token operator">/</span>usr<span class="token operator">/</span>share<span class="token operator">/</span>nginx<span class="token operator">/</span>html<<span class="token operator">/</span>tt><span class="token punctuation">.</span><<span class="token operator">/</span>p>

                    <p>You should now put your content in a location of
                    your choice and edit the <tt>root<<span class="token operator">/</span>tt> configuration
                    directive in the <strong>nginx<<span class="token operator">/</span>strong>
                    configuration file
                    <tt><span class="token operator">/</span>etc<span class="token operator">/</span>nginx<span class="token operator">/</span>nginx<span class="token punctuation">.</span>conf<<span class="token operator">/</span>tt><span class="token punctuation">.</span><<span class="token operator">/</span>p>

                <<span class="token operator">/</span>div>
            <<span class="token operator">/</span>div>

            <div <span class="token keyword">class</span>=<span class="token string">"logos"</span>>
                <a href=<span class="token string">"http://nginx.net/"</span>><img
                    src=<span class="token string">"nginx-logo.png"</span> 
                    alt=<span class="token string">"[ Powered by nginx ]"</span>
                    width=<span class="token string">"121"</span> height=<span class="token string">"32"</span> <span class="token operator">/</span>><<span class="token operator">/</span>a>

                <a href=<span class="token string">"http://fedoraproject.org/"</span>><img 
                    src=<span class="token string">"poweredby.png"</span> 
                    alt=<span class="token string">"[ Powered by Fedora ]"</span> 
                    width=<span class="token string">"88"</span> height=<span class="token string">"31"</span> <span class="token operator">/</span>><<span class="token operator">/</span>a>
            <<span class="token operator">/</span>div>
        <<span class="token operator">/</span>div>
    <<span class="token operator">/</span>body>
<<span class="token operator">/</span>html>
</code></pre> 
  <pre><code class="prism language-powershell">curl <span class="token operator">-</span>I www<span class="token punctuation">.</span>zhujy<span class="token punctuation">.</span>com<span class="token punctuation">.</span>cn  <span class="token comment">#仅返回请求头部信息</span>

HTTP<span class="token operator">/</span>1<span class="token punctuation">.</span>1 200 OK
Server: nginx<span class="token operator">/</span>1<span class="token punctuation">.</span>14<span class="token punctuation">.</span>0
Date: Mon<span class="token punctuation">,</span> 11 Mar 2019 03:34:29 GMT
Content<span class="token operator">-</span><span class="token function">Type</span>: text<span class="token operator">/</span>html
Content<span class="token operator">-</span>Length: 612
Last<span class="token operator">-</span>Modified: Mon<span class="token punctuation">,</span> 29 Oct 2018 09:52:22 GMT
Connection: keep<span class="token operator">-</span>alive
ETag: <span class="token string">"5bd6d856-264"</span>
Accept<span class="token operator">-</span>Ranges: bytes

</code></pre> 
 </div> 
</div>
                            </div>
                        </div>
                    </div>
                    <!--PC和WAP自适应版-->
                    <div id="SOHUCS" sid="1680177299934228480"></div>
                    <script type="text/javascript" src="/views/front/js/chanyan.js"></script>
                    <!-- 文章页-底部 动态广告位 -->
                    <div class="youdao-fixed-ad" id="detail_ad_bottom"></div>
                </div>
                <div class="col-md-3">
                    <div class="row" id="ad">
                        <!-- 文章页-右侧1 动态广告位 -->
                        <div id="right-1" class="col-lg-12 col-md-12 col-sm-4 col-xs-4 ad">
                            <div class="youdao-fixed-ad" id="detail_ad_1"> </div>
                        </div>
                        <!-- 文章页-右侧2 动态广告位 -->
                        <div id="right-2" class="col-lg-12 col-md-12 col-sm-4 col-xs-4 ad">
                            <div class="youdao-fixed-ad" id="detail_ad_2"></div>
                        </div>
                        <!-- 文章页-右侧3 动态广告位 -->
                        <div id="right-3" class="col-lg-12 col-md-12 col-sm-4 col-xs-4 ad">
                            <div class="youdao-fixed-ad" id="detail_ad_3"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="container">
        <h4 class="pt20 mb15 mt0 border-top">你可能感兴趣的:(curl)</h4>
        <div id="paradigm-article-related">
            <div class="recommend-post mb30">
                <ul class="widget-links">
                    <li><a href="/article/1835275229799215104.htm"
                           title="MacOS Catalina 从源码构建Qt6.2开发库之01: 编译Qt6.2源代码" target="_blank">MacOS Catalina 从源码构建Qt6.2开发库之01: 编译Qt6.2源代码</a>
                        <span class="text-muted">捕鲸叉</span>
<a class="tag" taget="_blank" href="/search/QT/1.htm">QT</a><a class="tag" taget="_blank" href="/search/macos/1.htm">macos</a><a class="tag" taget="_blank" href="/search/c%2B%2B/1.htm">c++</a><a class="tag" taget="_blank" href="/search/QT/1.htm">QT</a>
                        <div>安装xcode,cmake,ninjabrewinstallnodemac下安装OpenGL库并使之对各项目可见在macOS上安装OpenGL通常涉及到安装一些依赖库,如MGL、GLUT或者是GLEW等,同时确保LLVM的OpenGL框架和相关工具链的兼容性。以下是一个基本的安装步骤,你可以在终端中执行:安装Homebrew(如果还没有安装的话):/bin/bash-c"$(curl-fsSLht</div>
                    </li>
                    <li><a href="/article/1835270188086423552.htm"
                           title="python抓取网页内容401应该用哪个库_python3使用requests模块爬取页面内容入门" target="_blank">python抓取网页内容401应该用哪个库_python3使用requests模块爬取页面内容入门</a>
                        <span class="text-muted">坂田月半</span>

                        <div>python的爬虫相关模块有很多,除了requests模块,再如urllib和pycurl以及tornado等。相比而言,requests模块是相对简单易上手的。通过文本,大家可以迅速学会使用python的requests模块爬取页码内容。1.Requests唯一的一个非转基因的PythonHTTP库,人类可以安全享用。官网:http://cn.python-requests.org/zh_CN/</div>
                    </li>
                    <li><a href="/article/1835267918531751936.htm"
                           title="安装 `privoxy` 将 Socks5 转换为 HTTP 代理" target="_blank">安装 `privoxy` 将 Socks5 转换为 HTTP 代理</a>
                        <span class="text-muted">MonkeyKing.sun</span>
<a class="tag" taget="_blank" href="/search/%E7%BD%91%E7%BB%9C/1.htm">网络</a>
                        <div>(base)shgbitai@shgbitai-C9X299-PGF:~/tools$curl-xhttp://127.0.0.1:1080https://registry-1.docker.io/v2/curl:(56)ProxyCONNECTaborted(base)shgbitai@shgbitai-C9X299-PGF:~/tools$curl-xhttps://127.0.0.1:108</div>
                    </li>
                    <li><a href="/article/1835142827105939456.htm"
                           title="Python必备库大全,建议留用" target="_blank">Python必备库大全,建议留用</a>
                        <span class="text-muted">2401_84010176</span>
<a class="tag" taget="_blank" href="/search/%E7%A8%8B%E5%BA%8F%E5%91%98/1.htm">程序员</a><a class="tag" taget="_blank" href="/search/python/1.htm">python</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a>
                        <div>urllib-网络库(stdlib)。requests-网络库。grab–网络库(基于pycurl)。pycurl–网络库(绑定libcurl)。urllib3–PythonHTTP库,安全连接池、支持文件post、可用性高。httplib2–网络库。RoboBrowser–一个简单的、极具Python风格的Python库,无需独立的浏览器即可浏览网页。MechanicalSoup-一个与网站自动</div>
                    </li>
                    <li><a href="/article/1834924577172582400.htm"
                           title="CURL 发送POST请求" target="_blank">CURL 发送POST请求</a>
                        <span class="text-muted">微赚淘客系统@聚娃科技</span>
<a class="tag" taget="_blank" href="/search/post%E8%AF%B7%E6%B1%82/1.htm">post请求</a>
                        <div>CURL发送POST请求大家好,我是免费搭建查券返利机器人赚佣金就用微赚淘客系统3.0的小编,也是冬天不穿秋裤,天冷也要风度的程序猿!今天,我们将探讨在命令行中使用CURL发送POST请求的详细步骤和用法。什么是CURL?CURL是一个命令行工具和库,用于传输数据,支持众多协议,包括HTTP、HTTPS、FTP、FTPES等。它是开源且跨平台的,广泛应用于网络开发中。CURL发送POST请求的基本</div>
                    </li>
                    <li><a href="/article/1834787056405016576.htm"
                           title="Linux下载压缩包:tar.gz、zip、tar.bz2格式全攻略" target="_blank">Linux下载压缩包:tar.gz、zip、tar.bz2格式全攻略</a>
                        <span class="text-muted">promise524</span>
<a class="tag" taget="_blank" href="/search/Linux/1.htm">Linux</a><a class="tag" taget="_blank" href="/search/linux/1.htm">linux</a><a class="tag" taget="_blank" href="/search/%E8%BF%90%E7%BB%B4/1.htm">运维</a><a class="tag" taget="_blank" href="/search/%E6%9C%8D%E5%8A%A1%E5%99%A8/1.htm">服务器</a><a class="tag" taget="_blank" href="/search/%E5%90%8E%E7%AB%AF/1.htm">后端</a><a class="tag" taget="_blank" href="/search/bash/1.htm">bash</a><a class="tag" taget="_blank" href="/search/shell/1.htm">shell</a>
                        <div>在Linux中,下载各种格式的压缩包(如.tar.gz、.zip、.tar.bz2等)通常使用命令行工具如wget和curl。1.使用wget下载压缩包wget是Linux中最常用的文件下载工具,支持HTTP、HTTPS、FTP等协议,可以直接从命令行下载文件。基本命令:wget[URL]下载.tar.gz文件wgethttps://test.com/archive.tar.gz此命令将从指定的U</div>
                    </li>
                    <li><a href="/article/1834777848154517504.htm"
                           title="在生产环境中部署Elasticsearch:最佳实践和故障排除技巧——聚合与搜索(三)" target="_blank">在生产环境中部署Elasticsearch:最佳实践和故障排除技巧——聚合与搜索(三)</a>
                        <span class="text-muted">不会编程的小孩子</span>
<a class="tag" taget="_blank" href="/search/elasticsearch/1.htm">elasticsearch</a><a class="tag" taget="_blank" href="/search/%E5%A4%A7%E6%95%B0%E6%8D%AE/1.htm">大数据</a><a class="tag" taget="_blank" href="/search/%E6%90%9C%E7%B4%A2%E5%BC%95%E6%93%8E/1.htm">搜索引擎</a>
                        <div>#在生产环境中部署Elasticsearch:最佳实践和故障排除技巧——聚合与搜索(三)前言文章目录前言-聚合和分析-执行聚合操作-1.使用JavaAPI执行聚合操作-2.使用CURL命令执行聚合操作-1.使用JavaAPI执行度量操作-2.使用CURL命令执行度量操作-使用缓存-调整分片大小和数量-使用搜索建议-结论-节点发现-负载均衡-故障转移-结论-访问控制-加密-身份验证-结论-RESTA</div>
                    </li>
                    <li><a href="/article/1834548943107747840.htm"
                           title="【Http 每天一小问 ,Post上传文件时, 文件和 -d(--data)和 -F(--form) 不能同时存在 ,怎么办】" target="_blank">【Http 每天一小问 ,Post上传文件时, 文件和 -d(--data)和 -F(--form) 不能同时存在 ,怎么办】</a>
                        <span class="text-muted">wn531</span>
<a class="tag" taget="_blank" href="/search/http/1.htm">http</a><a class="tag" taget="_blank" href="/search/%E7%BD%91%E7%BB%9C%E5%8D%8F%E8%AE%AE/1.htm">网络协议</a><a class="tag" taget="_blank" href="/search/%E7%BD%91%E7%BB%9C/1.htm">网络</a>
                        <div>今天在做文件上传的时候,遇到报错,Warning:YoucanonlyselectoneHTTPrequestmethod!YouaskedforbothPOST,调用命令curl-XPOSThttps://example.com/log/upload\-F"file=@/usr/log/app.log"\-H"Token:token_abc"\-d'metadata={"timestamp":1</div>
                    </li>
                    <li><a href="/article/1834294052196020224.htm"
                           title="GitLab安装流程及日常使用流程" target="_blank">GitLab安装流程及日常使用流程</a>
                        <span class="text-muted">爱摄影的程序猿</span>
<a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E5%B7%A5%E5%85%B7/1.htm">开发工具</a><a class="tag" taget="_blank" href="/search/CICD/1.htm">CICD</a><a class="tag" taget="_blank" href="/search/%E5%B8%B8%E7%94%A8%E5%B7%A5%E5%85%B7/1.htm">常用工具</a><a class="tag" taget="_blank" href="/search/gitlab/1.htm">gitlab</a>
                        <div>GitLab是一种基于Git的代码托管和协作平台,可以帮助开发团队更好地管理代码和协作开发。下面是GitLab的安装流程和使用方法的简要说明。安装流程:安装依赖:首先,确保你的服务器上已经安装了Git、Ruby和RubyGems。还需要安装一些其他的依赖库,比如curl、libkrb5-dev等。下载安装包:到GitLab官方网站上下载最新的GitLab安装包。安装GitLab:使用命令行进入下载</div>
                    </li>
                    <li><a href="/article/1834218541071560704.htm"
                           title="C++ 用libcurl库进行http通讯网络编程" target="_blank">C++ 用libcurl库进行http通讯网络编程</a>
                        <span class="text-muted">马小瑄</span>

                        <div>一、LibCurl基本编程框架二、一些基本的函数三、curl_easy_setopt函数部分选项介绍四、curl_easy_perform函数说明(error状态码)五、libcurl使用的HTTP消息头六、获取http应答头信息七、多线程问题八、什么时候libcurl无法正常工作九、关于密码十、HTTP验证十一、代码示例1.基本的httpGET/POST操作2获取html网页3网页下载保存实例4</div>
                    </li>
                    <li><a href="/article/1834159310771417088.htm"
                           title="mac的基本配置" target="_blank">mac的基本配置</a>
                        <span class="text-muted">奋起的菜鸟想暴富</span>
<a class="tag" taget="_blank" href="/search/macos/1.htm">macos</a>
                        <div>安装Homebrew通常情况下我们选择使用brew作为macOS上的包依赖管理工具,安装brew请在shell中执行:/bin/bash-c"$(curl-fsSLhttps://raw.githubusercontent.com/Homebrew/install/master/install.sh)"在安装完成brew之后,我们可以可以随时通过brewinstall命令来安装各式各样的软件包。若</div>
                    </li>
                    <li><a href="/article/1833994321070747648.htm"
                           title="curl和ping" target="_blank">curl和ping</a>
                        <span class="text-muted">G丶AEOM</span>
<a class="tag" taget="_blank" href="/search/%E7%BD%91%E7%BB%9C/1.htm">网络</a>
                        <div>curl获取页面内容,ping测试连通curl和ping是两个在网络环境中常用的命令行工具,但它们的目的和应用场景有很大的不同。curl用途:curl是一个命令行工具,用于传输数据,支持多种协议,包括HTTP、HTTPS、FTP等。它通常用于测试或访问Web服务,如RESTAPI、下载文件、上传数据等。场景:测试Web服务的响应和行为。下载或上传文件到Web服务器。发送数据到Web服务,如表单提交</div>
                    </li>
                    <li><a href="/article/1833904168012705792.htm"
                           title="ctfshow web入门 ssrf web351~web360" target="_blank">ctfshow web入门 ssrf web351~web360</a>
                        <span class="text-muted">kikkeve</span>
<a class="tag" taget="_blank" href="/search/ctfshow/1.htm">ctfshow</a><a class="tag" taget="_blank" href="/search/php/1.htm">php</a><a class="tag" taget="_blank" href="/search/web%E5%AE%89%E5%85%A8/1.htm">web安全</a><a class="tag" taget="_blank" href="/search/%E5%AE%89%E5%85%A8/1.htm">安全</a>
                        <div>目录SSRF基础web351web352、353web354web355web356web357web358web359web360SSRF基础SSRF(Server-SideRequestForgery:服务器端请求伪造)就是让服务器去请求服务器的资源,因为我们远程请求不到。curl_init():初始curl会话curl_setopt():会话设置curl_exec():执行curl会话,获取</div>
                    </li>
                    <li><a href="/article/1833691850167382016.htm"
                           title="mac安装多个版本的python" target="_blank">mac安装多个版本的python</a>
                        <span class="text-muted">出人头弟</span>
<a class="tag" taget="_blank" href="/search/macos/1.htm">macos</a><a class="tag" taget="_blank" href="/search/python/1.htm">python</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a>
                        <div>方法一(亲测有效)、通过brew安装pyenv,再用pyenv安装管理Python电脑需要先安装homebrew,安装办法详见:Homebrew中文网/bin/bash-c"$(curl-fsSLhttps://gitee.com/ineo6/homebrew-install/raw/master/install.sh)"安装pyenv:$brewinstallpyenv$pyenv-vpyenv</div>
                    </li>
                    <li><a href="/article/1833561106933706752.htm"
                           title="Rust 语言从入门到实战 唐刚--学习笔记01" target="_blank">Rust 语言从入门到实战 唐刚--学习笔记01</a>
                        <span class="text-muted">zhanglz888</span>
<a class="tag" taget="_blank" href="/search/Rust/1.htm">Rust</a><a class="tag" taget="_blank" href="/search/%E8%AF%AD%E8%A8%80%E4%BB%8E%E5%85%A5%E9%97%A8%E5%88%B0%E5%AE%9E%E6%88%98/1.htm">语言从入门到实战</a><a class="tag" taget="_blank" href="/search/%E5%94%90%E5%88%9A/1.htm">唐刚</a><a class="tag" taget="_blank" href="/search/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/1.htm">学习笔记</a><a class="tag" taget="_blank" href="/search/rust/1.htm">rust</a><a class="tag" taget="_blank" href="/search/%E5%AD%A6%E4%B9%A0/1.htm">学习</a><a class="tag" taget="_blank" href="/search/%E7%AC%94%E8%AE%B0/1.htm">笔记</a>
                        <div>Rust语言从入门到实战唐刚基础篇(11讲)01|快速入门:Rust的基础语法Rust宣称的安全、高性能、无畏并发这些特点,初次接触的时候都是感受不到的。安装Rust编译器套件MacOS或Linux,执行:curl--proto'=https'--tlsv1.2-sSfhttps://sh.rustup.rs|sh按提示操作Windows系统(WSL中/Windows原生平台)WSL中,curl-</div>
                    </li>
                    <li><a href="/article/1833524048257183744.htm"
                           title="php 模拟post提交请求,调用接口" target="_blank">php 模拟post提交请求,调用接口</a>
                        <span class="text-muted">每天瞎忙的农民工</span>
<a class="tag" taget="_blank" href="/search/Http/1.htm">Http</a><a class="tag" taget="_blank" href="/search/php/1.htm">php</a><a class="tag" taget="_blank" href="/search/php%E5%AE%9E%E6%88%98/1.htm">php实战</a><a class="tag" taget="_blank" href="/search/php/1.htm">php</a><a class="tag" taget="_blank" href="/search/http/1.htm">http</a><a class="tag" taget="_blank" href="/search/post%E6%95%B0%E6%8D%AE/1.htm">post数据</a><a class="tag" taget="_blank" href="/search/%E8%B0%83%E7%94%A8%E6%8E%A5%E5%8F%A3/1.htm">调用接口</a>
                        <div>有两种写法可以调用接口获取返回数据(如下):写法一:/***模拟post进行url请求*@paramstring$url*@paramstring$param*/functionrequest_post($url='',$param=''){if(empty($url)||empty($param)){returnfalse;}$postUrl=$url;$curlPost=$param;$ch=</div>
                    </li>
                    <li><a href="/article/1833523543095209984.htm"
                           title="使用cURL实现简单的文件上传" target="_blank">使用cURL实现简单的文件上传</a>
                        <span class="text-muted">每天瞎忙的农民工</span>
<a class="tag" taget="_blank" href="/search/php%E5%AE%9E%E6%88%98/1.htm">php实战</a><a class="tag" taget="_blank" href="/search/php/1.htm">php</a>
                        <div>上传文件和POST十分相似,因为所有的文件上传表单都是通过POST方法提交。$url="http://localtion/upload_output.php";$post_data=array("foo"=>"bar",//要上传的本地文件地址"upload"=>"@test.zip");$ch=curl_init();curl_setopt($ch,CURLOPT_URL,$url);curl_</div>
                    </li>
                    <li><a href="/article/1833523542419927040.htm"
                           title="PHP 在cURL中伪造头信息" target="_blank">PHP 在cURL中伪造头信息</a>
                        <span class="text-muted">每天瞎忙的农民工</span>
<a class="tag" taget="_blank" href="/search/php/1.htm">php</a><a class="tag" taget="_blank" href="/search/Http/1.htm">Http</a><a class="tag" taget="_blank" href="/search/curl/1.htm">curl</a><a class="tag" taget="_blank" href="/search/php/1.htm">php</a>
                        <div>在cURL中伪造头信息<?php@header('Content-type:text/htmlcharset=utf-8');//第一次初始化$ch=curl_init();curl_setopt($ch,CURLOPT,"http://xxxxx.com");curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);$h=array('HTTP_VIA:HTTP/1.1</div>
                    </li>
                    <li><a href="/article/1833513837786132480.htm"
                           title="python提取数据库数据到前端html5显示_python html提取数据库数据" target="_blank">python提取数据库数据到前端html5显示_python html提取数据库数据</a>
                        <span class="text-muted">weixin_39878745</span>

                        <div>python开源工具列表【持续更新】以下是个人在工作中整理的一些pythonwheel,供参考。这个列表包含与网页抓取和数据处理的Python库网络通用urllib-网络库(stdlib)。requests-网络库。grab–网络库(基于pycurl)。pycurl–网络库(绑定libcurl)。urllib3–...文章武耀文2018-04-253128浏览量8个用于业余项目的优秀Python库</div>
                    </li>
                    <li><a href="/article/1833410435475402752.htm"
                           title="Docker Compose——MySQL 8.x,adminer,gitlab,Jenkins,tomcat" target="_blank">Docker Compose——MySQL 8.x,adminer,gitlab,Jenkins,tomcat</a>
                        <span class="text-muted">小龙Hibernation</span>
<a class="tag" taget="_blank" href="/search/docker/1.htm">docker</a><a class="tag" taget="_blank" href="/search/%E8%BF%90%E7%BB%B4/1.htm">运维</a><a class="tag" taget="_blank" href="/search/docker/1.htm">docker</a><a class="tag" taget="_blank" href="/search/mysql/1.htm">mysql</a>
                        <div>DockerComposedocker三剑客之一#下载1.25.0dockercomposesudocurl-L"https://github.com/docker/compose/releases/download/1.25.0/docker-compose-$(uname-s)-$(uname-m)"-o/usr/local/bin/docker-compose#添加可执行权限sudochmo</div>
                    </li>
                    <li><a href="/article/1833020608091353088.htm"
                           title="gitlab+habor+jenkins+k8s 安装流程及配置实现CICD" target="_blank">gitlab+habor+jenkins+k8s 安装流程及配置实现CICD</a>
                        <span class="text-muted">爱摄影的程序猿</span>
<a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E5%B7%A5%E5%85%B7/1.htm">开发工具</a><a class="tag" taget="_blank" href="/search/devops/1.htm">devops</a><a class="tag" taget="_blank" href="/search/CICD/1.htm">CICD</a><a class="tag" taget="_blank" href="/search/devops/1.htm">devops</a><a class="tag" taget="_blank" href="/search/jenkins/1.htm">jenkins</a><a class="tag" taget="_blank" href="/search/gitlab/1.htm">gitlab</a>
                        <div>以下是基本的安装流程及配置实现CICD的步骤:安装GitLab:安装依赖项:yuminstallcurlpolicycoreutils-pythonopenssh-server启动和设置SSH:systemctlenablesshd&&systemctlstartsshd安装Postfix:yuminstallpostfix添加GitLab仓库:curlhttps://packages.gitla</div>
                    </li>
                    <li><a href="/article/1832979005461065728.htm"
                           title="C++使用curl进行GET,POST,PUT,DELETE请求" target="_blank">C++使用curl进行GET,POST,PUT,DELETE请求</a>
                        <span class="text-muted">咚咚姜</span>
<a class="tag" taget="_blank" href="/search/c%2B%2B/1.htm">c++</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a>
                        <div>//注意回调函数不能是普通的成员函数staticsize_tgetUrlResponse(void*buffer,size_tsize,size_tcount,void*response){std::string*str=(std::string*)response;(*str).append((char*)buffer,size*count);returnsize*count;}std::str</div>
                    </li>
                    <li><a href="/article/1832973459915894784.htm"
                           title="使用C++和libcurl下载指定的文件" target="_blank">使用C++和libcurl下载指定的文件</a>
                        <span class="text-muted">数据服务生</span>
<a class="tag" taget="_blank" href="/search/c%2B%2B/1.htm">c++</a><a class="tag" taget="_blank" href="/search/%E6%95%B0%E6%8D%AE%E5%BA%93/1.htm">数据库</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a>
                        <div>使用C++语言,利用libcurl库,下载指定的https中的文件:比如https://www.xxxx.com/xxx/yyy/zzz.pdf#include#include#include//写入数据的回调函数size_tWriteData(void*ptr,size_tsize,size_tnmemb,std::ofstream*stream){stream->write(static_ca</div>
                    </li>
                    <li><a href="/article/1832950896783355904.htm"
                           title="F12导入接口信息至postman/apifox" target="_blank">F12导入接口信息至postman/apifox</a>
                        <span class="text-muted">星光不负赶路人!</span>
<a class="tag" taget="_blank" href="/search/postman/1.htm">postman</a>
                        <div>解决问题:无法快速获取接口参数信息1.复制为CURL2.import导入postman,点击send请求,请求成功2.import导入apifox,点击send请求,请求成功</div>
                    </li>
                    <li><a href="/article/1832937404374282240.htm"
                           title="MySQL8.0 集群搭建" target="_blank">MySQL8.0 集群搭建</a>
                        <span class="text-muted">我有一只肥螳螂</span>
<a class="tag" taget="_blank" href="/search/MySQL/1.htm">MySQL</a><a class="tag" taget="_blank" href="/search/mysql/1.htm">mysql</a>
                        <div>文章目录环境准备安装MySQL8.0配置主服务配置从服务器主从复制:即主服务器上的所有操作(创建库,修改表等)会被同步到从服务器上,但是在从服务器上的操作不会进入到主服务器中环境准备两台服务器,一主一从安装docker#国内源curl-fsSLhttps://get.docker.com|bash-sdocker--mirrorAliyun启动dockersystemctlstartdocker配</div>
                    </li>
                    <li><a href="/article/1832770108821434368.htm"
                           title="Rust 常用命令" target="_blank">Rust 常用命令</a>
                        <span class="text-muted">今天又懒得加班</span>
<a class="tag" taget="_blank" href="/search/rust/1.htm">rust</a>
                        <div>安装curl--proto'=https'--tlsv1.2https://sh.rustup.rs-sSf|sh查看版本rustc--version升级rustupupdate卸载$rustupselfuninstall查看cargo版本cargo--version新建项目cargonewhello_cargo构建项目cargobuildcargobuild--release//打包生产环境运行</div>
                    </li>
                    <li><a href="/article/1832637356843298816.htm"
                           title="Linux中设置vue项目服务自启动" target="_blank">Linux中设置vue项目服务自启动</a>
                        <span class="text-muted">ADONGS_CODER</span>
<a class="tag" taget="_blank" href="/search/linux/1.htm">linux</a><a class="tag" taget="_blank" href="/search/vue.js/1.htm">vue.js</a><a class="tag" taget="_blank" href="/search/%E8%BF%90%E7%BB%B4/1.htm">运维</a>
                        <div>一、摘要vue项目服务启动是进入到根目录,然后使用npmrundev启动环境,服务器由于重启或者网络波动等原因,会无辜的停止这个服务,如果是自己搭建的项目想自动启动,则需要搭建自启动服务。二、操作1.安装nvm管理包nvm管理包,据我目前的理解,大概就是像conda一样的一个容器,可以管理各种版本的nodejs和npm,这样就容易处理版本冲突问题。推荐下载curl-o-https://raw.gi</div>
                    </li>
                    <li><a href="/article/1832434258807975936.htm"
                           title="docker-compose的下载" target="_blank">docker-compose的下载</a>
                        <span class="text-muted">MetaverseMan</span>
<a class="tag" taget="_blank" href="/search/docker/1.htm">docker</a><a class="tag" taget="_blank" href="/search/%E5%AE%B9%E5%99%A8/1.htm">容器</a><a class="tag" taget="_blank" href="/search/%E8%BF%90%E7%BB%B4/1.htm">运维</a>
                        <div>方式一:使用二进制文件安装。GitHub官方下载安装(推荐,速度慢但不会出错)1.GitHub官方下载(测试,已成功)curl-SLhttps://github.com/docker/compose/releases/download/v2.29.1/docker-compose-linux-x86_64-o/usr/local/bin/docker-compose2.赋予执行权限:sudochm</div>
                    </li>
                    <li><a href="/article/1832280449813147648.htm"
                           title="/usr/bin/ld: warning: libssl.so.10, needed by xxx/lib//libcurl.so, may conflict with libssl.so.1.0.0" target="_blank">/usr/bin/ld: warning: libssl.so.10, needed by xxx/lib//libcurl.so, may conflict with libssl.so.1.0.0</a>
                        <span class="text-muted">iummature</span>
<a class="tag" taget="_blank" href="/search/linux/1.htm">linux</a><a class="tag" taget="_blank" href="/search/%E8%BF%90%E7%BB%B4/1.htm">运维</a><a class="tag" taget="_blank" href="/search/%E6%9C%8D%E5%8A%A1%E5%99%A8/1.htm">服务器</a>
                        <div>编译时出现warning/usr/bin/ld:warning:libssl.so.10,neededby/opt/cmms/3thrdparty/libcurl/lib//libcurl.so,mayconflictwithlibssl.so.1.0.0/usr/bin/ld:warning:libcrypto.so.10,neededby/opt/cmms/3thrdparty/libcurl</div>
                    </li>
                    <li><a href="/article/1832269112605241344.htm"
                           title="macOS 安装 Homebrew" target="_blank">macOS 安装 Homebrew</a>
                        <span class="text-muted">玉梅小洋</span>
<a class="tag" taget="_blank" href="/search/macOS/1.htm">macOS</a><a class="tag" taget="_blank" href="/search/%E5%B7%A5%E5%85%B7%E4%BD%BF%E7%94%A8/1.htm">工具使用</a><a class="tag" taget="_blank" href="/search/macos/1.htm">macos</a>
                        <div>Homebrew是macOS上非常流行的包管理工具,可以用来安装各种软件和库。Homebrew安装/bin/bash-c"$(curl-fsSLhttps://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"使用Homebrew安装库例如,如果你想安装openssl库,可以使用以下命令:brewinstallopenssl</div>
                    </li>
                                <li><a href="/article/49.htm"
                                       title="辗转相处求最大公约数" target="_blank">辗转相处求最大公约数</a>
                                    <span class="text-muted">沐刃青蛟</span>
<a class="tag" taget="_blank" href="/search/C%2B%2B/1.htm">C++</a><a class="tag" taget="_blank" href="/search/%E6%BC%8F%E6%B4%9E/1.htm">漏洞</a>
                                    <div>无言面对”江东父老“了,接触编程一年了,今天发现还不会辗转相除法求最大公约数。惭愧惭愧! 
  
为此,总结一下以方便日后忘了好查找。 
  
1.输入要比较的两个数a,b 
  
忽略:2.比较大小(因为后面要的是大的数对小的数做%操作) 
  
3.辗转相除(用循环不停的取余,如a%b,直至b=0) 
  
4.最后的a为两数的最大公约数 
&</div>
                                </li>
                                <li><a href="/article/176.htm"
                                       title="F5负载均衡会话保持技术及原理技术白皮书" target="_blank">F5负载均衡会话保持技术及原理技术白皮书</a>
                                    <span class="text-muted">bijian1013</span>
<a class="tag" taget="_blank" href="/search/F5/1.htm">F5</a><a class="tag" taget="_blank" href="/search/%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1/1.htm">负载均衡</a>
                                    <div>一.什么是会话保持?        在大多数电子商务的应用系统或者需要进行用户身份认证的在线系统中,一个客户与服务器经常经过好几次的交互过程才能完成一笔交易或者是一个请求的完成。由于这几次交互过程是密切相关的,服务器在进行这些交互过程的某一个交互步骤时,往往需要了解上一次交互过程的处理结果,或者上几步的交互过程结果,服务器进行下</div>
                                </li>
                                <li><a href="/article/303.htm"
                                       title="Object.equals方法:重载还是覆盖" target="_blank">Object.equals方法:重载还是覆盖</a>
                                    <span class="text-muted">Cwind</span>
<a class="tag" taget="_blank" href="/search/java/1.htm">java</a><a class="tag" taget="_blank" href="/search/generics/1.htm">generics</a><a class="tag" taget="_blank" href="/search/override/1.htm">override</a><a class="tag" taget="_blank" href="/search/overload/1.htm">overload</a>
                                    <div>本文译自StackOverflow上对此问题的讨论。 
原问题链接 
  
在阅读Joshua Bloch的《Effective Java(第二版)》第8条“覆盖equals时请遵守通用约定”时对如下论述有疑问: 
“不要将equals声明中的Object对象替换为其他的类型。程序员编写出下面这样的equals方法并不鲜见,这会使程序员花上数个小时都搞不清它为什么不能正常工作:” 
pu</div>
                                </li>
                                <li><a href="/article/430.htm"
                                       title="初始线程" target="_blank">初始线程</a>
                                    <span class="text-muted">15700786134</span>

                                    <div>      暑假学习的第一课是讲线程,任务是是界面上的一条线运动起来。 
  
  
       既然是在界面上,那必定得先有一个界面,所以第一步就是,自己的类继承JAVA中的JFrame,在新建的类中写一个界面,代码如下: 
public class ShapeFr</div>
                                </li>
                                <li><a href="/article/557.htm"
                                       title="Linux的tcpdump" target="_blank">Linux的tcpdump</a>
                                    <span class="text-muted">被触发</span>
<a class="tag" taget="_blank" href="/search/tcpdump/1.htm">tcpdump</a>
                                    <div>用简单的话来定义tcpdump,就是:dump the traffic on a network,根据使用者的定义对网络上的数据包进行截获的包分析工具。 tcpdump可以将网络中传送的数据包的“头”完全截获下来提供分析。它支 持针对网络层、协议、主机、网络或端口的过滤,并提供and、or、not等逻辑语句来帮助你去掉无用的信息。 
 
实用命令实例 
默认启动 
tcpdump 
普通情况下,直</div>
                                </li>
                                <li><a href="/article/684.htm"
                                       title="安卓程序listview优化后还是卡顿" target="_blank">安卓程序listview优化后还是卡顿</a>
                                    <span class="text-muted">肆无忌惮_</span>
<a class="tag" taget="_blank" href="/search/ListView/1.htm">ListView</a>
                                    <div>最近用eclipse开发一个安卓app,listview使用baseadapter,里面有一个ImageView和两个TextView。使用了Holder内部类进行优化了还是很卡顿。后来发现是图片资源的问题。把一张分辨率高的图片放在了drawable-mdpi文件夹下,当我在每个item中显示,他都要进行缩放,导致很卡顿。解决办法是把这个高分辨率图片放到drawable-xxhdpi下。 
&nb</div>
                                </li>
                                <li><a href="/article/811.htm"
                                       title="扩展easyUI tab控件,添加加载遮罩效果" target="_blank">扩展easyUI tab控件,添加加载遮罩效果</a>
                                    <span class="text-muted">知了ing</span>
<a class="tag" taget="_blank" href="/search/jquery/1.htm">jquery</a>
                                    <div>(function () {  
    $.extend($.fn.tabs.methods, {  
        //显示遮罩  
        loading: function (jq, msg) {  
            return jq.each(function () {  
                var panel = $(this).tabs(&</div>
                                </li>
                                <li><a href="/article/938.htm"
                                       title="gradle上传jar到nexus" target="_blank">gradle上传jar到nexus</a>
                                    <span class="text-muted">矮蛋蛋</span>
<a class="tag" taget="_blank" href="/search/gradle/1.htm">gradle</a>
                                    <div>原文地址: 
https://docs.gradle.org/current/userguide/maven_plugin.html 
configurations { 
    deployerJars 
} 
 
dependencies { 
    deployerJars "org.apache.maven.wagon</div>
                                </li>
                                <li><a href="/article/1065.htm"
                                       title="千万条数据外网导入数据库的解决方案。" target="_blank">千万条数据外网导入数据库的解决方案。</a>
                                    <span class="text-muted">alleni123</span>
<a class="tag" taget="_blank" href="/search/sql/1.htm">sql</a><a class="tag" taget="_blank" href="/search/mysql/1.htm">mysql</a>
                                    <div>从某网上爬了数千万的数据,存在文本中。 
然后要导入mysql数据库。 
 
悲剧的是数据库和我存数据的服务器不在一个内网里面。。 
 
 
ping了一下, 19ms的延迟。 
 
于是下面的代码是没用的。 
 

ps = con.prepareStatement(sql);
	ps.setString(1, info.getYear())............;
			ps.exec</div>
                                </li>
                                <li><a href="/article/1192.htm"
                                       title="JAVA IO InputStreamReader和OutputStreamReader" target="_blank">JAVA IO InputStreamReader和OutputStreamReader</a>
                                    <span class="text-muted">百合不是茶</span>
<a class="tag" taget="_blank" href="/search/JAVA.io%E6%93%8D%E4%BD%9C+%E5%AD%97%E7%AC%A6%E6%B5%81/1.htm">JAVA.io操作 字符流</a>
                                    <div>这是第三篇关于java.io的文章了,从开始对io的不了解-->熟悉--->模糊,是这几天来对文件操作中最大的感受,本来自己认为的熟悉了的,刚刚在回想起前面学的好像又不是很清晰了,模糊对我现在或许是最好的鼓励 我会更加的去学 加油!: 
JAVA的API提供了另外一种数据保存途径,使用字符流来保存的,字符流只能保存字符形式的流 
  
字节流和字符的难点:a,怎么将读到的数据</div>
                                </li>
                                <li><a href="/article/1319.htm"
                                       title="MO、MT解读" target="_blank">MO、MT解读</a>
                                    <span class="text-muted">bijian1013</span>
<a class="tag" taget="_blank" href="/search/GSM/1.htm">GSM</a>
                                    <div>MO= Mobile originate,上行,即用户上发给SP的信息。MT= Mobile Terminate,下行,即SP端下发给用户的信息; 
上行:mo提交短信到短信中心下行:mt短信中心向特定的用户转发短信,你的短信是这样的,你所提交的短信,投递的地址是短信中心。短信中心收到你的短信后,存储转发,转发的时候就会根据你填写的接收方号码寻找路由,下发。在彩信领域是一样的道理。下行业务:由SP</div>
                                </li>
                                <li><a href="/article/1446.htm"
                                       title="五个JavaScript基础问题" target="_blank">五个JavaScript基础问题</a>
                                    <span class="text-muted">bijian1013</span>
<a class="tag" taget="_blank" href="/search/JavaScript/1.htm">JavaScript</a><a class="tag" taget="_blank" href="/search/call/1.htm">call</a><a class="tag" taget="_blank" href="/search/apply/1.htm">apply</a><a class="tag" taget="_blank" href="/search/this/1.htm">this</a><a class="tag" taget="_blank" href="/search/Hoisting/1.htm">Hoisting</a>
                                    <div>下面是五个关于前端相关的基础问题,但却很能体现JavaScript的基本功底。 
问题1:Scope作用范围 
考虑下面的代码:  
(function() {
   var a = b = 5;
})();
console.log(b); 
什么会被打印在控制台上?  
回答: 
        上面的代码会打印 5。 
&nbs</div>
                                </li>
                                <li><a href="/article/1573.htm"
                                       title="【Thrift二】Thrift Hello World" target="_blank">【Thrift二】Thrift Hello World</a>
                                    <span class="text-muted">bit1129</span>
<a class="tag" taget="_blank" href="/search/Hello+world/1.htm">Hello world</a>
                                    <div>本篇,不考虑细节问题和为什么,先照葫芦画瓢写一个Thrift版本的Hello World,了解Thrift RPC服务开发的基本流程 
  
1. 在Intellij中创建一个Maven模块,加入对Thrift的依赖,同时还要加上slf4j依赖,如果不加slf4j依赖,在后面启动Thrift Server时会报错 
        <dependency>
        </div>
                                </li>
                                <li><a href="/article/1700.htm"
                                       title="【Avro一】Avro入门" target="_blank">【Avro一】Avro入门</a>
                                    <span class="text-muted">bit1129</span>
<a class="tag" taget="_blank" href="/search/%E5%85%A5%E9%97%A8/1.htm">入门</a>
                                    <div>本文的目的主要是总结下基于Avro Schema代码生成,然后进行序列化和反序列化开发的基本流程。需要指出的是,Avro并不要求一定得根据Schema文件生成代码,这对于动态类型语言很有用。 
  1. 添加Maven依赖 
  
<?xml version="1.0" encoding="UTF-8"?>
<proj</div>
                                </li>
                                <li><a href="/article/1827.htm"
                                       title="安装nginx+ngx_lua支持WAF防护功能" target="_blank">安装nginx+ngx_lua支持WAF防护功能</a>
                                    <span class="text-muted">ronin47</span>

                                    <div>需要的软件:LuaJIT-2.0.0.tar.gz                   nginx-1.4.4.tar.gz          &nb</div>
                                </li>
                                <li><a href="/article/1954.htm"
                                       title="java-5.查找最小的K个元素-使用最大堆" target="_blank">java-5.查找最小的K个元素-使用最大堆</a>
                                    <span class="text-muted">bylijinnan</span>
<a class="tag" taget="_blank" href="/search/java/1.htm">java</a>
                                    <div>
import java.util.Arrays;
import java.util.Random;


public class MinKElement {

	/**
	 * 5.最小的K个元素
	 * I would like to use MaxHeap.
	 * using QuickSort is also OK
	 */
	public static void</div>
                                </li>
                                <li><a href="/article/2081.htm"
                                       title="TCP的TIME-WAIT" target="_blank">TCP的TIME-WAIT</a>
                                    <span class="text-muted">bylijinnan</span>
<a class="tag" taget="_blank" href="/search/socket/1.htm">socket</a>
                                    <div>原文连接: 
http://vincent.bernat.im/en/blog/2014-tcp-time-wait-state-linux.html 
 
以下为对原文的阅读笔记 
 
说明: 
主动关闭的一方称为local end,被动关闭的一方称为remote end 
本地IP、本地端口、远端IP、远端端口这一“四元组”称为quadruplet,也称为socket 
 
1、TIME_WA</div>
                                </li>
                                <li><a href="/article/2208.htm"
                                       title="jquery ajax 序列化表单" target="_blank">jquery ajax 序列化表单</a>
                                    <span class="text-muted">coder_xpf</span>
<a class="tag" taget="_blank" href="/search/Jquery+ajax+%E5%BA%8F%E5%88%97%E5%8C%96/1.htm">Jquery ajax 序列化</a>
                                    <div>  
 checkbox 如果不设定值,默认选中值为on;设定值之后,选中则为设定的值 
  
<input type="checkbox" name="favor" id="favor" checked="checked"/>
$("#favor&quo</div>
                                </li>
                                <li><a href="/article/2335.htm"
                                       title="Apache集群乱码和最高并发控制" target="_blank">Apache集群乱码和最高并发控制</a>
                                    <span class="text-muted">cuisuqiang</span>
<a class="tag" taget="_blank" href="/search/apache/1.htm">apache</a><a class="tag" taget="_blank" href="/search/tomcat/1.htm">tomcat</a><a class="tag" taget="_blank" href="/search/%E5%B9%B6%E5%8F%91/1.htm">并发</a><a class="tag" taget="_blank" href="/search/%E9%9B%86%E7%BE%A4/1.htm">集群</a><a class="tag" taget="_blank" href="/search/%E4%B9%B1%E7%A0%81/1.htm">乱码</a>
                                    <div>都知道如果使用Http访问,那么在Connector中增加URIEncoding即可,其实使用AJP时也一样,增加useBodyEncodingForURI和URIEncoding即可。 
最大连接数也是一样的,增加maxThreads属性即可,如下,配置如下: 
<Connector maxThreads="300" port="8019" prot</div>
                                </li>
                                <li><a href="/article/2462.htm"
                                       title="websocket" target="_blank">websocket</a>
                                    <span class="text-muted">dalan_123</span>
<a class="tag" taget="_blank" href="/search/websocket/1.htm">websocket</a>
                                    <div>一、低延迟的客户端-服务器 和 服务器-客户端的连接 
很多时候所谓的http的请求、响应的模式,都是客户端加载一个网页,直到用户在进行下一次点击的时候,什么都不会发生。并且所有的http的通信都是客户端控制的,这时候就需要用户的互动或定期轮训的,以便从服务器端加载新的数据。 
  通常采用的技术比如推送和comet(使用http长连接、无需安装浏览器安装插件的两种方式:基于ajax的长</div>
                                </li>
                                <li><a href="/article/2589.htm"
                                       title="菜鸟分析网络执法官" target="_blank">菜鸟分析网络执法官</a>
                                    <span class="text-muted">dcj3sjt126com</span>
<a class="tag" taget="_blank" href="/search/%E7%BD%91%E7%BB%9C/1.htm">网络</a>
                                    <div>  
最近在论坛上看到很多贴子在讨论网络执法官的问题。菜鸟我正好知道这回事情.人道"人之患好为人师" 手里忍不住,就写点东西吧. 我也很忙.又没有MM,又没有MONEY....晕倒有点跑题. 
OK,闲话少说,切如正题. 要了解网络执法官的原理. 就要先了解局域网的通信的原理. 
前面我们看到了.在以太网上传输的都是具有以太网头的数据包. </div>
                                </li>
                                <li><a href="/article/2716.htm"
                                       title="Android相对布局属性全集" target="_blank">Android相对布局属性全集</a>
                                    <span class="text-muted">dcj3sjt126com</span>
<a class="tag" taget="_blank" href="/search/android/1.htm">android</a>
                                    <div>RelativeLayout布局android:layout_marginTop="25dip" //顶部距离android:gravity="left" //空间布局位置android:layout_marginLeft="15dip //距离左边距 
// 相对于给定ID控件android:layout_above 将该控件的底部置于给定ID的</div>
                                </li>
                                <li><a href="/article/2843.htm"
                                       title="Tomcat内存设置详解" target="_blank">Tomcat内存设置详解</a>
                                    <span class="text-muted">eksliang</span>
<a class="tag" taget="_blank" href="/search/jvm/1.htm">jvm</a><a class="tag" taget="_blank" href="/search/tomcat/1.htm">tomcat</a><a class="tag" taget="_blank" href="/search/tomcat%E5%86%85%E5%AD%98%E8%AE%BE%E7%BD%AE/1.htm">tomcat内存设置</a>
                                    <div>Java内存溢出详解 
  
一、常见的Java内存溢出有以下三种: 
  
1. java.lang.OutOfMemoryError: Java heap space ----JVM Heap(堆)溢出JVM在启动的时候会自动设置JVM Heap的值,其初始空间(即-Xms)是物理内存的1/64,最大空间(-Xmx)不可超过物理内存。 
可以利用JVM提</div>
                                </li>
                                <li><a href="/article/2970.htm"
                                       title="Java6 JVM参数选项" target="_blank">Java6 JVM参数选项</a>
                                    <span class="text-muted">greatwqs</span>
<a class="tag" taget="_blank" href="/search/java/1.htm">java</a><a class="tag" taget="_blank" href="/search/HotSpot/1.htm">HotSpot</a><a class="tag" taget="_blank" href="/search/jvm/1.htm">jvm</a><a class="tag" taget="_blank" href="/search/jvm%E5%8F%82%E6%95%B0/1.htm">jvm参数</a><a class="tag" taget="_blank" href="/search/JVM+Options/1.htm">JVM Options</a>
                                    <div>Java 6 JVM参数选项大全(中文版)  
  
作者:Ken Wu 
Email: ken.wug@gmail.com 
转载本文档请注明原文链接 http://kenwublog.com/docs/java6-jvm-options-chinese-edition.htm! 
  
本文是基于最新的SUN官方文档Java SE 6 Hotspot VM Opt</div>
                                </li>
                                <li><a href="/article/3097.htm"
                                       title="weblogic创建JMC" target="_blank">weblogic创建JMC</a>
                                    <span class="text-muted">i5land</span>
<a class="tag" taget="_blank" href="/search/weblogic/1.htm">weblogic</a><a class="tag" taget="_blank" href="/search/jms/1.htm">jms</a>
                                    <div>进入 weblogic控制太 
1.创建持久化存储 
 --Services--Persistant Stores--new--Create FileStores--name随便起--target默认--Directory写入在本机建立的文件夹的路径--ok 
 
2.创建JMS服务器 
 --Services--Messaging--JMS Servers--new--name随便起--Pers</div>
                                </li>
                                <li><a href="/article/3224.htm"
                                       title="基于 DHT 网络的磁力链接和BT种子的搜索引擎架构" target="_blank">基于 DHT 网络的磁力链接和BT种子的搜索引擎架构</a>
                                    <span class="text-muted">justjavac</span>
<a class="tag" taget="_blank" href="/search/DHT/1.htm">DHT</a>
                                    <div>上周开发了一个磁力链接和 BT 种子的搜索引擎 {Magnet & Torrent},本文简单介绍一下主要的系统功能和用到的技术。 
系统包括几个独立的部分: 
 
  使用 Python 的 Scrapy 框架开发的网络爬虫,用来爬取磁力链接和种子;  
  使用 PHP CI 框架开发的简易网站;  
  搜索引擎目前直接使用的 MySQL,将来可以考虑使</div>
                                </li>
                                <li><a href="/article/3351.htm"
                                       title="sql添加、删除表中的列" target="_blank">sql添加、删除表中的列</a>
                                    <span class="text-muted">macroli</span>
<a class="tag" taget="_blank" href="/search/sql/1.htm">sql</a>
                                    <div>添加没有默认值:alter table Test add BazaarType char(1) 
有默认值的添加列:alter table Test add BazaarType char(1) default(0) 
删除没有默认值的列:alter table Test drop COLUMN BazaarType 
删除有默认值的列:先删除约束(默认值)alter table Test DRO</div>
                                </li>
                                <li><a href="/article/3478.htm"
                                       title="PHP中二维数组的排序方法" target="_blank">PHP中二维数组的排序方法</a>
                                    <span class="text-muted">abc123456789cba</span>
<a class="tag" taget="_blank" href="/search/%E6%8E%92%E5%BA%8F/1.htm">排序</a><a class="tag" taget="_blank" href="/search/%E4%BA%8C%E7%BB%B4%E6%95%B0%E7%BB%84/1.htm">二维数组</a><a class="tag" taget="_blank" href="/search/PHP/1.htm">PHP</a>
                                    <div><?php/*** @package     BugFree* @version     $Id: FunctionsMain.inc.php,v 1.32 2005/09/24 11:38:37 wwccss Exp $*** Sort an two-dimension array by some level </div>
                                </li>
                                <li><a href="/article/3605.htm"
                                       title="hive优化之------控制hive任务中的map数和reduce数" target="_blank">hive优化之------控制hive任务中的map数和reduce数</a>
                                    <span class="text-muted">superlxw1234</span>
<a class="tag" taget="_blank" href="/search/hive/1.htm">hive</a><a class="tag" taget="_blank" href="/search/hive%E4%BC%98%E5%8C%96/1.htm">hive优化</a>
                                    <div>一、    控制hive任务中的map数:  1.    通常情况下,作业会通过input的目录产生一个或者多个map任务。  主要的决定因素有: input的文件总个数,input的文件大小,集群设置的文件块大小(目前为128M, 可在hive中通过set dfs.block.size;命令查看到,该参数不能自定义修改);2. </div>
                                </li>
                                <li><a href="/article/3732.htm"
                                       title="Spring Boot 1.2.4 发布" target="_blank">Spring Boot 1.2.4 发布</a>
                                    <span class="text-muted">wiselyman</span>
<a class="tag" taget="_blank" href="/search/spring+boot/1.htm">spring boot</a>
                                    <div>Spring Boot 1.2.4已于6.4日发布,repo.spring.io and Maven Central可以下载(推荐使用maven或者gradle构建下载)。 
  
这是一个维护版本,包含了一些修复small number of fixes,建议所有的用户升级。 
  
Spring Boot 1.3的第一个里程碑版本将在几天后发布,包含许多</div>
                                </li>
                </ul>
            </div>
        </div>
    </div>

<div>
    <div class="container">
        <div class="indexes">
            <strong>按字母分类:</strong>
            <a href="/tags/A/1.htm" target="_blank">A</a><a href="/tags/B/1.htm" target="_blank">B</a><a href="/tags/C/1.htm" target="_blank">C</a><a
                href="/tags/D/1.htm" target="_blank">D</a><a href="/tags/E/1.htm" target="_blank">E</a><a href="/tags/F/1.htm" target="_blank">F</a><a
                href="/tags/G/1.htm" target="_blank">G</a><a href="/tags/H/1.htm" target="_blank">H</a><a href="/tags/I/1.htm" target="_blank">I</a><a
                href="/tags/J/1.htm" target="_blank">J</a><a href="/tags/K/1.htm" target="_blank">K</a><a href="/tags/L/1.htm" target="_blank">L</a><a
                href="/tags/M/1.htm" target="_blank">M</a><a href="/tags/N/1.htm" target="_blank">N</a><a href="/tags/O/1.htm" target="_blank">O</a><a
                href="/tags/P/1.htm" target="_blank">P</a><a href="/tags/Q/1.htm" target="_blank">Q</a><a href="/tags/R/1.htm" target="_blank">R</a><a
                href="/tags/S/1.htm" target="_blank">S</a><a href="/tags/T/1.htm" target="_blank">T</a><a href="/tags/U/1.htm" target="_blank">U</a><a
                href="/tags/V/1.htm" target="_blank">V</a><a href="/tags/W/1.htm" target="_blank">W</a><a href="/tags/X/1.htm" target="_blank">X</a><a
                href="/tags/Y/1.htm" target="_blank">Y</a><a href="/tags/Z/1.htm" target="_blank">Z</a><a href="/tags/0/1.htm" target="_blank">其他</a>
        </div>
    </div>
</div>
<footer id="footer" class="mb30 mt30">
    <div class="container">
        <div class="footBglm">
            <a target="_blank" href="/">首页</a> -
            <a target="_blank" href="/custom/about.htm">关于我们</a> -
            <a target="_blank" href="/search/Java/1.htm">站内搜索</a> -
            <a target="_blank" href="/sitemap.txt">Sitemap</a> -
            <a target="_blank" href="/custom/delete.htm">侵权投诉</a>
        </div>
        <div class="copyright">版权所有 IT知识库 CopyRight © 2000-2050 E-COM-NET.COM , All Rights Reserved.
<!--            <a href="https://beian.miit.gov.cn/" rel="nofollow" target="_blank">京ICP备09083238号</a><br>-->
        </div>
    </div>
</footer>
<!-- 代码高亮 -->
<script type="text/javascript" src="/static/syntaxhighlighter/scripts/shCore.js"></script>
<script type="text/javascript" src="/static/syntaxhighlighter/scripts/shLegacy.js"></script>
<script type="text/javascript" src="/static/syntaxhighlighter/scripts/shAutoloader.js"></script>
<link type="text/css" rel="stylesheet" href="/static/syntaxhighlighter/styles/shCoreDefault.css"/>
<script type="text/javascript" src="/static/syntaxhighlighter/src/my_start_1.js"></script>





</body>

</html>