Automation AWS/Azure/OpenShift Version Control System Web Server Windows Server

How to Install Azure DevOps Server 2022

Azure-DevOps-Server

In this guide, I take you through how to install Azure DevOps Server 2022 on your on-premises infrastructure. You can use Azure DevOps Server 2022 in an on-premises environment. It can help streamline software development, improve communication, and promote collaboration. Please see Azure DevOps: Docker and Kubernetes Deployment with GitHub and how to deploy your first CI/CD Pipelines in Azure DevOps with ASP.Net Core.

Azure DevOps, also known as Team Foundation Server (TFS), provides a set of collaborative software development tools that can be integrated with an existing IDE or editor.  You can integrate Azure DevOps with Docker and Kubernetes.

In this post, we will carry out the installation on Windows Server 2022. Azure DevOps Server Installation requires SQL Server 2019. Here, we will consider the single-server installation. Learn how to Configure Email Notifications in Azure DevOps for your CI/CD pipelines to stay informed.

Steps to Install Azure DevOps Server

The installation of Azure DevOps Server 2022 is not a one-way, straightforward task. There are several dependencies to install before the actual Azure DevOps Server installation. The first dependency to install is Windows Server 2022.

Step 1: Windows Server 2022 Installation

It is assumed that you have set up your Windows Server 2022 and joined it with the domain controller. If you don’t already have it set up, download the evaluation copy of Windows Server 2022.

After downloading the Windows Server 2022 ISO file, refer to how to install and configure Active Directory Domain Services on Windows Server 2022. The above post takes you through installing Windows Server 2022 and making the server a domain controller.

Windows-Server-2022-Downloads
Windows Server 2022: Installation

Step 2: Install SQL Server for Azure DevOps Server 2022

The second dependency for installing Azure DevOps Server 2022 is the installation of MSSQL 2019 Developer Edition and SSMS on Windows. Download the SQL installation file here and use the link above, which will take you through the SQL Server installation guide. You may choose between the developer or express edition.

2-downloading-SQL-Server
SQL Server Installation

Step 3: Download and Install Azure DevOps

Since this is a demonstration, we will use Azure DevOps Express. It is recommended that you use the express edition if you’re evaluating or for personal use.

Azure DevOps Server Express is free, simple to set up on both client and server operating systems, and supports all the same features as Azure DevOps Server. The only difference is that it is limited by licensing agreements to five or fewer active users. 

To carry out the Azure DevOps Express installation, go through the steps below:

1: To get started, download the Azure DevOps Express installer.

1-Azure-DevOps-Server-Express-Downloads
Downloading Azure DevOps Installer

2. Mount the ISO file to the DVD drive by right-clicking on it and selecting Mount from the context menus.

2-Mount-the-ISO-file
Mounting Azure DevOps Express Installer file

3. Double-click on the ISO set-up file to start the installation

3-double-click-on-the-installer-file
Starting Azure DevOps Server Installation

When the installation page shows up, continue with the default installation path and click on Install. Sit back and relax for the installation to progress until the end. This may take several minutes, depending on your internet speed.

Step 4: Configure the Server

From the configuration center, click on Start Wizard to begin the configuration wizard for Azure DevOps Server.

6-configure-DevOps-Server
Configure Azure DevOps Server

Welcome

You will be taken to the welcome page. On the welcome page, select Yes, I want to participate in the Visual Studio Experience Improvement Program, and click Next to continue.

7-Welcome-page
Set-up Welcome Wizard

Create New Deployment

You will be taken to the new deployment page. Here, select “This is a new Azure DevOps Server deployment.” Click Next to continue.

8-Development-screen
Azure DevOps Server deployment options

On the Advanced Deployment page, select New Deployment—Advanced to configure your deployment scenario. Click Next to proceed.

9-Advanced-page
Configuring Deployment Scenario

Select language and click Next to continue

10-Select-language
Select Language

Specify the database

On the Specify Azure DevOps Server Databases page, you’re prompted to choose your SQL Server database. It is believed that you installed SQL Server Standard on the same machine as the one you used for the Azure DevOps Server Installation.

11-test-the-database
Azure DevOps Server Database

Test the database connection by clicking on Test. The green checkmark shown above signifies that the connection is passed. Click Next to proceed.

Set a Service Account

On the Service Account page, sign in with a domain user account that has the required permission to avoid permission issues later.

12-Connect-user-account
Sign in with a user account

Click on the test link to test the account connection, as shown above.

Configure the IIS and port numbers

The next screen will prompt you to configure the Azure DevOps Server with IIS.

Here, we will use the default custom port since it's going to be used locally. 

In other words, if you want to assess your server outside your network over the internet, you must purchase an SSL certificate and install it in the IIS.

13-SSL-Cert
Configuring Connection Settings

On the Provide Search configuration settings page, keep Install and Configure Search checked, provide the username and password for basic authentication, and click Next.

15-Search-configuration
Search Configuration settings
With the search function, can quickly find work items, code files, wiki pages, or packages based on a keyword, wildcards, and other supported search filters. To install the search functionality, you need to install the Azul Zulu OpenJDK11.

Here, I didn’t set up a search immediately. You can do it later. Create a new Team Project Collection (TPC) and click Next to continue.

16-Create-project-team
Create a New Project Team Collection

After creating the Team Project Collection. You will be taken to the review page

17-review-page-settings
Review settings page

Run the readiness checks.

You need to run the readiness check to ensure that all the phases can go through. If you choose to use the search functionality, you need to accept the licensing agreement for the JDK.

18-Readiness-checks-passed
Readiness checks

Configure the system. Run the configuration wizard and sit back until it’s successfully configured.

19-installation-successfully-complete
Readiness Checks Passed

You should now see the Review Results page. This gives you more

20-details-page-of-successful-installation
Review Results page

The Azure DevOps Server 2022 is now successfully configured, and it is running on our Windows .

You can view the application details page and create your first Azure DevOps project by navigating to the public URl ending similar to <serverName/DeafultCollection>.

I hope you found the post on how to install Azure DevOps Server 2022 useful. Please feel free to leave a comment below.

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x