Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ CentOS 6.4 installation environment to build Scrapy 0.22     - MySQL to manage multiple instances of method (Database)

- Shell Scripting Interview Questions (Programming)

- RHEL 6.5 KVM analytical use (Server)

- You know the difference between URL, URI and URN among you (Linux)

- Redis is installed in Ubuntu 14.04 (Database)

- C ++ why we chose to use the smart pointer (Programming)

- Linux operating process information (Linux)

- MySQL Study of --Percona Server 5.5 Upgrade 5.6 (Database)

- Linux use chattr and lsattr commands to manage file and directory attributes (Linux)

- Advanced permissions Linux file system settings (Linux)

- Manually compile Hadoop 2.6.0 under Ubuntu 14.04 (Server)

- Lazarus IDE Start Basics Tutorial (Linux)

- A new method for Linux hidden files (Linux)

- Sublime Text 3 (Linux)

- DataGuard the MRP can not start to analyze and solve problems (Database)

- Linux NFS FTP use (Server)

- Xshell key authentication mechanism using a remote login Linux (Linux)

- tar decompression problems gzip: stdin: not in gzip format (Linux)

- Installation Mesos + Marathon + Zookeeper under CentOS 7 (Server)

- Precautions against hackers Linux environment (Linux)

  CentOS 6.4 installation environment to build Scrapy 0.22
  Add Date : 2016-10-02      
  Scrapy is an open-source opportunity to twisted the framework of python's stand-alone crawler, which actually contains most web crawler kits for the crawler download side as well as the extraction side.

CentOS 6.4 installation Scrapy 0.22 environmental process records, we hope to be helpful.

First, install Python2.7.6

1. Update the CentOS lib library file

Yum -y update

2. Install the Development Kit

Yum groupinstall -y development

3. Install the extension package

Yum install -y zlib-dev openssl-devel sqlite-devel bzip2-devel

4. Download Python 2.7.6

Wget http://www.python.org/ftp/python/2.7.6/Python-2.7.6.tar.xz

5. Unzip Python 2.7.6

Tar -xvf Python-2.7.6.tar.xz

6. Go to the Python 2.7.6 directory

Cd Python-2.7.6

7. Compile and install Python 2.7.6


Make && make altinstall

Second, solve Yum does not support Python2.7 problem

1. Back up the old Python program

Mv / usr / bin / python /usr/bin/python2.6.6

2. Create a new Python link

Ln -s /usr/local/bin/python2.7 / usr / bin / python

3. Modify the / usr / bin / yum file

Vi / usr / bin / yum

Change the first line to #! / Usr / bin / python to #! / Usr / bin / python2.6.6

Third, the installation setuptools and pip

1. Download setuptools

Wget --no-check-certificate https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz

2. Unzip the setuptools

Tar -xvf setuptools-1.4.2.tar.gz

3. Enter the setuptools directory

Cd setuptools-1.4.2

4. Install setuptools from the installed Python2.7.6

Python setup.py install

5. Install pip

Easy_install pip

6.curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python2.7 -

Fourth, the installation libxslt-devel support lxml

Yum install libxslt-devel

Fifth, install Scrapy

Pip install scrapy
- CentOS 6.6 x64 Oracle Database 11gR2 RAC automated installation scripts (Database)
- Linux (CentOS) SSH login without password authentication (Linux)
- Talk about the Linux folder permissions issue again (Linux)
- How to Upgrade Ubuntu GNOME 14.10 to GNOME 3.16 Desktop (Linux)
- Linux and hardware (Linux)
- Five Linux user space debugging tool (Linux)
- Linux based exercises, interview questions (Linux)
- Hibernate Performance Optimization of EHCache cache (Programming)
- Linux operating system set up to effectively prevent ARP attacks (Linux)
- Java precision four operations (Programming)
- Ubuntu uses conky add desktop control (Linux)
- Oracle in the add & split partition on the impact of global & local index (Database)
- Linux device driver development small example --LED lights (Programming)
- Java source implementation of the observer pattern instance (Programming)
- Linux Learning Notes: Users and Groups (Linux)
- AngularJS application unit testing started (Programming)
- Internet proxy workaround can not be used under Linux YUM (Linux)
- Linux command to view the system status (Linux)
- How to run in support UDp Docker container JBoss data virtualization GA (Server)
- Setting Linux desktop environment, achieve HiDPI display support (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.