Raspberry Pi as a local server for self hosting applications
1–10 of 321 posts
Re: Raspberry Pi as a local server for self hosting applications
#2Re: Raspberry Pi as a local server for self hosting applications
#3Thanks to cloud-init (Old version though) you can even pre-configure the boot image with your SSH key etc. which allows you to automate your initial install.
https://blog.hypriot.com/downloads/
https://cloudinit.readthedocs.io/en/0.7.9/topics/capabilitie...
Re: Raspberry Pi as a local server for self hosting applications
#4Re: Raspberry Pi as a local server for self hosting applications
#5Such a bright future in home-hosting - really looking forward to seeing the movement grow! The https://www.linuxserver.io/ community is pretty great re: home-hosting apps as well.
Re: Raspberry Pi as a local server for self hosting applications
#6A workaround that can save you some headaches here is to only boot from the SD card (which means you're effectively only ever reading from the card), and then mount a filesystem on an external SSD drive. There are a couple of good guides here [1] [2].
[1]: https://www.stewright.me/2019/10/run-raspbian-from-a-usb-or-...
[2]: https://www.pragmaticlinux.com/2020/08/move-the-raspberry-pi...
Re: Raspberry Pi as a local server for self hosting applications
#7Re: Raspberry Pi as a local server for self hosting applications
#8One thing to watch out for when doing something like this is that the Raspberry Pi will by default put your file system on the SD card it boots from. SD cards aren't meant to support a lot of write/erase cycles, so it's easy to end up with a corrupt SD card after a few months to a year depending on what you're doing on your Pi. A workaround that can save you some headaches here is to only boot from the SD card (which…
Just stumbled upon this today by coincidence, will definitely follow the suggestion, cheers
Re: Raspberry Pi as a local server for self hosting applications
#9Friendly reminder that you can use Piku ( https://github.com/piku ) for Heroku-like deployments.
Re: Raspberry Pi as a local server for self hosting applications
#10On my Raspberry Pi 3 I'm running Hypriot OS which installs a minimal host OS and then just runs Docker. Thanks to cloud-init (Old version though) you can even pre-configure the boot image with your SSH key etc. which allows you to automate your initial install. https://blog.hypriot.com/downloads/ https://cloudinit.readthedocs.io/en/0.7.9/topics/capabilitie...
sounds like a super smooth dev and deploy experience