A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Waterfall_Cache has a deprecated constructor

Filename: _common/waterfall_cache.php

Line Number: 47

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Cache_System has a deprecated constructor

Filename: _common/waterfall_cache.php

Line Number: 194

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Memcache_Cache_System has a deprecated constructor

Filename: _common/waterfall_cache.php

Line Number: 275

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Filesystem_Cache_System has a deprecated constructor

Filename: _common/waterfall_cache.php

Line Number: 440

A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; APC_Cache_System has a deprecated constructor

Filename: _common/waterfall_cache.php

Line Number: 628

Command Line Tips, Windows Server 2008 Server Core

Command Line Tips, Windows Server 2008 Server Core

By Nirmal Sharma (Send Email)
Posted Sep 18, 2008


Nirmal Sharma
Microsoft has released Windows Server 2008 in various editions. One of them is Server Core. There is no GUI included in the Server Core. You must perform all the commands by using the command-line tools supplied with the Server Core. Here are few important ones. Win Tip: If you're in a Windows environment but prefer a command-line interface to a GUI, the Server Core edition of Windows Server 2008 may be right for you. This cheat sheet of basic commands will help you get started.

To set a static IP Address: Netsh interface ipv4 set address name="" source=static address= mask= gateway=

To join Server Core to a domain: Netdom join /domain: /userd: /password:*

To restart the server: Shutdown /r /t 0

To activate the server: Slmgr.vbs -ato

To activate the server by phone, using a KMS Server, or remotely: Cscript windowsSystem32slmgr.vbs :-ato

To rename the server: Netdom renamecomputer /NewName:

To see the list of available server roles: OCLIST

To setup a role on the server: OCSETUP

Note: OCLIST and OCSETUP are both case sensitive.

To install a Server Role: Start /w ocsetup ServerRoleName

To uninstall a Server Role: Start /w ossetup ServerRoleName /uninstall

Note: You need to know the only role name. The OCsetup command will do the rest.

Page 1 of 1


Comment and Contribute

Your name/nickname

Your email

(Maximum characters: 1200). You have characters left.


 

 


Thanks for your registration, follow us on our social networks to keep up-to-date