This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo yum -y update | |
| sudo yum -y groupinstall "Development Tools" | |
| sudo yum -y install openssl-devel bzip2-devel libffi-devel | |
| wget https://www.python.org/ftp/python/3.8.5/Python-3.8.5.tgz | |
| tar xvf Python-3.8.5.tgz | |
| cd Python-3.8.5 | |
| ./configure --with-ssl | |
| make & make altinstall | |
| ln -s /usr/local/bin/pip3.8 /usr/bin/pip3 | |
| ln -s /usr/local/bin/python3.8 /usr/bin/python3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [loggers] | |
| keys=root,sampleLogger | |
| [handlers] | |
| keys=consoleHandler | |
| [formatters] | |
| keys=sampleFormatter | |
| [logger_root] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wget --content-disposition https://nct.onlyoffice.com/sh/Xsy # Hello world image | |
| wget http://mirror.centos.org/centos/7/extras/x86_64/Packages/container-selinux-2.107-1.el7_6.noarch.rpm | |
| wget https://download.docker.com/linux/centos/7/x86_64/stable/Packages/docker-ce-19.03.5-3.el7.x86_64.rpm | |
| wget https://download.docker.com/linux/centos/7/x86_64/stable/Packages/docker-ce-cli-19.03.5-3.el7.x86_64.rpm | |
| wget https://download.docker.com/linux/centos/7/x86_64/stable/Packages/docker-ce-selinux-17.03.3.ce-1.el7.noarch.rpm | |
| wget https://download.docker.com/linux/centos/7/x86_64/stable/Packages/containerd.io-1.2.6-3.3.el7.x86_64.rpm | |
| sudo rpm -i container-selinux-2.107-1.el7_6.noarch.rpm | |
| sudo rpm -i docker-ce-19.03.5-3.el7.x86_64.rpm docker-ce-cli-19.03.5-3.el7.x86_64.rpm docker-ce-selinux-17.03.3.ce-1.el7.noarch.rpm containerd.io-1.2.6-3.3.el7.x86_64.rpm | |
| sudo systemctl start docker |
OlderNewer