原文地址:http://blog.sina.com.cn/s/blog_48c95a190102wczx.html

1、根据pyspider官方推荐的安装方法,使用pip命令直接安装pyspider
# sudo pip install pyspider
Installing collected packages: click, itsdangerous, Werkzeug, Flask, chardet, cssselect, lxml, pyquery, ordereddict, backports.ssl-match-hostname, singledispatch, certifi, backports-abc, tornado, Flask-Login, u-msgpack-python, wsgidav, pyspider
  Running setup.py install for click
  Running setup.py install for itsdangerous
  Running setup.py install for chardet
  Running setup.py install for lxml
    Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-rpK3h8/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-mmscE4-record/install-record.txt --single-version-externally-managed --compile:
    Building lxml version 3.6.0.
    Building without Cython.
    ERROR: /bin/sh: xslt-config: command not found
    ** make sure the development packages of libxml2 and libxslt are installed **
    Using build configuration of libxslt
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-2.6
    creating build/lib.linux-x86_64-2.6/lxml
    copying src/lxml/_elementpath.py -> build/lib.linux-x86_64-2.6/lxml
    copying src/lxml/doctestcompare.py -> build/lib.linux-x86_64-2.6/lxml
    copying src/lxml/cssselect.py -> build/lib.linux-x86_64-2.6/lxml
    copying src/lxml/ElementInclude.py -> build/lib.linux-x86_64-2.6/lxml
    copying src/lxml/__init__.py -> build/lib.linux-x86_64-2.6/lxml
    copying src/lxml/builder.py -> build/lib.linux-x86_64-2.6/lxml
    copying src/lxml/pyclasslookup.py -> build/lib.linux-x86_64-2.6/lxml
    copying src/lxml/usedoctest.py -> build/lib.linux-x86_64-2.6/lxml
    copying src/lxml/sax.py -> build/lib.linux-x86_64-2.6/lxml
    creating build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/__init__.py -> build/lib.linux-x86_64-2.6/lxml/includes
    creating build/lib.linux-x86_64-2.6/lxml/html
    copying src/lxml/html/defs.py -> build/lib.linux-x86_64-2.6/lxml/html
    copying src/lxml/html/html5parser.py -> build/lib.linux-x86_64-2.6/lxml/html
    copying src/lxml/html/_html5builder.py -> build/lib.linux-x86_64-2.6/lxml/html
    copying src/lxml/html/_setmixin.py -> build/lib.linux-x86_64-2.6/lxml/html
    copying src/lxml/html/_diffcommand.py -> build/lib.linux-x86_64-2.6/lxml/html
    copying src/lxml/html/__init__.py -> build/lib.linux-x86_64-2.6/lxml/html
    copying src/lxml/html/builder.py -> build/lib.linux-x86_64-2.6/lxml/html
    copying src/lxml/html/clean.py -> build/lib.linux-x86_64-2.6/lxml/html
    copying src/lxml/html/ElementSoup.py -> build/lib.linux-x86_64-2.6/lxml/html
    copying src/lxml/html/usedoctest.py -> build/lib.linux-x86_64-2.6/lxml/html
    copying src/lxml/html/soupparser.py -> build/lib.linux-x86_64-2.6/lxml/html
    copying src/lxml/html/formfill.py -> build/lib.linux-x86_64-2.6/lxml/html
    copying src/lxml/html/diff.py -> build/lib.linux-x86_64-2.6/lxml/html
    creating build/lib.linux-x86_64-2.6/lxml/isoschematron
    copying src/lxml/isoschematron/__init__.py -> build/lib.linux-x86_64-2.6/lxml/isoschematron
    copying src/lxml/lxml.etree.h -> build/lib.linux-x86_64-2.6/lxml
    copying src/lxml/lxml.etree_api.h -> build/lib.linux-x86_64-2.6/lxml
    copying src/lxml/includes/config.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/schematron.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/relaxng.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/c14n.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/xslt.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/xpath.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/uri.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/tree.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/xinclude.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/etree_defs.h -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/lxml-version.h -> build/lib.linux-x86_64-2.6/lxml/includes
    creating build/lib.linux-x86_64-2.6/lxml/isoschematron/resources
    creating build/lib.linux-x86_64-2.6/lxml/isoschematron/resources/rng
    copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-x86_64-2.6/lxml/isoschematron/resources/rng
    creating build/lib.linux-x86_64-2.6/lxml/isoschematron/resources/xsl
    copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-x86_64-2.6/lxml/isoschematron/resources/xsl
    copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-x86_64-2.6/lxml/isoschematron/resources/xsl
    creating build/lib.linux-x86_64-2.6/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.linux-x86_64-2.6/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.linux-x86_64-2.6/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.linux-x86_64-2.6/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.linux-x86_64-2.6/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.linux-x86_64-2.6/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-x86_64-2.6/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    running build_ext
    building 'lxml.etree' extension
    creating build/temp.linux-x86_64-2.6
    creating build/temp.linux-x86_64-2.6/src
    creating build/temp.linux-x86_64-2.6/src/lxml
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Isrc/lxml/includes -I/usr/include/python2.6 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-2.6/src/lxml/lxml.etree.o -w
    src/lxml/lxml.etree.c:82:20: error: Python.h: No such file or directory
    src/lxml/lxml.etree.c:84:6: error: #error Python headers needed to compile C extensions, please install development version of Python.
    Compile failed: command 'gcc' failed with exit status 1
    creating tmp
    cc -I/usr/include/libxml2 -c /tmp/xmlXPathInitlSjq1o.c -o tmp/xmlXPathInitlSjq1o.o
    /tmp/xmlXPathInitlSjq1o.c:1:26: error: libxml/xpath.h: No such file or directory
    *********************************************************************************
    Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
    *********************************************************************************
    error: command 'gcc' failed with exit status 1
 
根据错误提示可知,导致安装出错的原因是libxml2和libxslt这两个库没有安装,而且找不到xslt-config这个可执行程序,解决方法如下:
# sudo yum install libxml2  
# sudo yum install libxslt       
# sudo yum install libxslt-devel  
 
2、继续使用pip命令安装pyspider
# sudo pip install pyspider
...
Running setup.py install for lxml
    Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-EQanqI/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-WzvLSh-record/install-record.txt --single-version-externally-managed --compile:
    Building lxml version 3.6.0.
    Building without Cython.
    Using build configuration of libxslt 1.1.26
    Building against libxml2/libxslt in the following directory: /usr/lib64
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-2.6
    creating build/lib.linux-x86_64-2.6/lxml
    copying src/lxml/_elementpath.py -> build/lib.linux-x86_64-2.6/lxml
    copying src/lxml/doctestcompare.py -> build/lib.linux-x86_64-2.6/lxml
    copying src/lxml/cssselect.py -> build/lib.linux-x86_64-2.6/lxml
    copying src/lxml/ElementInclude.py -> build/lib.linux-x86_64-2.6/lxml
    copying src/lxml/__init__.py -> build/lib.linux-x86_64-2.6/lxml
    copying src/lxml/builder.py -> build/lib.linux-x86_64-2.6/lxml
    copying src/lxml/pyclasslookup.py -> build/lib.linux-x86_64-2.6/lxml
    copying src/lxml/usedoctest.py -> build/lib.linux-x86_64-2.6/lxml
    copying src/lxml/sax.py -> build/lib.linux-x86_64-2.6/lxml
    creating build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/__init__.py -> build/lib.linux-x86_64-2.6/lxml/includes
    creating build/lib.linux-x86_64-2.6/lxml/html
    copying src/lxml/html/defs.py -> build/lib.linux-x86_64-2.6/lxml/html
    copying src/lxml/html/html5parser.py -> build/lib.linux-x86_64-2.6/lxml/html
    copying src/lxml/html/_html5builder.py -> build/lib.linux-x86_64-2.6/lxml/html
    copying src/lxml/html/_setmixin.py -> build/lib.linux-x86_64-2.6/lxml/html
    copying src/lxml/html/_diffcommand.py -> build/lib.linux-x86_64-2.6/lxml/html
    copying src/lxml/html/__init__.py -> build/lib.linux-x86_64-2.6/lxml/html
    copying src/lxml/html/builder.py -> build/lib.linux-x86_64-2.6/lxml/html
    copying src/lxml/html/clean.py -> build/lib.linux-x86_64-2.6/lxml/html
    copying src/lxml/html/ElementSoup.py -> build/lib.linux-x86_64-2.6/lxml/html
    copying src/lxml/html/usedoctest.py -> build/lib.linux-x86_64-2.6/lxml/html
    copying src/lxml/html/soupparser.py -> build/lib.linux-x86_64-2.6/lxml/html
    copying src/lxml/html/formfill.py -> build/lib.linux-x86_64-2.6/lxml/html
    copying src/lxml/html/diff.py -> build/lib.linux-x86_64-2.6/lxml/html
    creating build/lib.linux-x86_64-2.6/lxml/isoschematron
    copying src/lxml/isoschematron/__init__.py -> build/lib.linux-x86_64-2.6/lxml/isoschematron
    copying src/lxml/lxml.etree.h -> build/lib.linux-x86_64-2.6/lxml
    copying src/lxml/lxml.etree_api.h -> build/lib.linux-x86_64-2.6/lxml
    copying src/lxml/includes/config.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/schematron.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/relaxng.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/c14n.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/xslt.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/xpath.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/uri.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/tree.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/xinclude.pxd -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/etree_defs.h -> build/lib.linux-x86_64-2.6/lxml/includes
    copying src/lxml/includes/lxml-version.h -> build/lib.linux-x86_64-2.6/lxml/includes
    creating build/lib.linux-x86_64-2.6/lxml/isoschematron/resources
    creating build/lib.linux-x86_64-2.6/lxml/isoschematron/resources/rng
    copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-x86_64-2.6/lxml/isoschematron/resources/rng
    creating build/lib.linux-x86_64-2.6/lxml/isoschematron/resources/xsl
    copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-x86_64-2.6/lxml/isoschematron/resources/xsl
    copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-x86_64-2.6/lxml/isoschematron/resources/xsl
    creating build/lib.linux-x86_64-2.6/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.linux-x86_64-2.6/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.linux-x86_64-2.6/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.linux-x86_64-2.6/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.linux-x86_64-2.6/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.linux-x86_64-2.6/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-x86_64-2.6/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
    running build_ext
    building 'lxml.etree' extension
    creating build/temp.linux-x86_64-2.6
    creating build/temp.linux-x86_64-2.6/src
    creating build/temp.linux-x86_64-2.6/src/lxml
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/libxml2 -Isrc/lxml/includes -I/usr/include/python2.6 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-2.6/src/lxml/lxml.etree.o -w
    src/lxml/lxml.etree.c:82:20: error: Python.h: No such file or directory
    src/lxml/lxml.etree.c:84:6: error: #error Python headers needed to compile C extensions, please install development version of Python.
    Compile failed: command 'gcc' failed with exit status 1
    creating tmp
    cc -I/usr/include/libxml2 -I/usr/include/libxml2 -c /tmp/xmlXPathInitd0Umi6.c -o tmp/xmlXPathInitd0Umi6.o
    cc tmp/xmlXPathInitd0Umi6.o -L/usr/lib64 -lxml2 -o a.out
    error: command 'gcc' failed with exit status 1
 
根据错误提示可知,导致安装出错的原因是Python.h: No such file or directory,即找不到Python.h这个头文件,解决方法如下:
# sudo yum install python-devel
至此,再次执行sudo pip install pyspider就可以完成pyspider的安装。
 
3、启动pyspider,验证安装是否成功
# pyspider
Traceback (most recent call last):
  File "/usr/bin/pyspider", line 5, in
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in
    working_set.require(__requires__)
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: pyquery
 
根据错误提示可知,在执行pyspider时找不到pyquery,但实际上在安装pyspider时pyquery已经安装了,通过pip freeze也可以看到,导致该问题的原因不详,解决方法如下:
# sudo pip install -U setuptools
 
4、安装pyspider所需使用的驱动
通过单纯的pyspider命令来启动pyspider时,默认会在当前目录下创建data目录,其中存放了sqlite数据库文件,该情况下无需安装任务数据库connector。如果要以分布式集群的方式来运行pyspider的话,就需要使用mysql、mongodb或postgresql作为后台数据库,使用rabbitmq、redis、beanstalk或kombu作为消息队列。官方推荐的安装方式是采用pip install pyspider[all]命令来安装所有驱动,但该方法一方面会安装一些无用的驱动,另一方面极有可能导致安装失败。因此如果已经确定后台数据库软件和消息队列软件的话,那么选择安装需要的驱动即可。例如采用mongodb作为后台数据库,采用redis作为消息队列的话,就可以通过如下命令安装:
# sudo pip install pymongo
# sudo pip install redis  

 

【转】CentOS 6.5安装pyspider过程记录的更多相关文章

  1. CentOS 6.5 安装mysql 过程记录

    下载的时候一定选对应的版本, el6 还是el7 或者其他版本,不然会出现意向不到的惊喜 比如:我刚开始的时候下载的 el7 版本的 mysql , 然后安装的时候 就会出现: libc.so.(GL ...

  2. xp硬盘安装Fedora14 过程记录及心得体会(fedora14 live版本680M 和fedora14 DVD版本3.2G的选择)

    这次电脑奔溃了,奇怪的是直接ghost覆盖c盘竟然不中.之前电脑上硬盘安装的fedora14操作系统,也是双系统.不知道是不是这个问题,记得同学说过,在硬盘装fedora之后,要手动修改c盘隐藏的那个 ...

  3. centos源码编译安装nginx过程记录

    前言:Centos系统编译安装LNMP环境是每来一台新服务器或换电脑都需要做的事情.这里仅做一个记录.给初学者一个参考! 一.安装前的环境 这里用的是centos 7系统. 我们默认把下载的软件放在 ...

  4. redhat6.0 安装ORACLE11GR2过程记录

    vawaretools安装 我的是8.0vm 1,vm=>install vmtools 2,会在redhat里出现一个虚拟光驱图标. 3,复制里面的文件到root目录下. 4,解压缩文件 ta ...

  5. vim安装 YCM 过程记录

    YCM(YouComplateMe) 属于Vim中大神级的插件,提供了类似于巨硬爸爸的VS中的代码补全,但是其安装方式也是比较复杂,因此特意写下一篇记录,记录下我自己如何安装这一插件的过程: 检查自己 ...

  6. 安装 MySQL 过程记录

    最近安装 MySQL 时 遇到了许多问题,记录一下安装过程以及遇到的问题. 第一步:在官网上下载适合自己版本的 MySQL,我选择的是 Windows 64 位免安装版的:    官网地址:https ...

  7. 安装scikit-learn过程记录

    环境:Windows 10 X64企业版. 安装python2.7: 官网下载python-2.7.12.amd64.msi安装文件,过程不赘述.安装完成后在PATH环境变量中加入%PYTHON_HO ...

  8. CentOS 6.5 安装MySQL过程

    使用软件的版本 CentOS 6.5 mysql-5.5.22.tar.gz cmake-2.8.6.tar.gz 准备工作 解压安装mysql之前把关于mysql软件包卸载,以免程序冲突,端口冲突. ...

  9. Linux系统中安装Oracle过程记录

    第一章 安装数据库软件 1.1 修改密码及创建目录和权限 创建oracle用户和组 创建相关目录并赋权 1.2 设置oracle用户环境变量 ORACLE_BASE:产品基目录 ORACLE_HOME ...

随机推荐

  1. springMVC中利用model在JSTL进行回填值

    1.ringMVC中利用model回填值 后台中,利用model返回值,如 model.addAttribute("MS_info" , MS_info); 前台回填值: text ...

  2. LuaSocket http笔记

    LuaSocket 基于Lua平台开发的一套socket的lua接口库程序, 为lua程序的扩展 ,http://w3.impa.br/~diego/software/luasocket/home.h ...

  3. Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environment variable is needed to run this program

    开启tomcat时出现以上错误 // 进入root帐户 在普通用户也可以 sudo -s //用编辑器打开.bashrc文件 gedit .bashrc 在普通用户下注意加上sudo //在最后一行添 ...

  4. FlashFXP5_gr坑爹的故事

    数据中心说已把数据存放到ftp上,但我通过flashfxp5工具链接到ftp server查看数据中心存放的数据,一天了都没有看到数据结果,经过我反复多次重新链接否没有发现数据中心所说的最新数据结果, ...

  5. 向ES6看齐,用更好的JavaScript(三)

    本文是ES6系列的第三篇,主要介绍ES6新增的数据类型.数据结构,先上传送门: 1 变量部分 2 现有对象拓展 3 新增数据类型/数据结构 4 新的异步编程模式 5 类和模块 1 第七种数据类型Sym ...

  6. ActiveMQ的使用笔记(基本实现原理)

    具体原理不进行深入,会用就好. 第一:当然是先安装ActiveMQ,选择操作系统位数,安装成功以后,输入网址http://ip:8161/admin/,会出现相关页面,账号密码都是admin.在这个页 ...

  7. 解决 No resource found that matches the given name (at 'icon' with value '@drawable/icon') 问题

    对新解决方案Xamarin的Android项目在项目属性 换图标后 会出现 No resource found that matches the given name (at 'icon' with ...

  8. C# 获取sql数据库表列名,及列名说明备注信息

    获取指定表列名及备注: select * from syscolumns where id=object_id(N'表名') SELECT a.name [column], b.name type, ...

  9. Windows10 如何删掉内置的 skype ?

    打开开始菜单,输入“PowerShell”并回车: 运行“Get-AppxPackage -User username”命令( username 请替换成当前实际用户名),此时会显示所有已安装的应用程 ...

  10. CentOS 6.4下编译安装 gcc-4.8.0(转)

    转:http://www.centoscn.com/image-text/install/2014/0807/3454.html 1.首先下载源代码 wget http://ftp.gnu.org/g ...