In this article, I am going to fix Apache Shutdown Unexpectedly Error. When, I launch XAMPP control panel and tried starting Apache service but it could not start, got error again and again that the port 80 which I am using for apache service is already in use. I am guessing a system application because I recently reinstalled all PC network drivers. So, if you have encountered like this issue before Please follow the below steps.
How did I fix this issue? Well, I did some configuration changes, but before I go into the XAMPP detail, here is the error I got when I start apache service in the xampp control panel.
Fix Apache Shutdown Unexpectedly Error
The first step is to check if skype was making use of the port. This might be an issue too for some users found, but then it doesn’t work efficiently in some cases. In the xampp control panel, select config a list of options and then select Apache (httpd.conf).
It will open this .conf file in the notepad text editor. Select Ctrl + F, then type Listen 80, and then hit enter to find the listen 80.
Change the port number here from 80 to 8080, Once the changes have been made, save the changes and then close the file.
Click again on the config button for apache in the xampp server control panel, and then select Apache (httpd-ssl.conf). It will open the .conf file in a notepad text editor.
Find Listen 443 and then Change the port 443 here to 4433. Once the changes have been done, save the changes and then close the file.
Please ensure to save the httpd.conf and httpd-ssl.conf files after performing the changes. Then restart the Apache service. Here you can see, the port numbers (8080) have been changed respectively and the apache service is running fine.
Now you can see in your web browser http://localhost:8080/dashboard/
It works for me like a charm I hope it does so for you too.
In this article, I will explain how to install Kaspersky Network Agent on Microsoft Windows 10. To install Kaspersky Network Agent on a device locally. You can Download Network Agent from the Kaspersky website or create an installation package from the administrator server.
Install Kaspersky Network Agent
On the system, run the setup.exe file from the downloaded folder or from the Internet.
Welcome to the Network Agent Setup Wizard, click Next.
Choose the confirm checkbox for the Kaspersky license agreement and then click Next.
Click on the browse button if you want to change the installation directory or leave it to default and then click Next.
Kaspersky network agent proxy server configuration, click next.
While the Kaspersky network agent Wizard is running, you can define the network agent advanced settings. If you wish to use your computer as the connection gateway for a particular administration group, in the Connection gateway option of the Network agent Wizard choose Use Network Agent as connection gateway in DMZ.
Successfully installed KNA, click the close button.
In addition, we will be able to enable the sending of this information in the Network Agent policy settings or in the Network Agent properties. After completing the Setup Wizard, Network Agent will be installed on the device.
We can view the properties of the Kaspersky Network Agent service, and restart, stop, start, and monitor Network Agent activity by means of standard Microsoft Windows tools: Computer Management\Services.
Related: how to uninstall Kaspersky Security Center Network Agent.
In this article, I will explore how to enable Windows Server Backup features in Windows Server 2022. Implementing Windows Server backups is an essential part of daily Windows Server administration.
Backup permits you to restore lost data from disaster scenarios such as computer viruses, hardware-software failure, and human error.
Before creating a server backup, first, you need to install the Windows Server Backup feature. After the installation, you can access the Windows PowerShell command for Windows Server Backup. To enable this feature, using PowerShell is the simplest way.
If you try to run a backup job without installing Windows Server Backup, you will be prompted to install it.
Enable Windows Server Backup Feature
To install Windows Server Backup, you need to have Administrator access or Backup Operator. Now you can go to the Server Manager and then click on Add roles and features.
The following wizard will be displayed, click next.
Click next.
Then we select the server and then click next.
In the server roles section we will not apply for any roles, click next.
In the Features options, tick the Windows Server Backup box and then click next.
In this article, I’m going to discuss What is AMI in AWS and how to create AMI from EC2 Instance? If you want to know the entire process of creating AMI from EC2 Instance, this article is going to be very helpful for you.
Before Starting the Whole Process, I would love to share some details about AMI in AWS because many people don’t know about it.
What is AMI in AWS?
AMI in AWS stands for Amazon Machine Image. AMI’s are templates that contain all the information needed to launch an instance, including the operating system, application server, and applications. AMI’s are used to launch instances, which are virtual machines that run on Amazon EC2. AWS provides a variety of AMI’s, and you can also create your own AMI’s. When you launch an instance from an AMI, you specify the AMI that you want to use, as well as the instance type, which determines the size and performance of the instance.
You can also specify additional options, such as the security groups and key pairs that you want to use. After you launch an instance, you can connect to it and use it just like any other computer. You can install software, run applications, and store data on the instance. When you no longer need an instance, you can terminate it to stop paying for it.
An Amazon Machine Image (AMI) provides the information required to launch an instance.
This includes the operating system and other software required to run the instance. When you launch an instance, you specify an AMI, which determines the operating system, application server, and applications that are installed on the instance. You can also specify additional options such as the instance type, security groups, and key pairs. After you launch an instance, you can connect to it and use it just like any other computer. You can install software, run applications, and store data on the instance. When you no longer need an instance, you can terminate it to stop paying for it.
AWS provides a variety of AMIs, and you can also create your own AMIs. To create an AMI from an EC2 Instance, you should follow these Instructions.
How to Create AMI from an EC2 Instance
I am going to Create AMI in AWS from an EC2 Instance. I need to create a backup or launch multiple copies of an Amazon Elastic Compute Cloud instance (Amazon EC2), or I obtained a maintenance notification proposing that I create an AMI (Amazon Machine Image) of my instance.
Log in to the AWS account and then go to the AWS Services tab at the top left corner.
1- Click on EC2 under compute.
2- Click on the Launch Instance button in AWS.
3- Select Windows Server 2019 and then click next.
4- Select the type of instance. Click Next: Configure Instance Details.
5- Type Number of instances – 1 Network – default. Subnets – default. Auto-assign Public IP – default Click on Next: Add Storage.
6- Volume size – default 30Gb. Add one more volume – 8GB Click Next: Add Tags.
7- Add a tag Click on Next: Configure Security Groups.
8- Configure Security Group. Security group name – dmz-Security Select Protocols – RDP, Source type Anywhere Click on Review and Launch
9- Click launch.
10- Select – Create a new key pair Key pair name – server key pair Select the download key pair button and then save it in your secured folder After downloading the key pair click launch instance.
11- You can see its status as running after your instance is up and running. Select instance (DC-Server) and then click connect.
Create an AMI in AWS from an Amazon EC2 Instance
From the AWS EC2 Instances view, we can create Amazon Machine Images (AMIs) from either running or stopped instances. In this lab, I will stop my instance.
To create an AMI in AWS from an instance
1- Select your instance, click on action menu, select instance state and then select stop.
2- Click Yes, Stop.
3- Select the instance you need to use as the basis for your AMI.
Select Action, select Image and then select Create Image from the context menu.
4- Create Image context menu Type a unique name and description, and then click on Create Image.
5- Create image request received click close.
6- When the AMI first shows up, it will be in a pending state.
7- Click on Refresh to see your AMI. In a few moments, it transitions to an available state.
8- Select snapshots under elastic block store.
9- You can see Snapshot.
10- Select Instance, click on action menu, select instance state and then click terminate.
11- Terminate instance click Yes, Terminate.
To copy an AMI in AWS using the console
1- Now you can see after deleting instance we have no volume.
2- Select AMI in AWS under Image, AMIs to display the list of AMIs available to you in the Region. Select the AMI (server-image) to copy. Select action menu, and then select Copy AMI.
3- Destination region* – The Region where you want to copy the AMI. Name – Type a name for AMI. Description – By default, the description includes information about the source AMI so that we can distinguish a copy from its original. You can change description if required. Encryption – Select checkbox to encrypt the target snapshots, Master Key – choose the KMS key to use to encrypt the target snapshots. We display the confirmation page to let you know that the copy operation has been launched and to provide you the ID of the new AMI. Click Copy AMI
4- Select Done.
5- Initial status of the target AMI in AWS is pending.
6- The operation is completed and the status is available in AWS. Select the type of instance for AMI and then click on Launch
7- Click Next : Configure Instance details.
8- Type Number of instances – 1 Network – default. Subnets – default. Auto-assign Public IP – default Click on Next : Add Storage.
9- Now you can see the same settings. Volume size – default 30Gb. Add one more volume – 8GB Click Next : Add Tags. Click on Next : Configure Security Groups
10- Configure Security Group. Assign a security group – Select an existing Security group and then select dmz-Security Click on Review and Launch.
11- Click launch.
12- Select – choose an existing key pair Select a key pair – server key pair Click launch instance.
13- Once the instance is running and up, you can see its status as running.
In this guide, I will run Windows PC Health Check to know if the computer can run Windows 11. Here you can check Windows 11 minimum system requirements and then how to check if you’re PC can update to Windows 11.
The Microsoft PC Health Check App had been intended to offer a simple way to check Windows 11 compatibility on Windows 10 PC, ready for the new operating system launch. However, Windows users originally found it deficient specificity the Windows app would say your PC won’t run Windows 11, but would not explain why.
Microsoft has a tool to help you figure out if your system will be able to run Microsoft Windows 11. Minimum System Requirements for Windows 11 Windows 11 Feature Specific Requirements To quickly check if your device is compatible, first, download the Windows PC Health Check from Microsoft.
Windows PC Health Check
Scroll down, find Check for compatibility and then click Download APP.
After downloading, double click to run the application from the download folder of your browser.
Select the radio button I accept the terms in the License Agreement option then select the Install button.
It will take a few seconds/minutes to complete the installation Once installation completed, select the checkbox Open Windows PC Health Check option and then select the Finish button.
Introducing Windows 11, select the Check Now option.
It will take few seconds to check the compatibility of your system. If your computer is compatible with Windows 11, you will receive this alert stating so.
In this blog, I will show you how to create backup image macrium reflect. Using Microsoft Volume Shadow Copy (VSS) Service Macrium Reflect creates point-in-time persistent images of your PC. In Addition, to create backups of all system partitions required to backup & restore Windows, we can backup all or selected partition and drives and on the computer.
Macrium Reflect Image Wizard
The Image Wizard can be started in different ways. Select Backup tab and then Image selected disks on this computer Selecting this option will inhabit the Image Wizard with all selected disks & partitions in the application main window. Or choose create an image of the partition ……… Selecting this option will choose all the partitions necessary to boot Windows. This might include hidden system partitions that are essential for Windows to start and run.
Create Backup Image Macrium Reflect
Select Image this disk in the application main Window.
Macrium reflect Image Wizard shows the selected disks & partitions to be included in the Image and then you can click on … button to choose a destination.
Select the destination folder (local drive or shared) where you want to save the PC image and then click ok.
Type a backup filename and then click next.
Select next to edit the backup plan for this image or click finish to save and/or run the Image now.
Macrium Reflect Adding and Editing the Backup Plan
Here you can create or edit your Backup Plan. This defines the backup schedules/retention rules for your backup.
Select define retention rules
Chose the age or number of backup types that you want to keep
Choose next.
Select advanced options
Select compressions
Set password
Email notification settings.
Click finish
Saving the backup definition
Now you are given the opportunity to save the backup options. This backup save option enables to save your backup options as a re-usable XML definition file. This is essential for many operations in consider including scheduling – creating Incremental and Differential backups
If you need to run the backup at this point, choose run this backup now and then click ok.
It is very pretty simple to change computer name in Windows 11 (default computer name). You can change the PC name throughout the Windows 11 Settings tab. You can also use Command Prompt (CMD) or PowerShell or to change the name of your Windows 11 system. Here are the steps to change your computer name on Windows 11.
Change Computer Name via Windows Settings
To change the computer name, right-click on This PC and then select properties.
Select rename this PC.
Or you can open the Windows settings app and then select projecting this PC.
Select rename your PC.
Enter a new computer name under the current PC name and then click Next.
Select the Restart now button.
Change Computer Name using System Properties
We can also have the option to change our computer name from the properties.
To change the computer name, hold the WINDOWS+R key to launch the run command, type sysdm.cpl, and then click ok.
The System Properties will open by default, Select the Change button.
Under computer name/domain changes, type a new computer name and then select ok.
Click on ok.
Click close.
Make sure that you have saved files before restart. Select Restart Now.
This guide will walk you through to install and configure XAMPP server on Windows 10. The XAMPP is a free open source application that provides the easy way for web designers and developers to install the components to run PHP based software like WordPress, and etc. on Windows. XAMPP server includes with control panel to manage all its components easily. XAMPP stands for cross-platform, Apache, MySQL, PHP, Perl, and with some additional modules including phpmyadmin (for the database), FileZilla, Mercury, and Tomcat.
How to install XAMPP on Windows 10
How to download and install XAMPP on Windows 10, follow the below steps.
1- Choose the Download option for the Windows version of XAMPP.
Note: If you have any special version requirements for PHP, then download the version you are required to install. If you don’t have a version requirement, then you can download the oldest version, as it will help you to avoid issues trying to install PHP based application. In addition, a set of instructions have been tested to work for XAMPP version 7.3.26 & previously versions, but you can also use them to install later versions.
Install and Configure XAMPP Server
2- Double-click to launch the xampp installer.
3- Click yes.
4- Click ok.
5- Welcome to the XAMPP setup, click next.
Complete XAMPP installation on Windows 10
6- XAMPP offers a variety of components that you can install, recommended to leave the default options. Click Next.
7- Leave the default installed location. (Or select another directory to install the software) and then click Next.
8- Choose the language for the XAMPP Control Panel and then click next.
9- Click Next.
10- Click next to begin the XAMPP installing.
11- Welcome to XAMPP!
12- Chose the Allow access button to allow permission through the Windows Firewall (if applicable). Click Finish.
How to configure XAMPP on Windows 10
13- The XAMPP Control Panel includes main sections. In this section, you will find all the web services available. You can start service by clicking on the Start button. When we start some of the services, including (Apache and MySQL), you will see the process PID(s) number and port(s) numbers that each service is using. For instance, by default Apache uses ports 80 and 443, while MySQL uses ports 3306.
14- Open any web browser, type http://localhost/
Install WordPress on XAMPP Server
15- In this step, we are talking about WordPress.org, which is a free, open-source CMS for website building and maintenance. Select download WordPress.
16- Right-click on downloaded wordpress-5.6.zip, choose winzip & then unzip to here.
17- Copy unzipped wordpress folder.
18- In the computer, the XAMPP server file was installed in C:\xampp, so we need to paste our WordPress folder in C:\xampp\htdocs folder. XAMPP Server directory.
19- To avoid confusion of this project, we can rename this WordPress folder that we will remember such as TestSite, etc. Keep in mind that will be our local WordPress site URL.
20- Type the following address into your web browser (Chrome, Firefox, or I Explorer) http://localhost/TestSite/ Select a language and then click continue.
21- Select Let’s go!
22- Leave it for a while.
23- Now type http://localhost/phpmyadmin/ in web browser and then press enter. Select the Databases tab in phpMyAdmin to create a new database for our WordPress.
24- Type a database name (TestDB) and then select Create.
25- Your new database is ready, you can now install WordPress.
26- Go back to your local site http://localhost/TestSite/ here you can type your database name, username, with password, host, and table prefix. In my test lab, I have entered the following credentials. Database Name: TestDB Username: root (default MySQL password) Password: (leave this field blank) Host: localhost Table prefix: wp_
Select Submit.
27- Select Run the installation.
28- Fill the information needed for your new WordPress website. It’s include the site title, username, password, and email address. Enter the credentials and then press Install WordPress.
29- After completing the installation, Select login.
30- Enter your login credentials to log into your WordPress dashboard.
In this guide, I will explain how to create protection groups in Veeam backup and replication. We need to add computers that we plan to protect with Veeam Agents to the inventory in Veeam Backup & Replication console. The Veeam Backup & Replication, ensured computers are organized into protection groups. So, we can create one or more protection groups that include computers of offer different discovery or different types & deployment options.
Note:
If you don’t want to create protection groups, for example, if you plan to control only a small number of computers in your infrastructure, you can add the essential computers directly to a Veeam Agent backup job. The Veeam Backup will be automated add such computers to the Manually Added protection group.
If you want to know about creating protection groups, then click here
Create Protection Groups in Veeam Backup
1- To create the New Protection Group, Choose the Inventory option, choose Physical Infrastructure option and then choose Create Protection Group.
Protection Group Name and Description
2- In the Name box, enter a name for the protection group. In the Description field, provide a description for future referral. The default description details contain information about the user that added to the protection group, time, and time when the protection group was created.
3- Choose the type of the protection group and then select next.
Specify Protection Scope
4- This step of the wizard, you can indicate the computers that you want to add to the protection group. Click Add
5- In the Add Computer window, in the Hostname or IP address field, enter a full DNS name, NetBIOS name, or IP address of the computer that you want to add to the protection group.
From the Credentials list, select a user account that has the administrative permissions on the computer that you would like to add to the protection group. Veeam Backup & Replication will use this account to connect to the protected computer and fulfill the necessary operations on the computer: upload and install Veeam Agent, and so on. If you have not set up credentials previously, click the Manage accounts link or click Add on the right to add credentials. For more details click here
6- If you want to know more about if Veeam Backup & Replication can communicate with PCs added to the protection group, so click Test Now. So the Veeam Backup and Replication will use the credentials to connect to all computers in the list.
7- Click close.
Note:
If you want to choose to manually add Linux-based computers to the list of trusted hosts in Veeam Backup & Replication, when we test credentials for an unknown Linux-based computer within the protection group settings, the test process will complete with the failed position. It happens because Veeam Backup & Replication cannot connect to the not trusted computer before you add this computer to the list of trusted hosts. To know more about how to Add Computers to Trusted Hosts List.
8- Click Next.
9- Specify the new protection group backup schedule options and then click next.
10- Review the settings and then click apply.
11- Click next.
12- Select the checkbox run discovery when I click finish.
13- Rescan of active directory completed successfully click the close button.
In this article, I will explain How to create a single database in Azure. We will use the Azure portal, a PowerShell script, or an Azure CLI script to create a single database in Azure SQL Database. We will then query the database using Query editor in the Azure portal.
A single database is the simplest and quickest option for Azure SQL Database. We manage a single database inside a server, which is within an azure resource group in a specified Azure region.
We can create a single database in the server or provisioned less compute tier. A purvey database is pre-allocated a determined amount of compute resources, including memory, CPU and uses one of two purchasing models.
Create a single database in Azure
Create a single database in Azure portal: Sign in to the Azure portal
1- In the Azure search bar, enter azure sql and then select Azure SQL.
2- On the Azure SQL page, select + Add.
3- In the select SQL deployment option window, choose the SQL databases tile, with Single database. Choose Create.
4- Create SQL database Basics tab under Project details, Select the Azure Subscription Under Resource group, click on Create new, type a resource group name (my-sql), and then select OK.
5- Database details; enter a Database name (mydatabase). For Server, click ok Create new.
New Server
6- Server name – Type a name (sqlserver44) Server admin login: Enter username (jamil). Password – Type a password that meets requirements and type it again to confirm password. Location – Choose a location (US) Central US. Select OK.
7- Record the server admin login & password so we can login to the server and then its databases. If you forget the login or password, we can get the login name or reset the password on the SQL server page after database creation. To open the SQL server page, choose the server name on the database Overview page.
Under Compute + storage, if you need to reconfigure the defaults, choose Configure database.
8- On the Configure page, you can optionally: After making any changes, select Apply.
9- Select Next: Networking >.
10- Networking tab, under Connectivity method, choose Public endpoint. Choose Next: Additional settings >.
11- Additional settings tab, in the Data source section, for Use existing data, choose Sample. Select Review + create
12- Select Create.
Query the database
Once the database is created, we can use the built-in Query editor in the Azure portal to connect to the database & query the data. 13- In the portal, search for, select SQL databases, and then choose your database from the list. Choose Query editor (preview) in the left menu.
14- Type the server admin login information, and then select ok.
15- Type the below query in the Query editor pane.
SQL Copy SELECT TOP 20 pc.Name as CategoryName, p.name as ProductName FROM SalesLT.ProductCategory pc JOIN SalesLT.Product p ON pc.productcategoryid = p.productcategoryid;
Choose Run, and then review the query results in the Results pane. Close the Query editor page, and then select OK when prompted to discard your unsaved edits.
16- Copy database server name.
To connect to use SSMS and query Azure SQL Database or Azure SQL Managed Instance
Connect to your database
In SSMS, connect to your server.
Important
A server listens on port 1433. The firewall must have this port open to connect to a server from behind a corporate firewall.
1- Open SQL Server Management Studio.
The Connect to Server window box appears Server type – Database engine Server name – type your SQL Database URL (example sqlserver44.database.windows.net) Authentication – SQL Server Authentication Login – username Password – type your password Select Connect The Object Explorer window opens.
2- To view the database objects, expand the Databases and then expand your database node.
Query data
3- In Object Explorer, right-click mydatabase and select New Query.
4- In the query window, paste the below SQL query: SQLCopy SELECT pc.Name as CategoryName, p.name as ProductName FROM [SalesLT].[ProductCategory] pc JOIN [SalesLT].[Product] p ON pc.productcategoryid = p.productcategoryid;
From the toolbar, choose Execute to run the query and then retrieve data from the Product and ProductCategory tables.
In this article, we will learn how to upgrade Windows Server 2019 to 2022. What is the greatest way to upgrade Windows Server 2019 to 2022? Here, are the details and a step by step guide to help you with the upgrade. Meanwhile, a few optional and practical tools will be introduced to secure a successful upgrade.
A lot of users would love to Install Windows Server 2022 for its useful features and excellent functionalities and useful features that Server 2019 and other Server versions do not have.
Since the new version of Windows Server 2022 is much more secure, Windows Server 2019 vs 2022 many users favor experiencing the latest version and its features, this guide will provide you Windows Server 2022 upgrade path. We recommend that you should take Windows Server 2019 backup in advance. Then, you can follow this guide to start upgrading your system to Windows Server 2022.
Upgrade Windows Server 2019 to 2022
Here is my Windows server 2019 version and it is a workgroup, please keep in mind that it’s not an active directory server.
First, make sure Server 2019 is up to date
You need to make sure whether your current operating system is up to date. Go to Settings, Update & Security, and then check for Update. If the system is outdated, you should update to the latest version.
Log in to your Windows Server 2019 and insert the media into the CD/DVD drive, then double-click it to update and install 2022.
Upgrade the Windows Server window, select the checkbox I want to help make the installation better, and then click Next.
Insert the Server 2022 product key and then click Next.
Choose the Windows Server 2022 edition which is the same as Server 2019 to install, and then click Next.
Accept the license to move on.
If you don’t select the right version, the first option will be grayed out Select the radio button to keep personal files and apps, and then select next.
Windows Server 2022 Setup analyzes your device, it will prompt you to proceed with your upgrade by selecting Install.
Server 2019 upgrade starts.
The server will restart after completing the process.
After successfully upgrading to Windows Server2022, login and then you can your Windows editions.
Are you still running old Windows 10? It’s time to upgrade Windows 10 to Windows 11. Here are the guidelines that you will need to keep Windows files and apps without any issues.
Before you start the process, first, make sure that your Windows 10 installation has been activated. The best thing is to backup your files and folders. The Windows PC health check tool permits you to check your Windows 10 OS is capable to upgrade to Windows 11. First, you need to check your Windows version. Open settings and check your Windows is up to date.
It will tell you if you need to keep all the apps and files after the upgrade. By default, it will remain everything however, if you are looking to start fresh with no files or apps, then select the “Change what to keep” option. Select what you want to do and then click next.