Do tretice prinášam článok o tejto edícii Servera 2008.
reklama
V týchto článkoch Windows Server 2008 IDS3 core a Windows Server 2008 CORE príkazy, som čiastočne predstavil prácu s najnovšou edíciou servera od Microsoftu. Teraz jeden konkrétny príklad. Aj na Core edícii je možné prevádzkovať grafické veci. Tie však nie su dostupné priamo na serveri, ale iba cez MMC vzdialene. Keďže som experimentátor, tak som skúšal ako nainštalovať môj obľúbený Windows Sharepoint Services 3. Cez servermanager to nie je žiadny problém. Ako? Spustite CMD a napíšte ServerManagerCmd, zobrazí sa help k príkazu. Takže ideme na to. Najskôr by sme mali zistiť, čo všetko už máme nainštlaované.
ServerManagerCmd –query | Find “[X]”
Tento príkaz zabezpečí vypísanie všetkých služieb (rolí) servera, ktoré sú označené "krížikom". Výstup môže vyzerať napríklad takto.
[X] Remote Differential Compression [RDC]
Ďalej by sme pokračovať s inštaláciou Windows Sharepoint Services 3. Keďže máme stále otvorený CMD, tak do neho napíšeme tento príkaz:
ServerManagerCmd -i Windows-SharePoint
a pokračovať by to mohlo asi takto:
Start Installation...
[Installation] Succeeded: [Windows Internal Database].
[Installation] Succeeded: [Web Server (IIS)] Management Tools.
[Installation] Succeeded: [Web Server (IIS)] Web Server.
[Installation] Succeeded: [Web Server (IIS)] Security.
[Installation] Succeeded: [Web Server (IIS)] Application Development.
[Installation] Succeeded: [Web Server (IIS)] Performance.
[Installation] Succeeded: [Web Server (IIS)] IIS 6 Management Compatibility.
[Installation] Succeeded: [Web Server (IIS)] Health and Diagnostics.
[Installation] Succeeded: [Web Server (IIS)] Common HTTP Features.
[Installation] Succeeded: [.NET Framework 3.0 Features] .NET Framework 3.0.
[Installation] Succeeded: [Windows Process Activation Service] .NET Environment.
[Installation] Succeeded: [Windows Process Activation Service] Configuration APIs.
[Installation] Succeeded: [Windows Process Activation Service] Process Model.
[Installation] Succeeded: [Web Server (IIS)] IIS 6 Metabase Compatibility.
[Installation] Succeeded: [Web Server (IIS)] IIS Management Console.
[Installation] Succeeded: [Web Server (IIS)] Tracing.
[Installation] Succeeded: [Web Server (IIS)] Default Document.
[Installation] Succeeded: [Web Server (IIS)] Static Content.
[Installation] Succeeded: [Web Server (IIS)] Directory Browsing.
[Installation] Succeeded: [Web Server (IIS)] HTTP Errors.
[Installation] Succeeded: [Web Server (IIS)] ISAPI Filters.
[Installation] Succeeded: [Web Server (IIS)] Basic Authentication.
[Installation] Succeeded: [Web Server (IIS)] Windows Authentication.
[Installation] Succeeded: [Web Server (IIS)] HTTP Logging.
[Installation] Succeeded: [Web Server (IIS)] Logging Tools.
[Installation] Succeeded: [Web Server (IIS)] Request Monitor.
[Installation] Succeeded: [Web Server (IIS)] Digest Authentication.
[Installation] Succeeded: [Web Server (IIS)] Static Content Compression.
[Installation] Succeeded: [Web Server (IIS)] Dynamic Content Compression.
[Installation] Succeeded: [Web Server (IIS)] ISAPI Extensions.
[Installation] Succeeded: [Web Server (IIS)] Request Filtering.
[Installation] Succeeded: [Web Server (IIS)] .NET Extensibility.
[Installation] Succeeded: [Web Server (IIS)] ASP.NET.
[Installation] Succeeded: [Windows SharePoint Services].
<100/100>
Success: Installation succeeded.
Niekto však môže povedať, že ´ja chcel, ale používať svoj vlastný SQL server´, aj nad týmto som rozmýšlaľ a samozrejme, keďže sa to dá nainštlaovať cez GUI, tak sa to bude určite dať aj cez cmd. Stačí napísať tento príkaz:
ServerManagerCmd -i Windows-SharePoint -s InstallAsPartofServerFarm=True -s Language=en-us
Len tak pre zaujímavosť -i je skratka pre install -s pre settings.
Odinštalovanie
Na konci je dobré ešte spomenúť aj príkaz na odinštalovanie.
servermanagercmd -remove Windows-SharePoint
postup môže vyzerať takto ...
Start Removal...
Warning: [Removal] Succeeded: [Windows SharePoint Services]. You must restart this server to finish the removal process.
<100/100>
Success: A restart is required to complete the removal.
a reštartovať Shutdown /r /t 0