I gave my Raspberry Pi 1 B to my nephew for his birthday because he absolutely adores MineCraft. Pis are perfect for children because they are slow enough to not be as addictive as gaming on his mom’s cell phone while still allowing for good educational fun.
And I gave my Raspberry Pi 1 B to my nephew for his birthday so that I could have an excuse to upgrade to a Pi 3. After Christmas I had a chance to put the micro sd card from my Pi 1 into the new Pi 3 and see if it would accept it. It did! I ran updates of raspi-config and apt-get update and apt-get upgrade and all seems to be working well. New hardware would normally be a good time to start a fresh distro but I just recently completed the update to Raspbian Stretch and don’t feel the urge to do it all again.
I am noticing great improvements with the additional 1/2 gig of RAM in the 3. WordPress updates take moments where before I would let them run in the background and move on to other tasks. Also, my backup program, BackWPup would often time out and fail on the Pi 1. I had almost begun questioning if Apache and WordPress on a Pi were good long term solutions. With the Pi 3 I am back on board. I think they are excellent tools for a hobbyist Linixer like me.
Somehow I completely lost access to my mysql installation. It would not run because of a socket problem. I worked for over a week to try to regain access but the only thing that made it work again was removing mysql and all the mysql files and reinstalling. I could not log into WordPress to export so I backed up the /var/log/mysql/wordpress and then deleted everything. I should have backed up the whole /var/log/mysql directory because I could not restore from just the wordpress files. Lesson learned.
Fortunately I was able to reexport the old WordPress.com entries to my local rPi version. Then I rescued my first new post from a google.com cache. But I lost the long post from March about my motivation for starting this rpi WordPress site in the first place.
This prompts my new motivation to research and develop a backup plan.
I just imported all my WordPress posts (the few that there are) into a new self managed installation. Welcome to the new home blog! I have a lot I have been meaning to write about so I am back to the task.
I realize the last time I wrote about my Raspberry Pi I was in the middle of my final semester at school and trying to get it to work. Since then I’ve installed it in my attic, opened a port to it, forwarded my project URL to it, and presto, access from all over the world! Apache is running well. SSL is pointing to the wrong IP address, but since it’s not a signed certificate it’s not going to work anyway… You can find the pi at http://alpinedaisy.com.
My new Pi project is an ad hoc server. More on that later.
Happy new year!
So, I’m back at the Raspberry Pi. I was able to get the monitor and keyboard both working last fall. Now it is installed headless on my campus. For an assignment we were tasked with installing a webserver. Most students put them on their virtual machines or laptops. But I remembered someone telling me last fall that Raspberry Pis make decent webservers. I tried to install monkey-project webserver at that time but didn’t get very far. Picking it up again after learning a bit more of how they work made all the difference. I can now access webpages through the on-campus network! And even better, I can access a sql database through the webpage through the on-campus network.
Currently I’m learning how to manipulate user accounts on my pi. I want my project partner to be able to make changes to the webfiles without having to invoke sudo. I was able to do that by creating a group that both our accounts are in and changing the group ownership of the www directory. Now I’m struggling to get startx to work on the new accounts. The screen comes up nearly blank.
That is it for now,