Raspberry Pi – WordPress Install

#Upgrade and Update

  • sudo apt-get update
  • sudo apt-get upgrade -y

#Install LAMP

  • sudo apt-get install -y apache2 php5 mysql-client mysql-server tomcat6 vsftpd

#Setup MYSQL

  • mysql -u root -p
  • dpkg-reconfigure mysql-server
  • CREATE DATABASE wordpressDBname;
  • GRANT ALL PRIVILEGES ON wordpressDBname.* TO ‘wordpressusername’@’localhost’ IDENTIFIED BY ‘wordpresspassword‘;

#install wordpress

#Open your browser

  1. http://yourRaspberryIP/wordpress/wp-admin/install.php
  2. Fill in Database Name, User Name, and Password the same as entered above.
  3. Run the install and than browse to your new wordpress site
  4. http://yourRaspberryIP/wordpress/

Pi Press Screen capture

Advertisements