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'
@pmventura
Copy link
Author

Grafana Plugins

  1. Pie Chart (https://grafana.com/grafana/plugins/grafana-piechart-panel)
grafana-cli plugins install grafana-piechart-panel
  1. For Finance (https://grafana.com/grafana/plugins/ayoungprogrammer-finance-datasource/installation)
grafana-cli plugins install ayoungprogrammer-finance-datasource
  • To restart the service
brew services restart grafana

@pmventura
Copy link
Author

pmventura commented Mar 16, 2020

How to install Docker in Ubuntu?
Refer to this link

Also for docker-compose command. You should run this command below:
sudo apt install docker-compose

How to fix not running daemon?
Refer to this link

How to get install latest docker-compose
Refer to this link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment