Thursday 18 July 2013

Messing around with linux

Over the past couple of weeks I haven't been doing much coding or art.
I've been immersing myself in the art of server maintenance.

I compiled my first custom Linux kernel (Gentoo), unfortunately it was a x86 kernel not a x86_64 and I needed sleep desperately. I got given a IBM eServer (346?) xSeries with dual Xeon 3.2ghz processors. So I've been playing around with that (currently its running Arch Linux).

I got more familiar with the use of bash scripting to start programs on linux servers. I followed a guide over here only used the system crontab because it lets me do things as different users :) I did this because bfgminer kept crashing within a screen session and killing the session it was in (not giving me any reason). This way: it crashes -> cron runs the script every 5 minutes -> the script checks if bfgminer is running -> if bfgminer isn't running restarts a new screen session and bfgminer inside it (success YAY).

EDIT:
Also for those running Ztex FPGA devices. YOU CAN RUN IT AT A NORMAL USERLEVEL!
You don't need to run everything as root (particularly if you are using bfgminer like me).
The information you need to know is here.