<?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>Jonathan-Pfeifer.net &#187; Server</title>
	<atom:link href="http://www.jonathan-pfeifer.net/tag/server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jonathan-pfeifer.net</link>
	<description>C#, SQL Server, Sharepoint</description>
	<lastBuildDate>Thu, 02 Sep 2010 20:24:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Automatisierte Konfiguration des Microsoft Office SharePoint Server (MOSS 2007) – Teil 5</title>
		<link>http://www.jonathan-pfeifer.net/automatisierte-konfiguration-des-microsoft-office-sharepoint-server-moss-2007-teil-5/</link>
		<comments>http://www.jonathan-pfeifer.net/automatisierte-konfiguration-des-microsoft-office-sharepoint-server-moss-2007-teil-5/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 23:25:00 +0000</pubDate>
		<dc:creator>Jonathan Pfeifer</dc:creator>
				<category><![CDATA[work-related]]></category>
		<category><![CDATA[Batch]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://www.jonathan-pfeifer.net/automatisierte-konfiguration-des-microsoft-office-sharepoint-server-moss-2007-teil-5/</guid>
		<description><![CDATA[Dieser Post ist Bestandteil einer mehrteiligen Serie zum Thema Installation des Microsoft Office SharePoint Servers 2007. Die Installation soll weitestgehend automatisiert &#252;ber Skripte laufen. Als Testkonfiguration verwenden wir einen Server 2008 x86, SQL Server 2005 Express mit SP3 und die &#8230; <a href="http://www.jonathan-pfeifer.net/automatisierte-konfiguration-des-microsoft-office-sharepoint-server-moss-2007-teil-5/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Dieser Post ist Bestandteil einer mehrteiligen Serie zum Thema Installation des Microsoft Office SharePoint Servers 2007. Die Installation soll weitestgehend automatisiert &uuml;ber Skripte laufen.</p>
<p>Als Testkonfiguration verwenden wir einen Server 2008 x86, SQL Server 2005 Express mit SP3 und die Testversion von Microsoft Office SharePoint Server 2007.</p>
<h2>Geskriptete Konfiguration des Microsoft Office SharePoint Server 2007</h2>
<p>Nachdem wir den MOSS 2007 im letzten Teil installiert haben geht es jetzt um die Konfiguration des Servers. </p>
<p>Mit den folgenden Befehlen konfigurieren wir den SharePoint Server…</p>
<blockquote><p>:: Wechseln in den Ordner, der psconfig and stsadm enthaelt     <br />cd &quot;C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\BIN&quot; </p>
<p>:: Konfigurationsdatenbank fuer MOSS 2007 erstellen     <br />psconfig -cmd configdb -create -server %COMPUTERNAME%\%MYDBINSTANCENAME% -database SharePoint_Config -user %MYSERVICEACCOUNT% -password %MYSERVICEACCOUNTPWD% </p>
<p>:: Installation der Helpcollections     <br />psconfig -cmd helpcollections -installall </p>
<p>:: Sicherung     <br />psconfig -cmd secureresources </p>
<p>:: Installation der Services wie z. B. Excel Services     <br />psconfig -cmd services -install </p>
<p>:: Featuresinstallation     <br />psconfig -cmd installfeatures </p>
<p>:: Installation der Central Administration     <br />psconfig -cmd adminvs -provision -port 8000 -windowsauthprovider onlyusentlm </p>
<p>psconfig -cmd applicationcontent -install </p>
<p>:: Office Search Service     <br />stsadm -o osearch -action start -role indexquery -farmcontactemail %MYOWNEREMAIL% -farmserviceaccount %MYSERVICEACCOUNT% -farmservicepassword %MYSERVICEACCOUNTPWD% -defaultindexlocation &quot;C:\Program Files\Microsoft Office Servers\12.0\Data\Applications&quot; </p>
<p>:: Webapplikation fuer Shared Service Provider      <br />stsadm -o extendvs -url <a href="http://%COMPUTERNAME%:8010">http://%COMPUTERNAME%:8010</a> -ownerlogin %MYOWNERLOGIN% -owneremail %MYOWNEREMAIL% -databaseserver %COMPUTERNAME%\%MYDBINSTANCENAME% -databasename WSS_Content_SSPAdmin -exclusivelyusentlm -apidname &quot;SSP &#8211; 8010&quot; -apcreatenew -apidtype configurableid -apidlogin %MYSERVICEACCOUNT% -apidpwd %MYSERVICEACCOUNTPWD% </p>
<p>:: My Site Webapplication     <br />::STSADM.EXE -o extendvs -url <a href="http://srv2k8dev:8020">http://srv2k8dev:8020</a> -ownerlogin srv2k8dev\administrator -owneremail schnuck@domain.tld -databaseserver srv2k8dev\SQLExpress -databasename WSS_Content_MySite -exclusivelyusentlm -apidname &quot;My Sites &#8211; 8020&quot; -apcreatenew -apidtype configurableid -apidlogin srv2k8dev\myserviceAccount -apidpwd %wm2002      <br />stsadm -o extendvs -url <a href="http://%COMPUTERNAME%:8020">http://%COMPUTERNAME%:8020</a> -ownerlogin %MYOWNERLOGIN% -owneremail %MYOWNEREMAIL% -databaseserver %COMPUTERNAME%\%MYDBINSTANCENAME% -databasename WSS_Content_MySite -exclusivelyusentlm -apidname &quot;My Sites &#8211; 8020&quot; -apcreatenew -apidtype configurableid -apidlogin %MYSERVICEACCOUNT% -apidpwd %MYSERVICEACCOUNTPWD% </p>
<p>:: Shared Service Provider and MySite     <br />stsadm -o createssp -title &quot;Shared Service Provider&quot; -url <a href="http://%COMPUTERNAME%:8010">http://%COMPUTERNAME%:8010</a> -mysiteurl <a href="http://%COMPUTERNAME%:8020">http://%COMPUTERNAME%:8020</a> -indexserver %COMPUTERNAME% -indexlocation &quot;%Programfiles%\Microsoft Office Servers\12.0\Data\Applications&quot; -ssplogin %MYSERVICEACCOUNT% -ssppassword %MYSERVICEACCOUNTPWD% -sspdatabasename SSPDB -searchdatabasename SEARCHDB </p>
<p>:: Site Collection erstellen unter Verwendung des SPSPortal Template     <br />stsadm -o extendvs -url <a href="http://%COMPUTERNAME%:80">http://%COMPUTERNAME%:80</a> -ownerlogin %MYOWNERLOGIN% -owneremail %MYOWNEREMAIL% -databaseserver %COMPUTERNAME%\%MYDBINSTANCENAME% -databasename WSS_Content -exclusivelyusentlm -apidname &quot;SharePoint Site Collection&quot; -sitetemplate SPSPortal -apidtype configurableid -apidlogin %MYSERVICEACCOUNT% -apidpwd %MYSERVICEACCOUNTPWD% </p>
<p>:: Restart of IIS     <br />iisreset </p>
</blockquote>
<p>Um die Befehle erfolgreich abzuschlie&szlig;en m&uuml;ssen sie in der Reihenfolge wie oben angegeben abgearbeitet werden. Nachzulesen auf <a href="http://technet.microsoft.com/en-us/library/cc263093.aspx" target="_blank">Technet</a>.</p>
<p>So long…</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jonathan-pfeifer.net/automatisierte-konfiguration-des-microsoft-office-sharepoint-server-moss-2007-teil-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Scripts per Batch ausf&#252;hren</title>
		<link>http://www.jonathan-pfeifer.net/mysql-scripts-per-batch-ausfhren/</link>
		<comments>http://www.jonathan-pfeifer.net/mysql-scripts-per-batch-ausfhren/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 21:24:00 +0000</pubDate>
		<dc:creator>Jonathan Pfeifer</dc:creator>
				<category><![CDATA[work-related]]></category>
		<category><![CDATA[Batch]]></category>
		<category><![CDATA[Datenbanken]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.jonathan-pfeifer.net/mysql-scripts-per-batch-ausfhren/</guid>
		<description><![CDATA[Wenn man ein SQL-Script vorliegen hat und dies ausf&#252;hren m&#246;chte ist die g&#228;ngigste Methode das Script &#252;ber die Konsole auszuf&#252;hren. mysql -h ServerName -u UserName -p Jetzt wird noch das Passwort eingetragen und schon ist man mit dem MySQL Server &#8230; <a href="http://www.jonathan-pfeifer.net/mysql-scripts-per-batch-ausfhren/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Wenn man ein SQL-Script vorliegen hat und dies ausf&uuml;hren m&ouml;chte ist die g&auml;ngigste Methode das Script &uuml;ber die Konsole auszuf&uuml;hren. </p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:812469c5-0cb0-4c63-8c15-c81123a09de7:e8d40c71-748b-42cd-bf95-06147da3d09a" class="wlWriterEditableSmartContent">
<pre name="code" class="py">mysql -h ServerName -u UserName -p</pre>
</div>
<p>Jetzt wird noch das Passwort eingetragen und schon ist man mit dem MySQL Server verbunden.</p>
<p>Jetzt kann man mit dem Befehl source bzw. \. den Pfad zum Script angeben.</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:812469c5-0cb0-4c63-8c15-c81123a09de7:87fa812a-86f4-45aa-9323-27ce4380985b" class="wlWriterEditableSmartContent">
<pre name="code" class="c">mysql&gt; source pfadZumSqlScript</pre>
</div>
<p>Wenn man des &Ouml;fteren SQL-Scripts ausf&uuml;hren m&ouml;chte empfiehlt sich ein Batchdatei der wir den Namen unseres Scripts &uuml;bergeben k&ouml;nnen.</p>
<p>Wir erstellen eine Datei mit folgendem Inhalt:</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:812469c5-0cb0-4c63-8c15-c81123a09de7:ba125c10-264b-4a14-854e-8b7e106704cb" class="wlWriterEditableSmartContent">
<pre name="code" class="c">@echo off
mysql -h localhost -u root -e "\\. %1" -p</pre>
</div>
<p>und speichern sie als sql4scripts.cmd ab.</p>
<p>Das @echo off verhindert unn&ouml;tige Ausgaben von Befehlen auf der Konsole, die Optionen –h, –u und –p kennen wir ja schon von oben. </p>
<p>Die Option –e erm&ouml;glicht es uns die Befehle des Tools mysql auszuf&uuml;hren (&Uuml;bersicht der Befehle bekommt man auf der Konsole durch mysql –?).</p>
<p>%1 ist schlussendlich eine Batchvariable die den ersten Parameter beim Aufruf der Batch aufnimmt. </p>
<p>Wir rufen das Ganze nun folgenderma&szlig;en auf:</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:812469c5-0cb0-4c63-8c15-c81123a09de7:ee9d9291-a85f-4852-bf3d-78610d126721" class="wlWriterEditableSmartContent">
<pre name="code" class="c">sql4scripts.cmd mySqlScript.sql</pre>
</div>
<p>Jetzt wird noch das Passwort abgefragt und los gehts…</p>
<p>So long…</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jonathan-pfeifer.net/mysql-scripts-per-batch-ausfhren/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
