Nav-Appaiya
8/23/2017 - 5:23 PM

Install wordpress on the terminal and create a database for it to use. #handyTerminalTricks

Install wordpress on the terminal and create a database for it to use. #handyTerminalTricks

https://code.tutsplus.com/articles/download-and-install-wordpress-via-the-shell-over-ssh--wp-24403

wget http://wordpress.org/latest.tar.gz
tar xfz latest.tar.gz

create database dbname;
grant usage on *.* to username@localhost identified by 'password';
grant all privileges on dbname.* to username@localhost;