Hello Devz, Here are some simple steps to configure your own web server: INSTALL WORDPRESS sudo mkdir -p /var/www/html/mywebsite cd /var/www/html/mywebsite sudo wget http://wordpress.org/latest.tar.gz tar –strip-components=1 -xvf latest.tar.gz rm latest.tar.gz sudo chown -R www-data:www-data /var/www/html/mywebsite sudo chmod -R 755 /var/www/html/website KILL THE FIREWALL sudo iptables -F sudo iptables -X sudo iptables -t nat -F sudo […]
Pi Web Server – Part 2: Setting up your first website
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: sudo mkdir -p /data/mysite.com/www sudo mkdir -p /data/mysite.com/logs All your PHP/HTML/CSS etc […]
Pi Web Server – Part 1: Install Nginx, PHP and MySQL
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: Firewall
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 […]