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

60 second vi intro

blog, Linux, Ubuntu
vi is neat.  Most of the engineers I work with like nano or pico but I like vi.  For some reason it makes me feel more like a geek when I'm using it.  In fact, I've been using it so often lately that I have been trying to use vi command in notepad (obviously without success).  This tutorial will cover only the basics but that should be enough to get you started.  A much better tutorial is available here. vi /etc/network/interfaces - opens /etc/network/interfaces in vi i - insert / - search G - [Shift] g - go to bottom of page dd - delete the line d <- or d -> - d [left or right arrow] delete 1 character in that direction 10G - 10 [Shift] g -…
Read More