Skip to main content

Raspberry Pi – Useful commands for your web server

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 […]

Securing your Raspberry Pi – Part 1: SSH

You’ve used password authentication to connect to your Pi via SSH, but there’s a more secure method available: key pair authentication. In this section, you’ll generate a public and private key pair using your desktop computer and then upload the public key to your Pi. SSH connections will be authenticated by matching the public key […]