Title photo
frugal technology, simple living and guerrilla large-appliance repair

Regular blog here, 'microblog' there

Many of my traditional blog post live on this site, but a great majority of my social-style posts can be found on my much-busier microbloging site at updates.passthejoe.net. It's busier because my BlogPoster "microblogging" script generates short, Twitter-style posts from the Linux or Windows (or anywhere you can run Ruby with too many Gems) command line, uploads them to the web server and send them out on my Twitter and Mastodon feeds.

I used to post to this blog via scripts and Unix/Linux utilities (curl and Unison) that helped me mirror the files locally and on the server. Since this site recently moved hosts, none of that is set up. I'm just using SFTP and SSH to write posts and manage the site.

Disqus comments are not live just yet because I'm not sure about what I'm going to do for the domain on this site. I'll probably restore the old domain at first just to have some continuity, but for now I like using the "free" domain from this site's new host, NearlyFreeSpeech.net.

Sun, 02 Mar 2014

New OpenShift feature I'm excited about: scp

I use Red Hat's OpenShift, and I'd like to use it more. I'm aiming to get the hang of all the different moving parts: the web interface, the rhc command-line interface, getting in with SFTP, git ...

I still maintain that PaaS (platform as a service) solutions like OpenShift need to be as easy to manage as shared hosting, which you can deal with via FTP and which doesn't need a special command-line utility.

I'm not saying that everything shouldn't be configurable for full-on developers. But there should be a simpler way to run cloud/networked applications. And yes, I recognize that we still do have shared web hosting, which can be pretty darn easy.


But PaaS is coming, and the three free Gears you get from OpenShift are quite an enticement when it comes to running small applications.

Free is good. And OpenShift's free isn't limited to a year like Amazon Web Services' free.

Amazon doesn't let you know until the bottom of their "it's free" page that the "free" only lasts 12 months. And my free year is very much over.

But let's talk about what's new in OpenShift: scp in the rhc utility.

The February update for OpenShift includes easy uploads and downloads from your Gears with the rhc command-line utility and scp, the familiar Unix utility. It's refreshingly easy, it bypasses git, and I'm all for it. Follow that last link for more.

I think this is the first time I've written about OpenShift: I find it hard to believe that I've never written about OpenShift before, but that appears to be the case.

I guess I went through the initial pain of setting up a couple of applications and haven't done much since.

I'd certainly like to do more with OpenShift, running small web applications for my day job in Bash, Perl and PHP. I have a big ol' Bash script that I'd love to offload from shared hosting and onto OpenShift. We'll see how that goes.

Update your Ruby gems to get the latest rhc and the scp capability: I checked the rhc in my Fedora 20 system, and it didn't have the scp capability.

Turns out I had to update the Ruby gem:

$ sudo gem update rhc

That command also brought in the net-scp gem, which certainly seems to be something you'd need to run scp in Ruby.