reg88.com

fine...I'll blog too

Installing and Configuring Puppetmaster and Puppet Clients (on Ubuntu)

Puppet is a great Client/Server automation tool for your *NIX environment. The tool can be used to automate:

Installations
Updates
Deployment
Service manipulation
etc…

NOTE: Typically, the client(puppet/node) retrieves updates from the server (Puppetmaster). However you can enable push from the server to client as well. See “Client Configuration”.

Follow the below steps to get a basic configuration going.

How to Install Homebrew on OSX Lion

Homebrew is a tool that allow you to install some missing open-source packages in OSX. This of Homebrew as apt-get for OSX.  It’s also an alternative to Port, but I think this just works better.

Assuming you’re installing Homebrew on OSX Lion, you’ll need the following:

  • OSX Lion
    - Xcode (Can be installed via AppStore)
    - Xcode Command Line Tools (You’ll need an Apple Developers Account)

Remote Logging Server: Syslog | Rsyslog

Enabling remote logging on in linux is very simple. Most distributions include Syslog and most recently Rsyslog. The configuration is different between these two products, but can get either excepting remote logs by editing a single file. You should always read the man pages and read about syslog security while at it.

Note to Self: Don’t Use Scripts on Blogger!

I recently migrated my blog from Blogger to WordPress. I added a simple redirect to the old blog (Blogger) to forward to my new blog. Two hours later…

  • my Google account was locked!
  • my Blogger blog was DELETED!

Fortunately, I was able to recover my account and I had already backed up my blogger content.

How to Configure and Install WordPress on Nginx + PHP-FPM

I had been using Blogger (Blogspot) for several years, but even with the latest improvements Blogger just doesn’t cut it. I have finally given up and moving on to WordPress. At this point why not host my own install. I decided to get an install going with Nginx, PHP-FPM and WordPress. Here’s a how-to on getting you own up and running as well.

Configure Cisco WebVPN to Use a Signed Certificate

If you like to install a Signed Certificate on your cisco Router…

  1. Create a new CSR on Test IIS Server
  2. Submit CSR to CA
  3. Once Signed/Generated, download the newly generated PKCS12 certificate and import to IIS
  4. Export the new certificate via MMC
          – Export .example.com certificate from “Personal Certificate” with key
          – Include all certificates in the path (CA, Intermediate)*
  5. Place the exported .pfx file onto a tftp server
  6. On the Cisco Router:

Install and Configure Nginx+Django+uWSGI on Ubuntu 10.04 LTS

Getting Nginx+Django+uWSGI to work together via repositories is fairly easy.  The same goes for getting this setup working from source.. You just have to have good instructions. Here’s a very simple and quick install guide.

Install packages required to build and install from source. Also, Nginx is installed to take care of some of the prerequisites and to install configuration files.

Updating VMware ESXI 5.0 With Latest Patches

VMware was nice enough to remove the pretty “GUI” Update Utility after ESXi version 4.1.  So now you’ll need to do bunch of commands to get your VMware Host Updated.  Here’s how:

What you’ll need
1. Install VMware CLI on your machine. Once this tool is installed the required utilities are located in “C:Program Files (x86)VMwareVMware vSphere CLIbin“.  Add this location to your PATH to make life easier. (The below instructions assume you’ve done this)

Keep IIS Logs Clean and Keep Only a Week Worth of Logs

Webserver logs can add up and eventually fill up your entire disk if not mananged properly. Windows and IIS don’t exactly give you flexible options to manage logs either. So what to do? Here’s simple solution. We’re going to create couple of scripts and kick off a Task to purge old logs.

Lets create a folder to store the scripts

1
mkdir C:scripts