Skip to content

Instantly share code, notes, and snippets.

View lao9s's full-sized avatar

Dima Botezatu lao9s

View GitHub Profile
First pre-required step for Ubuntu:
apt-get update
apt install apt-transport-https ca-certificates
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
Add php repository:
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
In three steps, you can clean up your repository and make sure your ignored items are indeed ignored:
$ git rm -r --cached .
$ git add .
$ git commit -m "Clean up ignored files"
# Need to authorized with root user(sudo su) to mysql -u root
GRANT ALL PRIVILEGES ON `tenant%`.* TO 'test_proagent'@'%' WITH GRANT OPTION;
#witch tenant is prefix of databases and test_proagent is user name