Windows 2008 R2 WEB Server Environment

  

Windows Server 2008R2 Server Installation and Setup Tutorial First: System Installation and Setup

Preface This installation and setup tutorial is for servers using Windows2008R2 as the operating system. Let the server implement the following environment. Language scripting environment: ASP, ASP.Net1.1, ASP.Net2.0, ASP.Net3.0, ASP.Net3.5, PHP (FastCGI mode). Database environment: Access, MSSQL, MySQL. FTP environment: Ser-U common components: AspJpeg, Jmail, LyfUpload, EASY, ISAPI_ReWrite.

First, the system is prepared Operating system: Windows2008R2 original installation file, server hardware driver, SQL SERVER 2000 installation disk, SQL SERVER 2000 SP4 patch, MySQL installation package, PHP compression package, Zend Optimizer installation package, Serv- U 囧.0.6, Aspjpeg 2.0, JMail 4.5, LyfUpload, Easy Component 1.8.6, ISAPI_ReWrite, GHOST. Windows2008R2 and SQL SERVER 2000 installation files can be purchased on genuine CDs or other means. Windows2008R2 is best the original version, SQL SERVER 2000 can choose Enterprise Edition or Standard Edition. SQL SERVER 2000 SP4 can be downloaded directly from the Microsoft website. The server hardware driver should be included with the purchase of the server. MySQL installation files, PHP installation files, Zend Optimizer installation files can be downloaded free of charge from their official website, or to other download sites. Serv_U, Aspjpeg, Jmail, LyfUpload, Easy Component, ISAPI_ReWrite and GHOST can all be obtained through purchase or other means.

Second, the system installation Partition: The server's hard disk is 320G, divided into 4 areas, C disk system disk (30G), D disk to do database and software disk (50G), E disk to do website directory ( 150G), F disk as backup disk (90G), format 4 areas in NTFS format.

Install the system: Start the server, set the BIOS to boot from the CD, reboot, insert the Windows2008R2 installation disk into the CD-ROM drive, and install the operating system according to the prompts.

Set the login does not pop up "Manage your server" window: Start the computer, pop-up "Manage your server" window, check the box at the bottom left of the window "Do not show this page when you log in" ;

Start Automatic Updates: Select Initial Configuration Tasks - Launch Automatic Updates and Feedback - Start automatic updates and feedback.

Download and install updates: Select initial configuration tasks - download and install updates - change settings - important updates - select download updates, but let me choose whether to install updates - OK

Modify computer name: Select initial configuration task--provide computer name and domain--change--enter computer name--confirm--restart

install driver: system installation update is completed, enter system, follow motherboard-graphics card - Sound card - NIC - installs various drivers in the order of other devices.

Install WEB Server: 01. Enter Server Manager 02. Select Role, Add Role 03 Select WEB Server, Next Step 04. Select all options except FTP Server, next step 05. Install

Install .net 3.5 function: 01. Enter server manager 02. Select function, add function 03. Select .net Framework 3.51 function, select Windows process activation service, select XPS viewer 04. Next, install

Install the update: Click the update icon in the lower right corner, select Update, install the update, and restart your computer.

Enabling the parent path Open the Internet Information Services (IIS) Manager, select the local server, select ASP, choose to enable the parent path, and change False to True.

Remote Access Service 1. Launch Remote Access Service 01. Select Server Manager - Enable Remote Desktop 02. Select the computer connection that allows any version of Remote Desktop to run (less secure). Note: Convenient for multiple versions of Windows Remote Management Server. 03. OK 2. Modify the remote access service port 01. In the Start - Run menu, type regedit, enter the registry edit, enter the modified port by the following path 02.HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Terminal Server\\ WinStations\\RDP-Tcp 03. Find the right "PortNumber" on the right, in decimal format, the default is 3389, change to (for example) 6666 port 04.HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Terminal Server\\Wds\ dpwd\\Tds \\tcp 05. Find the right "PortNumber", displayed in decimal, the default is 3389, changed to the same port. 06. In Control Panel - Windows Firewall - Advanced Settings - Inbound Rules - New Rule 07 Select Port - Protocol and Port - TCP /Specific Local Port: Same as above port 08. Next, select Allow Connection 09. Next, select Public 10. Next, Name: Remote Desktop - New (TCP-In) , Description: Inbound rules for Remote Desktop Services to allow RDP communication. [TCP Same Port] 11. Delete Remote Desktop (TCP-In) Rules 12. Restart Computer

Block Resource Sharing Hidden Open “Local Connection” interface, select “Properties”, left Click on the button " Microsoft Web Client", and then click "Uninstall" in the pop-up dialog box. "Yes" is "Uninstall". Click <;Microsoft Network File and Printer Sharing", and then click “Uninstall" in the pop-up dialog box, select “Yes&#&#;

Unbind Netbios and TCP/IP Protocol Open the “Local Area Connection” interface and select “Attributes”. Double-click “Internet Protocol Version” in the pop-up “Properties” box. /IPV4)”, click <;properties", click “Advanced"—“WINS”, select “disable NETBIOS on TCP/IP", click “confirm” and close local connection properties .

Forbidden default sharing Click “Start”—“Run”, enter “Regedit”, open the registry editor, open the registry key <HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\lanmanserver \\parameters”, create a new Dword value in the right window, set the name to AutoShareServer, and set the value to “0”.

Modifying the location of virtual memory or disabling virtual memory Select one of them to disable virtual memory if the memory is large enough. If the memory is not very large, modify the virtual memory to the non-system disk of the hard disk. It is generally not recommended to disable virtual memory. 1. Modify the location of virtual memory: Right click on "Computer”, select “Properties"—“Advanced System Settings”—“Advanced”—“Set”—“Advanced ”—“virtual memory”—“change", uncheck "Automatically manage the paging file size of all drives", select the system disk in the "Drive" box, select “ No paging file”, in non-system disk such as D disk, select “custom size", enter “initial size" and "maximum", click “set" and confirm the modification. 2. Disable virtual memory: Right click on "Computer", select “Properties&>—“Advanced System Settings&>—“Advanced”—“Set”—“Advanced” —“virtual memory”—“change", uncheck "Automatically manage paging file size for all drives", select "No paging file" for all drives, then click “ ” and confirm the changes.

Local Security Policy Change Administrator Account and Guest Account Local Policy - Security Options - Account, rename the system administrator account, rename the Administrator. Rename the guest account, rename the Guest user to Administrator, but what kind of permissions are not available, then open Notepad, knock it, copy it, and paste it into "Password".

Group Policy Computer Configuration & mdash; Windows Settings & mdash; Security Settings & mdash; Local Policies & mdash; Security Options Interactive Login: Do not display the last username (enabled)

Turn off AutoPlay Control Panel , auto play, uncheck, save. Click “Start”—“Run”, enter “Gpedit.msc”, open the Group Policy Editor, expand “Computer Configuration”—“Administrative Template”—“Windows Components ”, find the "AutoPlay Policy" option in the right window and open it, double click on the right side to turn off AutoPlay, select "ld" in the upper part of the dialog box that is enabled, and select "All drives" in the lower part of the dialog box. ;, click “OK” to complete the setup.

Backing up the system At this point, restart the server and do a GHOST for the operating system you just made.

Copyright © Windows knowledge All Rights Reserved