projectz

Tech, Gadgets, Photography, Social Media and Poor Spelling

Frustrated IT Engineer

How to turn your Raspberry Pi into a wordpress server

1) How to change Raspberry pi default password

2) How to setup a webserver with PHP on Raspberry Pi

3) Adding Mysql to your Raspberry Pi webserver

4) Download and install wordpress software onto the raspberry pi

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

sudo tar xzvf latest.tar.gz

sudo mkdir /var/www/wordpress

sudo cp -r ~/wordpress/* /var/www/wordpress

5) Configure Mysql for wordpress use

mysql -u root -p (leave blank and push enter)

(Enter the root MySQL password you setup in stage 3)

Create a database for wordpress to use ( database,user,password and privileges)

$ mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 5340 to server version: 3.23.54 Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> CREATE DATABASE wordpress; Query OK, 1 row affected (0.00 sec) mysql> GRANT ALL PRIVILEGES ON…

View original post 183 more words

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Information

This entry was posted on December 31, 2012 by in Uncategorized.
%d bloggers like this: