Author: jbmurphy

  • Exchange 2010 SP1 and New-DatabaseAvailabilityGroup

    I was progressing along on with my offline Exchange install, and I ran into a problem when creating my Database Availability Group (DAG). I wanted to put the witness directory on a non exchange server and the instructions say: If the witness server you specify isn’t an Exchange 2010 server, you must add the Exchange Trusted Subsystem universal security group to the local Administrators group…

  • My SugarCRM install proceedure for CentOS

    We are evaluating CRM products at work, and I wanted to get an idea what SugarCRM looks like. Below are the steps I used to install Sugar CRM community edition. I already had LAMP up and running Download sugarCRM: wget http://www.sugarforge.org/frs/download.php/7746/SugarCE-6.1.2.zip Extract the zip and move to /var/www. Create a virtual host for it in…

  • My offline Exchange 2010 install script

    As I mentioned in my previos two posts, I am creating an offline replica of our Windows environment in order to test migrating from Exchange 2003 to Exchange 2010.  Now that I had a replica of our Exchange 2003 server running, I wanted to add a new Exchange 2010 box. I already had a SCCM OSD with…

  • Creating an offline replica of our Windows Environment-Part 2

    In part one I setup an offline DC with DHCP, DNS, AND and a Windows 7 VM. Next I wanted to create a copy of our exchange server offline. Easy, right? Just install exchange 2003 with DisasterRecovery mode (setup.exe /DisasterRecovery). Easy. That is when the fun started.  I brought up one VM with Server 2003 R2 Enterprise,…

  • Creating an offline replica of our Windows Environment-Part 1

    I am working on my new project, upgrading our Exchange 2003 environment to Exchange 2010. I wanted to create an off line replica of our current environemnet. This is how I set about doing that Before I started, I created a new workstation – Windows 7 on our ESX server. This machine is joined to the domain,…

  • Xnest, xdmcp and X11 on CentOS

    It has been a while since I have used XNest. It works. Slow, but it works. I can ssh into a box and bring back a full X session back to my Mac. In CentOS 5.5 I had to edit /etc/gdm/custom.conf and add: Enable=true under [xdmcp]. Restart X and now I can run: Xnest :1 -geometry 1024×768…

  • GNU date vs BSD date

    I usually develop and test my BASH scripts on my mac, mostly for use on RedHat systems. Occasionally I run into problems with this workflow. Recently I realized there was a differnce between the date command on RedHat and the date command in OS X. Turns out BDS date != GNU date. The workaround, install coreutils from Mac…

  • My mac ports cheat sheet

    These 3 commands will check for new ports, upgrade outdated ports, and remove older versions. sudo port selfupdate sudo port upgrade outdated sudo port uninstall inactive To make sure you have a slimmed down install, use port_cutleaves to remove unnecessary ports. There are often “Build Dependencies” (like autoconf, automake, libtool, m4, help2man, p5-locale-gettext) that are…

  • Check if a file exists on a remote server

    I was working on a copy WordPress site to a local machine script, and I wanted to check if the remote path was a WordPress site. Here is the code I used.

  • Run a task sequence after completed OSD

    We wanted to run a Task Sequence after an Operating System Deployment. The OSD image would have only Office,Antivirus, and Windows. The task sequence would have all the other common packages we roll out (Adobe Reader and Flash, Firefox, Quicktime, Java . . .). The problem was that I wanted an easy way to deploy…