Skip to content

Install Wordpress and WP CLI on TurnkeyLinux LAMP via the commandline

Notifications You must be signed in to change notification settings

whupi/Install-WP-TurnkeyLinux-LAMP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

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

About

Install Wordpress and WP CLI on TurnkeyLinux LAMP via the commandline

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published