Showing posts with label PowerEdge. Show all posts
Showing posts with label PowerEdge. Show all posts

Wednesday, July 4, 2018

Why do I keep buying and using obsolete hardware?


Friends and co-workers have brought this up many times in the past, why would I ever buy used and obsolete hardware when you can find reasonably priced modern hardware on the market?

While this is fine, and I have nothing against it I have a predilection for old hardware that can be put back to effective use for two very specific reasons, one is Linux and the other one is a man by the name of K. Mandla.

Back when I started getting into Linux, some 10 years ago, I was struggling yet was always fascinated by the level of control you had over your operating system, want to install some software? It’s probably in a repository, don’t need a GUI? That’s fine, run it through the command line, and on the command line is where I found myself more intrigued, this all mighty black screen held so much control over everything, an esoteric world in front of me that I could not wait to tamper with, every mistake was a lesson well learned, every success was a thrill, but to learn that you could run video and audio directly from the console was something that completely changed the way I saw computers coming from a purely Windows environment.

When looking for more things to do I hit a blog of someone named K. Mandla and there my love for the console grew but furthermore my appreciation for old hardware and the possibilities of what I could do with it, repurposing it to do very specific tasks, I got into it so much that I went to flea markets and PC stores to pick up old hardware, in most cases I could get it for free because the owners just wanted to get rid of all the trash they had because they could not push it into the market, I was rebuilding old PCs and selling them for 10 or 20 dollars back then, whatever happened to those computers I would not know but at least I managed to rescue them from the garbage dump and gave the opportunity to a lot of people of finally having a computer back when having a smart phone was either having an iPhone or a Blackberry, either option was expensive so a cheap computer, no matter how slow or short lived, was a viable exit.

While I am conscious that also using old hardware may mean higher electrical bills and this is in no way helping the planet or my wallet there is a very important issue with e-waste being dropped on Africa and Asia, the link contains a very informative overview on what is going in Ghana and e-waste literally killing the country: https://www.youtube.com/watch?v=mleQVO1Vd1I

There is another point aside from repurposing or saving the planet, one way or the other as this is again very debatable, and that is collecting some old hardware that I had worked with, that was very reliable and apparently very long lasting, an example of this being the IBM T60, T61 and T400 laptops I have at home which I continue to use even to this day with Debian as they are more than enough for what I need to do, the T60 and T61 are stored but these I have used for 8 and 7 years respectively and the only reason why I stopped using them was because I could not put 4GB of RAM in them yet I could see some tasks that I could use these laptops for, then there’s the Pentium III Laptop that I use to write and play old videogames, because emulation is fine but sometimes I just doesn’t work and writing without any interruptions can be golden when trying to put every ounce of effort into it.

Also there’s trying out old hardware that I had never worked with in the past such as SCSI drives, this was more of an accident actually as I did not read on the specs of the PowerEdge 1850 on what type of hard drives it used but at the price of 30 dollars with shipping included I could not pass it up and the hard drives, two 136GB and one 73GB, ended up costing 20 dollars with shipping, or DAT Tapes, which I actually worked for some time with but I never got the chance to do it myself and while backing up something on another hard drive or the cloud is fine I could always have a spare backup for emergencies on a tape.

And to add to the inventory I have recently purchased a SunFire v100 and SunFire v120, one of them is IDE and the other one is SCSI so I do not have a problem with getting them to work, they already have RAM and everything on them it’s just a matter of connecting through a DB9 to Ethernet type cable to the console of these servers to get them to boot onto a CD, which I still have plenty laying around surprisingly, and install an operating system so I can fiddle around with them, probably to make a small web server or even a firewall/proxy, we’ll see about that one but this was all because I wanted to play around with these old machines as I’ve read about them and have been intrigued about how good they are.

Now the only problem that I have left is buying a server rack and start building up a room to put the servers and all the retro-hardware that is just piling up.

Tuesday, May 29, 2018

Learning Ansible and Vagrant or why I really need to put myself to date

For some time, I have heard Ansible this, Vagrant that, Docker and Kubernetes, Cassandra, and a bunch of other names of applications, services (or micro-services, whatever that is), APIs and whatnot, these are all foreign to me and come surprisingly fast to me in a time when I'm trying to pick up coding again because I want to try my hand again at doing something interesting.
I have learned first that I keep doing things the wrong way as I go through the Ansible from Beginner to Pro by Michael Heap (which by the way needs some revisioning as I find some of the wording confusing as hell) when doing development and provisioning of my environment.
So let me backtrack here and explain what I’m talking about, some years ago I used to work at a company that handled auto parts for the entire country and our plans of expansion were putting a real strain on our current inventory system (something built in Access 2010) so the company needed something different, enter me as a Junior Programmer to figure things out together with my boss, we handled it the best we could but in the end we did not manage to push the project through and parted ways with the company.
From my tenure there I learned a lot about PHP, jQuery and MySQL together with Linux, but I was still lacking in many ways the knowledge I needed to do what the company needed (I was Junior anyway, but you get my drift, you want to eat the entire world). As time has gone by I have kept up with programming through different methods, either building Bash or Python scripts, a small website to keep track of something very specific or some random requirement from a friend.
About a year ago I decided to get back into the whole thing now that I have figured out how to really handle my free time and through the magic of Humble Bundle I have acquired about forty to fifty or so books (of which I have used maybe one or two, I am behind on reading but I’m doing my best to keep up) which lately include Web Development (I mentioned previously this as I was interested in the whole Static Sites thing).
For this whole purpose I wanted a server, a real rack-mounted server, which now sits on my desk (and works as a nice extension of it) that I got for cheap (thanks eBay!). At this point in time the PowerEdge 1850 has been partially upgraded (still waiting for other parts), has the highest version of ESXi it can handle (which is 4.1 update 4) and has been tested out to see how it performs and for the price I spent I can’t complain, it does a very good job and frees my laptop from the hassle of having a test environment on the same machine I use for other stuff. My problem was that I needed to handle the deployment and installation of the machines and I did not want to go through the whole damn hassle of replicating everything item by item, so I went and looked through the books I see the Ansible thing and I think, well, better give it a shot (I know I could try Docker and containers but bear with me as I struggle to figure out most of the stuff I have to get up to date with!).
So far trying Ansible and Vagrant have been as usual a very mixed bag of results, Ansible was easy to install, Vagrant not so much and it was throwing a fit due to the version of VirtualBox I had installed so I had to download everything from the respective websites and install it on my laptop, after figuring that out I got to work on some playbooks and provisioning, when I saw how it worked and what it did I was shocked, I had thought about this same idea a couple of years ago and even thought about how to do it, I knew there had to be an easy way to deploy virtual machines and then push a script or something to install all the stuff it needed before it could get to work, little did I know that such a thing existed in the form of Ansible (not dissing or ignoring Chef or Puppet, Ansible is what I have at hand and that’s what I’ll work with).
My other problem with Ansible is the way playbooks are coded, at first it felt a bit esoteric but once I understood the logic I figured out that it was more of a be very careful of how you write stuff otherwise it won’t work approach than anything else, frustrating at first but once you get the hang of it the thing seems pretty obvious what you have to do and how to do it. Also, there seems to be a considerable number of playbooks available to go through, so I’ll have to give them a check once I am done with this book and get everything setup the way I want it.

Installing OSSEC 3.7.0 on Debian 11 (Bullseye) How-To

Now that version 3.7.0 has been released I took another deep dive into how this is compiled from Source, as usual I brought this onto me bec...