No matter what subject I’m writing about, I always like to include a chapter or two for the bit-twiddlers in the crowd.
You know who you are.
You’re the ones who want to know the innards of how something was done. Just setting up a system isn’t good enough for you. You need to know exactly how the sausage was made.
This chapter is for you.
In this chapter I’m going to cover the super nitty-gritty of two subjects that I touched on earlier: exactly how to build and compile Asterisk/FreePBX on a stock Amazon AMI, and some of the more valuable uses of SSH in your daily lives.
If you’re not really all that interested in the guts of shell scripts or Make files, then you should probably stop reading this book here. On the other hand, if you’re like me and need to know these things, then you’ve come to the right place!
What you are about to read is the product of several weeks of research, experimentation, and refinement. To the best of my knowledge it represents the only place in print—or online—where you will get step-by-step instruction on how to take a stock AWS AMI and build a PBX from source code.
At the end of the day, I wound up writing a Bash shell script to automate the process as much as is reasonable. In the next few pages I’m going to take you through that script, section by section, and explain what everything does.
You don’t have to retype all this into your own script! I’ve put ...