Managing Atavism Windows Services

Lesson 2.2: Installation Steps

Setting up Atavism Windows Managed Services using Topshelf is a straightforward process. After extracting the files, you’ll need to configure the service appropriately to ensure smooth operation. In this lesson, we’ll walk you through the step-by-step process of setting up the AtavismServerManager using Topshelf.

Step 1: Extracting the Files

  1. Download the AtavismServerManager.zip file from the provided source.
  2. Navigate to the location where you want to extract the files. For this guide, we will use c:\AtavismServerManager.
  3. Extract the contents of the zip file to this location.

Step 2: Configuration

Before setting up the service, ensure you have the necessary configurations in place:

  1. Navigate to c:\AtavismServerManager or your chosen extraction path.
  2. Open any configuration files (if present) to set paths, credentials, and other essential settings.

Step 3: Installing the Service using Topshelf

Topshelf is a framework that simplifies the creation of Windows services. Using Topshelf, you can easily install, start, and stop Windows services from the command line.

  1. Open Command Prompt as an administrator.
  2. Navigate to your extraction location using the cd command:
    cd c:\AtavismServerManager
    
  3. To install the AtavismServerManager service using Topshelf, run:
    AtavismServerManager.exe install
    
  4. After installation, start the service:
    AtavismServerManager.exe start
    

The AtavismServerManager service should now be running as a Windows service.

Step 4: Verifying the Installation

  1. Open the Windows Services management console by pressing Win + R, typing services.msc, and pressing Enter.
  2. Scroll through the list of services to find AtavismServerManager.
  3. Ensure the service status is set to Running.

Conclusion

Congratulations! You’ve successfully installed and started the AtavismServerManager as a Windows service using Topshelf. This setup ensures that the Atavism server runs efficiently and reliably on your Windows machine. Remember to regularly check for updates and maintain your configurations to ensure optimal performance.