Windows, rsync and permissions

Just a short note on mixing Linux utilities with Windows. I wanted to set up a single button deployment of updates to a static web site. I had been using an rsync script, but it required me to manually enter authentication credentials every time it was used to send updates to a remote Ubuntu server. I set up public key authentication, but it would not work with the permissions of the key files on the Windows machine where the updates were coming from.

An Email Server on Ubuntu 14.04

Email is pretty old. It is older than the Internet. Despite the perennial claims that email is “dead”, it is still going strong. It’s also a bit complicated, which is why most folks set up an account with someone else (Yahoo!, Gmail, HotMail, ProtonMail, FastMail, etc.) who can take care of it for them. However, if you want to host your own server, it can be done. If you are running Ubuntu 14.

The Linux Desktop

The “Linux Desktop” failing to gain traction is a perennial topic of blogs and musings by people smarter than me. But I’m going to offer my two cents worth of opinion anyway. My Own Experience I use Linux on the desktop myself rather frequently, but it is not the OS my system boots to by default. Why is that? Legacy Windows Programs It used to be that there was a large amount of inertia that kept me from making the switch completely because of legacy apps on Windows.

CloudAtCost Setup Notes

Update: 10 Aug 2016

There’s a new and improved version of this post HERE. Look at that instead.

I’ve been experimenting with servers from CloudAtCost. As such, I tear them down and re-image them fairly frequently. These are my notes on how I do initial setup of servers that have been freshly imaged with Ubuntu 14.04 LTS.

ssh Cleverness

Just a quick note about using SSH. Recently I had to wipe and re-install Ubuntu. (More on that later.) That meant my ssh private key was wiped as well. In order to replace it, I copied the file from a Windows machine onto my newly installed Linux partition. When I tried to log into some of my other servers, ssh gave me a warning about lax permissions and refused to log in without my password.

Tidying up the Ubuntu Grub2 Boot Menu

My wife and I share a computer that dual boots Ubuntu Linux and Windows. Too, when we upgrade computers, I tend to take the hard drive(s) from the old computer to the new computer. The boot menus created by the grub2 program can be a bit confusing for the uninitiated. As kernel updates are added, the list gets longer. The old Windows drive appears in the list, as well as the recovery partitions that manufacturers often put on Windows drives. In the normal course of things the Windows menu items can get pushed out of view at the bottom of the screen.

“Where’s the Windows menu item!?” “Which of all these Windows choices is the right one?”

Not a happy situation.

In the interests of domestic harmony (and to assure that a Windows recovery partition is not booted inadvertently), a little clean up is required.