Airzero Cloud

Next Generation Cloud !

enter image description here

What is Hyper-V?

Hyper-V is Microsoft’s virtualization platform which enables administrators to make better use of their hardware by virtualizing different operating systems to run off the same physical server constantly.

With Hyper-V, you can virtualize operating systems in the data center on your desktop and most everything in between. It is also a perfect tool for programmers that want a safe sandbox to test the software.

Microsoft Hyper-V can be installed and run on desktops Windows, or on servers running Windows Server for server administration services. Here we explain :

At first, you should prepare:

  • A user account with administrator permission and instructions for the computer
  • Enough available memory space to work all the virtual machines you plan to run at the same time
  • BIOS-level hardware support

Adding the Hyper-V role to your Windows

  • First right-click on the Start menu
  • Then click Search In the search bar, if you need to enter the turn windows feature on or off according to the system, the steps will vary.

  • For Windows systems:

  • From the list that given, select Hyper-V.

  • Then click OK.
  • Restart the system
  • For Windows Server systems:

  • From the given option Add Roles and Features Wizard, click Next

  • Select Role-based or specific-based installation. Click Next
  • Select the tool: Select a server from the server pool. Click Next
  • Then Select Hyper-V
  • Next to Click Add Features
  • Then Click Next
  • Next to Click Next
  • Then at last Click Next

Creating a Virtual Network Switch

  1. First, open up Hyper-V Manager.
  2. Next Right-click on the Hyper-V host and select Virtual Manager
  3. Then Under Virtual Switches, select New virtual network switch
  4. Ok next Under What type of virtual switch do you want to create?, select External
  5. Then click Create Virtual Switch
  6. Next, you Under Virtual Switch Properties, give the new switch a name, such as External VM Switch
  7. Then Under Connection Type, ensure External Network has been selected
  8. Next, you should select the external network card to be paired with the new switch. This is the card physically connected to the network
  9. Then next Click Apply to create the virtual switch. You’ll most likely see the following message. Click Yes to continue
  10. Next, you should Click OK to close the Switch Manager window

How to Create a virtual machine with Hyper-V?

  1. The first step you have to do, in Hyper-V Manager, click Action > New > Virtual Machine to bring up the new Virtual Machine wizard.
  2. Then review the Before You Begin content, then click Next
  3. Next, give the virtual machine a name
  4. Then you have to choose a location where the virtual machine files will be stored, such as c:\virtualmachine. You can also access the location
  5. Then Click Next
  6. Next, you should Select Generation 1 for the machine and click Next
  7. Then Select 2048 MB for the Startup Memory value and leave Use Dynamic Memory selected. Click Next. On the Connection Networking, click on a virtual switch for the virtual machine and click Next. For more details, see Creating a Virtual Switch.
  8. Next, you should give the virtual hard drive a name, select a location or keep the default, and specify a size. Click Next.
  9. Then, On the Options wizard, select Install an operating system from a bootable image file, then select an operating system .iso file. Click Next.
  10. Next, When you create a virtual machine, you can connect some operating system installation options. The three options available are: * Install an operating system later.
    * Install an operating system from a bootable file – similar to inserting a CD into the l CD-ROM drive of a physical computer. To connect this option, select a .iso image. This image will be merged with the virtual CD-ROM of the virtual machine. The boot order of the virtual machine is replaced to boot first from the CD-ROM. * Install an os from a network-based installation server – not available unless you’ve configured the virtual machine to a network switch. In this connection, the virtual machine needs to boot from the network.
  11. The last step is to review the virtual machine details and click Finish to complete the virtual machine creation.

If you have any queries about this topic or have to get the server management services and solutions, feel free to contact us. Always AIRZERO CLOUD will be your strong firewall. E-mail id: [email protected]

enter image description here

Author - Johnson Augustine
Cloud Architect, Ethical hacker
Founder: Airo Global Software Inc
LinkedIn Profile: www.linkedin.com/in/johnsontaugustine/

enter image description here

How to Configure a Subdomain in Apache2?

Being a cloud service providing company, in this blog, we taught you about How to set up subdomains on the Apache HTTP server.

A subdomain is a precursor that can be set up on a domain name. For instance, in "key.yoursite.com" the word "key" is the subdomain of the "yoursite.com" domain name.

How To Change Dns Zone File?

Before digging into the server to create a subdomain in apache2, let the domain name registrar know of the subdomains that you wanted to use. To do this, signed onto the registrar's site for managing the domain names, and went to edit the DNS Zone File.

A DNS Zone File is used by Internet routers to keep perfect track of where to send traffic that comes to the domain name. Mail traffic can be sent to the mail server, while FTP traffic could be to a server with a variety of IP addresses, and so on. Because Zone Files are not patriarchal, each subdomain must have its own way of the entry point in the file.

Anyway, when you got to the margin where you could edit my DNS Zone File, looked for the "CName" table, which documents the "alias" records. To create a replacement thanks to entering, add the name of your subdomain under the host column, and an "@" sign under the "points to" column.

The given "@" is shorthand for the IP address of the domain name that we are providing, which was defined in the Host table in the DNS Zone File. And that's it, basically. Except for a bit of waiting.

It usually takes about an hour for the changes to the Zone File to discover across the Net. make sure and correct that if it has been activated by pinging it to see if you get a response back. In the first, the subdomain has been registered within the zone file. In the second, that subdomain that we gave has not been registered. If you're following along, you would possibly be noticed that once you enter the subdomain.domain.com address into a browser -- once the Zone File has propagated across the web -- the server changes the way of you to the main site's home page. That's a start.

How to change Apache settings?

In effect, you've learned how the planet beat a road to your subdomain, and therefore the remainder of the work cares about fixing the server to field the requests correctly! Now, it's time to configure Apache!

At the command line, open the "apache2.conf" in the /etc/apache2 directory. As the name prefers it is the configuration file for Apache. At the down margin of the apache2.conf file, after the last commented text, "#Include the virtual host configurations" is the place that you need to add your additional configuration instructions that Apache will chase once it is restarted.

A virtual host, defined as Apache in code, allows a single instance of Apache to run different sites. Each site that we are hosting gets its own configuration entry in apache2.conf file. In Apache technical follow-up, create multiple name-based virtual hosts for the same IP number.

Depending on how your page of Apache has been set up you may already see an entry for a virtual host, for the main site for the domain. For example, it'll appear as if this:

NameVirtualHost 76.99.43.16
ServerName www.joabj.com
ServerAlias joabj.com
DocumentRoot /var/www

where the host IP number (76.99.43.16) is assigned to a specific domain name.

To add a support tool for subdomains, create a VirtualHost entry for each subdomain, using the same IP number. So for technique.joabj.com and fishing.joabj.com, add these entries respectively.

ServerName technique.joabj.com
DocumentRoot /var/www/Technique
ServerName fishing.joabj.com
DocumentRoot /var/www/fishing

In these examples, the Host IP number is the same as the actual site. The name of the server entry indicated the name of the fully qualified address of the subdomain and the DocumentRoot indicated where the root directory for this subdomain exists in the server's own file system.

("/var/www/technique")

In effect, you could make a full site for the subdomain, based on the root document directory. Note you would like an index.html within the subdomain's root directory for Apache to display some content when subdomain.domain.com is named.

And, as always, remember to restart your Apache server after making any configurations. In Ubuntu, it is done easily at the command line:

service apache2 restart:

/etc/init.d/apache2 restart

If you have any questions about the above topic or have to get server administration services and solutions, setting up a subdomain in apache2 and for more consulting services. Feel free to contact us. AIR ZERO CLOUD will be your strong digital solution. E-mail id:[email protected]

enter image description here

Author - Johnson Augustine
Cloud Architect , Ethical hacker
Founder: Airo Global Software Inc
LinkedIn Profile: www.linkedin.com/in/johnsontaugustine/

enter image description here

Introduction

The Apache server is the most broadly-used web server in the world. It provides many powerful features including :

  • Dynamically loadable modules
  • Powerful media support
  • Perfect integration with other popular software

In this article, you will learn how to install an Apache server on your Ubuntu 18.04 server.

This blog also outlines information about important Apache folders and directories. Below are the steps that led to the installation of apache on ubuntu.

  • Step 1 — Installing Apache:

Apache is available within Ubuntu’s default software, making it a chance to install it using conventional management tools.

Begin by updating the local package index :

sudo apt update

install the apache2 package:

sudo apt install apache2

After confirming the installation, it will install Apache.

  • Step 2 — Adjusting the Firewall: Before testing, it’s necessary to change the firewall settings to allow external access to the default web ports.

During the installation, the server registers itself with UFW to give a few applications that can be used to.

Allow access to Apache through the firewall. List the ufw application profiles by running the following command:

sudo ufw app list

This will return a list of profiles:

Output
Available applications:
Apache
Apache Full
Apache Secure
OpenSSH

The above list shows that there are three profiles available for Apache server:

  • Apache: profile opens only port 80
  • Apache Full: profile opens both port 80 and port 443
  • Apache Secure: profile opens only port 443 Recommended that you access the most restrictive profile that will still access the traffic you’ve configured.

    sudo ufw allow 'Apache'

Verify these changes:

sudo ufw status

Now the accessed HTTP traffic will be displayed like this:

Output
Status: active
To                             Action                           From
--                                  ---                                    ---
OpenSSH                ALLOW                        Anywhere
Apache                     ALLOW                        Anywhere
OpenSSH (v6)        ALLOW                        Anywhere (v6) 
Apache (v6)             ALLOW                        Anywhere (v6)

The Apache profile has now been activated.

  • Step 3 — Checking your Web Server: At the end of the installation, Ubuntu 18.04 starts Apache. The server should already be up and running.

Check with the systemd system to make sure the service is working:

sudo systemctl status apache2

Output
apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset:
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: active (running) since Tue 2021-09-28 16:52:56 UTC; 1min 14s ago
Main PID: 9409 (apache2)
Tasks: 55 (limit: 4915)
 CGroup: /system.slice/apache2.service
 ├─9409 /usr/sbin/apache2 -k start
├─9410 /usr/sbin/apache2 -k start
└─9411 /usr/sbin/apache2 -k start

This output shows that the service has started better. However, the perfect way to check this is to request a page from Apache.

You can access the default Apache page to confirm whether the software is running properly through your IP address.

If you do not know the server’s IP address, you can get it by using the command line.

Run the following command prompt:

hostname -I

You will receive a few addresses. You can try each in your web browser to check if they are running.

  • Step 4 — Managing the Apache Process: Now that you have your server up and working, let’s review some basic commands. You can stop the server with the command:

    sudo systemctl stop apache2

To start the server when it is stopped:

sudo systemctl start apache2

You can stop and start the service by :

sudo systemctl restart apache2

Apache can often reload without dropping connections by:

sudo systemctl reload apache2

You can disable the behaviour of apache with the following:

sudo systemctl disable apache2

Alternatively, to enable o the service to start up at boot:

sudo systemctl enable apache2

Apache should now start automatically.

WOW! At last, you installed the Apache server on your Ubuntu.

If you have any doubts about the above topic or have to get cloud hosting services and consultations. Feel free to contact us. AIRZERO CLOUD will be your strong digital solution. E-mail id:[email protected]

enter image description here Author - Johnson Augustine
Cloud Architect , Ethical hacker
Founder: Airo Global Software Inc
LinkedIn Profile: www.linkedin.com/in/johnsontaugustine/