Last active
March 31, 2020 18:44
-
-
Save chrishop/4414c927e5bf5144f1cb73797ec5f412 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# install mysql | |
sudo apt update | |
sudo apt install mysql-server | |
# should now open a window to set your root password if not do this: | |
sudo mysql_secure_instalation utility | |
sudo ufw enable | |
sudo ufw allow mysql | |
#install python3 | |
sudo apt install python3 python3-pip | |
# install git | |
sudo apt install git | |
# download tap-dat | |
#clone git | |
git clone https://github.com/chrishop/tap-dat.git | |
cd tap-dat | |
chmod +x ./install.sh | |
# open mysql prompt | |
mysql -u root -p | |
# these command should be put in the sql prompt | |
SHOW DATABASES; #so you can see the databases | |
CREATE DATABASE db_name; # to create the database | |
USE db_name; # to select the database | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment