Month: April 2020

services

How to Build a database server with a Raspberry PI

Starting with Problems Are you ready for the next chapter in our adventure? We’re building a highly available, WordPress website out of Raspberry Pis. Today, we’re going to build the backend, a MySQL database server with an external USB 3.0, 64TB thumb drive. The Pi is a Raspberry 4 with 2Gb of RAM. First, create […]

Read More
Munin shows an attack
services

How to Fix Apache logging for HAProxy

A big thank-you goes out to whoever launched the DoS attack against this website! My pile of HAProxy managed Raspberries worked great! I noticed this in my Munin graph. (Yes, I will show how to configure Munin in an upcoming post!) People get upset when they are attacked. I find that they make great learning […]

Read More
services

How to Use saltstack to Configure Raspberry PIs

What’s saltstack? saltstack is a great configuration management tool. It’s used in huge enterprises to effect changes on multiple servers. With small scripts, you can quickly implement a change on every server in your environment or on specific servers. saltstack is great at bringing all of your servers to a consistent baseline, ensuring that the […]

Read More
hardware

Parts to Build the Raspberry Webserver

This is a followup to the How to Build a Website posting. A lot of people loved the case and wanted to find one for themselves. These are affiliate links. They offer a way to show what I used so you can find it on Amazon. I get a little money from Amazon. You don’t […]

Read More
basics

How to Configure Your Raspberry, Graphically!

IF you have a monitor attached to the HDMI port of your Raspberry, you will soon to presented with an X-session! This is the windows-like interface that you can use to run your Pi. The first screen you see will have a warning that you haven’t changed the default password. Click OK to acknowledge your […]

Read More
basics

How to Configure Your New Raspberry with ssh

What next? We got our new Raspberry to boot into Raspbian. We got logged in. Now, we need to configure a few things. First, change the password. The default password for the user “pi” is “raspberry”. Let’s change that so nobody can hack into our new computer! This is easy. The command is “passwd”. Type […]

Read More
basics

How to Build an SD card for the Raspberry PI

The first step to running a Raspberry Pi is creating the SD card from which it boots and runs. In Step One, you downloaded all the software you need, now to set up the SD card! First, put the SD card in the writer and plug the writer into an available USB port. Windows should […]

Read More
basics

How to Run a Raspberry

Part One: Get the Stuff! You wanna’ learn about the Raspberry Pi and build one for yourself? You’ve come to the right place! I’ve got all the instructions and tutorials you need in one place: right here! So follow along and build your own and have some fun learning about SBC’s (single board computers). Here’s […]

Read More
Cloud case server
services

How to Install HAProxy on a Raspberry

HAProxy is available on the Raspbian platform! HAProxy is a high availability, load balancing, and proxying server application. It sits between the Internet and your webservers. HAProxy sends the traffic to each of your servers, round-robin style. Since I’m serving this website on a couple of Raspberries, I thought HAProxy would be a welcome solution […]

Read More
services

Tiny webserver for testing

Here’s a handy little script. Save the following as webserver.js. This will set up your Raspberry as a bonafide web server that you can use for testing proxy services or your monitoring scripts. // Load the http module to create an http server. var http = require(‘http’); // Configure our HTTP server to respond with […]

Read More