ItecSoftware Logo

Install and configure puppet server on Ubuntu

puppet master configuration

Before we install and configure puppet server (puppetmaster), ensure that your network is properly setup with static ip addresses and that servers can communicate with each other.

Configure Puppet Server on Ubuntu 10.10 is easy and straight forward. It’s those subtleties about the network configuration and necessary puppet recipes and files that can make our lives miserable.

To install and configure Puppet, choose one of the following methods

In this walk thru, we’re using the package manager of Ubuntu. You can simply use the one of your linux distro or install it from source (below).

RPM (Fedora) for Red Hat, Fedora (puppet-server for server, puppet for ...

read more

Listed in Linux, Shell Scripting, Ubuntu

Tags: puppet server, puppetmaster

Install and configure Puppet Client on Ubuntu

install and configure puppet client

I hope you had fun installing the Puppet Master in our previous article. If you haven’t done that step, I highly recommend doing before attempting to install the client.

After we have configured our network and installed, configured and verified our Puppet Server (puppetmaster), it’s now time to install and configure puppet client, and set it up to receive a signed certificate and puppet recipes. Again, if you haven’t performed those prerequisite setups, please start with Setup Puppet to configure your servers.

Let’s first install puppet from the Ubuntu package:

# apt-get install puppet

Then we start our client

# puppetd --server --verbose  --waitforcert ...

read more

Listed in Linux, Ubuntu

Tags: puppet client

Install Redmine Passenger via Apache on Ubuntu

install redmine passenger

Installing Redmine on any system has been a daunting task for many, especially working thru countless dependencies and linking apps to make the application available via Apache.

Since Ubuntu 10.04, Redmine can now be installed via apt or aptitude, and no doubt the process is much easier, but by no means just as straight forward as we’re used to with other apps available from the repositories.

To get Redmine up and running over Apache on Ubuntu ...

read more

Listed in Linux, Ubuntu, Web Development

Tags: apache2, redmine, ubuntu 10.04, webrick


mysql nolock hint

MySQL NOLOCK syntax is equivalent to WITH (NOLOCK) in SQL Sever, and it is a transaction isolation level that defines how data is available during an update. With other words, it is a property that defines at what point changes made by an update operation will become available in a row, table or database to requesting processes.

This is equally important to a DBA as it is to a developer, as both ...

read more

Listed in MySQL

Tags: MySQL, NOLOCK, transaction

Install CouchDB & use with JSON and Map-Reduce

install couchdb

CouchDB is another offspring from the open-source, NoSQL, non-relational databases and is maintained under the Apache Foundation. It differs itself form the likes of MongoDB or Cassandra in many ways, except they all store data in so called “documents” that are in JSON format. Utilizing this format allows for data structures which can be hashes, lists, nested arrays and of course scalar values.

This added complexity results in more powerful features, ...

read more

Listed in Linux, MySQL, Web Development

Tags: cassandra, CouchDB, erlang, ICU, JSON, map-reduce, spidermonkey

Optimize Page Load Time with Gzip Compression

gzip compression html css

HTML, CSS and Javascript compression is a simple and effective way to save bandwidth and optimize page load time on your site. It’s often overlooked and yet simple to implement, just enable gzip compression for the right document types and enhance your site’s user experience.

In Apache, we achieve this by enabling content encoding. When a user requests a file like, the browser communicates to a web server, and the ...

read more

Listed in Web Development

Tags: compression, DEFLATE, gzip, headers, mod_deflate

Redis High Speed Storage Or Cache System

high speed redis cache

NoSQL databases are the hype, with MongoBD and CouchDB on the forefront, while Memcache has found a place in many high load web applications during the past few years. Each of these applications has their own, very specific characteristic. MongoDB finds its usage where single key-value pairs are not sufficient, but adds a slight overhead and complexity with its hash table like multi field storage architecture. CouchDB is an ideal ...

read more

Listed in Useful Stuff, Web Development

Tags: CouchDB, memcached, MongoDB, Redis

Create Patch Files Using Diff And Patch Example

diff and patch example

Using diff to create batch files and subsequently running them against select files is such a convenient way to update, fix or change existing files, but many developers and system administrators simply don’t know much about them.

Here is a quick diff and patch example, how to use diff and apply changes for select files. Use diff –help to check out more options and flags.

NOTE: pay caution when using patching, any ...

read more

Listed in Linux, Shell Scripting, Ubuntu

Tags: diff, patch

How To Clean Up Ubuntu Grub2 Boot Loader Menu

grub2 boot loader

How to clean up and edit the Ubuntu Grub2 boot loader menu differs quite a bit from previous versions. As Ubuntu nominated the new version 2 of the Grub boot manager as of 9.10, so they did away wit the old and problematic menu.lst file.

Grub2 boot loader is a leap forward in many ways, and most of the annoyances from menu.lst are gone. Yet, if you don’t clean up old ...

read more

Listed in Linux, Ubuntu

Tags: grub, grub 2, Synaptic, ubuntu

7 Tips To Improve Web Page Load Time

improve web page load time

With the increasing focus on Google’s Site Speed Algorithm, the following are 7 tips to improve web page load time, proven techniques well known websites use to boost their site speed.

Enable Gzip Compression

While compressing pages adds just a tad to your web server’s overhead, it will reduce bandwidth and transmission time and make pages appear to load faster for your users. Gzip is a open source compression algorithm that can ...

read more

Listed in SEO, Web Development

Tags: cdn, gzip, minify, redirect, sprite