Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 1.01 KB

README.md

File metadata and controls

34 lines (29 loc) · 1.01 KB

Overview

These commands will do the following on a Turnkeylinux LAMP install

  • Download and unzip wordpress into the current directory
  • Create a database called wordpress
  • Create a database user called WordpressDBUser and set their database password to myWorppresspassword

Install-WP-TurnkeyLinux-LAMP

Install Wordpress on TurnkeyLinux LAMP via the commandline

  wget http://wordpress.org/latest.tar.gz
  tar xfz latest.tar.gz
  mv wordpress/* ./
  rmdir ./wordpress/
  rm -f latest.tar.gz
  mysql -u root -p
  create database wordpress;
  create user 'WordpressDBUser'@'localhost' identified by 'myWorppresspassword';
  grant usage on *.* to WordpressDBUser@localhost identified by 'myWorppresspassword';
  grant all privileges on wordpress.* to WordpressDBUser@localhost;
  use wordpress;
  exit

Install-WP-CLI

Install Wordpress CLI

  wget https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
  chmod +x wp-cli.phar
  mv wp-cli.phar /usr/local/bin/wp
  wp help