<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>BuildDocs.com - Operating System and Application Build Documents Repository &#187; joshhrob</title>
	<atom:link href="http://builddocs.com/author/joshhrob/feed/" rel="self" type="application/rss+xml" />
	<link>http://builddocs.com</link>
	<description>Better Docs / Better Systems</description>
	<lastBuildDate>Thu, 15 Jul 2010 11:22:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Active Directory Domain Controller on Windows Server 2008 R2</title>
		<link>http://builddocs.com/server_os_builds/active-directory-domain-controller-on-windows-server-2008-r2/</link>
		<comments>http://builddocs.com/server_os_builds/active-directory-domain-controller-on-windows-server-2008-r2/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 18:28:51 +0000</pubDate>
		<dc:creator>joshhrob</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[ad]]></category>
		<category><![CDATA[domain controller]]></category>
		<category><![CDATA[windows 2008]]></category>

		<guid isPermaLink="false">http://builddocs.com/?p=1199</guid>
		<description><![CDATA[This documents demonstrates the configuration of a Windows Server 2008 R2 AD Domain Controller. It assumes a plain vanilla Windows Server 2008 build which can be found here: Building Windows Server 2008 (Enterprise R2 64 bit).
To begin, click on Start and Run and enter the command: dcpromo

The AD installer begins installing files. This may take [...]]]></description>
			<content:encoded><![CDATA[<p>This documents demonstrates the configuration of a Windows Server 2008 R2 AD Domain Controller. It assumes a plain vanilla Windows Server 2008 build which can be found here: <A HREF="http://builddocs.com/server_os_builds/building-windows-server-2008-enterprise-r2-64-bit/">Building Windows Server 2008 (Enterprise R2 64 bit)</A>.</p>
<p>To begin, click on Start and Run and enter the command: <strong>dcpromo</strong></p>
<p><img src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-28-22-26-02-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-28-22-26-02" width="300" height="225" class="aligncenter size-medium wp-image-1201" /></p>
<p>The AD installer begins installing files. This may take several minutes.</p>
<p><img src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-28-22-26-16-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-28-22-26-16" width="300" height="225" class="aligncenter size-medium wp-image-1203" /></p>
<p>At the AD Domain Services Wizard screen press Next</p>
<p><img src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-28-22-28-05-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-28-22-28-05" width="300" height="225" class="aligncenter size-medium wp-image-1204" /></p>
<p>At the Operating System Compatibility screen press Next</p>
<p><img src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-28-22-28-17-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-28-22-28-17" width="300" height="225" class="aligncenter size-medium wp-image-1205" /></p>
<p>Assuming this is a new domain, select Create a New domain in a new forest.</p>
<p><img src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-28-22-28-38-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-28-22-28-38" width="300" height="225" class="aligncenter size-medium wp-image-1206" /></p>
<p>Enter your fully-qualified domain name</p>
<p><img src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-28-22-29-33-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-28-22-29-33" width="300" height="225" class="aligncenter size-medium wp-image-1208" /></p>
<p>At the &#8220;Set Forrest Functional Level&#8221; select the best choice for your environment. In this case, Windows Server 2008 R2. You may need to choose an older version if you have other domain controllers running an older OS.</p>
<p><img src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-28-22-32-07-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-28-22-32-07" width="300" height="225" class="aligncenter size-medium wp-image-1209" /></p>
<p>Check DNS Server and press Next</p>
<p><img src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-28-22-32-28-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-28-22-32-28" width="300" height="225" class="aligncenter size-medium wp-image-1210" /></p>
<p>If you receive the following warning just ignore for now and press Yes</p>
<p><img src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-28-22-34-00-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-28-22-34-00" width="300" height="225" class="aligncenter size-medium wp-image-1211" /></p>
<p>Select the locations to store Database, Log Files and SYSVOL. </p>
<p><img src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-28-22-34-37-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-28-22-34-37" width="300" height="225" class="aligncenter size-medium wp-image-1213" /></p>
<p>Set password for Directory Services Restore Mode Administrator.</p>
<p><img src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-28-22-35-11-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-28-22-35-11" width="300" height="225" class="aligncenter size-medium wp-image-1214" /></p>
<p>Review Summary and press Next</p>
<p><img src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-28-22-36-46-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-28-22-36-46" width="300" height="225" class="aligncenter size-medium wp-image-1215" /></p>
<p>Installation will now run for several minutes.</p>
<p><img src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-28-22-37-25-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-28-22-37-25" width="300" height="225" class="aligncenter size-medium wp-image-1216" /></p>
<p>When installation is complete press Finish</p>
<p><img src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-28-22-39-24-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-28-22-39-24" width="300" height="225" class="aligncenter size-medium wp-image-1217" /></p>
<p>Press Restart Now to reboot</p>
<p><img src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-28-22-39-34-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-28-22-39-34" width="300" height="225" class="aligncenter size-medium wp-image-1218" /></p>
<p>After reboot, you should now see your new domain at the login prompt</p>
<p><img src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-28-22-43-45-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-28-22-43-45" width="300" height="225" class="aligncenter size-medium wp-image-1220" /></p>
<p>To begin managing your new domain, click on Start-&gt;Administrative Tools and select from the following Active Directory Tools</p>
<p><img src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-28-22-45-21-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-28-22-45-21" width="300" height="225" class="aligncenter size-medium wp-image-1221" /></p>
<p>Active Directory Administrative Center</p>
<p><img src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-28-22-46-11-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-28-22-46-11" width="300" height="225" class="aligncenter size-medium wp-image-1222" /></p>
<p>Active Directory Domains and Trusts</p>
<p><img src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-28-22-47-45-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-28-22-47-45" width="300" height="225" class="aligncenter size-medium wp-image-1223" /></p>
<p>Active Directory Users and Computers</p>
<p><img src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-28-22-48-03-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-28-22-48-03" width="300" height="225" class="aligncenter size-medium wp-image-1224" /></p>
]]></content:encoded>
			<wfw:commentRss>http://builddocs.com/server_os_builds/active-directory-domain-controller-on-windows-server-2008-r2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Building Windows Server 2008 (Enterprise R2 64 bit)</title>
		<link>http://builddocs.com/server_os_builds/building-windows-server-2008-enterprise-r2-64-bit/</link>
		<comments>http://builddocs.com/server_os_builds/building-windows-server-2008-enterprise-r2-64-bit/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 23:27:50 +0000</pubDate>
		<dc:creator>joshhrob</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 2008]]></category>

		<guid isPermaLink="false">http://builddocs.com/?p=1165</guid>
		<description><![CDATA[This document demonstrates the installation of a generic Windows Server 2008 Enterprise R2 (64 bit) build.
To begin, insert the installation DVD and power on the system. Select language and country preferences and press Next.

Press Install Now

Select OS version. In this case: Windows Server 2008 R2 Enterprise (Full Installation).

Accept license terms.

Select the second option &#8220;Custom&#8221; to [...]]]></description>
			<content:encoded><![CDATA[<p>This document demonstrates the installation of a generic Windows Server 2008 Enterprise R2 (64 bit) build.</p>
<p>To begin, insert the installation DVD and power on the system. Select language and country preferences and press Next.</p>
<p><img class="aligncenter size-medium wp-image-1166" src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-23-22-25-39-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-23-22-25-39" width="300" height="225" /></p>
<p>Press Install Now</p>
<p><img class="aligncenter size-medium wp-image-1168" src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-23-22-25-57-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-23-22-25-57" width="300" height="225" /></p>
<p>Select OS version. In this case: Windows Server 2008 R2 Enterprise (Full Installation).</p>
<p><img class="aligncenter size-medium wp-image-1169" src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-23-22-27-36-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-23-22-27-36" width="300" height="225" /></p>
<p>Accept license terms.</p>
<p><img class="aligncenter size-medium wp-image-1171" src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-23-22-27-54-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-23-22-27-54" width="300" height="225" /></p>
<p>Select the second option &#8220;Custom&#8221; to install a new operating system.</p>
<p><img class="aligncenter size-medium wp-image-1173" src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-23-22-28-35-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-23-22-28-35" width="300" height="225" /></p>
<p>Select the drive where the OS will be installed.</p>
<p><img class="aligncenter size-medium wp-image-1175" src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-23-22-28-53-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-23-22-28-53" width="300" height="225" /></p>
<p>OS files are installed. May take several minutes.</p>
<p><img class="aligncenter size-medium wp-image-1176" src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-23-22-29-10-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-23-22-29-10" width="300" height="225" /></p>
<p>Setup prompts to reboot. Press reboot.</p>
<p><img class="aligncenter size-medium wp-image-1177" src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-23-22-39-07-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-23-22-39-07" width="300" height="225" /></p>
<p>System reboots. Screen says starting services.</p>
<p><img class="aligncenter size-medium wp-image-1178" src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-23-22-40-01-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-23-22-40-01" width="300" height="225" /></p>
<p>Installation continues. May take several minutes.</p>
<p><img class="aligncenter size-medium wp-image-1179" src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-23-22-40-12-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-23-22-40-12" width="300" height="225" /></p>
<p>Installation finishes and system boots up.</p>
<p><img class="aligncenter size-medium wp-image-1180" src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-23-22-43-51-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-23-22-43-51" width="300" height="225" /></p>
<p>Press OK to set Administrator password.</p>
<p><img class="aligncenter size-medium wp-image-1182" src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-23-22-44-37-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-23-22-44-37" width="300" height="225" /></p>
<p>Enter new password.</p>
<p><img class="aligncenter size-medium wp-image-1183" src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-23-22-45-25-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-23-22-45-25" width="300" height="225" /></p>
<p>On first login Initial Configuration screen comes up. This screen has links to basic configuration settings. Click Configure Networking to set an ip address.</p>
<p><img class="aligncenter size-medium wp-image-1184" src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-23-22-48-18-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-23-22-48-18" width="300" height="225" /></p>
<p>Right Click on Network Interface and select properties.</p>
<p><img class="aligncenter size-medium wp-image-1186" src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-23-22-48-50-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-23-22-48-50" width="300" height="225" /></p>
<p>Select Internet Protocol Version 4 and press Properties.</p>
<p><img src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-23-22-49-17-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-23-22-49-17" width="300" height="225" class="aligncenter size-medium wp-image-1196" /></p>
<p>Enter static IP information.</p>
<p><img class="aligncenter size-medium wp-image-1189" src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-23-22-50-15-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-23-22-50-15" width="300" height="225" /></p>
<p>Return to the Initial Configuration Tasks screen and click on Provide computer name and domain.</p>
<p><img class="aligncenter size-medium wp-image-1190" src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-23-22-50-45-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-23-22-50-45" width="300" height="225" /></p>
<p>Press the Change button to change the default host name.</p>
<p><img class="aligncenter size-medium wp-image-1192" src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-23-22-51-09-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-23-22-51-09" width="300" height="225" /></p>
<p>Enter a host name for your server.</p>
<p><img class="aligncenter size-medium wp-image-1193" src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-23-22-51-49-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-23-22-51-49" width="300" height="225" /></p>
<p>Press OK and reboot when prompted.</p>
<p><img class="aligncenter size-medium wp-image-1194" src="http://builddocs.com/wp-content/uploads/2010/03/Windows-Server-2008-x64-Edition-2010-03-23-22-52-29-300x225.png" alt="Windows Server 2008 x64 Edition-2010-03-23-22-52-29" width="300" height="225" /></p>
<p>Next Steps:</p>
<p>Install Updates<br />
Install AntiVirus<br />
Install Applications</p>
]]></content:encoded>
			<wfw:commentRss>http://builddocs.com/server_os_builds/building-windows-server-2008-enterprise-r2-64-bit/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>10 Simple Steps to RedHat Linux Security</title>
		<link>http://builddocs.com/security_applications/10-simple-steps-to-redhat-linux-security/</link>
		<comments>http://builddocs.com/security_applications/10-simple-steps-to-redhat-linux-security/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 11:42:57 +0000</pubDate>
		<dc:creator>joshhrob</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[hardening]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://builddocs.com/?p=1074</guid>
		<description><![CDATA[This document outlines 10 easy-to-implement steps to lockdown a RedHat Linux server. This document assumes a fresh vanilla RedHat 5.4 install as described in the post Installing RedHat 5.4 64 bit.
Not all of the below steps are appropriate for all systems. You will need to use your judgment to pick and choose which security measures [...]]]></description>
			<content:encoded><![CDATA[<p>This document outlines 10 easy-to-implement steps to lockdown a RedHat Linux server. This document assumes a fresh vanilla RedHat 5.4 install as described in the post <a href="http://builddocs.com/server_os_builds/installing-redhat-5-4-64-bit/">Installing RedHat 5.4 64 bit</a>.</p>
<p>Not all of the below steps are appropriate for all systems. You will need to use your judgment to pick and choose which security measures are relevant to your environment.</p>
<p>1. <a href="#banner">Configure Security Banners/Disclaimers</a><br />
2. <a href="#grub">Set GRUB boot loader password</a><br />
3. <a href="#single">Password protect single user mode</a><br />
4. <a href="#passwords">Configure Password Policy</a><br />
5. <a href="#services">Disable Unnecessary Services</a><br />
6. <a href="#accounts">Delete Unnecessary accounts and groups</a><br />
7. <a href="#sysadmin">Restrict su to sysadmin group</a><br />
8. <a href="#ssh">Prevent root login through ssh</a><br />
9. <a href="#tcp_wrappers">Configure IP Access Controls with tcp_wrappers</a><br />
10. <a href="#limits">Resource Limits</a></p>
<p><a name="banner"></a></p>
<h2><a name="banner">Configure Security Banners/Disclaimers<br />
</a></h2>
<p>The Security Banner refers to the message that is displayed when users log in. Banners provide legal protection against unauthorized access attempts and provide a means to prosecute violators.</p>
<p>Here is an example of a generic banner:<br />
<em><br />
Warning! This is a private system.  Unauthorized access to or use of this system is strictly prohibited. Unauthorized users are subject to criminal prosecution and penalties. </em></p>
<p><em><img class="aligncenter size-full wp-image-1137" title="6" src="http://builddocs.com/wp-content/uploads/2009/10/61.jpg" alt="6" width="466" height="288" /><br />
</em></p>
<p>To configure a banner in Redhat, edit the file /etc/issue:</p>
<p><strong>su root</strong><br />
<em>Enter root password</em><br />
<strong>vi /etc/issue</strong></p>
<p>Use vi commands to edit file and replace with your banner text. Enter <strong>ESC:x!</strong> when finished to save file.</p>
<p><img class="aligncenter size-full wp-image-1135" title="2" src="http://builddocs.com/wp-content/uploads/2009/10/23.jpg" alt="2" width="560" height="420" /></p>
<p>In order for this banner to be displayed when users attempt to ssh to your server you will need to add it to the sshd_config file.</p>
<p><strong>vi /etc/ssh/sshd_config</strong></p>
<p>Arrow down to the line that begins with Banner. By default it should be</p>
<p><em>#Banner /some/banner</em></p>
<p>Edit this line, removing the # character and change the path to point to the /etc/issue file from above.</p>
<p><strong>Banner /etc/issue</strong></p>
<p>Enter <strong>ESC:x!</strong> when finished to save file.</p>
<p><img class="aligncenter size-full wp-image-1136" title="4" src="http://builddocs.com/wp-content/uploads/2009/10/42.jpg" alt="4" width="560" height="420" /></p>
<p>Enter the following command to restart the ssh server for the changes to take effect:</p>
<p><strong>/etc/init.d/sshd restart</strong></p>
<p><a name="grub"></a></p>
<h2><a name="grub">Set GRUB boot loader password</a></h2>
<p>Setting a password on the grub boot loader will require you to enter a password before booting the system. Although this is a recommended security practice, it is worth mentioning that this can be annoying, especially if you ever need to reboot the system remotely. I would not recommend this if you do not have physical access to the server.</p>
<p>The first step is to create a MD5 representation of your password. Enter the following to execute the grub md5 utility:</p>
<p><strong>/sbin/grub-md5-crypt</strong></p>
<p>Enter your password and confirm it. The program will generate an encrypted string. Carefully copy this string to a notepad.</p>
<p><img class="aligncenter size-full wp-image-1139" title="7" src="http://builddocs.com/wp-content/uploads/2009/10/72.jpg" alt="7" width="560" height="420" /></p>
<p>Next you will need to edit the grub config file and add this encrypted password:</p>
<p><strong>su root</strong><br />
<em>Enter root password</em><br />
<strong>vi /boot/grub/grub.conf</strong></p>
<p>Insert a new line as following, placing your md5 password string after the &#8211;md5:</p>
<p>password &#8211;md5 $5Hhd9D4HEO7$%df8fHdLO9PDjU70</p>
<p>Save the file by entering <strong>ESC:x!</strong></p>
<p><strong><img class="aligncenter size-full wp-image-1140" title="9" src="http://builddocs.com/wp-content/uploads/2009/10/92.jpg" alt="9" width="560" height="420" /><br />
</strong></p>
<p>Reboot and verify that the new password is working.</p>
<p><img class="aligncenter size-full wp-image-1141" title="10" src="http://builddocs.com/wp-content/uploads/2009/10/102.jpg" alt="10" width="504" height="280" /></p>
<p>Note: If for some reason this doesn&#8217;t work you may be locked out of your system. You will need to insert the RedHat installation CD/DVD and boot the system in recovery mode in order to undo the changes. To undo above edit the /boot/grub/grub.conf file and remove or comment out the password line.</p>
<p><a name="single"></a></p>
<h2>Password protect single user mode</h2>
<p>Single user mode is a system maintenance mode similar to windows safemode. If an attacker obtains access to the console he/she could potentially exploit this capability to bypass security controls and obtain root access to the system. It is a good idea to protect single user mode with a password to help prevent this.</p>
<p>Doing so is actually quite easy. Edit the /etc/inittab as followsg:</p>
<p><strong>su root</strong><br />
<em>Enter root password</em><br />
<strong>vi /etc/inittab</strong></p>
<p>Insert the following line:</p>
<p><strong>~~:S:wait:/sbin/sulogin</strong></p>
<p>Type <strong>ESC:x!</strong> to save and exit.</p>
<p><img class="aligncenter size-full wp-image-1143" title="12" src="http://builddocs.com/wp-content/uploads/2009/10/122.jpg" alt="12" width="560" height="420" /></p>
<p><a name="passwords"></a></p>
<h2>Configure Password Policy</h2>
<p>The following settings force users to change their password every 90 days and enforce passwords at least 8 characters long.</p>
<p><strong>su root</strong><br />
<em>Enter root password</em><br />
<strong>vi /etc/login.defs</strong></p>
<p>Edit the file as follows:</p>
<p>PASS_MAX_DAYS 90<br />
PASS_MIN_DAYS 1<br />
PASS_MIN_LEN 8<br />
PASS_WARN_AGE 14</p>
<p>Type <strong>ESC:x!</strong> to save and exit</p>
<p><img class="aligncenter size-full wp-image-1144" title="14" src="http://builddocs.com/wp-content/uploads/2009/10/142.jpg" alt="14" width="560" height="420" /></p>
<p><a name="services"></a></p>
<h2>Disable Unnecessary Services</h2>
<p>An important security principle is &#8220;if you don&#8217;t need it, disable it&#8221;. All running services expose the system to some level of risk. Obviously, some services are much more vulnerable than others but often you don&#8217;t know what the vulnerabilities of any given service are, and some may yet to have been discovered.</p>
<p>To see what services are enabled enter:</p>
<p><strong>/sbin/chkconfig &#8211;list</strong></p>
<p><strong><img class="aligncenter size-full wp-image-1146" title="15" src="http://builddocs.com/wp-content/uploads/2009/10/152.jpg" alt="15" width="560" height="420" /><br />
</strong></p>
<p>To disable a service enter:</p>
<p><strong>/sbin/chkconfig -del</strong> <em>service</em></p>
<p>At a minimum the following should be disabled:</p>
<p>/sbin/chkconfig -del bluetooth<br />
/sbin/chkconfig -del cups<br />
/sbin/chkconfig -del autofs<br />
/sbin/chkconfig -del isdn<br />
/sbin/chkconfig -del portmap<br />
/sbin/chkconfig -del vncserver<br />
/sbin/chkconfig -del mdmonitor<br />
/sbin/chkconfig -del winbind</p>
<p><img class="aligncenter size-full wp-image-1147" title="16" src="http://builddocs.com/wp-content/uploads/2009/10/163.jpg" alt="16" width="560" height="420" /></p>
<p>It is also a good idea to go through the /etc/xinetd.d directory and delete any unused services here. For example:</p>
<p>rm /etc/xinetd.d/gssftp<br />
rm /etc/xinetd.d/krb5-telnet<br />
rm /etc/xinetd.d/tftp<br />
rm /etc/xinetd.d/daytime*<br />
rm /etc/xinetd.d/chargen*<br />
rm /etc/xinetd.d/ekrg5-telnet*</p>
<p><img class="aligncenter size-full wp-image-1148" title="17" src="http://builddocs.com/wp-content/uploads/2009/10/172.jpg" alt="17" width="560" height="420" /></p>
<p><a name="accounts"></a></p>
<h2>Delete Unnecessary accounts and groups</h2>
<p>There are a number of default accounts and groups that you probably will never need and having them around can be a potential risk. Use the following commands to delete them:</p>
<p><strong>/sbin/userdel adm<br />
/sbin/groupdel adm<br />
/sbin/userdel lp<br />
/sbin/groupdel lp<br />
/sbin/userdel shutdown<br />
/sbin/groupdel shutdown<br />
/sbin/userdel halt<br />
/sbin/groupdel halt<br />
/sbin/userdel news<br />
/sbin/groupdel news<br />
/sbin/userdel uucp<br />
/sbin/groupdel uucp<br />
/sbin/userdel operator<br />
/sbin/groupdel operator<br />
/sbin/userdel games<br />
/sbin/groupdel games<br />
/sbin/userdel gopher<br />
/sbin/groupdel gopher<br />
/sbin/userdel ftp<br />
/sbin/groupdel ftp<br />
/sbin/userdel mail<br />
/sbin/groupdel mail<br />
/sbin/userdel xfs<br />
/sbin/groupdel xfs<br />
/sbin/userdel ntp<br />
/sbin/groupdel ntp<br />
/sbin/userdel mailnull<br />
/sbin/groupdel mailnull<br />
/sbin/userdel pcap<br />
/sbin/groupdel pcap<br />
</strong></p>
<p><a name="sysadmin"></a></p>
<h2>Restrict su to sysadmin group</h2>
<p>Another layer of protection is to prevent unprivileged users from being able to execute the su command, denying them the ability to become more powerful users.</p>
<p>The first step is to create a system administrators group. Only trusted system admins should be made members of this group.</p>
<p><strong>/usr/sbin/groupadd sysadmin</strong></p>
<p><img class="aligncenter size-full wp-image-1153" title="24" src="http://builddocs.com/wp-content/uploads/2009/10/24.jpg" alt="24" width="560" height="420" /></p>
<p>Next, enter the following commands to restrict the su command to this group:</p>
<p>chgrp sysadmin /bin/su<br />
chmod o-rwx /bin/su</p>
<p><img class="aligncenter size-full wp-image-1154" title="25" src="http://builddocs.com/wp-content/uploads/2009/10/25.jpg" alt="25" width="560" height="420" /></p>
<p>Finally, make sure to add existing system admins to the sysadmin group. For each account execute the following:</p>
<p><strong>/usr/sbin/usermod -g sysadmin <em>username</em></strong></p>
<p><strong><em><img class="aligncenter size-full wp-image-1155" title="26" src="http://builddocs.com/wp-content/uploads/2009/10/26.jpg" alt="26" width="560" height="420" /><br />
</em></strong></p>
<p><a name="ssh"></a></p>
<h2>Prevent root login through ssh</h2>
<p>There is one very well known account that you can&#8217;t really get rid of: root. However, one measure you can take to prevent people from trying to access this account is to disallow login as root through ssh.</p>
<p>This is another very easy one to implement. All you need to do is edit the /etc/ssh/sshd_config, uncomment the PermitRootLogin line and set it to no.</p>
<p><strong>su root</strong><br />
<em>Enter root password</em><br />
<strong>vi /etc/ssh/sshd_config</strong></p>
<p>Change the line:</p>
<p><em>#PermitRootLogin yes</em></p>
<p>To:</p>
<p><strong>PermitRootLogin no</strong></p>
<p><strong><img class="aligncenter size-full wp-image-1149" title="19" src="http://builddocs.com/wp-content/uploads/2009/10/191.jpg" alt="19" width="560" height="420" /></strong></p>
<p><a name="tcp_wrappers"></a></p>
<h2>Configure IP Access Controls with tcp_wrappers</h2>
<p>TCP_Wrappers is a security framework used to enforce ip address access controls on services such as ssh and ftp. It is installed by default in RedHat and most linux/unix distros. It can be used two ways: you can deny specified ip address or you can restrict access to only allowed ip addresses. In the following example we will do the later.</p>
<p>There are two configuration files that control the access: /etc/hosts.allow and /etc/hosts.deny. As the names imply, hosts.allow lists ip addresses that are allowed, and hosts.deny lists ip addressses that are not allowed.</p>
<p>In the following example we will first configure the hosts.deny file to deny ALL, and then configure the hosts.allow file to only permit ssh for users on the 192.168.1 subnet.</p>
<p><strong>su root</strong><br />
<em>Enter root password</em><br />
<strong>vi /etc/hosts.deny</strong></p>
<p>add the line:</p>
<p><strong>ALL: ALL</strong></p>
<p><strong>ESC:x!</strong> to save</p>
<p><img class="aligncenter size-full wp-image-1150" title="20" src="http://builddocs.com/wp-content/uploads/2009/10/20.jpg" alt="20" width="560" height="420" /></p>
<p><strong>vi /etc/hosts.allow</strong></p>
<p>add the line:</p>
<p><strong>sshd: 192.168.1</strong></p>
<p><strong>ESC:x!</strong> to save</p>
<p><img class="aligncenter size-full wp-image-1152" title="23" src="http://builddocs.com/wp-content/uploads/2009/10/231.jpg" alt="23" width="560" height="420" /></p>
<p><a name="limits"></a></p>
<h2>Resource Limits</h2>
<p>These settings will prevent users from consuming too many resources. These changes will have the following effects: file sized will be limited to 100 MB and users can have a maximum of 150 concurrent processes running.</p>
<p>su root<br />
Enter root password<br />
vi /etc/security/limits</p>
<p>Insert the following lines at the bottom of the file:<br />
hard fsize 102400<br />
hard nproc 150</p>
<p><img class="aligncenter size-full wp-image-1156" title="27" src="http://builddocs.com/wp-content/uploads/2009/10/27.jpg" alt="27" width="560" height="420" /></p>
]]></content:encoded>
			<wfw:commentRss>http://builddocs.com/security_applications/10-simple-steps-to-redhat-linux-security/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing VMware Tools on RedHat 5.4</title>
		<link>http://builddocs.com/server_os_builds/installing-vmware-tools-on-redhat-5-4/</link>
		<comments>http://builddocs.com/server_os_builds/installing-vmware-tools-on-redhat-5-4/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 21:50:26 +0000</pubDate>
		<dc:creator>joshhrob</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[vmware tools]]></category>

		<guid isPermaLink="false">http://builddocs.com/?p=1055</guid>
		<description><![CDATA[Interested in getting VMware Certified? Check out this VCP 410 Exam Prep

This document outlines the steps to install VMware tools on Redhat 5.4. This document assumes a fresh vanilla install as described in the post
Installing RedHat 5.4 64 bit.
To begin log into your RedHat server as a user and right click on the desktop to [...]]]></description>
			<content:encoded><![CDATA[<p>Interested in getting <A HREF="http://exameducation.com">VMware Certified</A>? Check out this <A HREF="http://exameducation.com">VCP 410 Exam Prep</A></p>
<p><HR></p>
<p>This document outlines the steps to install VMware tools on Redhat 5.4. This document assumes a fresh vanilla install as described in the post<br />
<A HREF="http://builddocs.com/server_os_builds/installing-redhat-5-4-64-bit/">Installing RedHat 5.4 64 bit</A>.</p>
<p>To begin log into your RedHat server as a user and right click on the desktop to open a terminal window.</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/10/110.jpg" alt="1" width="560" height="420" class="aligncenter size-full wp-image-1056" /></p>
<p>Enter the command <strong>su</strong> and enter your root password to become root.</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/10/22.jpg" alt="2" width="560" height="420" class="aligncenter size-full wp-image-1059" /></p>
<p>Change directories to the temp directory:</p>
<p><strong>cd /tmp</strong></p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/10/32.jpg" alt="3" width="560" height="420" class="aligncenter size-full wp-image-1060" /></p>
<p>From the VMWare file menu click on VM and click on &#8220;Install VMware Tools&#8221;</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/10/4.JPG" alt="4" width="567" height="468" class="aligncenter size-full wp-image-1062" /></p>
<p>Enter the following command to mount the cdrom:</p>
<p><strong>mount -o ro /dev/cdrom /mnt</strong></p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/10/52.jpg" alt="5" width="560" height="420" class="aligncenter size-full wp-image-1063" /></p>
<p>Enter the following command to copy files from the /mnt mointpoint to the current directory (/tmp):</p>
<p><strong>cp /mnt/* .</strong></p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/10/132.jpg" alt="13" width="560" height="420" class="aligncenter size-full wp-image-1065" /></p>
<p>There are two files: an rpm and a tar.gz archive. I have not had the best of luck with the rpm, so instead we will install the generic way using the perl script contained within the archive.</p>
<p>Enter the following to unzip the archive:</p>
<p><strong>gunzip VM*.gz<br />
tar -xvf VM*.tar</strong></p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/10/141.jpg" alt="14" width="560" height="420" class="aligncenter size-full wp-image-1067" /></p>
<p>Change directories to the newly created vmware-tools-distrib directory:</p>
<p><strong>cd vmware-tools-distrib<br />
</strong><br />
<img src="http://builddocs.com/wp-content/uploads/2009/10/151.jpg" alt="15" width="560" height="420" class="aligncenter size-full wp-image-1068" /></p>
<p>Enter the following to execute the vmware-install perl script:</p>
<p><strong>perl vmware-install.pl<br />
</strong><br />
<img src="http://builddocs.com/wp-content/uploads/2009/10/162.jpg" alt="16" width="560" height="420" class="aligncenter size-full wp-image-1069" /></p>
<p>Continue to press Enter at prompts to accept defaults until script completes</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/10/171.jpg" alt="17" width="560" height="420" class="aligncenter size-full wp-image-1070" /></p>
<p>Script completes in about a minute and you&#8217;re all done</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/10/181.jpg" alt="18" width="560" height="420" class="aligncenter size-full wp-image-1071" /></p>
<p>Please post questions or comments below</p>
]]></content:encoded>
			<wfw:commentRss>http://builddocs.com/server_os_builds/installing-vmware-tools-on-redhat-5-4/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing RedHat 5.4 64 bit</title>
		<link>http://builddocs.com/server_os_builds/installing-redhat-5-4-64-bit/</link>
		<comments>http://builddocs.com/server_os_builds/installing-redhat-5-4-64-bit/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 12:29:09 +0000</pubDate>
		<dc:creator>joshhrob</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[redhat]]></category>

		<guid isPermaLink="false">http://builddocs.com/?p=1011</guid>
		<description><![CDATA[This document demonstrates a general purpose RedHat 5.4 64-bit linux server build. In this build we will be using the rhel-server-5.4-x86_64-dvd.iso image downloaded from redhat.com.
Insert CD/DVD and power on system. At the splash screen press Enter key to begin install.

Select OK and press Enter to run a media test (optional).

Review License Agreement and press Close [...]]]></description>
			<content:encoded><![CDATA[<p>This document demonstrates a general purpose RedHat 5.4 64-bit linux server build. In this build we will be using the rhel-server-5.4-x86_64-dvd.iso image downloaded from redhat.com.</p>
<p>Insert CD/DVD and power on system. At the splash screen press Enter key to begin install.</p>
<p><img class="aligncenter size-full wp-image-1013" src="http://builddocs.com/wp-content/uploads/2009/10/1.jpg" alt="1" width="448" height="336" /></p>
<p>Select OK and press Enter to run a media test (optional).</p>
<p><img class="aligncenter size-full wp-image-1015" src="http://builddocs.com/wp-content/uploads/2009/10/2.jpg" alt="2" width="504" height="280" /></p>
<p>Review License Agreement and press Close to continue</p>
<p><img class="aligncenter size-full wp-image-1016" src="http://builddocs.com/wp-content/uploads/2009/10/4.jpg" alt="4" width="560" height="420" /></p>
<p>Press Next</p>
<p><img class="aligncenter size-full wp-image-1017" src="http://builddocs.com/wp-content/uploads/2009/10/3.jpg" alt="3" width="560" height="420" /></p>
<p>Select Language</p>
<p><img class="aligncenter size-full wp-image-1018" src="http://builddocs.com/wp-content/uploads/2009/10/3.5.jpg" alt="3.5" width="560" height="420" /></p>
<p>If you have an Installation Number enter it here. Otherwise select Skip.</p>
<p><img class="aligncenter size-full wp-image-1019" src="http://builddocs.com/wp-content/uploads/2009/10/3.7.jpg" alt="3.7" width="560" height="420" /></p>
<p>If you are installing on a fresh disk you will receive a message indicating that no partition table was found. Press Yes to initialize disk.</p>
<p><img class="aligncenter size-full wp-image-1020" src="http://builddocs.com/wp-content/uploads/2009/10/3.8.jpg" alt="3.8" width="560" height="420" /></p>
<p>Leave default selected (&#8221;Remove linux partitions on selected drives and create default layout&#8221;) but check the box &#8220;Review and Modify Partition Layout&#8221;</p>
<p><img class="aligncenter size-full wp-image-1022" src="http://builddocs.com/wp-content/uploads/2009/10/5.jpg" alt="5" width="560" height="420" /></p>
<p>At warning Press Yes to continue creating new partitions (existing data will be deleted)</p>
<p><img class="aligncenter size-full wp-image-1024" src="http://builddocs.com/wp-content/uploads/2009/10/6.jpg" alt="6" width="560" height="420" /></p>
<p>On the following screen you may review default partitions. By default there are only two partitions: swap and / (root). 1 GB of swap should be good for most systems. Some people use the rule of thumb: swap equals twice physical memory; however, nowadays systems typically have multiple gigs of memory in which case this much swap is overkill.</p>
<p>In this build we will modify the / partition and reallocate space to create additional partitions for /var and /opt. This step is optional, but it separates logs (mostly on /var) and applications (often in /opt) into their own partitions, providing some insurance to prevent them from filling up disk space on the root partition.</p>
<p>Click on the / partition and press the edit button.</p>
<p><img class="aligncenter size-full wp-image-1025" src="http://builddocs.com/wp-content/uploads/2009/10/7.jpg" alt="7" width="560" height="420" /></p>
<p>On the popup screen, select / and press Edit. Reduce the size to allow for the creation of the /var and /opt partitions. In this case we will make the / partition 8992 MB (Use your judgment to decide how much to assign depending on how much space is available and what types of applications will be running).</p>
<p><img class="aligncenter size-full wp-image-1027" src="http://builddocs.com/wp-content/uploads/2009/10/81.jpg" alt="8" width="560" height="420" /></p>
<p>Press the Add button to create new partitions for /var and /opt. In this case we will make /var 4000 MB and /opt 4288 MB.</p>
<p><img class="aligncenter size-full wp-image-1028" src="http://builddocs.com/wp-content/uploads/2009/10/9.jpg" alt="9" width="560" height="420" /></p>
<p>Review partitions one more time and press Next</p>
<p><img class="aligncenter size-full wp-image-1029" src="http://builddocs.com/wp-content/uploads/2009/10/10.jpg" alt="10" width="560" height="420" /></p>
<p>Leave defaults and press next (if you want to be super secure, you may configure a password for the grub loader, which requires a password to boot the system. This can be very annoying if you are doing remote administration).</p>
<p><img class="aligncenter size-full wp-image-1031" src="http://builddocs.com/wp-content/uploads/2009/10/11.jpg" alt="11" width="560" height="420" /></p>
<p>Enter static IP address and network configuration</p>
<p><img class="aligncenter size-full wp-image-1032" src="http://builddocs.com/wp-content/uploads/2009/10/12.jpg" alt="12" width="560" height="420" /></p>
<p>Select time zone</p>
<p><img class="aligncenter size-full wp-image-1033" src="http://builddocs.com/wp-content/uploads/2009/10/13.jpg" alt="13" width="560" height="420" /></p>
<p>Enter root password</p>
<p><img class="aligncenter size-full wp-image-1034" src="http://builddocs.com/wp-content/uploads/2009/10/14.jpg" alt="14" width="560" height="420" /></p>
<p>The software development option gives you all kinds of useful stuff like perl and java. These are a pain to install manually so it&#8217;s nice to let the installer do it for you here.</p>
<p>If this is going to be a web server you may choose to check the web server box, but I am not a fan of the default apache package so I prefer to build it manually post-install.</p>
<p>Select Software Development and press next</p>
<p><img class="aligncenter size-full wp-image-1035" src="http://builddocs.com/wp-content/uploads/2009/10/15.jpg" alt="15" width="560" height="420" /></p>
<p>Press Next</p>
<p><img class="aligncenter size-full wp-image-1036" src="http://builddocs.com/wp-content/uploads/2009/10/16.jpg" alt="16" width="560" height="420" /></p>
<p>OS will be installed. May take about 10-15 minutes</p>
<p><img class="aligncenter size-full wp-image-1038" src="http://builddocs.com/wp-content/uploads/2009/10/17.jpg" alt="17" width="560" height="420" /></p>
<p>When installation is complete press Reboot</p>
<p><img class="aligncenter size-full wp-image-1040" src="http://builddocs.com/wp-content/uploads/2009/10/18.jpg" alt="18" width="560" height="420" /></p>
<p>After reboot there will be a few more configuration items. Press Forward to continue</p>
<p><img class="aligncenter size-full wp-image-1041" src="http://builddocs.com/wp-content/uploads/2009/10/19.jpg" alt="1" width="560" height="420" /></p>
<p>Read License Agreement and press Forward</p>
<p><img class="aligncenter size-full wp-image-1042" src="http://builddocs.com/wp-content/uploads/2009/10/21.jpg" alt="2" width="560" height="420" /></p>
<p>RedHat comes with a server-based firewall. Select services to be enabled and/or add any port exceptions. Since we don&#8217;t really know what this server will be used for at this point the only one we will worry about is ssh.</p>
<p><img class="aligncenter size-full wp-image-1043" src="http://builddocs.com/wp-content/uploads/2009/10/31.jpg" alt="3" width="560" height="420" /></p>
<p>We will leave default setting for SELinux security settings.</p>
<p><img class="aligncenter size-full wp-image-1044" src="http://builddocs.com/wp-content/uploads/2009/10/41.jpg" alt="4" width="560" height="420" /></p>
<p>We will enable kdump to capture information in the event of a crash and leave the default 128 memory allocation.</p>
<p><img class="aligncenter size-full wp-image-1045" src="http://builddocs.com/wp-content/uploads/2009/10/51.jpg" alt="5" width="560" height="420" /></p>
<p>We will use NTP to keep the system clock in-sync. Click on the Network Time Protocol tab and enter NTP servers (if unsure skip and just leave default).</p>
<p><img class="aligncenter size-full wp-image-1046" src="http://builddocs.com/wp-content/uploads/2009/10/71.jpg" alt="7" width="560" height="420" /></p>
<p>Setup software updates. If you have a subscription to red hat you may setup software updates here.</p>
<p><img class="aligncenter size-full wp-image-1047" src="http://builddocs.com/wp-content/uploads/2009/10/91.jpg" alt="9" width="560" height="420" /></p>
<p>It&#8217;s a bad idea to log in as root all the time so you should create a user account. Enter your username and password.</p>
<p><img class="aligncenter size-full wp-image-1048" src="http://builddocs.com/wp-content/uploads/2009/10/101.jpg" alt="10" width="560" height="420" /></p>
<p>We don&#8217;t have a sound card so we skip this.</p>
<p><img class="aligncenter size-full wp-image-1049" src="http://builddocs.com/wp-content/uploads/2009/10/111.jpg" alt="11" width="560" height="420" /></p>
<p>At this point we are done the OS install. Press Finish.</p>
<p><img class="aligncenter size-full wp-image-1051" src="http://builddocs.com/wp-content/uploads/2009/10/121.jpg" alt="12" width="560" height="420" /></p>
<p>Press OK to Reboot.</p>
<p><img class="aligncenter size-full wp-image-1052" src="http://builddocs.com/wp-content/uploads/2009/10/131.jpg" alt="13" width="560" height="420" /></p>
<p>Please leave comments below if you have any questions or would like to add anything to this build.</p>
<p>I recommend you also review this article on <A HREF="http://builddocs.com/security_applications/10-simple-steps-to-redhat-linux-security/">Redhat 5.4 Security</A></p>
]]></content:encoded>
			<wfw:commentRss>http://builddocs.com/server_os_builds/installing-redhat-5-4-64-bit/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Building a SQL 2005 Database on Windows 2003</title>
		<link>http://builddocs.com/database_servers/building-a-sql-2005-database-on-windows-2003/</link>
		<comments>http://builddocs.com/database_servers/building-a-sql-2005-database-on-windows-2003/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 16:30:23 +0000</pubDate>
		<dc:creator>joshhrob</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sql 2005]]></category>
		<category><![CDATA[sql server]]></category>

		<guid isPermaLink="false">http://builddocs.com/?p=906</guid>
		<description><![CDATA[This document outlines the steps to building a general purpose Microsoft SQL Server 2005 database on Windows Server 2003 Enterprise.
Formatting Disks
In this example we will be working with a single 80 GB volume. Most likely in a production environment you will be storing your database on mirrored storage and/or a SAN. Ideally, it is best [...]]]></description>
			<content:encoded><![CDATA[<p>This document outlines the steps to building a general purpose Microsoft SQL Server 2005 database on Windows Server 2003 Enterprise.</p>
<h2>Formatting Disks</h2>
<p>In this example we will be working with a single 80 GB volume. Most likely in a production environment you will be storing your database on mirrored storage and/or a SAN. Ideally, it is best to store the OS and the data files on separate physical disks. However, in this example we will simply separate them by creating partitions.</p>
<p>Below are the partitions that will be used in this build. These sizes are for illustration purposes. The actual sizes will vary depending on the intended use of the database.<br />
<UL><br />
<LI>C &#8211; Windows &#8211; 14 GB<br />
<LI>G &#8211; Data &#8211; 16 GB<br />
<LI>H &#8211; Backups &#8211; 32 GB<br />
<LI>L &#8211; Logs &#8211; 12 GB<br />
<LI>Z &#8211; Apps &#8211; 6 GB<br />
</UL><br />
During the Windows installation we will create a 14 GB partition for the windows C drive. Press C to create a new partition.</p>
<p><img class="aligncenter size-full wp-image-909" src="http://builddocs.com/wp-content/uploads/2009/08/SQL-2009-08-28-10-36-47.jpg" alt="SQL-2009-08-28-10-36-47" width="504" height="277" /></p>
<p>Enter 14000 and press Enter</p>
<p><img class="aligncenter size-full wp-image-912" src="http://builddocs.com/wp-content/uploads/2009/08/SQL-2009-08-28-10-36-59.jpg" alt="SQL-2009-08-28-10-36-59" width="504" height="277" /></p>
<p>We will leave the rest of the disk unformatted for now, and use disk manager to create the rest of the partitions after the OS is installed. Press Enter to instal Windows on this partition.</p>
<p><img class="aligncenter size-full wp-image-910" src="http://builddocs.com/wp-content/uploads/2009/08/SQL-2009-08-28-10-37-12.jpg" alt="SQL-2009-08-28-10-37-12" width="504" height="277" /></p>
<p>After Windows is installed Right Click on My Computer and select Manage. Then click on Disk Management.</p>
<p>Right click on the available part of the disk to create the first partition.</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/SQL-2009-08-28-11-21-36.jpg" alt="SQL-2009-08-28-11-21-36" width="448" height="336" class="aligncenter size-full wp-image-917" /></p>
<p>For the first drive (G drive) we will create a primary partition</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/SQL-2009-08-28-11-28-06.jpg" alt="SQL-2009-08-28-11-28-06" width="448" height="336" class="aligncenter size-full wp-image-918" /></p>
<p>Enter the size for the g drive</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/SQL-2009-08-28-11-28-15.jpg" alt="SQL-2009-08-28-11-28-15" width="448" height="336" class="aligncenter size-full wp-image-919" /></p>
<p>Select drive letter</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/SQL-2009-08-28-11-28-27.jpg" alt="SQL-2009-08-28-11-28-27" width="448" height="336" class="aligncenter size-full wp-image-921" /></p>
<p>Leave defaults, enter drive label</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/SQL-2009-08-28-11-28-40.jpg" alt="SQL-2009-08-28-11-28-40" width="448" height="336" class="aligncenter size-full wp-image-923" /></p>
<p>Since we only have one disk in this example, and Windows only allows up to 4 primary partitions per disk, we will need to use an extended partition and create logical drives for the H and the L.</p>
<p>Right click on the available disk space and select New partition. This time choose extended partition</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/SQL-2009-08-28-11-30-48.jpg" alt="SQL-2009-08-28-11-30-48" width="448" height="336" class="aligncenter size-full wp-image-925" /></p>
<p>Assign enough space to cover the H (backups) and the L (logs) drives. In this case 44 GB.</p>
<p>After the extended partition is created, right click on it and create the two logical partitions on top of it.</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/09/SQL-2009-08-28-11-32-38.jpg" alt="SQL-2009-08-28-11-32-38" width="448" height="336" class="aligncenter size-full wp-image-962" /></p>
<p>Use the remaining space for the Z (apps) drive.</p>
<p>When finished you should have the following drives in My Computer</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/09/SQL-2009-08-28-11-36-32.jpg" alt="SQL-2009-08-28-11-36-32" width="448" height="336" class="aligncenter size-full wp-image-963" /></p>
<p>After formatting the drives, we will run windows update to make sure we have all the latest patches. Open the browser and goto windowsupdate.microsoft.com and follow prompts to update system.</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/09/SQL-2009-08-28-11-37-36.jpg" alt="SQL-2009-08-28-11-37-36" width="448" height="336" class="aligncenter size-full wp-image-965" /></p>
]]></content:encoded>
			<wfw:commentRss>http://builddocs.com/database_servers/building-a-sql-2005-database-on-windows-2003/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Streaming Video with Red5 oflaDemo App</title>
		<link>http://builddocs.com/server_os_builds/streaming-video-with-red5-oflademo-app/</link>
		<comments>http://builddocs.com/server_os_builds/streaming-video-with-red5-oflademo-app/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 22:01:42 +0000</pubDate>
		<dc:creator>joshhrob</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Streaming]]></category>
		<category><![CDATA[oflaDemo]]></category>
		<category><![CDATA[red5]]></category>
		<category><![CDATA[streaming video]]></category>

		<guid isPermaLink="false">http://builddocs.com/?p=836</guid>
		<description><![CDATA[This is a quick and dirty demo to get started with the Red5 server.
In this demo, we will show how to stream video using the oflaDemo app that ships with the Red5 server.
The first step is to install/activate the app via the Red5 web GUI.
Open a browser and navigate to http://IPADDRESS:5080 and click on the [...]]]></description>
			<content:encoded><![CDATA[<p>This is a quick and dirty demo to get started with the Red5 server.</p>
<p>In this demo, we will show how to stream video using the oflaDemo app that ships with the Red5 server.</p>
<p>The first step is to install/activate the app via the Red5 web GUI.</p>
<p>Open a browser and navigate to http://IPADDRESS:5080 and click on the link: <span style="color: #ff0000;">Click here to install demos</span></p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-25-22-17-12.jpg" alt="TVERSITY-2009-08-25-22-17-12" title="TVERSITY-2009-08-25-22-17-12" width="448" height="336" class="aligncenter size-full wp-image-851" /></p>
<p>On the installation screen, select oflaDemo and press the Install button</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-25-22-17-39.jpg" alt="TVERSITY-2009-08-25-22-17-39" title="TVERSITY-2009-08-25-22-17-39" width="448" height="336" class="aligncenter size-full wp-image-852" /></p>
<p>The streaming files go in the directory <strong>/usr/share/red5/webapps/oflaDemo/streams/</strong></p>
<p>To make sure this directory is writable, log in via the console and execute the following command:</p>
<p><strong>sudo chmod 777 /usr/share/red5/webapps/oflaDemo/streams/</strong></p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/MyRed5Server-2009-08-25-22-15-49.jpg" alt="MyRed5Server-2009-08-25-22-15-49" title="MyRed5Server-2009-08-25-22-15-49" width="504" height="280" class="aligncenter size-full wp-image-854" /></p>
<p>Copy the flv file to be streamed to the red5 server. In this example we use WinSCP (Any SCP/SFTP will do ie filezilla, etc).</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-25-22-20-37.jpg" alt="TVERSITY-2009-08-25-22-20-37" title="TVERSITY-2009-08-25-22-20-37" width="448" height="336" class="aligncenter size-full wp-image-856" /></p>
<p>Now configure a flash video player to point to the red5 server. In this example we will use the <A HREF=http://www.longtailvideo.com/players/jw-flv-player/>Longtail JW Player</A>, which can be configured automatically using the wizard on their website.</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-25-22-23-23.jpg" alt="TVERSITY-2009-08-25-22-23-23" title="TVERSITY-2009-08-25-22-23-23" width="448" height="336" class="aligncenter size-full wp-image-858" /></p>
<p>There are 2 flash variables that are required. file is the flv file, and streamer is the url to the red5 server and the application path. In this example we will use ESXi.flv and rtmp://builddocs.com/oflaDemo</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/TVERSITY-2009-08-25-22-23-10.jpg" alt="TVERSITY-2009-08-25-22-23-10" title="TVERSITY-2009-08-25-22-23-10" width="448" height="336" class="aligncenter size-full wp-image-859" /></p>
<p>Here is the working demo:</p>
<p><embed src='/mediaplayer/player.swf' width='470' height='290' bgcolor='undefined' allowscriptaccess='always' allowfullscreen='true' flashvars='file=ESXi.flv&#038;streamer=rtmp://builddocs.com/oflaDemo'/></p>
<p>Please leave questions or comments below.</p>
]]></content:encoded>
			<wfw:commentRss>http://builddocs.com/server_os_builds/streaming-video-with-red5-oflademo-app/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Installing Red5 Virtual Appliance</title>
		<link>http://builddocs.com/server_os_builds/installing-red5-virtual-appliance/</link>
		<comments>http://builddocs.com/server_os_builds/installing-red5-virtual-appliance/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 20:40:28 +0000</pubDate>
		<dc:creator>joshhrob</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Streaming]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[red5]]></category>
		<category><![CDATA[virtual appliance]]></category>
		<category><![CDATA[vmware workstation]]></category>

		<guid isPermaLink="false">http://builddocs.com/?p=806</guid>
		<description><![CDATA[Interested in getting your VCP 410 Certification? Check out this free VCP 410 Practice Test

This document outlines installation of the Red5 Virtual Appliance referenced in the previous post:
Building a Red5 Virtual Appliance on Jeos
In this document we will be using VMWare Workstation 6.5. The process should be simalar for VMWare Server or ESX.
In Workstation, click [...]]]></description>
			<content:encoded><![CDATA[<p>Interested in getting your <A HREF="http://exameducation.com">VCP 410 Certification</A>? Check out this free <A HREF="http://exameducation.com">VCP 410 Practice Test</A></p>
<p><HR></p>
<p>This document outlines installation of the Red5 Virtual Appliance referenced in the previous post:</p>
<p><A HREF="http://builddocs.com/streaming_media/building-a-red5-virtual-appliance-on-jeos/">Building a Red5 Virtual Appliance on Jeos</A></p>
<p>In this document we will be using VMWare Workstation 6.5. The process should be simalar for VMWare Server or ESX.</p>
<p>In Workstation, click on File and Import</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/Clipboard012.jpg" alt="Clipboard01" width="455" height="417" class="aligncenter size-full wp-image-807" /></p>
<p>Press Next</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/Clipboard022.jpg" alt="Clipboard02" width="455" height="426" class="aligncenter size-full wp-image-809" /></p>
<p>And Next again</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/Clipboard032.jpg" alt="Clipboard03" width="455" height="430" class="aligncenter size-full wp-image-810" /></p>
<p>For type of source, select Virtual Appliance</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/Clipboard042.jpg" alt="Clipboard04" width="455" height="427" class="aligncenter size-full wp-image-811" /></p>
<p>Press Browse and navigate to the red4server.ovf file</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/Clipboard052.jpg" alt="Clipboard05" width="456" height="426" class="aligncenter size-full wp-image-812" /></p>
<p>Click Next on the Virtual Appliance details page</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/Clipboard062.jpg" alt="Clipboard06" width="455" height="425" class="aligncenter size-full wp-image-813" /></p>
<p>Accept license agreement</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/Clipboard072.jpg" alt="Clipboard07" width="455" height="425" class="aligncenter size-full wp-image-815" /></p>
<p>For destination select the type of platform you are running. In this case we will select Other Virtual Machine.</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/Clipboard081.jpg" alt="Clipboard08" width="454" height="428" class="aligncenter size-full wp-image-817" /></p>
<p>Enter a name for your inventory and a directory where you want the vm files to be stored</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/Clipboard091.jpg" alt="Clipboard09" width="456" height="424" class="aligncenter size-full wp-image-818" /></p>
<p>Leave defaults: &#8220;Import and Convert (full-clone)&#8221; and &#8220;Allow virtual disk to expand&#8221;</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/Clipboard101.jpg" alt="Clipboard10" width="456" height="426" class="aligncenter size-full wp-image-819" /></p>
<p>Leave defaults: &#8220;Bridged Networking&#8221;</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/Clipboard111.jpg" alt="Clipboard11" width="456" height="426" class="aligncenter size-full wp-image-821" /></p>
<p>Press Next</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/Clipboard12.jpg" alt="Clipboard12" width="457" height="427" class="aligncenter size-full wp-image-822" /></p>
<p>Press Finish</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/Clipboard13.jpg" alt="Clipboard13" width="456" height="427" class="aligncenter size-full wp-image-823" /></p>
<p>The Virtual Appliance will be imported. This will take a few minutes. When finished press close</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/Clipboard14.jpg" alt="Clipboard14" width="455" height="426" class="aligncenter size-full wp-image-824" /></p>
<p>Press the green start button to power on the virtual appliance</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/Clipboard15.jpg" alt="Clipboard15" width="454" height="426" class="aligncenter size-full wp-image-825" /></p>
<p>The server should boot up in less than a minute. When prompted login in with username: red5 password: password. </p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/Clipboard16.jpg" alt="Clipboard16" width="512" height="371" class="aligncenter size-full wp-image-826" /></p>
<p>Carefully follow instructions to change password. Note: you must first enter the default password and then enter a new password twice to change it.</p>
<p>To change password at a later time enter the command <strong>passwd</strong> at the command prompt.</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/Clipboard18.jpg" alt="Clipboard18" width="512" height="372" class="aligncenter size-full wp-image-828" /></p>
<p>Carefully follow instructions to set static ip address. Note: you will need to enter your password again for network changes to take effect.</p>
<p>To change your ip address in the future, you will need to edit the <strong>/etc/network/interfaces</strong> files and to change DNS <strong>/etc/resolv</strong><strong>. In order for changes to take effect enter the command <strong>/etc/init.d/networking restart</strong> (or just reboot)</p>
<p><img src="http://builddocs.com/wp-content/uploads/2009/08/Clipboard23.jpg" alt="Clipboard23" width="512" height="371" class="aligncenter size-full wp-image-829" /></p>
<p>The server is now ready to go.</p>
<p>If you have questions or issues please leave a comment below.</p>
]]></content:encoded>
			<wfw:commentRss>http://builddocs.com/server_os_builds/installing-red5-virtual-appliance/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Building a Red5 Virtual Appliance on Jeos</title>
		<link>http://builddocs.com/streaming_media/building-a-red5-virtual-appliance-on-jeos/</link>
		<comments>http://builddocs.com/streaming_media/building-a-red5-virtual-appliance-on-jeos/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 23:15:15 +0000</pubDate>
		<dc:creator>joshhrob</dc:creator>
				<category><![CDATA[Streaming]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[jeos]]></category>
		<category><![CDATA[red5]]></category>
		<category><![CDATA[virtual appliance]]></category>

		<guid isPermaLink="false">http://builddocs.com/?p=658</guid>
		<description><![CDATA[Interested in getting your VCP 410 Certification? Check out thisVCP 410 Test Prep

This document outlines the creation of a Red5 Virtual Appliance on Jeos using VMWare Workstation 6.5.
Please Refer to this article Building a Virtual Appliance with Jeos for details on Virtual Appliance Creation and Jeos installation, and deployment.
This virtual appliance can be downloaded here.
Enter [...]]]></description>
			<content:encoded><![CDATA[<p>Interested in getting your <A HREF="http://exameducation.com">VCP 410 Certification</A>? Check out this<A HREF="http://exameducation.com">VCP 410 Test Prep</A></p>
<p><HR></p>
<p>This document outlines the creation of a Red5 Virtual Appliance on Jeos using VMWare Workstation 6.5.</p>
<p>Please Refer to this article <a href="http://builddocs.com/server_os_builds/building-a-virtual-appliance-with-jeos/">Building a Virtual Appliance with Jeos</a> for details on Virtual Appliance Creation and Jeos installation, and deployment.</p>
<p>This virtual appliance can be downloaded <A HREF="http://builddocs.com/red5download/">here</A>.</p>
<p>Enter the following commands to install prerequisite packages:</p>
<p>sudo apt-get install subversion<br />
sudo apt-get install java-package<br />
sudo apt-get install sun-java6-jdk<br />
sudo apt-get install ant</p>
<p><img class="aligncenter size-full wp-image-763" src="http://builddocs.com/wp-content/uploads/2009/08/Jeos-2009-08-21-14-30-35.jpg" alt="Jeos-2009-08-21-14-30-35" width="504" height="280" /></p>
<p>Enter the following to install openssh</p>
<p>sudo apt-get install openssh-server</p>
<p><img class="aligncenter size-full wp-image-764" src="http://builddocs.com/wp-content/uploads/2009/08/red5server-2009-08-22-20-16-46.jpg" alt="red5server-2009-08-22-20-16-46" width="504" height="280" /></p>
<p>Enter the following to create a temporary red5 directory and navigate to it</p>
<p>mkdir red5<br />
cd red5</p>
<p><img class="aligncenter size-full wp-image-766" src="http://builddocs.com/wp-content/uploads/2009/08/Jeos-2009-08-21-14-36-01.jpg" alt="Jeos-2009-08-21-14-36-01" width="504" height="280" /></p>
<p>Enter the following command to download red5 source code from googlecode</p>
<p>svn checkout http://red5.googlecode.com/svn/java/server/trunk/ red5-read-only</p>
<p><img class="aligncenter size-full wp-image-768" src="http://builddocs.com/wp-content/uploads/2009/08/Jeos-2009-08-21-14-38-04.jpg" alt="Jeos-2009-08-21-14-38-04" width="504" height="280" /></p>
<p>Enter the following commands to set your environment variables</p>
<p>export JAVA_HOME=/usr/lib/jvm/java-6-sun<br />
export ANT_HOME=/usr/share/ant/</p>
<p><img class="aligncenter size-full wp-image-770" src="http://builddocs.com/wp-content/uploads/2009/08/Jeos-2009-08-21-14-42-00.jpg" alt="Jeos-2009-08-21-14-42-00" width="504" height="280" /></p>
<p>Change directories to the red5-read-only directory and enter the ant command to compile the code</p>
<p>cd red5-read-only<br />
/usr/share/ant/bin/ant</p>
<p><img class="aligncenter size-full wp-image-771" src="http://builddocs.com/wp-content/uploads/2009/08/Jeos-2009-08-21-14-42-52.jpg" alt="Jeos-2009-08-21-14-42-52" width="504" height="280" /></p>
<p>After the code is compiled create a permanent directory for the red5 installation</p>
<p>sudo mkdir /usr/share/red5</p>
<p><img class="aligncenter size-full wp-image-772" src="http://builddocs.com/wp-content/uploads/2009/08/Jeos-2009-08-21-14-45-24.jpg" alt="Jeos-2009-08-21-14-45-24" width="504" height="280" /></p>
<p>The code was compiled to the dist directory. Change directories to dist</p>
<p>cd dist</p>
<p><img class="aligncenter size-full wp-image-773" src="http://builddocs.com/wp-content/uploads/2009/08/Jeos-2009-08-21-14-46-07.jpg" alt="Jeos-2009-08-21-14-46-07" width="504" height="280" /></p>
<p>Enter the following to copy all of the compiled files to the permenant installation directory</p>
<p>sudo cp -R * /usr/share/red5</p>
<p><img class="aligncenter size-full wp-image-774" src="http://builddocs.com/wp-content/uploads/2009/08/Jeos-2009-08-21-14-47-10.jpg" alt="Jeos-2009-08-21-14-47-10" width="504" height="280" /></p>
<p>Make the red5.sh startup script executable</p>
<p>sudo chmod 777 /usr/share/red5/red5.sh</p>
<p><img class="aligncenter size-full wp-image-776" src="http://builddocs.com/wp-content/uploads/2009/08/Jeos-2009-08-21-14-47-49.jpg" alt="Jeos-2009-08-21-14-47-49" width="504" height="280" /></p>
<p>Test red5 installation by entering the following</p>
<p>/usr/share/red5/red5.sh &amp;</p>
<p><img class="aligncenter size-full wp-image-777" src="http://builddocs.com/wp-content/uploads/2009/08/Jeos-2009-08-21-14-48-07.jpg" alt="Jeos-2009-08-21-14-48-07" width="504" height="280" /></p>
<p>Open your browser and goto http://IPADDRESS:5080</p>
<p>Next we will install a startup script so that the red5 server will start automatically when the system boots. Create a file named red5 in the /etc/init.d directory</p>
<p>sudo vi /etc/init.d/red5</p>
<p><img class="aligncenter size-full wp-image-779" src="http://builddocs.com/wp-content/uploads/2009/08/Jeos-2009-08-21-16-47-15.jpg" alt="Jeos-2009-08-21-16-47-15" width="504" height="280" /></p>
<p>Enter the following code</p>
<p><span style="color: #ff00ff">#! /bin/sh<br />
#<br />
# red5 red5 initscript<br />
#<br />
# Author: Simon Eisenmann .<br />
#</span></p>
<p><span style="color: #ff00ff">set -e</span></p>
<p><span style="color: #ff00ff">PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin<br />
DESC=&#8221;Red5 flash streaming server&#8221;<br />
NAME=red5<br />
RED5_HOME=/usr/share/red5<br />
DAEMON=$RED5_HOME/$NAME.sh<br />
PIDFILE=/var/run/$NAME.pid<br />
SCRIPTNAME=/etc/init.d/$NAME</span></p>
<p><span style="color: #ff00ff"># Gracefully exit if the package has been removed.<br />
test -x $DAEMON || exit 0</span></p>
<p><span style="color: #ff00ff"># Read config file if it is present.<br />
if [ -r /etc/default/$NAME ]<br />
then<br />
. /etc/default/$NAME<br />
fi</span></p>
<p><span style="color: #ff00ff">#<br />
# Function that starts the daemon/service.<br />
#<br />
d_start() {<br />
start-stop-daemon &#8211;start &#8211;pidfile $PIDFILE \<br />
&#8211;chdir $RED5_HOME &#8211;background &#8211;make-pidfile \<br />
&#8211;exec $DAEMON<br />
}</span></p>
<p><span style="color: #ff00ff">#<br />
# Function that stops the daemon/service.<br />
#<br />
d_stop() {<br />
start-stop-daemon &#8211;stop &#8211;quiet &#8211;pidfile $PIDFILE \<br />
&#8211;name java<br />
rm -f $PIDFILE<br />
}</span></p>
<p><span style="color: #ff00ff">case &#8220;$1&#8243; in<br />
start)<br />
echo -n &#8220;Starting $DESC: $NAME&#8221;<br />
d_start<br />
echo &#8220;.&#8221;<br />
;;<br />
stop)<br />
echo -n &#8220;Stopping $DESC: $NAME&#8221;<br />
d_stop<br />
echo &#8220;.&#8221;<br />
;;<br />
restart|force-reload)<br />
echo -n &#8220;Restarting $DESC: $NAME&#8221;<br />
d_stop<br />
sleep 1<br />
d_start<br />
echo &#8220;.&#8221;<br />
;;<br />
*)<br />
echo &#8220;Usage: $SCRIPTNAME {start|stop|restart|force-reload}&#8221; &gt;&amp;2<br />
exit 1<br />
;;<br />
esac</span></p>
<p><span style="color: #ff00ff">exit 0</span></p>
<p>Enter the following to make file executable</p>
<p>sudo chmod 777 /etc/init.d/red5</p>
<p><img class="aligncenter size-full wp-image-780" src="http://builddocs.com/wp-content/uploads/2009/08/Jeos-2009-08-21-16-48-03.jpg" alt="Jeos-2009-08-21-16-48-03" width="504" height="280" /></p>
<p>Enter the following to activate startup script</p>
<p>sudo update-rc.d red5 defaults</p>
<p><img class="aligncenter size-full wp-image-783" src="http://builddocs.com/wp-content/uploads/2009/08/Jeos-2009-08-21-16-49-26.jpg" alt="Jeos-2009-08-21-16-49-26" width="504" height="280" /></p>
<p>At this point all that is left is cleanup and packaging. Please refer to:<br />
Please Refer to this article <a href="http://builddocs.com/server_os_builds/building-a-virtual-appliance-with-jeos/">Building a Virtual Appliance with Jeos</a> for details.</p>
<p>For installation see of this virtual appliance see <A HREF="http://builddocs.com/server_os_builds/installing-red5-virtual-appliance/">Installing Red5 Virtual Appliance</A></p>
<p>If you have questions or problems with this build please leave a comment below.</p>
]]></content:encoded>
			<wfw:commentRss>http://builddocs.com/streaming_media/building-a-red5-virtual-appliance-on-jeos/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Building a Virtual Appliance with Jeos</title>
		<link>http://builddocs.com/server_os_builds/building-a-virtual-appliance-with-jeos/</link>
		<comments>http://builddocs.com/server_os_builds/building-a-virtual-appliance-with-jeos/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 23:11:52 +0000</pubDate>
		<dc:creator>joshhrob</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[jeos]]></category>
		<category><![CDATA[virtual appliance]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[vmware workstation]]></category>

		<guid isPermaLink="false">http://builddocs.com/?p=672</guid>
		<description><![CDATA[Interested in getting VCP 410 Certification? Check out this VCP 410 Exam Prep

This build document outlines creating a Virtual Appliance using VMWare Workstation 6.5 and Ubuntu Jeos (Just Enough Operating System) 8.04.3 operating system .
This document is organized into four sections:
Creating A Virtual Machine in Workstation
Installing Jeos inside VMWare Workstation
Installing VMWare Tools in Jeos
Converting VM [...]]]></description>
			<content:encoded><![CDATA[<p>Interested in getting <A HREF="http://exameducation.com">VCP 410 Certification</A>? Check out this <A HREF="http://exameducation.com">VCP 410 Exam Prep</A></p>
<p><HR></p>
<p>This build document outlines creating a Virtual Appliance using VMWare Workstation 6.5 and Ubuntu Jeos (Just Enough Operating System) 8.04.3 operating system .</p>
<p>This document is organized into four sections:</p>
<p><a href="http://builddocs.com/server_os_builds/building-a-virtual-appliance-with-jeos/">Creating A Virtual Machine in Workstation</a><br />
<a href="http://builddocs.com/server_os_builds/building-a-virtual-appliance-with-jeos/2/">Installing Jeos inside VMWare Workstation</a><br />
<a href="http://builddocs.com/server_os_builds/building-a-virtual-appliance-with-jeos/3/">Installing VMWare Tools in Jeos</a><br />
<a href="http://builddocs.com/server_os_builds/building-a-virtual-appliance-with-jeos/4/">Converting VM to OVF template</a></p>
<h2>Creating Virtual Machine</h2>
<p>The first step is to open Workstation and create a new virtual machine.</p>
<p><img class="aligncenter size-full wp-image-661" src="http://builddocs.com/wp-content/uploads/2009/08/Clipboard01.jpg" alt="Clipboard01" width="511" height="370" /></p>
<p>Select Linux and Ubuntu</p>
<p><img class="aligncenter size-full wp-image-662" src="http://builddocs.com/wp-content/uploads/2009/08/Clipboard02.jpg" alt="Clipboard02" width="511" height="370" /></p>
<p>For disk size, select 4 GB (since this is an appliance we will make everything small)</p>
<p><img class="aligncenter size-full wp-image-663" src="http://builddocs.com/wp-content/uploads/2009/08/Clipboard03.jpg" alt="Clipboard03" width="510" height="370" /></p>
<p>Continue through the wizard. At the end click Customize Hardware</p>
<p><img class="aligncenter size-full wp-image-664" src="http://builddocs.com/wp-content/uploads/2009/08/Clipboard04.jpg" alt="Clipboard04" width="511" height="371" /></p>
<p>Set memory to 256 MB</p>
<p><img class="aligncenter size-full wp-image-665" src="http://builddocs.com/wp-content/uploads/2009/08/Clipboard05.jpg" alt="Clipboard05" width="510" height="370" /></p>
<p>Click on CD/DVD and mount the jeos-8.04.3-jeos-i386.iso file</p>
<p><img class="aligncenter size-full wp-image-667" src="http://builddocs.com/wp-content/uploads/2009/08/Clipboard06.jpg" alt="Clipboard06" width="511" height="371" /></p>
<p>Click on Network Adapter and set it to Bridged</p>
<p><img class="aligncenter size-full wp-image-668" src="http://builddocs.com/wp-content/uploads/2009/08/Clipboard07.jpg" alt="Clipboard07" width="512" height="372" /></p>
<p>Press OK and a new empty virtual machine will be created. As soon as VMWare is ready press the green play button to power on the virtual machine.</p>
]]></content:encoded>
			<wfw:commentRss>http://builddocs.com/server_os_builds/building-a-virtual-appliance-with-jeos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
