Centos 7.6 Minimal Post Install Change

blog, Linux, Ubuntu, VMWare
I'm working on a project at a customer location this week and this particular project required me to install Centos 7+.  Being an Ubuntu guy, I kicked and moaned for about 3 whole seconds and started the install.  It went as smooth as you'd expect, however, I was greeted with no network connectivity once Centos rebooted.  Mentally, I thought it was needing VMWare drivers or something but as it turns out, I just needed to enable the network interface. vi /etc/sysconfig/network-scripts/ifcfg-<cardname> Now change ONBOOT=No to ONBOOT=Yes Then simply reboot and make sure you can get connected to the network.
Read More

bitcoin CPU mining with Ubuntu 12.04

blog, Linux, Ubuntu
Please do not bother responding with how worthless this is.  This is purely academic.  A few of the guys at my office were curious and I was idle for a little while this weekend and got started with the basics of the basics in bitcon mining. Prerequisites Go setup yourself a bitcoin wallet here --> http://www.trybtc.com  There will be some tutorials, feel free to go through those. You'll end up here --> https://coinbase.com This is where you can keep track of your account.  First let's pop in there and grab the bitcoin address that we will use in a bit.  You can find it under Account Settings --> Bitcoin Addresses.  This is how others can give you money. Create an account here --> https://mining.bitcoin.cz/ This is the only way that CPU mining is…
Read More

5 Minute Cron Tutorial – Linux Task Scheduler

blog, Linux
Cron is an exceptionally useful tool in the Linux world where administrative tasks can easily be rolled up into shell, php, perl, and python scripts among other things. Per a website that I just came across, the word cron comes from the Greek word chronos which means time. First, lets setup the environment. I use VI as my text editor on Linux and you can view my "60 second VI tutorial" on here as well. To ensure that VI will be our crontab (cron table) editor we will need to edit your ".profile" file for whatever user you are going to be logged in with (typically root). vi /root/.profile Add one of thefollowing lines above the second fi to match your preference. export EDITOR=/usr/bin/vi #if you have just VI installed…
Read More

Excelent Time Management Video – Randy Pausch

blog, Linux
At work, I find it somewhat hard to stay on task.  I like it when I get real material things that can help manage my time.  One of they guys I work with sent me a link for this lecture by Randy Pausch.  As he recently passed due to cancer, this speaks volumes for his character as he had approximately 3 months to live at the time of this talk.  Please enjoy.
Read More

Apache2 on Ubuntu – OpenSSL CSR / Self Signed Cert

blog, Linux, Ubuntu
Seventy-five percent of the servers I have been working on over the last few months have been Linux.  Mostly Ubuntu.  This due to the fact that my company has allow me to start migrating over and building new servers on this platform.  With that, we need secure ways to access the servers.  On occasion I'll use webmin but mostly just SSH and whatever website is running on it (management, applications, etc).  Webmin takes care of itself with a self signed certificate and SSH creates its own keys.  Pretty easy there.  Now, for the website that is running on the box, out of the gate it's unencrypted TCP/80 traffic running from an Apache 2 web server.  This short tutorial will cover how to create a CSR with OpenSSL for use when…
Read More