Update Python version in setup scripts

This commit is contained in:
Vinyl Darkscratch
2019-02-09 09:41:54 -08:00
parent f434ebec8a
commit 405527672c
5 changed files with 14 additions and 15 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
echo "This script will:
1) Install modules needed to run web2py on Fedora and CentOS/RHEL
2) Install Python 2.6 to /opt and recompile wsgi if not provided
2) Install Python 3.7 to /opt and recompile wsgi if not provided
2) Install web2py in /opt/web-apps/
3) Configure SELinux and iptables
5) Create a self signed ssl certificate
@@ -56,7 +56,7 @@ echo
yum update
# Install required packages
yum install httpd mod_ssl mod_wsgi wget python unzip
yum install httpd mod_ssl mod_wsgi wget python3 unzip
###
### Phase 2 - Install web2py
+2 -2
View File
@@ -38,8 +38,8 @@ apt-get -y install libapache2-mod-wsgi
apt-get -y install python-psycopg2
apt-get -y install postfix
apt-get -y install wget
apt-get -y install python-matplotlib
apt-get -y install python-reportlab
apt-get -y install python3-matplotlib
apt-get -y install python3-reportlab
apt-get -y install mercurial
/etc/init.d/postgresql restart
+2 -2
View File
@@ -1,6 +1,6 @@
echo "This script will:
1) Install modules needed to run web2py on Fedora and CentOS/RHEL
2) Install Python 2.6 to /opt and recompile wsgi if not provided
2) Install Python 3.7 to /opt and recompile wsgi if not provided
2) Install web2py in /opt/web-apps/
3) Configure SELinux and iptables
5) Create a self signed ssl certificate
@@ -54,7 +54,7 @@ echo
yum update
# Install required packages
yum install httpd mod_ssl mod_wsgi wget python
yum install httpd mod_ssl mod_wsgi wget python3
# Verify we have at least Python 2.5
typeset -i version_major
+2 -2
View File
@@ -1,7 +1,7 @@
#!/bin/bash
echo "This script will:
1) Install modules needed to run web2py on Fedora and CentOS/RHEL
2) Install Python 2.6 to /opt and recompile wsgi if not provided
2) Install Python 3.7 to /opt and recompile wsgi if not provided
2) Install web2py in /opt/web-apps/
3) Configure SELinux and iptables
5) Create a self signed ssl certificate
@@ -55,7 +55,7 @@ echo
yum update
# Install required packages
yum install httpd mod_ssl mod_wsgi wget python
yum install httpd mod_ssl mod_wsgi wget python3
# Verify we have at least Python 2.5
typeset -i version_major
+6 -7
View File
@@ -31,18 +31,17 @@ apt-get -y install zip unzip
apt-get -y install tar
apt-get -y install openssh-server
apt-get -y install build-essential
apt-get -y install python
#apt-get -y install python2.5
apt-get -y install ipython
apt-get -y install python-dev
apt-get -y install python3
apt-get -y install ipython3
apt-get -y install python3-dev
apt-get -y install postgresql
apt-get -y install apache2
apt-get -y install libapache2-mod-wsgi
apt-get -y install python2.5-psycopg2
apt-get -y install python3-psycopg2
apt-get -y install postfix
apt-get -y install wget
apt-get -y install python-matplotlib
apt-get -y install python-reportlab
apt-get -y install python3-matplotlib
apt-get -y install python3-reportlab
apt-get -y install mercurial
/etc/init.d/postgresql restart