Archives For pinehead

Survey says.. Linux jobs are in demand and there is money to be made! The tech field is the fastest growing job sector and Linux jobs are at the top of the list. If you haven’t already, now is the time to start learning Linux, or even get certified with the LPI (Linux Professional Institute Certification) certification. Don’t know where to start? Never used Linux? Not sure what you need to do to learn Linux for system administration?  We have a great starting point for you, and that’s at the Linux Academy.

Not looking to get Linux certified, and just want to know how to run your own Linux servers? Or test app code, or just play with different Linux distributions? No problem! Linux Academy is great for that as well!

The Linux Academy has step-by-step video courses, PDF course notes, certification study guides, and quizzes (coming soon). It even has a Linux server lab that allows you to follow along with the lessons on real Linux servers. No need for additional software-it’s all provided at the Linux Academy.

Continue Reading…

Adding EC2 instances to Route53

pinehead —  October 27, 2012

Today’s nifty bit of code is a startup/shutdown script for linux that allows you to add an EC2 instance to Amazon’s Route53 DNS automatically when you start up the instance, and remove it when the instance is knocked down. This script also allows you to add the instance to a weighted round-robin group.

This makes use of the very useful Python-based boto tool which is available in both Yum and Debian repositories under the package name python-boto.

Create this script in /etc/init.d and make it executable, and then add it to the requisite rcX.d directory for startup/shutdown.

Read More

Linux text files and Windows text files differ from each other in an important aspect. They have a different way to indicate the end of a line. Sometimes, when opening a text file on Linux, you see a ^M here and there. This means that the text file contains Windows-like line breaks. This solution describes how to convert a Windows-like text file to a Linux-like one, and the other way around. Continue Reading…

The bash shell is just amazing. There are so many tasks that can be simplified using its handy features. This tutorial tells about some of those features, explains what exactly they do and learns you how to use them.

Difficulty: Basic – Medium Continue Reading…

The Games for Linux movement hasn’t actually been invented yet after these years, it all starts with you~! I’ve stumbled around this confusing wasteland of Linux MAN pages trying to assemble a familiar ground for game development so you won’t have to. I’ll write about all the fundamental building blocks you’ll need to create whatever it is you’ll need to make your ideas. As far as this being your first experience writing game engines, it’s actually going to be easier than if you started with Windows- OpenGL, SDL, and the basic Linux OS system functions are very simple in comparison. It actually makes the experience of game engineering kind of fun~

Read Entire Tutorial From Dream.In.Code