Skip to content

Instantly share code, notes, and snippets.

@pmventura
Last active April 30, 2020 05:45
Show Gist options
  • Save pmventura/798cbf6463dfdecf8bb3e33cdb098854 to your computer and use it in GitHub Desktop.
Save pmventura/798cbf6463dfdecf8bb3e33cdb098854 to your computer and use it in GitHub Desktop.
m-otf local server installation
# Dependencies for linux ubuntu
sudo apt-get update
sudo apt install openssh-server
# Dependecy for mysqlclient
sudo apt-get install libmysqlclient-dev
# Installation for backend
sudo apt install git
sudo apt install python
sudo apt install python-pip
sudo apt-get install build-essential libssl-dev libffi-dev python-dev
sudo apt-get install -y python3-venv
#Create virtualenv folder
python3 -m venv venv #the last `venv` is the folder name
#Activate the virtualenv
source venv/bin/activate
#Allow MYSQL remote access
- Go to MySQL and run this command below
- GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'hello123'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment