<?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>Computer Support &#187; install</title>
	<atom:link href="http://www.xiitec.com/blog/tag/install/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xiitec.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 30 Dec 2009 08:40:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Install sendmail (Part 2/2)</title>
		<link>http://www.xiitec.com/blog/2009/01/19/install-sendmail-part-22/</link>
		<comments>http://www.xiitec.com/blog/2009/01/19/install-sendmail-part-22/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 20:01:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sendmail]]></category>
		<category><![CDATA[install]]></category>

		<guid isPermaLink="false">http://www.xiitec.com/blog/?p=237</guid>
		<description><![CDATA[Add smmsp to /etc/passwd
When sendmail is run as non-set-user-id root, it is run either as root when it is invoked by the root user, or as another user when it should not run as root. The sendmail distribution clearly cannot divine ahead of time what user you wish to use when not running sendmail as [...]]]></description>
			<content:encoded><![CDATA[<h3>Add smmsp to /etc/passwd</h3>
<p>When sendmail is run as non-set-user-id root, it is run either as root when it is invoked by the root user, or as another user when it should not run as root. The sendmail distribution clearly cannot divine ahead of time what user you wish to use when not running sendmail as root. It could have chosen nobody, for example, but the user nobody does not exist under all versions of Unix.</p>
<p><span id="more-237"></span></p>
<p>You can choose your own username by using the confMSPQOWN build macro to place a line such as this into your build m4 file:</p>
<pre> define(`confMSPQOWN´, `nullmail´)</pre>
<p>If you change the username, you will also have to build and install your own submit.cf file, and include in the mc file, for that creation, a definition for the new users with the RunAsUser option like this:</p>
<pre>FEATURE(`msp´)
define(`confRUN_AS_USER´, `nullmail´)</pre>
<p>If you don’t change the name, sendmail will use the name smmsp, which stands for SendMail Message Submission Program</p>
<p>Whether your keep the username chosen by the sendmail distribution, or choose a name of your own, you will need to add that name to your system’s passwd services. Here we show how to do this with the traditional Unix passwd file.</p>
<pre>nullmail:*:32764:32764:Null Mail:/no/such/directory:/bin/false</pre>
<p>In this example of a line from a traditional Unix passwd file, we have elected to create the user named nullmail. The line is divided into five fields by colons. The first ield is the name of the new user. The second field is the user’s password. But<br />
because this user is not an actual person, we disable the password with an asterisk. On some systems you will need to put an x in this field, or the word NOPASSWORD. ee your system documentation for what to use in this field to disable a password for this new user.</p>
<p>The third and fourth fields are the user and group ID for the user. Here, we chose high numbers that are unlikely to conflict with actual user numbers. Some versions f Unix restrict the size of the numbers you can use. See your system’s  documentation. The fifth field is called the gecos field. It contains the full name of the users. We chose Null Mail, but you can choose any name you desire.</p>
<p>The last two fields are the home directory and shell for this user. The home directory should not exist, nor should it have the potential of ever existing. The shell hould be a program that will never successfully run. We chose /bin/false because<br />
that program always exits with a nonzero (failure) value.</p>
<h3>Add smmsp to /etc/group</h3>
<p>When sendmail is run as non-set-user-id root, it is run either as root when it is invoked by the root user (in which case it can read all files), or as another user when t should not run as root. To enable the sendmail program to read and write its queue<br />
when it is not root, it needs to always run as a predefined group. It does this by having its set-group-id permission set, and by running under an appropriate group. The sendmail distribution clearly cannot divine ahead of time what group you wish to use when not running sendmail as set-group-id. It could have chosen nogroup, for example, but the user nogroup does not exist under all versions of Unix.</p>
<p>You can choose your own group by using the confGBINGRP build macro to place a line suchas the following into your build m4 file. But don’t chose a group that is shared by any other user. For security reasons, the group you choose should be used only by sendmail:</p>
<pre>define(`confGBINGRP´, `nullgroup´)</pre>
<p>If you change the group, you will also have to build and install your own submit.cf file, and include in the mc file, for that creation, a definition for that new group with the RunAsUser option like this:</p>
<pre>FEATURE(`msp')
define(`confRUN_AS_USER', `:nullgroup')</pre>
<p>Note that the same option sets both the user and the group. A combined declaration might look like this:</p>
<pre> FEATURE(`msp')
define(`confRUN_AS_USER´, `nullmail:nullgroup´)</pre>
<p>If you don’t change the group, sendmail will use the group smmsp.</p>
<p>Whether you keep the group name chosen by the sendmail distribution, or choose a name of your own, you will need to add that name to your system’s group services.</p>
<pre> nullgroup:*:32764:</pre>
<p>In this example of a line from a traditional Unix group(5) file, we have elected to create the group named nullgroup. The line is divided into four fields by colons. The first field is the name of the new group. The second field is the group’s password. Because this group is not used by actual people, we disable the password with an asterisk. On some systems you will put an x in this field, or the word NOPASSWORD.  The third field contains the group number. That number should match the number used in the group field of the passwd(5) file. The last field contains the usernames of those that should also belong to this group. Generally, this will be an empty field.</p>
<h3>Modify init Files</h3>
<p>In a non-set-user-id root world, you run sendmail differently than the traditional manner to which you have become accustomed. There are two differences that you should attend to before installing the new non-set-user-id root setup. First, you need to decide how to drain the local message submission queue. Second, you need to decide on a name to differentiate the two roles with the syslog(8) facility</p>
<p>For local mail submission, sendmail will use a separate queue, one that is group read/write by the group discussed in the previous section. The sendmail program, in local message submission mode, sends a message and then exits. As a consequence, there is nothing running that can drain that separate queue of any messages that might be deferred there. The best way to drain it is with a queue processing daemon, such as this:</p>
<pre> /usr/sbin/sendmail -Ac -q30m</pre>
<p>Here, the -Ac command-line switchtells sendmail to use the configuration file named submit.cf. This is the special message submission configuration file that knows about the second queue. The -q30m command-line switchcauses sendmail to wake up once each 30 minutes and process any deferred messages it finds in the second queue.</p>
<p>To differentiate one sendmail from another in the logs created by the syslog(8) facility, you can use the -L command-line switch. One suggestion looks like this:</p>
<pre>/usr/sbin/sendmail -L mta-daemon -bd -q30m
/usr/sbin/sendmail -L msp-queue -Ac -q30m</pre>
<p>The first line is the invocation of sendmail that is most common (with the -bd -q30m). The second line has been added to drain the second (mail submission) queue. The first will contain the identifier mta-daemon in its syslog(8) logfiles. The second will contain the identifier msp-queue. These identifiers are only suggestions, and you might prefer something more suitable to your site’s needs.</p>
<p>The sendmail program is usually started from a script in the etc directory. On System-V-based versions of Unix, that file is usually found in the /etc/init.d directory. On other versions of Unix, that file could live directly in the etc directory, and might be called rc or rc.local. Whichever file contains the commands to start sendmail on your system, look at it and determine how sendmail is currently started and stopped. You might, for example, find lines such as this, from a FreeBSD 4.0 sendmail startup file called rc:</p>
<pre>case ${sendmail_enable} in
[Yy][Ee][Ss])
if [ -r /etc/mail/sendmail.cf ]; then
echo -n ' sendmail'; /usr/sbin/sendmail ${sendmail_flags}
fi
;;
esac</pre>
<p>To modify this setup for use in a non-set-user-id root scheme, you would need to add the following line to your /etc/rc.conf file:</p>
<pre>sendmail_flags="${sendmail_flags} -L mta-daemon"</pre>
<p>Then create the file /etc/rc.local (if it does not already exist), and add the following lines to it:</p>
<pre>case ${sendmail_enable} in
[Yy][Ee][Ss])
if [ -r /etc/mail/sendmail.cf ]; then
echo -n ' msp-queue'; /usr/sbin/sendmail -L msp-queue -q30m
fi
;;
esac</pre>
<p>Take the time, now, to investigate how sendmail is started and stopped on your system. The new non-set-user-id root scheme will doubtless require special modifications on your part. Beginning withSolaris 7, for example, the pkill(8) command, as it is set up in /etc/init.d/sendmail, will not stop a sendmail that is running other than as root</p>
<h3> The submit.cf File</h3>
<p>The submit.cf file is built for you automatically when you install sendmail. When you run make install, the following is one of the commands executed:</p>
<pre> cd ../../cf/cf &amp;&amp; make install-submit-cf</pre>
<p>This command will create and install a default /etc/mail/submit.cf file if that file does not already exist. For most sites, this default will be suitable for your use as is. If you customize at all, however, you will need to create your own submit.cf file. If, for example, you changed the user and group names for the non-set-user-id root version of sendmail with the following in your build m4 file:</p>
<pre>define(`confMSPQOWN´, `nullmail´)
define(`confGBINGRP´, `nullgroup´)</pre>
<p>you will need to create a custom submit.cf file. You create a custom submit.cf file just like you create a sendmail.cf file. You begin by creating a file called submit.mc. You can use the file cf/cf/submit.mc as a template for your own, or you can edit that file directly. If you edit that file directly, you will need to copy your changes to the same directory each time you upgrade sendmail to a new version.</p>
<p>Note that the name submit.cf is hardcoded and cannot be changed. When sendmail runs, unless you have built it to do otherwise, it will look for submit.cf in the same directory that it looks for its standard configuration file. If you change the location of the standard configuration file with the _PATH_SENDMAILCF build-time macro, you will also want to change the directory in which the submit.cf file is located. That directory is defined with the _DIR_SENDMAILCF<br />
build-time macro.* For example, your build m4 file might look, in part, like this:</p>
<pre>APPENDDEF(`confENVDEF´, `-D_PATH_SENDMAILCF=\"/opt/sendmail/sendmail.cf\"´)
APPENDDEF(`confENVDEF´, `-D_DIR_SENDMAILCF=\"/opt/sendmail/\"´)</pre>
<p>Here, the first line changes the location of the sendmail.cf file. The second line is necessary so that sendmail will look for submit.cf in that same directory. Without this second line, sendmail would look for sendmail.cf in /opt/sendmail, but would look for submit.cf in the default location, /etc/mail.</p>
<p>Note that a Build install will always try to place the submit.cf file into a directory that begins with /etc/mail. But you can prefix this directory with another directory name, as shown here:</p>
<pre> # ./Build -E DESTDIR=/opt/sendmail install</pre>
<p>This will cause the submit.cf file to be installed in the /opt/sendmail/etc/mail directory. If you have changed the location of your configuration files, as shown earlier, you will have to manually move the submit.cf file from its default installed location to your chosen location</p>
<p>Finally, note that by renaming or relocating the queue directory with the confMSP_QUEUE_DIR Build macro, the MSP_QUEUE_DIR mc macro must also be updated so that a correct submit.cf file will be created.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xiitec.com/blog/2009/01/19/install-sendmail-part-22/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install sendmail (Part 1/2)</title>
		<link>http://www.xiitec.com/blog/2009/01/16/install-sendmail-part-12/</link>
		<comments>http://www.xiitec.com/blog/2009/01/16/install-sendmail-part-12/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 17:37:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sendmail]]></category>
		<category><![CDATA[install]]></category>

		<guid isPermaLink="false">http://www.xiitec.com/blog/?p=236</guid>
		<description><![CDATA[There are two approaches to installing a new sendmail:

 If you choose to run the new sendmail in place of the original, you first need to create and install a new configuration file. The m4(1) program is used to automate the process of configuration file creation.
If you choose to keep the original and install the new [...]]]></description>
			<content:encoded><![CDATA[<p>There are two approaches to installing a new sendmail:</p>
<ul>
<li> If you choose to run the new sendmail in place of the original, you first need to create and install a new configuration file. The m4(1) program is used to automate the process of configuration file creation.</li>
<li>If you choose to keep the original and install the new sendmail in parallel (until you can test it), you can proceed with the installation and defer configuration files until later. Note that this choice presumes you customized the file locations.</li>
</ul>
<p><span id="more-236"></span>Beginning withV8.12, installation of sendmail became a bit more complex. You now have the choice of running sendmail as either a set-user-id root or a non-set-user-id root program. Our recommendation, beginning withV8.12, is to run sendmail as a non-set-user-id root. If you wishto install sendmail as a set-user-id root program, despite the potential security risks implied by such an approach, just issue this new special command:</p>
<pre># ./Build install-set-user-id</pre>
<p>The preferred way to install sendmail, beginning withV8.12, is to first create three required system changes, and then to run ./Build install as usual:</p>
<ul>
<li>Edit the /etc/passwd file (and possibly companion files suchas /etc/shadow and /etc/master.passwd, or possibly network services suchas Network Information Services [NIS]) to add the user smmsp. The name smmsp can be changed from its default withth e confMSPQOWN build macro.</li>
<li>Edit /etc/group file (or possibly network services suchas NIS) to add the new group smmsp. The name smmsp can be changed from its default with the confGBINGRP build macro.</li>
<li>Edit the /etc/rc.local file (or a different file depending on your version of Unix, such as /etc/init.d/sendmail or /etc/rc.conf) to change the way sendmail is started and stopped at boot time.</li>
</ul>
<p>In a non-set-user-id root world, sendmail runs under two guises. In one guise, it is run by root to function as a listening daemon. This listening daemon is just like the listening daemon of earlier versions, except that, instead of running as root no matter who ran it, it now runs as root only if root runs it.</p>
<p>In its second guise, sendmail runs as an ordinary user to collect locally submitted messages. In this mode of operation, sendmail is set-group-id to a special group, so it runs in that group no matter who runs it. That group owns and has write permission to a separate queue into which locally submitted deferred messages are placed.</p>
<p>For this division of labor to work, the two guises need to use different configuration files.  The configuration file used by the locally submitted message sendmail is called submit.cf. Which configuration is used depends on how sendmail is run.</p>
<p>If sendmail is run withth e -bm command-line switch, the -bs command-line switch, or the -t command-line switch, it first tries to open and read submit.cf. If that file does not exist, sendmail falls back to reading its standard configuration file. The -bm command-line switch (sendmail’s default mode) causes sendmail to run as a mail sender, once in the foreground, gathering a list of recipients from the command line and reading the message from its standard input. The -bs command-line switchcauses sendmail to run a single MTP session in the foreground over its standard input and output, and then to exit.</p>
<p>The -t command-line switchcauses sendmail to gather its list of recipients from its standard input rather than from the command line. In addition to determining the use of submit.cf based on sendmail’s mode of operation, sendmail can also be coerced into using or not using submit.cf based on a new command-line switch. The -A command-line switch takes one of two possible arguments. If it is followed by an m character, sendmail uses the sendmail.cf file. If the -A is<br />
followed by a c character, sendmail uses the submit.cf file:</p>
<pre>/usr/sbin/sendmail -Am ← use sendmail.cf</pre>
<pre>/usr/sbin/sendmail -Ac ← use submit.cf</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.xiitec.com/blog/2009/01/16/install-sendmail-part-12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Build sendmail</title>
		<link>http://www.xiitec.com/blog/2009/01/14/installing-sendmail/</link>
		<comments>http://www.xiitec.com/blog/2009/01/14/installing-sendmail/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 20:00:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sendmail]]></category>
		<category><![CDATA[install]]></category>

		<guid isPermaLink="false">http://www.xiitec.com/blog/?p=235</guid>
		<description><![CDATA[The first step in compiling sendmail is to establishan object directory and a Makefile that is appropriate to your machine architecture and operating system. You do this by running the Build script in the sendmail source directory:

% cd sendmail
% ./Build -n
Configuration: pfx=, os=SunOS, rel=4.1.4, rbase=4, rroot=4.1, arch=sun4, sfx=
Using M4=/usr/5bin/m4
Creating ../obj.SunOS.4.1.4.sun4/sendmail using ../devtools/OS/SunOS
← many more lines [...]]]></description>
			<content:encoded><![CDATA[<p>The first step in compiling sendmail is to establishan object directory and a Makefile that is appropriate to your machine architecture and operating system. You do this by running the Build script in the sendmail source directory:</p>
<p><span id="more-235"></span></p>
<pre><u>% cd sendmail
% ./Build -n
Configuration: pfx=, os=SunOS, rel=4.1.4, rbase=4, rroot=4.1, arch=sun4, sfx=
Using M4=/usr/5bin/m4
Creating ../obj.SunOS.4.1.4.sun4/sendmail using ../devtools/OS/SunOS
← many more lines here
%</u></pre>
<p>Here, Build found that our machine was a sun4, running the SunOS 4.1.4 release of Unix. Build then created the working directory ../obj.SunOS.4.1.4.sun4, set up symbolic links to all the source files in that directory, and finally generated a Makefile there.</p>
<h3> Build with m4</h3>
<p>The make(1) program* is used to compile and install sendmail. Th eBuild script creates not only an object working directory, but also an appropriate Makefile in that directory using m4(1). Unless you tell Build to do otherwise, the Makefile it creates</p>
<p>will be based solely on information it find  in the appropriate devtools/OS and devtools/Site subdirectories.</p>
<p>For most sites, this default behavior will produce the desired result. For other sites, different defaults are needed.</p>
<p>Creating a Makefile with Build is simplicity itself. First decide whether you wish to maintain your m4 file inside the sendmail source tree, or outside it. If you choose to maintain your m4 file inside the source tree, just name it devtools/Site/site.config.m4 and run Build like this:</p>
<pre>% ./Build</pre>
<p>Note that here we have chosen to maintain all our Build m4 files inside the sendmail source tree. This approach allows administrators to rebuild sendmail without needing to remember where the m4 file is located.</p>
<p>If you choose to maintain your m4 file outside the source tree, use the -f commandline switch with Build to specify the location of that file:</p>
<pre>% ./Build -f /usr/local/configs/sendmail/oursite.m4</pre>
<p>Note that here we have chosen to maintain all our Build m4 files in a directory that is outside the sendmail distribution. This approach allows you to upgrade to new eleases of sendmail without having to remember to copy the devtools/Site directory<br />
each time. The downside to this approach is that you must remember to use the -f command-line switchevery time you build. If you fail to remember, or if someone lse builds without knowing the need for -f, the created sendmail binary may not<br />
work as you expect or might lack the abilities you require.</p>
<h3> Run Build</h3>
<p>After you have finished configuring your m4 build file, you are ready to build sendmail. First run the following command in the sendmail source directory:</p>
<pre># ./Build -f /path/to/your/m4/file -n</pre>
<p>This command first creates the obj directory in which sendmail will be built, populates that directory with symbolic links, and places a configured Makefile there. It then displays all the commands that make will generate without actually executing them.</p>
<p>If you are building a plain vanilla sendmail, or if you have placed your m4 file in the devtools/Site directory, you can omit the -f and the path to your m4 build file. If you wishto tune sendmail to your custom needs first, before running Build, you need to create an m4 file (as discussed earlier).</p>
<p>You can create your Build m4 files either outside the sendmail distribution or inside a special directory inside the distribution. If you maintain them outside, you will have to use the -f switch each time you build, but will avoid having to copy them again for each release of sendmail.</p>
<p>If you create a special file inside the devtools/Site directory, that file will be included without the need for an -f. The name of the file is site.config.m4. If you want to maintain several master files in that directory, you can do so depending on your<br />
operating system type. When Build runs, it prints a line that looks like the following, split to fit the page:</p>
<pre>Configuration: pfx=, os=SunOS, rel=4.1.4, rbase=4, rroot=4.1, arch=sun4,
sfx=,variant=optimized</pre>
<p>Here, the name of the operating system is printed following the os=. If you were to create a file in the devtools/Site directory called site.SunOS.m4, it, too, would be automatically found and used without the need for an -f switch.</p>
<p>If you have defined the environment variable SENDMAIL_SUFFIX, the sfx= will be assigned that value with a dot in front of it. That value can be used to further tune the name of the files in devtools/Site. For example, if SENDMAIL_SUFFIX is defined as server, the Build script will find and use a file called site.SunOS.server.m4.</p>
<p>The devtools/Site directory is first searched for the literal name site.config.m4. If that is not found, it is searched for the file named site.os=sfx=.m4, and after that for the file named site.os=.m4.</p>
<p>If all looks well after you have run Build withan -n, you can run it again, this time without the -n.</p>
<h3>If You Change Your m4 Build File</h3>
<p>After you run Build, you will likely find that you need to change one or more items in your m4 build file. Whenever you change that file, you will need to use the -c switch with Build to force it to create a new Makefile withyour new information in it. You do this by adding the -c switch to Build’s command line:</p>
<pre>% ./Build -c -f ../../builds/oursite.m4</pre>
<pre>% ./Build -c ← if using devtools/Site</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.xiitec.com/blog/2009/01/14/installing-sendmail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing DHCP Server</title>
		<link>http://www.xiitec.com/blog/2008/02/20/installing-dhcp-server/</link>
		<comments>http://www.xiitec.com/blog/2008/02/20/installing-dhcp-server/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 00:26:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DHCP]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.xiitec.com/blog/?p=157</guid>
		<description><![CDATA[The DHCP Server service is an optional Windows Component, so you can install it using the Add or Remove Programs applet in the Control Panel. There are no configuration options when you install the DHCP Server, so installation is a breeze. After you&#8217;ve installed the service, you&#8217;ll need to authorize the server, if you have [...]]]></description>
			<content:encoded><![CDATA[<p>The DHCP Server service is an optional Windows Component, so you can install it using the Add or Remove Programs applet in the Control Panel. There are no configuration options when you install the DHCP Server, so installation is a breeze. After you&#8217;ve installed the service, you&#8217;ll need to authorize the server, if you have an Active Directory environment.</p>
<p><span id="more-157"></span></p>
<p><strong>Using a graphical user interface</strong></p>
<ol>
<li> From the Control Panel, open the Add or Remove Programs applet.</li>
<li>Click Add/Remove Windows Components.</li>
<li>Double-click Network Services.</li>
<li>Check the box beside Dynamic Host Configuration Protocol (DHCP).</li>
<li>Click OK.</li>
<li>Click Next.</li>
<li>Click Finish.</li>
</ol>
<p><strong>Using a command-line interface</strong></p>
<p>First, create a file using a text editor such as Notepad with the following contents:</p>
<pre>[netoptionalcomponents]
 dhcpserver=1</pre>
<p>Next, use the sysocmgr.exe utility with the following parameters (assuming the file you just created is named c:\dhcp_install.txt):</p>
<pre>&gt; sysocmgr /i:%windir%\inf\sysoc.inf /u:c:\dhcp_install.txt</pre>
<p>If the server you installed DHCP on is multihomed (i.e., has multiple active network adapters), you&#8217;ll want to make sure the correct network adapters are enabled for use by the DHCP Server. You can enable or disable adapters for use by DHCP Server by doing the following:</p>
<ol>
<li>Open the DHCP snap-in.</li>
<li>In the left pane, click on the server node.</li>
<li>From the menu, select Action  &gt; Properties.</li>
<li>Select the Advanced tab.</li>
<li>Click the Bindings button.</li>
<li>Make sure the interfaces where the DHCP Server should respond are checked.</li>
<li>Click OK until all dialog boxes are closed.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.xiitec.com/blog/2008/02/20/installing-dhcp-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing an Application or Service Pack via Group Policy</title>
		<link>http://www.xiitec.com/blog/2008/02/15/installing-an-application-or-service-pack-via-group-policy/</link>
		<comments>http://www.xiitec.com/blog/2008/02/15/installing-an-application-or-service-pack-via-group-policy/#comments</comments>
		<pubDate>Sat, 16 Feb 2008 00:04:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[System configuration]]></category>
		<category><![CDATA[group policy]]></category>
		<category><![CDATA[install]]></category>

		<guid isPermaLink="false">http://www.xiitec.com/blog/?p=142</guid>
		<description><![CDATA[
Using a graphical user interface

Open the Group Policy Management snap-in.
In the left pane, navigate to the GPO you want to modify.  Left-click on it and select Edit.
If you want to publish an application to computers the GPO  applies to, expand Software Settings under Computer Configuration. If you want it to apply to  [...]]]></description>
			<content:encoded><![CDATA[<p><strong><br />
Using a graphical user interface</strong></p>
<ol type="1">
<li>Open the Group Policy Management snap-in.</li>
<li>In the left pane, navigate to the GPO you want to modify.  Left-click on it and select Edit.</li>
<li>If you want to publish an application to computers the GPO  applies to, expand Software Settings under Computer Configuration. If you want it to apply to  users, expand Software Settings under User Configuration.</li>
<li>Right-click Software  installation and select New &gt; Package.</li>
<li>Enter the UNC path of the location of the MSI installation file  (even if it resides on a local drive on the domain controller.</li>
<li>Select the MSI file and click Open.</li>
<li>Select Assigned if you want this  application to be installed automatically on each client the GPO applies to.  Select Published if you want this application to  be downloaded and made available to be installed via an Add/Remove Programs applet if the client chooses to  install it (this option is only available for the User Configuration section of  a GPO).</li>
<li>Click OK.</li>
</ol>
<p><span id="more-142"></span></p>
<p>You can use group policy to install applications, hotfixes, and  service packs on servers. The preferred method for installation is to use  Microsoft Installer files, but you can also use something called a ZAW  down-level application package (ZAP) file to do non-MSI-based installations (for  example, using <em>Setup.exe</em> instead). ZAP installations can be configured  only in the User Configuration section of a GPO.  For more on ZAP installations, see MS KB 231747.</p>
<p>When you <em>assign</em> an application to the User Configuration section of a GPO, the application is  automatically installed the next time targeted users log into a computer. When  an application is assigned to the Computer  Configuration section of a GPO, it is installed the next time the GPO is  refreshed on targeted computers (or when the computers reboot). In both cases,  the application installation is finalized the first time a user actually runs  the program.</p>
<p><em>Publishing</em> an application is a little different. You can  publish an application only in the User  Configuration section of a GPO, not the Computer  Configuration section. After you publish an application, it will show up  in the Add/Remove Programs applet and be  available for the user to install on demand.</p>
<p>You can do much more than just basic assigning and publishing  of applications with GPOs. You can also upgrade and remove applications. For a  quick overview of those processes, see MS KB 314934. You can also use the GPO  software installation feature to install service packs on your clients. See MS  KB 278503 for more information on how to install a service pack using a GPO.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xiitec.com/blog/2008/02/15/installing-an-application-or-service-pack-via-group-policy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing or Uninstalling a Windows Component</title>
		<link>http://www.xiitec.com/blog/2008/02/15/installing-or-uninstalling-a-windows-component/</link>
		<comments>http://www.xiitec.com/blog/2008/02/15/installing-or-uninstalling-a-windows-component/#comments</comments>
		<pubDate>Sat, 16 Feb 2008 00:01:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[System configuration]]></category>
		<category><![CDATA[components]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[uninstall]]></category>

		<guid isPermaLink="false">http://www.xiitec.com/blog/?p=141</guid>
		<description><![CDATA[Using a graphical user interface

 From the Control Panel , open the Add or Remove Programs applet.
Click on Add/Remove Windows Components.
Click on the component you are interested in.
If there are subcomponents, the Details button will become active. Click on it. Check the box beside the components you want to install. When you are done, click [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Using a graphical user interface</strong></p>
<ol>
<li> From the Control Panel , open the Add or Remove Programs applet.</li>
<li>Click on Add/Remove Windows Components.</li>
<li>Click on the component you are interested in.</li>
<li>If there are subcomponents, the Details button will become active. Click on it. Check the box beside the components you want to install. When you are done, click OK.</li>
<li>Click Next. At this point the component(s) will be installed.</li>
<li>Click Finish to close the screen.</li>
</ol>
<p><span id="more-141"></span><br />
<strong>Using a command-line interface</strong><br />
Create an answer file using a text editor, such as  <em>notepad.exe</em>. Here is an example answer file that would install the DNS  Server service:</p>
<pre>[netoptionalcomponents]

dns=1</pre>
<p>Next, run the <em>sysocmgr</em> utility with following parameters  (assuming you named the answer file <span class="docEmphasis">c:\comp_install.txt</span>):</p>
<pre>&gt; sysocmgr /i:%windir%\inf\sysoc.inf /u:c:\comp_install.txt</pre>
<p><strong>Using VBScript</strong></p>
<p>Unfortunately, there are no scripting interfaces for installing Windows  Components. However, you can run the <em>sysocmgr</em> command from the previous section  directly within a batch script (<em>.bat</em> extension) or using the  <tt>WScript.Shell</tt> <tt>Run</tt> method within VBScript.</p>
<pre>' This code simulates the same steps from the command-line solution.

' First, an answer file is created containing the parameters to install

' the DNS Server. Then the sysocmgr command is invoked to perform the

' installation.

strFile = "c:\comp_install.txt"constForWriting = 2

set objFSO = CreateObject("Scripting.FileSystemObject")

set objFile = objFSO.OpenTextFile(strFile, constForWriting, True)

objFile.WriteLine("[netoptionalcomponents]")

objFile.WriteLine("dns=1")

objFile.Close

set objWshShell = WScript.CreateObject("WScript.Shell")

intRC = objWshShell.Run("sysocmgr /i:%windir%\inf\sysoc.inf /u:" &amp; _

                        strFile, 0, TRUE)

if intRC &lt;&gt; 0 then

   WScript.Echo "Error returned from sysocmgr command: " &amp; intRC

else

   WScript.Echo "Windows Component installed"

end if</pre>
<p>A Windows Component is an optional feature of the operating  system. A Windows Component can be anything from server service, such as DNS, to  a small application, like Calculator. You&#8217;ve undoubtedly used the steps I  described in the graphical solution to install a Windows Component before. Fewer  people are as familiar with the command-line (and VBScript) solutions.</p>
<p>You can script the installation (and uninstallation for  that matter) of Windows Components using the <em>sysocmgr.exe</em> utility. All  you need is an answer file that contains the components to install or uninstall.  This can in fact be the same answer file you use to do unattended installations.  <em>Sysocmgr.exe</em> reads only the <tt>[Components]</tt> and  <tt>[Netoptionalcomponents]</tt> sections of an answer file. To see all the  available components you can include in these sections, you need to look at the  unattended reference documentation that is available on the Windows Server CDs  for Windows 2000 and Windows Server 2003.</p>
<p>On a Windows 2000 CD, navigate to <em>\SUPPORT\TOOLS\</em> and  open the <em>deploy.cab</em> file. Within <em>deploy.cab</em> is a file named  <em>unattend.doc</em>, which you&#8217;ll need to extract and open. This file contains  all answer file settings. On a Windows Server 2003 CD, you also need to open  <em>\SUPPORT\TOOLS\deploy.cab</em>, but instead you want to extract <em>ref.chm</em>  from it. Within <em>ref.chm</em> is a section entitled <em>Unattend.txt</em>, which  contains all of the settings.</p>
<p>Again, you&#8217;ll want to look at the <tt>[Components]</tt> and  <tt>[Netoptionalcomponents]</tt> sections of the reference documentation. For  <tt>[Components]</tt> there are over 80 different entries you can use and for  <tt>[Netoptionalcomponents]</tt> there are 13 possible entries. One difference  to note about the two sections is that you enable or disable components in the  <tt>[Components]</tt> section using <tt>on</tt> (to install) or <tt>off</tt> (to  uninstall) and for the <tt>[Netoptionalcomponents]</tt> section you use  <tt>1</tt> (to install) or <tt>0</tt> (to uninstall).</p>
<p>Here is a sample answer file that installs IIS and the DNS  Server service:</p>
<pre>[Components]

 iis_common = on

 iis_www = on

 iis_www_vdir_scripts = on

 iis_inetmgr = on

 fp_extensions = on

 iis_ftp = on

 netoc = on[NetOptionalComponents]

 dns=1</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.xiitec.com/blog/2008/02/15/installing-or-uninstalling-a-windows-component/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing the IPv6 Stack</title>
		<link>http://www.xiitec.com/blog/2008/02/15/installing-the-ipv6-stack/</link>
		<comments>http://www.xiitec.com/blog/2008/02/15/installing-the-ipv6-stack/#comments</comments>
		<pubDate>Fri, 15 Feb 2008 23:46:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[IPv6]]></category>

		<guid isPermaLink="false">http://www.xiitec.com/blog/?p=138</guid>
		<description><![CDATA[Windows Server 2003 provides native support for IPv6, but  Windows 2000 does not. To install the IPv6 stack for Windows 2000, you need to  first download it from here.

Run the executable and extract the files to a folder on your  server. Then install the protocol stack by running setup.exe. If you are [...]]]></description>
			<content:encoded><![CDATA[<p>Windows Server 2003 provides native support for IPv6, but  Windows 2000 does not. To install the IPv6 stack for Windows 2000, you need to  first download it from <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=27B1E6A6-BBDD-43C9-AF57-DAE19795A088&amp;displaylang=en" target="_blank">here</a>.</p>
<p><span id="more-138"></span></p>
<p>Run the executable and extract the files to a folder on your  server. Then install the protocol stack by running <em>setup.exe</em>. If you are  running Service Pack 2 or later (and hopefully you are), you have to perform  some additional steps to get the installation to work. By default if you run the  setup program it will complain about the system not being at Service Pack 1.  Follow the directions on the following site to fix the problem: <a href="http://msdn.microsoft.com/downloads/sdks/platform/tpipv6/faq.asp" class="docLink" target="_blank">http://msdn.microsoft.com/downloads/sdks/platform/tpipv6/faq.asp</a>.</p>
<p>Once you have the stack installed, you should follow the steps  outlined in the graphical user interface instructions to configure it for a  particular network connection (which also applies to Windows Server 2003).</p>
<p><strong>Using a graphical user interface</strong></p>
<p style="font-weight: bold">&nbsp;</p>
<ol>
<li>Open the Control Panel.</li>
<li>From the <span class="docEmphBold">Network Connections</span>  applet, double-click the connection you want to install IPv6 for.</li>
<li>Click the <span class="docEmphBold">Properties</span>  button.</li>
<li>Click the <span class="docEmphBold">Install</span>  button.</li>
<li>Select <span class="docEmphBold">Protocol</span> and click the  <span class="docEmphBold">Add</span> button.</li>
<li>Select <span class="docEmphBold">Microsoft TCP/IP version  6</span> and click <span class="docEmphBold">OK</span>.</li>
<li>Click <span class="docEmphBold">Close</span>.</li>
</ol>
<p><strong>Using a command-line interface</strong></p>
<p>The following command installs the IPv6 stack. It must be run  directly on the target server:</p>
<pre>&gt; netsh interface ipv6 install</pre>
<p>If you need to run the command remotely, you can use the  <em>psexec</em> command:</p>
<pre>&gt; psexec \\server01 netsh interface ipv6 install</pre>
<p><strong>Using VBScript</strong></p>
<p>There is no scripting interface to install the stack, but you  can shell out and run the <em>netsh</em> command as in the following example:</p>
<pre>' This code installs the IPv6 on the computer the script is run from.strCommand = "netsh interface ipv6 install"

set objWshShell = WScript.CreateObject("WScript.Shell")

intRC = objWshShell.Run(strCommand, 0, TRUE)

if intRC &lt;&gt; 0 then

WScript.Echo "Error returned from running the command: " &amp; intRC

else

WScript.Echo "Command executed successfully"

end if</pre>
<p>IPv6 is the next generation TCP/IP protocol suite intended to  replace IPv4. Adoption of IPv6 has been slow, but seems to be steadily gaining  momentum. Fortunately, Windows Server 2003 provides better support for IPv6 than  it did Windows 2000. For a good overview of IPv6 and how to configure the  Windows client, see the following FAQ: <a href="http://msdn.microsoft.com/downloads/sdks/platform/tpipv6/faq.asp" class="docLink" target="_blank">http://msdn.microsoft.com/downloads/sdks/platform/tpipv6/faq.asp</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xiitec.com/blog/2008/02/15/installing-the-ipv6-stack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

