Last active
April 30, 2020 05:45
-
-
Save pmventura/798cbf6463dfdecf8bb3e33cdb098854 to your computer and use it in GitHub Desktop.
m-otf local server installation
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
# 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
Grafana Plugins