Skip to content

Instantly share code, notes, and snippets.

View Ayushverma8's full-sized avatar

Ayush Verma Ayushverma8

View GitHub Profile
@Ayushverma8
Ayushverma8 / for_mysql.sh
Created December 11, 2016 08:20
Easy copy paste for you . Thank me later
apt update -y
apt install mysql -y
apt install ruby -y
apt install git -y
wget http://dev.mysql.com/get/mysql-apt-config_0.8.0-1_all.deb
sudo dpkg -i mysql-apt-config_0.8.0-1_all.deb
sudo apt update -y
sudo apt install mysql-server -y
sudo apt-get install ruby-dev -y
apt-get install libmysqlclient-dev -y
apt-get update
apt-get install ruby-dev -y
apt-get install ruby -y
apt-get install build-essential -y
apt-get install git -y
apt-get install postgresql -y
apt-get install postgresql-contrib -y
sudo -u postgres createuser -s $USER
createdb $USER
touch ~/.psql_history