Първоначално конфигуриране на ОС Windows Server 2012. Добавяне на роли и компоненти / Initial configuration of Windows Server 2012. Adding of roles and features
!!!За да изпълните упражнението е необходимо да имате инсталиран софтуер за виртуализация и виртуална машина работеща с Windows Server 2012. Софтуерът за виртуализация използван в текущото упражнение е VMWare vSphere!!!
1. Въведение
- Целта на това практическо упражнение е да се усвоят основните стъпки по подготовката на Windows Server 2012 за разпространение посредством SysPrep и съответно изпълнението на процеса по начално конфигуриране на ОС. Допълнително студентите ще се запознаят с процеса по добавяне на роли и компоненти към ОС Студентите ще придобият и затвърдят знанията си за основните конфигурационни особености на ОС Windows Server 2012.
2. Цел на упражнението
- Подготовка на ОС посредством SysPrep;
- Първоначално конфигуриране на ОС – въвеждане на парола за основния потребител, конфигуриране на времевите настройки и мрежовия интерфейс, т.н.
- Преглед и изпълнение на процеса по добавяне на нова роля и компоненти към ОС;
3. Използване на SysPrep за възстановяване на фабричните настройки на ОС
- Стъпка 1. – Стартирайте виртуалната машина
Стъпка 2. – Достъпете операционната система като използвате паролата MAPassword123 за профил Administrator.
Стъпка 3. – Стартирайте Windows PowerShell от системната лента най-отдолу на екрана и въведете пътя до Sysprep – C:\Windows\System32\Sysprep\sysprep.exe или използвайте Windows Explorer и отворете папката C:\Windows\System32\Sysprep и стартирайте sysprep.exe
1. Introduction
- The aim of this exercise is to present to the students the process of initial configuration of Windows Server 2012, which is completed using the SysPrep system tool. The students will also be introduced to the process of adding roles and features to the OS. The students will gain knowledge and will improve their skills about the configuration of the Windows Server 2012.
2. Aim of the exercise
- Initial configuration of the system using SysPrep;
- Configuration of the system ОС – introduction of passwords for the administrative user, configuration of the time settings for the computer, configuration of the system network interfaces, etc.
- Overview of the “Add roles and features” wizard process and its implementation;
3. Using the SysPrep for factory reset of the operation system
- Step 1. – Start the virtual machine
Step 2. – Access the operation system using the password MAPassword123 for the user Administrator.
Step 3. – Start the Windows PowerShell console from the system tray, which is located on the bottom of the screen and enter the path to the Sysprep tool – C:\Windows\System32\Sysprep\sysprep.exe. You can alternatively use Windows Explorer to open the C:\Windows\System32\Sysprep folder and start the sysprep.exe


- Стъпка 4. – Независимо дали използвате PowerShell или Explorer ще ви се зареди прозореца на Sysprerp. Това пособие се използва за възстановяване на фабричните настройки на ОС и реално позволява да се създаде дисков файл, който да бъде разпространен върху множество машини. Всички корпорации, които произвеждат оборудване използват този инструмент за гарантиране на това, че ОС ще е в първоначално състояние при първото пускане на компютъра. Изберете OK. Това ще стартира процеса по възстановяване на ОС до първоначално състояние.
- Step 4. – Regardless of the method for starting of the SysPrep tool, you will be directed to the main screen of the tool (Fig. 6). This application is used to reset the system to the factory default settings and also allows you to create a disk file, which can be distributed to other machines. All corporations, which are manufacturing computer equipment, are using this tool to guarantee that the OS will be in its initial state, when the devices are started by the users for the first time. Select OK. This will start the process for initialisation of the system to its factory default settings.

!!ВНИМАНИЕ!!
Изпълнението на този процес ще изчисти всички настройки на ОС, включително настройките за потребителите. Изпълнението на процеса може да доведе до рестартиране на системата и може да продължи до 15 минути.
4. Конфигуриране на основните параметри на ОС Windows Server 2012
- Стъпка 1. – След успешното изпълнение на Sysprep процеса или след първоначално стартиране на ОС на нова фабрична машина, на екрана ще се появи информация за лицензните условия за ползване на операционната система. От долния десен ъгъл на прозореца изберете английската клавиатурна подредба, маркирайте отметката I accept the license terms for using Windows и изберете бутона Accept.
The execution of this process will clean all system settings for the OS, including the settings for the users. The execution of the process can lead to the restart of the system and can take several minutes to complete!
4. Configuration of the main parameters for the Windows Server 2012 OS
Step 1. – After the successful execution of the SysPrep process and after the initial start of the system, you will see the screen for the licence agreement and for the terms of use for the OS. From the lower right corner of the window, select the English keyboard layout and mark the “I accept the license terms for using Windows” field. Select the Accept button to continue.

- Стъпка 2. – На екрана ще се появи информация за езика, клавиатурната подредба и държавата/региона – попълнете полетата със следните настройки:
- За Country/region попълнете Bulgaria
- За Language попълнете Bulgarian (Bulgaria)
- За Keyboard layout изберете Bulgarian (Phonetic Traditional)
Изберете Next и продължете напред.
- Step 2. – On the screen you will see the information about the language, the keyboard layout and the country/region – Enter the following settings for the options:
- For Country/region select Bulgaria
- For Language select Bulgarian (Bulgaria)
- For Keyboard layout select Bulgarian (Phonetic Traditional)
Select Next to continue.

- Стъпка 3. – Въведете паролата за администраторския профил. Използвайте MAPassword123.
Стъпка 4. – След приключване на процеса ще се изведе началния екран на Windows Server 2012. Използвайте клавишната комбинация Ctrl+Alt+Insert и въведете паролата MAPassword123 за достъп до системата.
Стъпка 5. – След зареждането на ОС ще се зареди Server Manager. Изберете Local Server от дясната лента с инструменти. Намерете къде се намират настройките за времевите зони (Time zone). Изберете активната времева зона – ще ви се появи прозорец за сверяване на времето и времевата зона. Ако зоната не е (UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius задайте тази зона. Използвайте бутона Change date and time…, за да актуализирате текущото време за системата.
- Step 3. – Enter the password for the administrative profile for the system. Use MAPassword123 for the password.
Step 4. – After the end of the configuration process, you will be directed to the Windows Server 2012 Welcome screen. Use the key combination Ctrl+Alt+Insert and enter the MAPassword123 password to access the system.
Step 5. – After the start of the OS, you will see the Server Manager screen. Select the Local Server from the left toolbar. Find the Time zone area. Select the active time zone – you will see another window, which is used to configure the time settings and the time zone. If the zone is not (UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius, set the settings to this zone. Use the Change date and time… button to update the present time for the OS.

- Стъпка 6. – След промяна на настройките за времевата зона и текущото време изберете мрежовия адаптер Ethernet. Виртуалните машини са снабдени с две мрежови карти. За момента ще интерфейс Ethernet2 ще остане с настройките си по подразбиране – получаване на IP адрес по DHCP. След избора на първия интерфейс, ще се появи екрана за мрежовите интерфейси.
- Step 6. – After the change of the time zone and the update of the time settings, select the local network adapter – Ethernet. The virtual machines are equipped with two network cards. For the moment, the Ethernet2 interface will remain with its default settings – obtaining the IP address form the DHCP server. After the selection of the first interface you will see the screen for the network interfaces.

- Стъпка 7. – Изберете интерфейс Ethernet с десен бутон и изберете Properties. Ще ви се отвори екрана за конфигуриране на мрежовия интерфейс. Изберете Internet Protocol Version 4 (TCP/IPv4). Ще ви се представи екрана за въвеждане на мрежови настройки.
- Step 7. – Select the Ethernet interface with the right mouse button and click on the Properties option. You will be redirected to the window for the configuration of the network interface. Select the Internet Protocol Version 4 (TCP/IPv4) option. You will see the screen for the network settings.

- Стъпка 8. – Въведете информацията за мрежовите адреси спрямо мрежата, която използвате на хост машината. Изберете бутона за обновяване на информацията в Server Manager и проверете наново информацията за мрежовите интерфейси.
Стъпка 9. – Изберете Computer name от Server Manager. Изберете бутона Change и в новоотворения прозорец променете наименованието на компютъра на MAServer. Изберете ОК и рестартирайте виртуалната машина.
- Step 8. – Enter the information for the network interfaces based on the network you currently connected to on the host machine. Select the OK button to complete the configuration and check again in the Server Manager to confirm the update of the settings for the network interface.
Step 9. – Select the Computer name field form the Server Manager. Press the Change button and in the newly opened window change the name of the computer to MAServer. Select ОК and restart the virtual machine.

- Стъпка 10. – След рестартирането на сървъра изберете отново локалния сървър от Server Manager и проверете настройките. Изберете Remote Desktop. Изберете отметката, която позволява отдалечени връзки към компютъра и изберете ОК. Ще ви се изведе съобщение за конфигуриране на предпазната стена за компютъра. Изберете ОК.
- Step 10. – After the restart of the server, select again the local server from the Server Manager window and verify the settings. Select the Remote Desktop field. Select the option, which will allow the remote connection to the computer and press ОК. You will see a message for the configuration of the Windows Firewall. Click on the ОК button.

- Стъпка 11. – От локалния компютър стартирайте Remote Desktop Connection. Въведете адреса на сървъра, който конфигурирате, след което се идентифицирайте с потребител Administrator и парола MAPassword123.
5. Конфигуриране на роли и компоненти
- Стъпка 1. – Използвайте Server Manager и разгледайте настройките на сървъра. В момента той не разполага с никакви конфигурирани роли. За да промените това изберете от горния десен ъгъл на Server Manager > Manage > Add Roles and Features
- Step 11. – Start the Remote Desktop Connection on your LOCAL computer! Enter the IP address of the server, which you have previously configured, and enter Administrator for user and MAPassword123 for password.
5. Adding Roles and Features to the server
- Step 1. – Open the Server Manager and analyse the settings of the server. In its current state, the server has no roles configured. To change this, select the top right corner and follow the path Server Manager > Manage > Add Roles and Features.

- Стъпка 2. – На екрана ще ви се появи инсталационната програма за добавяне на роли и компоненти. Изберете Next.
- Step 2. – On the screen you will see the installation wizard for adding or removing roles and features. Select Next.

- Стъпка 3. – На екрана ще ви се появи прозорец за избор на вид на инсталацията. Изберете Role-based or feature-based installation и изберете Next.
- Step 3. – On the screen you will see the options to select the installation type. Select Role-based or feature-based installation and click on the Next button.

- Стъпка 4. – Следващата стъпка е избор на сървър, за който ще се добавят ролите и компонентите – изберете машината, която конфигурирате и изберете Next.
- Step 4. – The next step is to select the server, which will be used by you to add the roles and the features – select the machine, which you are using in the exercise and click on Next.

- Стъпка 5. – От менюто с роли изберете Web Server (IIS). Ще ви се отвори нов прозорец за избор на компоненти, които се изискват задължително от избраната роля. Изберете Add Features и след това изберете Next.
- Step 5. – From the menu for selection of the roles select Web Server (IIS). You will see a new window for the selection of the components, which are required by the selected role. Select Add Features and then click on the Next button.


- Стъпка 6. – Следващия прозорец ще изиска от вас да изберете допълнителни компоненти за инсталиране. Не маркирайте нищо и изберете Next. Следващия прозорец ще ви изведе информация за ролята, която инсталирате – изберете Next.
- Step 6. – The next window will require form you to select additional features to install on the server. Do not select any new features. Continue by pressing Next. The next window will present to you information about the role, which you have selected to install – select Next.

- Стъпка 7. – Следващия прозорец ще изиска от вас да изберете допълнителни незадължителни компоненти за инсталиране. Не маркирайте нищо и изберете Next.
- Step 7. – The next window will require form you to select additional optional components for the completion of the installation. Do not select anything – just press Next.

- Стъпка 8. – Следващия прозорец ще изиска от вас да потвърдите инсталирането на ролята. Изберете Next. Ще започне автоматизирания процес по инсталиране на компонентите на ролята.
- Step 8. – The next window will require from you to confirm the installation of the role. Select Next. An automated process for the installation of the new role will start.


- Стъпка 9. – След приключване на процеса по добавяне на ролята изберете Close и рестартирайте сървъра.
Рестартирането на сървъра автоматично ще прекъсне отдалечената връзка към него. Изчакайте няколко минути, за да може виртуалната машина да се рестартира и осъществете наново връзка към сървъра с Remote Desktop Connection.
- Step 9. – After the installation of the role select Close and restart the server.
The restart of the server will automatically terminate the remote connection to it. Wait for few minutes, so that the virtual machine can restart. After the restart you should again establish the remote connection to it using the Remote Desktop Connection tool of your local computer.

- Стъпка 10. – След рестартирането на сървъра и повторното осъществяване на отдалечената връзка към него отворете интернет браузър на локалната машина и въведете адреса на сървъра. Трябва да ви се зареди началния екран на IIS 8.
- Step 10. – After the restart of the server and the reestablishment of the remote connection to it, open a web browser on your local machine and enter the address of the server. As the role we have installed was the one for the web server, we should see the welcome screen of the IIS 8.

!!ПОЗДРАВЛЕНИЯ!!
Вие успешно завършихте настоящото упражнение и добавихте IIS роля към Windows Server 2012
You have successfully completed the exercise and you have added the webserver role and the IIS to Windows Server 2012
