Social

Friday, August 21, 2015

Sherman set the wayback machine to

I think it is time we pick a year at random and look at some things there to find out how we ended up on our path. We are always so concerned with going forward, we never take that moment to look back, and as Michael Jackson said Remember the Time.
Today On flashback who gives a fuck of the day, we are going to look a little bit into 2001.
Yeah that is right, the year you ditched an afternoon of work to go see Swordfish and thinking how epic it would be to get your knob slobbed on while hacking a system, but realizing that it would never live up to The Matrix. You will also have claimed to seen Donnie Darko in a theater, but we all know you downloaded it on Napster and had to listen to that guy cough in the background.
Fast and Furious was hot so you put the stickers on your mom's Honda and claimed that you did other things to add 50HP! Just another lie we all told each other.

Those things are great, and when you look back at them now, the movies hold up better than Ludacris's Move Bitch. And what is Mobi up to now and days? Was she really your butterfly, your sugar, your baby?

But we are missing some of the point now, the main point of the moment is the technology, oh that sexy sexy technology. Dual CRT 17" monitors crowding your desk, your Compaq iPAQ  h3600 that you had Linux on before you discovered how useless that actually is, as a device no matter what the operating system. This was the days when MP3s were still not supported on most systems, and when WinAmp really did whip the llama's ass.

It was more about customization of the interfaces, you made your windows run litestep just to be different. You weren't running Windows XP yet, because you believed that Windows 98 was the bestest wind0wz EVAH! Or if you weren't running windows, you were running Linux with Enlightenment for your desktop, BlueHeart anyone? 

There was stuff on the horizon, the shiny new things, the stuff that would break your infrastructure if you tried to use it. The VMware of today was not even a promise from the sales team at this point. They were still trying to get more than 3 VMs on one server with 4GB of RAM.
It existed, but it wasn't ready for everyone. 

There was also the mentality behind things, with all this customization, from your own personal music, to how your desktop computer looked and acted, to adding the horsepower stickers to your car, to the local rock and roll station stickers on your portable CD player. It was all about Me-ness, it was almost like the 80s, but with darker colors.

One of the things that sticks out a lot, is how well the systems worked. If, and only IF, you took the extra five minutes to setup your servers following the best practices, you were not effected by Code-Red, Sadmind, Sircam, and Code Red 2, now with extra code.

Linux was still not as popular, it was there but it was still railing against the man. Red Hat had just renamed itself to Red Hat Enterprise Edition and it was still slow growing, even though it was trying to go IPO. There were no threats to it, security or other, because it wasn't the most popular OS. It was like the queen of the home coming parade, only its friends cared enough to be its fluffer.

But I digress, it wasn't a time of fancy and new, instead of it was a time of adjusting to what you had, learning Windows 2000 server the right way, and getting Linux to be your public DNS server for "security" reasons.

I am bringing up these points because of where we are with systems and administration in general. 2001 was a good change point for things because that is when Novell was on the hard decline and Microsoft Active Directory was on the rise. Both systems were good at managing users and groups. They each gave you a central location for everything from workstations to servers to file share permissions. These things seem to be missing withing the next level of virtualization. You want traditional administrators, engineers, and architects to use these containers, but you offer no real security on them, no way to keep unauthorized users from making a mistake and deleting them.

So how did we devolve into this current state? Was it developers wanting to be malicious? I don't think so. I think it was a much more selfish reason than that. Security is an afterthought. Never on the forefront of the mind, and never ever thinking about what happens if they want to be enterprise class.

We end up with a bunch of people who should be singing with the Me First and the Gimme Gimme's trying to get things out to the world to make themselves bigger and to prove that they are the next Unicorn of Silicon Valley. They don't think of others until the complaints are too many to deal with, and they don't always think of the long term effects of their projects, just so long as they are getting money.

The next step, I am gonna leave for all you smart people to figure out. How do we get the rights and services. How do we get things going to be an enterprise class solution that ties into some form, even AD/LDAP Authentication. I would like to be able to give select people access to create, but not delete, or to restart but not to stop.




Saturday, August 15, 2015

Learning to fake it

There was once a nice simple person who thought "Hey wouldn't it be fun do install docker!"
So he watched the official videos, that lead into the fan made videos, and he thinks "well if this mouth breather can do it". He gets the boot2docker and does the Hello World thing.
Then the fantasy sets in, the weak mindedness starts to take over "this was so easy! i want to put everything into containers!!"
He tries doing the containers and magic, pure and simple, magic. It works! To bad as far as everyone else in the docker world is concerned it is the completely wrong way to do things.
So skippy, let's crack open that can of R12 and start huffing the Docker fumes!

First start with the download, you can find it at https://github.com/boot2docker/boot2docker/releases
Once you spend between 2 minutes and 44 hours downloading the ISO, you can now spin it up in your own safe and sane visualization systems of your choice, I am too lazy to go into what one is the best, just go google Holy Wars and figure out who is wrong there.


It is a live iso, so once it is booted, you are good to start using it.


Let us do a deploy with the basic hello world.
The examples say run docker with run a basic echo command to display "Hello World"


docker run ubuntu /bin/echo "Hello Whirled!" 
That is the command I did above, and here is the output.

As you can see, it is overly exciting!!!!! SQUEEE!!!!
Also notice that it downloaded the ubuntu image on the first run. Lets try getting a real command prompt and doing something with this image. 

Our next command will be bashed


docker run ubuntu /bin/bash 

And that gets us the following.




What the happy horse pocky! That is the same command that everyone else had! what the hell went wrong?! WHY GOD WHY!!

Ok so a quick search shows that you need to run docker with Interactive Mode and TTY, why cant they just say terminal, they have to use the archaic definition of it.

SOOOOoooo the command should look like



docker run -it ubuntu /bin/bash 

And that gives us the new added flavors of being interactive

Notice my prompt changed, now it is the docker ID number. And for addition proof, lets ping google and show the ip address.
WHAT THE HELL! No ifconfig! why do you have to change things world! why!!

Ok but notice pinging of google, and the ip address is a docker IP.


If you want to use this for local development then you might as well just throw in your towel and call it a day because you just put yourself in a "works for me! (tm)" loop and you should break your own fingers.