跳到主要內容

redhat8 offline install ansible

Redhat Ansible by Py3.8
================
Red Hat 8.1
Python 3.8
ansible-2.9.13

# Python 3.8
------------------
python38-3.8.0-6.module_el8.2.0+317+61fa6e7d.x86_64.rpm
python38-libs-3.8.0-6.module_el8.2.0+317+61fa6e7d.x86_64.rpm
python38-pip-19.2.3-5.module_el8.2.0+317+61fa6e7d.noarch.rpm
python38-pip-wheel-19.2.3-5.module_el8.2.0+317+61fa6e7d.noarch.rpm
python38-setuptools-41.6.0-4.module_el8.2.0+317+61fa6e7d.noarch.rpm
python38-setuptools-wheel-41.6.0-4.module_el8.2.0+317+61fa6e7d.noarch.rpm

## 下載來源
------------------
http://rpmfind.net/linux/rpm2html/search.php?query=pkgconfig(python-3.8)

# Ansible
------------------
Jinja2-2.11.2-py2.py3-none-any.whl
MarkupSafe-1.1.1-cp38-cp38-manylinux1_x86_64.whl
PyYAML-5.3.1.tar.gz
ansible-latest.tar.gz
cffi-1.14.3-cp38-cp38-manylinux1_x86_64.whl
cryptography-3.2.1-cp35-abi3-manylinux2010_x86_64.whl
pycparser-2.20-py2.py3-none-any.whl
python3.8
six-1.15.0-py2.py3-none-any.whl

## 下載來源
------------------
ansible-2.9.13.tar.gz
https://releases.ansible.com/ansible/ansible-latest.tar.gz
or
https://pypi.org/simple/ansible/

six-1.15.0-py2.py3-none-any.whl
https://pypi.org/simple/six/

pycparser-2.20-py2.py3-none-any.whl
https://pypi.org/simple/pycparser/

cffi-1.14.3-cp38-cp38-manylinux1_x86_64.whl
https://pypi.org/simple/cffi/

cryptography-3.2.1-cp35-abi3-manylinux2010_x86_64.whl
https://pypi.org/simple/cryptography/

MarkupSafe-1.1.1-cp38-cp38-manylinux1_x86_64.whl
https://pypi.org/simple/markupsafe/

Jinja2-2.11.2-py2.py3-none-any.whl
https://pypi.org/simple/jinja2/

PyYAML-5.3.1.tar.gz
https://pypi.org/simple/pyyaml/

# Instaill
------------------
#!/bin/bash

RPM_INSTALL_PATH=/install/python


echo ""
echo "-------Python install---------"
rpm -ivh $RPM_INSTALL_PATH/*.rpm

WHL_INSTALL_PATH=/install/ansible

echo ""
echo "-------Ansible install---------"

sudo pip3.8 install $WHL_INSTALL_PATH/six-1.15.0-py2.py3-none-any.whl
sudo pip3.8 install $WHL_INSTALL_PATH/pycparser-2.20-py2.py3-none-any.whl
sudo pip3.8 install $WHL_INSTALL_PATH/cffi-1.14.3-cp38-cp38-manylinux1_x86_64.whl
sudo pip3.8 install $WHL_INSTALL_PATH/cryptography-3.2.1-cp35-abi3-manylinux2010_x86_64.whl

sudo pip3.8 install $WHL_INSTALL_PATH/MarkupSafe-1.1.1-cp38-cp38-manylinux1_x86_64.whl
sudo pip3.8 install $WHL_INSTALL_PATH/Jinja2-2.11.2-py2.py3-none-any.whl

sudo pip3.8 install $WHL_INSTALL_PATH/PyYAML-5.3.1.tar.gz
sudo pip3.8 install $WHL_INSTALL_PATH/ansible-latest.tar.gz


留言

這個網誌中的熱門文章

小蟻智慧攝影機支援RTSP

來源: http://en.miui.com/thread-196713-1-1.html 小蟻智慧攝影機版本: 1.8.5.1l_201511061661(台灣版) 下載檔案 https://drive.google.com/file/d/0ByjBix7wpeJJY0ZWZXlvWl9Za1E/view?usp=sharing 把攝影機SD卡拿讀卡機讀取 把壓縮檔內的test資料夾放進SD根目錄 插回SD卡至攝影機 重開 攝影機會呈現橘燈並執行更新 等恢復至藍燈或是用app確認攝影機開啟 用VLC或相關程式讀取串流 Main stream:rtsp:// <CameraIP> :554/ch0_0.h264 Minor stream:rtsp:// <CameraIP> :554/ch0_1.h264 Audio stream:rtsp:// <CameraIP> :554/ch0_3.h264 Telnet與FTP開啟加上 # Telnet if [ ! -f "/etc/init.d/S88telnet" ]; then     echo "#!/bin/sh" > /etc/init.d/S88telnet     echo "telnetd &" >> /etc/init.d/S88telnet     chmod 755 /etc/init.d/S88telnet fi # FTP echo "#!/bin/sh" > /etc/init.d/S89ftp echo "tcpsvd -vE 0.0.0.0 21 ftpd -w / &" >> /etc/init.d/S89ftp chmod 755 /etc/init.d/S89ftp User:  root Password:  1234qwer 使用passwd改密碼 參考: http://en.miui.com/thread-224653-1-1.html

Arduino 滑鼠滾輪編碼器/旋轉編碼器

滑鼠拆下來的滾輪編碼器 時序為                      → CW A  -----------          -------------    HIGH                ----------                  LOW                      ← CCW B  --------          ----------------    HIGH             ----------                     LOW A B 1  1↓CW 1  0 0  0 0  1 1  1 1  0 0  0 0  1↑CCW 程式碼參考底下網址來源修改而來 #define ENCODER_A_PIN 2 #define ENCODER_B_PIN 3 unsigned long time = 0; long position = 0; long num = 0; void setup() { pinMode(ENCODER_A_PIN,INPUT); pinMode(ENCODER_B_PIN,INPUT); attachInterrupt(0, RotaryEncoder, LOW); Serial.begin(9600); ti...

V-USB Joystick for Arduino

上次做好沒存檔 這次再翻出來從弄一次...QAQ 花了我一天阿阿阿阿 D+ 接腳2 D-  接腳3 詳情請看usbconfig.h 想改搖桿配置可以用 HID Descriptor Tool 改完記得回usbconfig.h填 USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH 長度 程式碼: https://www.dropbox.com/s/n0rgkb370wto2lv/UsbJOY.rar?dl=0