Install WordPress on raspberry

Login with putty

Go to the directory where you want to install wordpress.

Now login into MySQL and create database and user.

Type Ctrl +D to close

Now browse to the website and run the setup.

Create Subdomains on your raspberry

Login on your raspberry with putty

Create a subdirectory

Create a new apache config

Edit the config

Change/add this text.


Now activate the config

Reload the service


Install FTP on your Raspberry

Run update

Install ftp

You get a message about disk usage enter Yes

Now open up the config file by entering the following command:

In here add or uncomment(Remove the #) for the following settings.

Restart ftp server

And now you can connect with filezilla to the raspberry with SFTP (port 22)

Install webserver on Raspberry Pi

Download Raspbian
Place it on SD card
Start the raspberry.

Login with: pi (root)
Password: raspberry

Type sudo raspi-config to start the config.

Change the password
Change the Hostname
Change Localisation Options -> Change Timezone to Europe, Amsterdam
Change Interfacing Options -> Enable SSH
Update the Raspberry

Exit menu
Reboot the raspberry sudo reboot

Open putty and connect to the raspberry and login

Install Apache webserver on your Raspberry

Install PHP

Install Mysql

You get a message to enter MySQL root password. Enter this password and Reenter the password in the next screen

Secure your MySQL

and enter the MySQL root password

You get the message to change the password. Type No

Now you get some questions. Answer is Yes