Categories
Blogging How to(s)? Ideas Information Nature Reference

Cold Weather and our Outside Neighbors

When I got back home after dropping of Logan at daycare, I looked out on to our deck, and I saw “Sarah”, our red/orange tingled squirrel that the kids name a couple of years ago.

Not sure why “she” has that coloring, especially considering all the other gray squirrels, but it does make “her” easier to identify, plus “she” is a little bit smaller than the rest of the “gang” that inhabits our backyard which filled with Black Walnut trees.

Seeing her today, reminded me of my chores for our outside friends at this time of year, and hence the reason for this blog post.

Here is a list of some simple things to help out our furry outside neighbors:

  • Fresh Water – At this time of the year, unless you are near running water, the birds and squirrels that are still running and flying around still need water. So please take a moment and fill a container with water so they have something to drink.You will have to change it in the morning, but it is a great way to get kids thinking about nature.
  • Bread Crusts – Madison does not like the crust on her bread (yet), so we have a little container next to the cutting board to collect the what is cut off, and those scraps are then later put on the deck.
  • Pop-Tart Edges – Don’t know why, but the kids do not like them either, but the squirrels do!I have not figured out what their favorite flavor is, but I have watched one of our squirrels trying to get a long piece through the railing on the porch. Very entertaining! (Think of a dog with a long stick, trying to get through a fence door…)
  • Stale Snacks – These can take on many forms, cereal, pretzels, cheese balls, cheese curls, pop corn, french fries, you name it! You may not like it, but our furry friends do not seem to care, especially the crows! (Ever notice what the crows eat on “Trash Day”?)”Crow Salad“/”Critter Granola” – Trying mixing a bunch of items together! It my look gross to you, but trust me, our friends will not care!
  • Kitty TV – This is more for our indoor animals, but our two cats. Jessica and Joy, love to sit/lay on the couch and watch their outdoor friends as they eat!

These are just a few thoughts and suggestions, and I hope I will hear some more from my readers!

[contentblock id=1]

Categories
How to(s)? Projects Software

How to Boot from a Ubuntu SAN

Introduction

The following section is a brief overview of “How to Boot from a Ubuntu SAN” with a Microsoft Server Operating System, and is intended as a reference.

These instructions were done as a guide to setup a test environment.

The following Microsoft Server Operating systems have been tested:

  • Windows 2003 SP-3
  • Windows 2008 SP-2 (Core)
  • Windows 2008 SP-2 (Enterprise)
  • Windows 2008 SP-2 (Standard)

If you see anything that is in “error” or would like to have something added, please feel free to contact us.

SDC

Install the Windows Operating System

Install the Windows Operating System as you normally would, with the following notes:

  • Install the OS unto an External Storage Device;
    • This Device will later be moved and mounted on the Ubuntu target
  • Format the OS installation partition as small as possible, but keep in mind:
    • Physical RAM on the Initiator/Client machine;
    • Windows Patching needs;

Minimal Recommendations:

Although numerous attempts were done with a bare minimal requirements, it is STRONGLY suggested that you install the following:

  • Windows Server 2003 SP2 or Greater

Download iSCSI support (2003 and below)

If you are installing a Microsoft Windows OS 2003 SP2 (or below), then you will need to do the following:

Install and Setup of Microsoft iSCSI Software Initiator (2003 and below)

The basic installation of the software is straight forward,

    1. Run the setup program;
    2. In the Microsoft iSCSI Initiator Installation window, be sure to select:
      • Initiator Service
      • Software Service
      • DO NOT SELECT “Microsoft MPIO Multipathing Support for iSCSI” because it is NOT COMPATIBLE with iSCSI boot.
No Multipathing
No Multipathing
    1. In the next dialog box, you will be asked to select “Configure iSCSI Network Boot Support”
Configure Network Boot
Configure Network Boot
  1. After the installation is complete, Reboot the system to check that is boots correctly.

Transferring Windows OS Image to Ubuntu

In these steps, you will be physically and digitally transferring the Target OS image.

    1. Shut down the Windows OS machine;
    2. Disconnect the Drive from the Windows machine;
    3. Reconnect the Drive to the Ubuntu Server;
    4. Once mounted, Open a Terminal Window;
    5. Type in the following command:
      • Disk pathExample: /dev/sdb
      • Bytes per CylinderExample: 8225280
      • Ending cylinder number for the partitionExample: 1026

sudo fdisk -l

Which should return something similar to:

Disk Allocations
Disk Allocations

You will need the the following information:

    1. Using this information, type in:

dd if=/dev/sdb of=/path/to/image/file.img bs=8225280 count=1026

It is strongly recommended that the /path/to/file.img, be placed into a LARGE /var path.

Note: Using /dev/sdb copies the Master Boot Record (MBR), while /dev/sdb1 just copies the partition.

    1. To verify the image transfer, use the following command:

fdisk -l /path/to/image/file.img

Making the Windows OS image available on iSCSI

Now the Windows OS image need to be made available:

    1. In the terminal window, type in:

sudo gedit /etc/ietd.conf

    1. Add the following to the end of the file:
      • yyyy is the year and mm is the month that the domain became valid.
      • is written as 1.168.192 or com.yourdomain (this will change in your environment).
      • [Optional identifier] is used to further identify the target.
      • Path= is where your files are located on the local machine.

Target iqn.yyyy-mm.com.mydomain:[Optional identifier]
Lun 0 Path=/path/to/image,Type=fileio,IOMode=rw

Where:

    1. Restart the iSCSI daemon:

sudo invoke-rc.d iscsitarget restart

Configure your Ubuntu DHCP Server

Now to configure your DHCP Server:

    1. In the terminal window, type in:

sudo gedit /etc/dhcpd.conf

    1. Add the following to the end of the file:

filename "";
option root-path "iscsi:my.target.dns.name::::iqn.2007-08.name.dns.target.my:iscsiboot";

Note: The second line (“Option…”) should be all on one line.

    1. Restart the DHCP daemon:

sudo /etc/init.d/dhcpd restart

Boot from the Diskless Client

It is now possible to boot from your Diskless client:

  1. Insert and Boot the Initiator/Client from the Etherboot media.
  2. After a short time, the Target OS should start to boot in a Normal fashion.

Etherboot Project

  • Required for Booting the Local Computer over the network to the SAN.
  • Booting can be done with Floppies, CD/DVD or USB devices.
  • This documentation is derived from the “HowTo Guides – Boot from SAN

– Andrew
§ § § § §
[adrotate banner=”1″]
Categories
How to(s)?

How to Add LinkedIn Icon to email signature

Requirements

  • Active Account on LinkedIn.com
  • Microsoft Outlook XP, 2003 and 2007
  • The ability to see file extensions in Windows Explorer
  • Administrator or Power User access to the User Profiles
  • Basic Knowledge of HTML and CSS

Notes

I have tried to use more advanced W3C CSS techniques (boxes with shadows, etc.), but Outlook 2003 does not render them correctly.

DISCLAIMER

One should always have a current backup of their system before trying any modifications to the Operating System or Applications.

Step by Step Details

1) Close Microsoft Outlook

It is HIGHLY recommended that you Close/Quit your active session of Outlook.

2) Locate Microsoft Outlook Signatures directory on the Local machine

This can be found at: “C:Documents and Settings%username%Application DataMicrosoftSignatures

%username%Is the name one uses to Login/Logon the local machine, WITHOUT the “%” signs.

3) Create desired BASE Signature file in HTML

Right click in the “Signatures” directory.

Select “New > Text Document“.

Rename the file to “LinkedIn-Icon.htm“.

The OS is going to ask you if you want to change the file type, click “Yes”

Open/Edit “LinkedIn-Icon.htm” with a Text Editor (like NotePad)

Right click the file; “Open With > Notepad”.

Copy the following basic HTML code into “LinkedIn-Icon.htm” and “Save“.

<!–DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”>
<HTML>
<HEAD>
<TITLE>MS Outlook eMail Signature</TITLE>
<META http-equiv=Content-Type content=”text/html; charset=windows-1252″>
<STYLE>
P.HorBar {FONT-SIZE: 10pt; MARGIN: 0in 0in 0.1in; FONT-FAMILY: “Arial”}
P.Name {FONT-SIZE: 10pt; MARGIN: 0in 0in 0in 0.1in; FONT-FAMILY: “Arial”}
P.Address {FONT-SIZE: 7.5pt; MARGIN: 0in 0in 0in 0.1in; FONT-FAMILY: “Arial”}
P.Phone {FONT-SIZE: 7.5pt; MARGIN: 0in 0in 0in 0.1in; FONT-FAMILY: “Arial”}
P.eMail {FONT-SIZE: 7.5pt; MARGIN: 0in 0in 0in 0.1in; FONT-FAMILY: “Arial”}
P.WebSite {FONT-SIZE: 7.5pt; MARGIN: 0in 0in 0in 0.1in; FONT-FAMILY: “Arial”}
</STYLE>
</HEAD>
<BODY>
<P CLASS=HorBar ALIGN=left>_____________________________</P>Firstname Lastname<P CLASS=Address>123 Main Street</P>
<P CLASS=Address>City, State Zip</P>
<P CLASS=Phone>MAIN: (123) 456-7890</P>
<P CLASS=Phone>CELL: (123) 456-7890</P>
<P CLASS=eMail>eMail: <A HREF=”mailto:UserName@domain.com”>UserName@domain.com</A></P>
<P CLASS=WebSite><A HREF=”http://www.domain.com/”>http://www.domain.com/</A></P>
<BR>
<!– Insert LinkedIn Icon Code Here –>
</BODY>
</HTML>

When “Personalized”, the previous code should look like (with a White Background (Silver):

_____________________________
Firstname Lastname
123 Main Street
City, State Zip
MAIN: (123) 456-7890
CELL: (123) 456-7890
eMail: UserName@domain.com
Web: http://www.domain.com/

4) Add LinkedIn Icon code

Login/Logon to your LinkedIn profile.

Click the “My Profile” tab in the Top navigational area.

Near the top section of “Profile” page, you will see a section called “Promote your profile with customized buttons“, click on the link.

Link (Need to be Logged In): Promote your profile!

On the “Promote your public profile” page, select the icon you want to be on your signature.

HINT: Keep it fairly small (160×25)

You can either copy/save the code to the right of the icon to a local file (using NotePad), or leave the window open.

Note: This is the code to be added to the HTML signature file

At the end of the HTML Comment “<!– Insert LinkedIn Icon Code Here –>“, Add a “Line Break” by pressing either the “Enter” or “Return” key)

On the new line “Paste” the contents of the LinkedIn code.

Save” the current file.

The HTML code should look something like:

<!–DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”>
<HTML>
<HEAD>
<TITLE>MS Outlook eMail Signature</TITLE>
<META http-equiv=Content-Type content=”text/html; charset=windows-1252″>
<STYLE>
P.HorBar {FONT-SIZE: 10pt; MARGIN: 0in 0in 0.1in; FONT-FAMILY: “Arial”}
P.Name {FONT-SIZE: 10pt; MARGIN: 0in 0in 0in 0.1in; FONT-FAMILY: “Arial”}
P.Address {FONT-SIZE: 7.5pt; MARGIN: 0in 0in 0in 0.1in; FONT-FAMILY: “Arial”}
P.Phone {FONT-SIZE: 7.5pt; MARGIN: 0in 0in 0in 0.1in; FONT-FAMILY: “Arial”}
P.eMail {FONT-SIZE: 7.5pt; MARGIN: 0in 0in 0in 0.1in; FONT-FAMILY: “Arial”}
P.WebSite {FONT-SIZE: 7.5pt; MARGIN: 0in 0in 0in 0.1in; FONT-FAMILY: “Arial”}
</STYLE>
</HEAD>
<BODY>
<P CLASS=HorBar ALIGN=left>_____________________________</P>
Firstname Lastname

<P CLASS=Address>123 Main Street</P>
<P CLASS=Address>City, State Zip</P>
<P CLASS=Phone>MAIN: (123) 456-7890</P>
<P CLASS=Phone>CELL: (123) 456-7890</P>
<P CLASS=eMail>eMail: <A HREF=”mailto:UserName@domain.com”>UserName@domain.com</A></P>
<P CLASS=WebSite><A HREF=”http://www.domain.com/”>http://www.domain.com/</A></P>
<BR>
<!– Insert LinkedIn Icon Code Here –>

<IMG SRC=”http://www.linkedin.com/img/webpromo/btn_viewmy_160x25.gif” WIDTH=”160″ HEIGHT=”25″ BORDER=”0″ ALT=”View Your Account’s profile on LinkedIn”>
</BODY>
</HTML>

When “Personalized”, the previous code should look like:

_____________________________
Firstname Lastname
123 Main Street
City, State Zip
MAIN: (123) 456-7890
CELL: (123) 456-7890
eMail: UserName@domain.com
http://www.domain.com/View Your's profile on LinkedIn

5) Open Outlook to generate New Code (rtf and txt files)

Open the MS Outlook application

Go to the “Tools” menu and select “Options“.

In the “Options” window, select the “Mail Format” tab.

In the “Mail Format” pane, near the bottom in the “Signatures” section, click on the “Signatures…” button.

In the “Create Signature” window, select the “LinkedIn-Icon” file, and click the “Edit…” button.

Note: There is NO “.htm” extension visible.

In the “Edit Signature – [LinkedIn-Icon]” window, use the slider to verify your signature code.

Click the “OK” button in the “Edit Signature – [LinkedIn-Icon]” window.

Click the “OK” button in the “Create Signature” window.

Click the “OK” button in the “Options” window.

The above actions will have cause MS Outlook to create two additional files:
LinkedIn-Icon.rtf” and “LinkedIn-Icon.txt“.

To verify this, check:
C:Documents and Settings%username%Application DataMicrosoftSignatures

6) Edit txt signature file (Optional)

This is a completely Optional step, and mainly depends on your usage of Text based emails.

It is recommended that you completed this step for “Just-in-Case” situations.

With the “Signatures” directory open, “Right” click “LinkedIn-Icon.txt“, and select “Edit“.

C:Documents and Settings%username%Application DataMicrosoftSignatures

With the Text Editor open, you should see something like:

_____________________________
Firstname Lastname
123 Main Street
City, State Zip
MAIN: (123) 456-7890
CELL: (123) 456-7890
eMail: UserName@domain.com
http://www.domain.com/
View Your Account’s profile on LinkedIn

Remove the extra “Line Breaks” to shorten the signature.

_____________________________
Firstname Lastname
123 Main Street
City, State Zip
MAIN: (123) 456-7890
CELL: (123) 456-7890
eMail: UserName@domain.com
http://www.domain.com/
View Your Account’s profile on LinkedIn

And add your LinkedIn URL below the “View Your Account’s profile on LinkedIn” line.

You might also want to change the grammar of the line: i.e. “View my profile on LinkedIn.com”

_____________________________
Firstname Lastname
123 Main Street
City, State Zip
MAIN: (123) 456-7890
CELL: (123) 456-7890
eMail: UserName@domain.com
http://www.domain.com/
View my profile on LinkedIn.com

Save the changes, and exit/quit your Text Editor.

7) Test in MS Outlook

With MS Outlook open and active:

If you have made the “LinkedIn-Icon” signature your default, create a new email, and your LinkedIn signature should appear as you created it.

If you have another default signature, create a new email, and then “Right” click in the signature section.

A pop-up window should appear with signature selections.

Select “LinkedIn-Icon“, and your LinkedIn signature should appear as you created it.

§ § §
Version: 1.4
Page Created: October 17, 2007
Lasted Modified: September 20, 2009

[contentblock id=1]

Categories
How to(s)? Information Open Source Reference Software Tech Talk Website

DotNetNuke Upgrade (5.0.x) – The Long Way

The following steps have been written for a remote shared hosting environment, and have been used in a DNN 5.0.1 to 5.1.1 upgrade.

  1. Backup your website files;
  2. Backup your database file;
  3. Download the lasted package;
    1. Most folks use the “Update” package, but others seem to prefer the “Install”
  4. Backup and then Verify/Modify your web.config (Step not need in DNN version 4.6.2 and above)
    1. Database connection strings in <connectionStrings> section
      1. Data Source=(your server name);Initial Catalog=(your db name);user id=(your db user);password=(your db password);” providerName=”System.Data.SqlClient”/>
    2. Database connection strings in <appSettings> section
      1. Data Source=(your server name);Initial Catalog=(your db name);user id=(your db user);password=(your db password);”/>
  5. Backup and Modify <add key=”AutoUpgrade” value=”false” /> in web.config from true to false;
    1. Change this to prevent accidental upgrade from an outside source during your Upgrade file transfer [Reference Link]
  6. Add the a file named “App_Offline.htm” to your root directory;
    1. By adding this file, it will take your site off line. [Reference Link]
  7. Replace/Move the Unzipped files into the active site;
    1. Some Hosting environments allow one to Upload a Zip file and then Unzip to over write the existing files.
    2. Manually replace files/directories.
      1. Unzip the Update/Install package on your Local Hard drive
      2. Use something like FileZilla to view and move files and directories
      3. This can take 45-60 minutes
      4. Allows one to get a better understanding of the internal “plumbing” of DNN
  8. Backup and Modify <add key=”AutoUpgrade” value=”true” /> in web.config from false to true;
  9. Rename or Delete “App_Offline.htm” to your root directory;
    1. One can just add the “.bak” extension and leave the file in place for future use.
      1. Example: “App_Offline.htm.bak”
  10. Browse to
    1. During this process, all new web.config changes are added [Reference Link]
  11. The Upgrade window should appear, and give a progress status line for each item or event that is happen.
    1. This takes approximately 5-10 minutes.
  12. Your done!
    1. Total time: 60-75 minutes

Additional Resources:

DotNetNuke – “Chat About It” Forum – “Upgrade Steps

– There are additional links within this thread

Mitchel Seller “DNN Saint” – Main Website

– This site has a TON of great DNN related info!


[contentblock id=1]