Last active
May 9, 2021 19:39
-
-
Save acosonic/8a94261cd80956f700af40ae4fe30f04 to your computer and use it in GitHub Desktop.
Installing python2 and python2 pip on Ubuntu 20.04 with mysql support second part of this script is installing requirements for Redmine SVN Authentication
This file contains 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
#!/bin/bash | |
apt install python python2-dev default-libmysqlclient-dev build-essential | |
wget https://bootstrap.pypa.io/pip/2.7/get-pip.py | |
python2 get-pip.py | |
wget https://raw.githubusercontent.com/paulfitz/mysql-connector-c/master/include/my_config.h -O /usr/include/mysql/my_config.h | |
pip2 install MySQL-python | |
echo 'Installing Redmine SVN Auth (considering mod_dav is already installed' | |
pip2 install redmine-auth | |
apt install libapache2-mod-wsgi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment