To install WordPress from the command line:
wget https://wordpress.org/latest.tar.gz tar -xzvf latest.tar.gz (unpack to a directory called wordpress) rm latest.tar.gz mysql -u root -p create database wordpress; grant all privileges on wordpress.* to wordpress@'localhost' identified by 'wordpress12345'; grant all privileges on wordpress.* to wordpress@'%' identified by 'wordpress12345'; flush privileges; exit |
Go to http://yourdomain.com and finish the installation process.