Setting a static IP Address on Ubuntu Server 14.04

image_pdfimage_print

This process uses the command line to set a static IP address on Ubuntu Server 14.04.

Note: If you do this process from an SSH session, you will lose connection when you enter the final command. But if you did everything correct, you simply need to establish a new session using the static IP address you assigned.

sudo nano /etc/network/interfaces

This is what the default file will look like:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp

This similar to what should look like for a static IP. Of course, use addresses relevant to your network:

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        address 10.5.1.33
        netmask 255.0.0.0
        gateway 10.5.1.254
	dns-nameservers 10.5.1.2 208.67.222.222 8.8.8.8

Lastly you need to reload networking:

sudo ifdown eth0 && sudo ifup eth0

Install Unifi Video (NVR) on Ubuntu 14.04

image_pdfimage_print

This is a new post with basically the same instructions only not tied to a specific version. I will keep this post edited to reflect the current version.

I’m starting with a fresh, fully updated server install of Ubuntu Server 14.04 64bit.

Download the current Unifi Video deb package. 3.2.2 as of this edit

wget http://dl.ubnt.com/firmwares/unifi-video/3.2.2/unifi-video_3.2.2~Ubuntu14.04_amd64.deb
sudo dpkg -i unifi-video_3.2.2~Ubuntu14.04_amd64.deb

At this point you will probably receive an error about missing dependencies. No worries, simply run the following.

sudo apt-get -f install

That command will install all the needed dependencies and finish installing the unifi video deb package. At this point, Unifi Video is installed and should be running. Open a web browser and point it to https://ipaddress:7443.

My VM server parts list

image_pdfimage_print

Here is the list of components that I have ordered for this VM server build.

You may notice that there are no drives as part of my order. I’m going to install the server OS on either a USB flash drive or a small SSD that I currently have. As for VM storage, I will do a test install using an HDD that I have laying around, but in the end I’m going to see if I can get it connected to storage on my Synology NAS, which has ~6TB of storage capacity.

My total cost so far for these parts is: $523.78

 

Building a virtualization server

image_pdfimage_print

Going to be changing up my network a bit and want to start by adding a VM host server. I want to migrate my domain controller over to Windows Server 2012 R2 and I want to add a few more Linux servers to the mix. Currently my only physical server is a whitebox build running Server 2012. Besides being my current domain controller, I’m also running Hyper-V on it with a few Linux guests. It’s not the ideal setup, so that’s why I’m moving to an actual proper VM server. I can then run my DC as its own VM, and the Linux servers as their own VM’s.

Parts have been ordered and some even starting to arrive. I will do another post shortly outlining the exact parts ordered and the host software I plan to use. As well as any issues I run in to  along the way.

Throwback Thursday – 4/7/2016

image_pdfimage_print

Throwback Thursday: Recently, due to a day celebrated about me, my mom unearthed quite a few photos with me in them. These photos span far back to my early days. While in my adult life I’m not a huge fan of being in photos, it was pretty cool to look back through these. Thank mom!
This first one is a photo of me and my cousins when my family visited them in Iowa. The year written on the back is 1980.

Iowa-Cousins-1980

Install Unifi Video 3.2.0 (NVR) on Ubuntu 14.04

image_pdfimage_print

I’m starting with a fresh, fully updated server install of Ubuntu Server 14.04 64bit.

Download the Unifi Video 3.2.0 deb package

wget http://dl.ubnt.com/firmwares/unifi-video/3.2.0/unifi-video_3.2.0-Ubuntu14.04_amd64.deb

sudo dpkg -i unifi-video_3.2.0-Ubuntu14.04_amd64.deb

At this point you will probably receive an error about missing dependencies. No worries, simply run the following.

sudo apt-get -f install

That command will install all the needed dependencies and finish installing the unifi video deb package. At this point, Unifi Video is installed and should be running. Open a web browser and point it to https://ipaddress:7443.

And Facebook finally ruins Instagram

image_pdfimage_print

From the Instagram blog.

See the Moments You Care About First

MARCH 15, 2016
You may be surprised to learn that people miss on average 70 percent of their feeds. As Instagram has grown, it’s become harder to keep up with all the photos and videos people share. This means you often don’t see the posts you might care about the most.

To improve your experience, your feed will soon be ordered to show the moments we believe you will care about the most.

The order of photos and videos in your feed will be based on the likelihood you’ll be interested in the content, your relationship with the person posting and the timeliness of the post. As we begin, we’re focusing on optimizing the order — all the posts will still be there, just in a different order.

If your favorite musician shares a video from last night’s concert, it will be waiting for you when you wake up, no matter how many accounts you follow or what time zone you live in. And when your best friend posts a photo of her new puppy, you won’t miss it.

We’re going to take time to get this right and listen to your feedback along the way. You’ll see this new experience in the coming months.

My biggest complaint of Facebook itself is not seeing see the newest posts first. At the very least, give us the option to switch to chronological order.

A storage transient failure has occurred during content conversion

image_pdfimage_print

I recently completed an Exchange 2010 to 2016 migration. The last few days I’ve been getting word of quite a few users receiving NDRs. The NDR error was QUEUE Expired. I went straight to the queue and saw there were currently 12 messages there all with a last error of “A storage transient failure has occurred during content conversion”. I did eventually find a solution, and I normally don’t repost items I find in my day to day tech support life, but there wasn’t a ton of results for this error, and most weren’t relevant. But then I found the what I was looking for. This link had some Exchange Management Shell commands that allowed all the messages in the queue to send instantly

Link

Update [3/31/16]: This issue is not resolved for me. With the setting set to null or false, I get some messages stuck in the submission queue. If the TNEFEnabled is set to true, all mail sends fine, but certain recipients receive attachments as winmail.dat. So I’m still working on this one.

Update 2 [4/19/16]: I installed Cumulative Update 1 for Exchange 2016 almost a week ago and the issue appears to be resolved. I have not had a single message stuck in the Submission Queue.