I have been running this web server on a Raspberry Pi Zero W in my coat closet for three months, and my dynamic IP still hasn’t changed. That’s good because I still haven’t implemented a script to change where my URL points from FreeDNS in the event that my home IP changes. At some point I guess it’ll happen, and the server will be offline until I figure it out.
I wasn’t paying for my Google Cloud VM, and it turns out the price was right. Since I started working on my own server in the coat closet, I haven’t been using my free Google VM. I got an email today saying that it’s been 120 days since I’ve opened Google Cloud Shell. If I didn’t log in, “in 7 days, your Cloud Shell home directory will be automatically scheduled for deletion.
As I build my own server — and this would be the same for a cloud VPS or a local computer, there is a lot to set up and configure. Shared hosts like NearlyFreeSpeech.net (which I will be using more soon) and Hostgator (which I’ve used for years and will probably be using less) take care of many things in a safe and secure way. Setting up your own server is very much like reinventing the wheel.
Running your own servers — be they VPSes on Google, AWS or Digital Ocean, or Raspberry Pis in the closet — is a learning experience. You have to put on your sysadmin hat and get to work. Today I’m trying to figure out the ftp server. I’ve used a hundred of them but never installed and configured one. The hardest part to figure out is the SSL encryption. If you see this file, it means I’ve made some progress.
This was easier on Hostgator, where everything is “owned” by my user account and everything works. To get Ode addins to work, the /data directory is owned by my user and is in the www-data group. The /data/addins/state directory has the same ownership and permissions (755). The /data/addins/state/Indexette directory is owned by www-data and is in the www-data group and has permissions 755. The files created by Indexette in /data/addins/state/Indexette are aux_index_file and primary_index_file.