![]() Lets start by installing the image of Raspbian onto an SD card, I will be using a 32GB Class 10 SD card. These are great as they are fast and reliable. All you will need are the following items and some optional ones to make it awesome ). ![]() It's totally up to you.There comes a time where you need to have an FTP server and do not want to spend money on a machine that will be there 24/7. However if you have security or privacy requirements, this might be worth doing. Personally I'm only after basic redundancy so I can backup the container automatically and then restore it if something goes drastically wrong, no need to isolate individual sites. I'd typically run the webservice with all sites under one container, but you can also run each with its own instance if you like - again, it depends very much on your use case. If you want something fancy on a webpage, you could use monit for service monitoring, or webmin or even cacti - it all depends on if you're monitoring something specific like service availability, or just general system monitoring if you want graphs and historical data vs realtime info only, and so on.Īs for containerising, just Docker containers are fine. The simple version for realtime is to use tmux on one server, with split windows showing htop on all other servers, and just SSH into it. Monitoring really depends on what you're after. It's a full computer and can run a bunch of stuff quite competently. No need to restrict it to a few services. They are so damn cheap that there's no real reason not to.Ī Raspberry Pi is essentially about as powerful as a mid-range business laptop from ten years ago. I'm pretty sure I could combine at least a couple of them into a single Pi with no issues but as I mentioned, it's convenient to keep them subdivided. The only thing I've had issues with is LAN throttling, because of the USB/LAN chip being a bottleneck, but that has no impact on how many services you can run. I also run resource monitoring and service monitoring on these Pis, and none of them is even close to saturating its capacity. The final Pi which is also the oldest is just for experimenting with stuff. One is dedicated to running Hassbian, a tweaked build intended as a home automation hub, and interfaces with some Arduinos powering sensors in the house. Another is a media portal with Kodi for media and RetroPie for gaming. Within the network, one runs Samba network shares and a Transmission daemon for downloading Linux ISOs. One of them is a gateway to the outside world, so it runs PiHole for DNS filtering, PiVPN (an OpenVPN-based server) for VPN access when travelling, the NOIP DUC for DDNS, VSFTPD for FTP, nginx with PHP5 and SQLite for web serving, and a few misc services. Some will use Docker and the aim is to get everything containerised however, it's convenient to subdivide groups of functionality onto seperate physical Pis, making maintanence and troubleshooting (and restoring backups) easier and non-disruptive for other nodes on the network. The best thing? The base model is only $20 $5!.ĭo you know a related subreddit? We'd love to know. Welcome to /r/raspberry_pi, a subreddit for discussing the raspberry pi credit card sized, ARM powered computer, and the glorious things we can do with it. Pi project ideas: There's a huge list right here on this sub! ![]() Friendly reminder: Please don't just post pictures of unused pis - do a project!Ĭomplete r/raspberry_pi Rules Check the FAQ and Helpdesk here
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |