Skip to content

Instantly share code, notes, and snippets.

@acosonic
Last active May 9, 2021 19:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save acosonic/8a94261cd80956f700af40ae4fe30f04 to your computer and use it in GitHub Desktop.
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
#!/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