Skip to main content

Raspberry Pi – Useful commands for your we

Hello Devz, Here are some simple steps to configure your own web server: INSTALL WORDPRESS

KILL THE FIREWALL

CHECK YOUR WEB SERVER STATUS

UPLOAD MAX FILE SIZE CONFIG FOR PHP and NGINX

UNINSTALL YOUR WEBSERVER

Enjou!  🙂

Pi Web Server – Part 2: Setting up your f

Hello Devz, Here are the simple steps to configure your existing web server: Create the directory for your website’s files Lets make our first simple website. I’m hosting all mine on the external USB drive I mounted earlier. In the directory /data. Type:

All your PHP/HTML/CSS etc will live in /data/mysite.com/www, and all […]

Pi Web Server – Part 1: Install Nginx, PH

Install Nginx, PHP and MySQL I’m going to use nginx rather than the more traditional Apache2, because it is more efficient and on a low-power device like the Pi that’s going to be important. I’m also going to install PHP5 (with PHP APC to make it faster than normal) and MySQL as these are pretty […]

Securing your Raspberry Pi – Part 2: Firew

Creating a Firewall Now it’s time to set up a firewall to limit and block unwanted inbound traffic to your Pi. This step is optional, but we strongly recommend that you use the example below to block traffic to ports that are not commonly used. It’s a good way to deter would-be intruders! You can […]