Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Paramiko source code installation

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Build environment: VMWare+Red Hat Enterprise Linux Server release 6.5 (Santiago) + Python 2.7

Recommended download URL for paramiko source package:

Https://github.com/paramiko/paramiko/releases

Https://pypi.python.org/simple/paramiko/

1. Mounting

# df-h

# mount / dev/cdrom / mnt

two。 Install the Yum package

# yum-y install zlib-devel python-devel openssl-devel gcc

3. Install paramiko related components

(1) ipaddress

# tar zxvf ipaddress-1.0.19.tar.gz

# cd ipaddress-1.0.19

# python setup.py install

(2) libffi

# tar zxvf libffi-3.0.11-rc2.tar.gz

# cd libffi-3.0.11-rc2

#. / configure-prefix=/usr/local/libffi

# make

# make install

# vim .bash _ profile

# source .bash _ profile

(3) setuptools

# tar zxvf setuptools-12.1.tar.gz

# cd setuptools-12.1

# python setup.py install

(4) enum34

# tar zxvf enum34-1.1.6.tar.gz

# cd enum34-1.1.6

# python setup.py install

(5) six

# tar zxvf six-1.11.0.tar.gz

# cd six-1.11.0

# python setup.py install

(6) idna

# tar zxvf idna-2.6.tar.gz

# cd idna-2.6

# python setup.py install

(7) pycparser

# tar zxvf pycparser-2.17.tar.gz

# cd pycparser-2.17

# python setup.py install

(8) cffi

# tar zxvf cffi-1.11.0.tar.gz

# cd cffi-1.11.0

# python setup.py install

If python3.3, then:

If python2.7, then:

(9) cryptography

# tar zxvf cryptography-1.3.2.tar.gz

# cd cryptography-1.3.2

# python setup.py install

4.paramiko installation

# tar zxvf paramiko-2.1.2.tar.gz

# cd paramiko-2.1.2

# python setup.py install

5.fabric installation (attach fabric installation method, based on paramiko already installed)

# tar zxvf Fabric-1.14.0.tar.gz

# cd Fabric-1.14.0

# python setup.py install

6. Verification

If the import is successful, paramiko is installed successfully. It is recommended to use python2.7.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report