| Easy deployment of software from source on multiple hosts | |
|---|---|
| Description: Describes the technique we developed to make installing multiple software packages on many hosts as easy as possible, while retaining all the power and flexibility of compiling from source | |
|
|
| Easy deployment of software from source on multiple hosts | |
Easy deployment of software from source on multiple hostsThis page describes the technique we developed to make installing multiple software packages on many hosts as easy as possible, while retaining all the power and flexibility of compiling from source. Provided below are instructions and script templates to get you started. Installation bluesAs part of our work at Psychogenic, we perform the setup for a good number of Unix systems. Although recent Linux distributions come packed with software and RPM package managers/apt-get make fetching the rest easy, we still need to perform lots of installations from source. In many cases, this involves little more than:
but this isn't always true. That means that for every install you must go over the README/INSTALL files and, if the process is midly complex, get re-acquainted with the quirks of each... Specific ./configure switches and options, environment variables, librarie paths, special user account creation, patches to apply, additions to /etc/ld.so.conf and more can make the whole process inefficient and tiresome. Scripting a solutionAround the time of this writing, I had to setup 4 servers with various combinations of the following software from source:
Needless to say, attempting to memorize all the details of so many different installs was a bad idea and I didn't want to go through the "more README" process for every package on every server. The solution we developed is a simple yet flexible system comprised of:
The idea is to download a given source distribution and perform the installation manually once, taking note of the entire process. Take notes, use the shell history command or the script utility to keep records of all steps. When that is done, you record this
Have a look at two slightly more involved scripts: Cyrus SASL installation script and Making it work for youTo use our system to deploy software packages from source on any number of hosts, follow these instructions.
Have a look at two slightly more involved scripts: Cyrus SASL installation script and Making it work for youTo use our system to deploy software packages from source on any number of hosts, follow these instructions. Having performed these steps, installing to another system involves little more than tar-ing up your /home/user/sourcepackages directory, transfering it over to the new host and running ./process.sh from there. Hopefully this system will allow you extra time for more interesting challenges by automating the process of system setup. If you make additions to the system you feel are worth sharing with others, feel free to drop us a line. Enjoy! |
|
| Level: | Article |
| Additional Article Data | |
| Level: | Article |
| Comments |
|---|
|
|
|
The comments are owned by the poster. We aren't responsible for their content.
|
| Jump to section |
|---|

