Monday, November 23, 2009

Forgot root password

Forget your root password?
On Red Hat/Centos most any linux box:

1. Get physical access to the box
2. reboot it
3. during the grub menu, type e
4. go down to the line that has 'quiet' in it, usually that's the one I use but it doesnt'really matter. what you are basically going to do is type single at the end of whatever line you want to boot.

*this will also walk you though it
http://www.cyberciti.biz/faq/grub-boot-into-single-user-mode/


5. this will dump you to single user mode, and you can just do passwd to set new root password

Wednesday, November 11, 2009

Roaming Profiles Windows Server 2003

Trying to set up roaming profiles on Windows Server 2003 domain?

Try this:

To setup roaming profiles, first log onto your server and open Active Directory users and Computers. Right click on a user; choose properties and the click the profiles tab. In the profile box type the UNC path of the shared folder you made on the server. For example you would type:

\\servername\profiles\%username%

Where servername is the name of your server and the profiles folder is on the root of the C or D or whatever data drive the server is using. Do not type in the users name at the end but make sure it says %username% like in the example.

Make sure you have created this profiles folder and shared it with the same name as the folder. You can leave the share permissions wide open if you want because the %username% will create the users profile with permissions that grant only the user the right to view the contents.

The next time the user logs in, the users local profile will be copied to the new profiles folder on the server creating a new folder with the users name and permissions set up so that only the user can access it.

Tuesday, November 10, 2009

Rhapsody Playlist - GLEE TV Show hits ;-)

dorky post but trying some html generated from rhapsody to see if images are sent properly or are red xs after the post.

http://rhaplinks.real.com/rhaplink?rhapid=6393732&type=playlist&title=Playlist&from=msn
1. Sweet Caroline (Glee Cast Version) - Glee Cast
2. Bust A Move (Glee Cast Version) - Glee Cast
3. Don't Stop Believin' (Glee Cast Version) - Glee Cast
4. Halo / Walking On Sunshine (Glee Cast Version) - Glee Cast
5. Gold Digger (Glee Cast Version) - Glee Cast
6. Can't Fight This Feeling (Glee Cast Version) - Glee Cast
7. Rehab (Glee Cast Version) - Glee Cast
8. Dancing With Myself (Glee Cast Version) - Glee Cast

or this version (generic, not the blogger format as above):
http://rhaplinks.real.com/rhaplink?rhapid=6393746&type=playlist&title=Playlist&from=msn

Tuesday, November 03, 2009

MOSS 2007 External Web Resolution Issues/Alternate Access Mappings

So when building a MOSS site, you cannot simply assign an IP say 64.24.232.177 and then make a DNS A record say moss1.yourdomain.com point to it, then in IIS configure that MOSS Web Site to run on say, port 80 for example.

No, that is not good enough, you have to tell Sharepoint about it -- go into Central Administration, then there is a slew of different alternate access mappings you can configure for the site.

There are different zones (dont you just love IIS/Internet Explorer?!?):
default, intranet, public, extranet, custom (blah blah)

All you really need to do to enable your moss site to be viewed externally (assuming you set the DNS as explained above) is:

1. In IIS, configure the host header for the site (right click it go to properties, Advanced, Add the DNS name i.e. moss1.yourdomain.com in the host header box).

and

2. In MOSS Central Administration, Operations, Alternate Access Mappings add a public URL as http://moss1.yourdomain.com (I just added it into the default zone and erased what was there -- the http://hcmoss02 which is the internal name of the server)

VOILA you are done. Now your site resolves externally. Take a coffee break.