September 2014 Issue of Linux Journal: HOW-TOs
How'd You Do That?
Open-source advocates tend to make for rotten magicians. Whereas most illusionists insist on taking their secrets to the grave, we tend to give away the secret sauce to anyone who'll listen. Heck, sometimes we create things just so we can explain to others how they work! And, that is how this issue was born. We love the How-To concept. Heck, our entire magazine is based on the idea of spreading knowledge, and this month, we specifically go out of our way to show not only the result, but the "How" as well.
Reuven M. Lerner starts us off with a discussion of 12-Factor Apps. He basically describes a process for developing scalable, maintainable Web applications. As someone who recently started creating Web apps, I can attest that they get unmanageable quickly! Dave Taylor follows with some smarter code for solving the "how many days have passed" script he's been working with for the past few months.
All too often, our perfectly crafted solutions get ruined by someone changing something outside our control. Kyle Rankin recently had an issue with his fetchmail setup, and he walks through the process of troubleshooting and problem solving when someone changes the rules. If, like me, you're a fan of Kyle's passion for the command line, you'll appreciate his efforts to maintain his ASCII lifestyle.
I made true on my promise to get a little more serious this month and wrote about DNSMasq. It's not a new program, but it's so powerful and so simple, it's often overlooked as a viable option for serving DNS and DHCP. Although most people are fine with running DNS and DHCP from their off-the-shelf routers, there are times when you need to run one or both of the services on a server. That's just what I needed to do, and I was pleasantly surprised at how powerful the little dæmon can be!
Much like car alarms, self-signed SSL certificates are all too often just accepted, especially on systems we're familiar with using. The problem is that if there is a compromise on one of our trusted systems, an invalid certificate might be the only warning we get. John Foley walks through the entire process for using PKI certificates. Whether you are an old hand at creating certs for VPNs or just copy/paste something from Google whenever you need to create a Web cert, his article is interesting and educational.
Last year you may recall I mentioned ownCloud as an alternative to Dropbox for those willing and able to host such a service on their own. Mike Diehl takes it to the next level with an incredible how-to on setting up, configuring and using ownCloud for all your cloud-based needs. At its core, ownCloud does indeed sync files, but it does so much more, it's worth taking a look at. And when it comes to file storage on your server, Russell Coker addresses another extremely important topic: data corruption. Using ZFS or BTRFS filesystems can protect your data, but which is better? Which should you choose? Russell answers all your questions and more.
If there's one product that fits into our How-To issue, it's the Raspberry Pi. It's the heart of just about every Linux-based DIY project on the Internet, and those little beauties run half the projects around my house as well. A quartet of authors (Vasilis Nicolaou, Angelos Georgiadis, Georgios Chairepetis and Andreas Galazis) give us a great description of pi-web-agent. Although the little RPi devices are incredible, they also are a bit intimidating for new Linux users. pi-web-agent changes that by providing a complete Web front end for managing and controlling the Raspberry Pi, making the RPi accessible to everyone!
If you've ever wanted to work with Linux, but weren't sure "how to" get started, this issue is for you. And if you're an old hat who wants to add more skills to your tech quiver? Again, for you too. To be honest, the entire Linux community is based on sharing information and collaborating ideas. There's no illusion at play, but there's plenty of magic!
Available to Subscribers: September 1
Practical Task Scheduling Deployment
One of the best things about the UNIX environment (aside from being stable and efficient) is the vast array of software tools available to help you do your job. Traditionally, a UNIX tool does only one thing, but does that one thing very well. For example, grep is very easy to use and can search vast amounts of data quickly. The find tool can find a particular file or files based on all kinds of criteria. It's pretty easy to string these tools together to build even more powerful tools, such as a tool that finds all of the .log files in the /home directory and searches each one for a particular entry. This erector-set mentality allows UNIX system administrators to seem to always have the right tool for the job.
Cron traditionally has been considered another such a tool for job scheduling, but is it enough? This webinar considers that very question. The first part builds on a previous Geek Guide, Beyond Cron, and briefly describes how to know when it might be time to consider upgrading your job scheduling infrastructure. The second part presents an actual planning and implementation framework.
Join Linux Journal's Mike Diehl and Pat Cameron of Help Systems.
Free to Linux Journal readers.View Now!
|The Firebird Project's Firebird Relational Database||Jul 29, 2016|
|Stunnel Security for Oracle||Jul 28, 2016|
|SUSE LLC's SUSE Manager||Jul 21, 2016|
|My +1 Sword of Productivity||Jul 20, 2016|
|Non-Linux FOSS: Caffeine!||Jul 19, 2016|
|Murat Yener and Onur Dundar's Expert Android Studio (Wrox)||Jul 18, 2016|
- The Firebird Project's Firebird Relational Database
- Stunnel Security for Oracle
- My +1 Sword of Productivity
- Non-Linux FOSS: Caffeine!
- SUSE LLC's SUSE Manager
- Managing Linux Using Puppet
- Murat Yener and Onur Dundar's Expert Android Studio (Wrox)
- Parsing an RSS News Feed with a Bash Script
- Google's SwiftShader Released
- Doing for User Space What We Did for Kernel Space
With all the industry talk about the benefits of Linux on Power and all the performance advantages offered by its open architecture, you may be considering a move in that direction. If you are thinking about analytics, big data and cloud computing, you would be right to evaluate Power. The idea of using commodity x86 hardware and replacing it every three years is an outdated cost model. It doesn’t consider the total cost of ownership, and it doesn’t consider the advantage of real processing power, high-availability and multithreading like a demon.
This ebook takes a look at some of the practical applications of the Linux on Power platform and ways you might bring all the performance power of this open architecture to bear for your organization. There are no smoke and mirrors here—just hard, cold, empirical evidence provided by independent sources. I also consider some innovative ways Linux on Power will be used in the future.Get the Guide