support ipv6

This commit is contained in:
Jrohy
2019-11-23 23:24:33 +08:00
parent 95d0f55ef1
commit 3732d1e608
2 changed files with 6 additions and 6 deletions

View File

@@ -5,24 +5,24 @@ support **CentOS 6+/Debian 8+/Ubuntu 14+**
## Install without compile(recommend)
```
bash <(curl -sL https://git.io/fhqMz)
bash <(curl -sL https://python3.netlify.com/install.sh)
```
## Install with compile(latest version)
```
bash <(curl -sL https://git.io/fhqMz) --latest
bash <(curl -sL https://python3.netlify.com/install.sh) --latest
```
## Install with compile(special version)
```
bash <(curl -sL https://git.io/fhqMz) -v 3.6.5
bash <(curl -sL https://python3.netlify.com/install.sh) -v 3.6.5
```
## Only install python3
```
bash <(curl -sL https://git.io/fhqMz) --nopip
bash <(curl -sL https://python3.netlify.com/install.sh) --nopip
```
find the special version in [python_version_list](https://www.python.org/ftp/python/), script will auto download and compile it
if os openssl version less than **1.0.2** , script will auto install latest openssl before compile python3, it may be have risk(except new install os), so recommend install without compile way
if os openssl version less than **1.0.2** , script will auto install latest openssl before compile python3, it may be have risk(except new install os), so recommend install without compile way

View File

@@ -157,7 +157,7 @@ webInstall(){
${PACKAGE_MANAGER} install epel-release -y
${PACKAGE_MANAGER} install https://centos7.iuscommunity.org/ius-release.rpm -y
${PACKAGE_MANAGER} install python36u -y
ln -s /bin/python3.6 /bin/python3
[[ ! -e /bin/python3 ]] && ln -s /bin/python3.6 /bin/python3
elif [[ ${OS} == 'CentOS8' ]];then
${PACKAGE_MANAGER} install python3 -y
fi