Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
Readme.txt | 2021-01-12 | 1.8 kB | |
sftp_pro.py | 2021-01-12 | 2.0 kB | |
Totals: 2 Items | 3.8 kB | 0 |
English/Chinese Ready readme. 中英文雙語ReadMe. Cent6.10 and maintainess after EOL by IBM-redhat. IBM是一個艹丹的公司,自從收了RH,連Cent都沒了,默哀一下,EOL後大量已經量產的服務器還在跑著CentOS6.x 的,還好能得到以下服務 This python file can not run under 2.x so that I have to use 3.x with Cent6.10 在生產環境中難免會有服務器交換文件的機會,用Python3.6實現了一個簡單的交換腳本,主要是用於網絡環境不好的特例。 1. EOL service; Thx a lot for getpagespeed; 1. Cent6.10以後的YUM安裝;感謝這家公司! GetPageSpeed https://www.getpagespeed.com/server-setup/how-to-fix-yum-after-centos-6-went-eol curl https://www.getpagespeed.com/files/centos6-eol.repo --output /etc/yum.repos.d/CentOS-Base.repo curl https://www.getpagespeed.com/files/centos6-epel-eol.repo --output /etc/yum.repos.d/epel.repo yum -y install centos-release-scl curl https://www.getpagespeed.com/files/centos6-scl-eol.repo --output /etc/yum.repos.d/CentOS-SCLo-scl.repo curl https://www.getpagespeed.com/files/centos6-scl-rh-eol.repo --output /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo 2. python3.x;Thx to https://www.2daygeek.com/install-python-3-on-centos-6/ 2. 在Cent6使用python3.x (我自己嘗試2.7無法成功安裝pip install) yum install centos-release-scl yum --enablerepo="centos-sclo-rh" list *python3* yum install rh-python36 scl enable rh-python36 bash yum install python pip yum install python-pip --nogpgcheck pip3 install --upgrade pip pip3 install pysftp python3 sftp_pro.py ____________________________________________________________________ BTW, when sig failed(另外,如果某些包無法安裝), add '--nogpgcheck' yum install --nogpgcheck xxxx