What is virtualization and what is the use of virtualization?
It is a modern technology in the network and the use of this technology leads to cost and time reduction and increases efficiency and optimization. In this article, we examine the importance of Virtualization.
With virtualization, we can create a layer between the hardware of computer systems and the software that runs on it. Of course, in this design, there is a logical view of consumption resources.
The virtualization solution first gives you the ability to recognize a group of servers as a single source of computing to the operating systems, and secondly allows you to install and use several operating systems such as Windows or Linux on one the server gives simultaneously.
Why should we move towards it?
Due to its many advantages, it has caused software development companies to use this technology in their products, and as most software is used in industries, as a result, to compete with other competitors, it is used. (It has more attention in the industry)
One of the best activities in this field is the integration of physical servers into a single server. Virtualization is the main goal of economic saving in the resources of every company. These days, most companies are looking to implement their server integration projects, and it is obvious that after this change, companies will see significant savings in their costs.
Another advantage of it is the reduction of energy consumption and the ease of managing servers and flexibility, because in a virtual environment, we can manage servers more flexibly.
Virtualization
How does it help our business?
Economic savings,
Business agility,
Clustering,
Partitioning,
Workload Management,
Configuring a group of servers,
Better use of available resources.
The difference between the types of virtualization methods:
Server:
The number and ID of servers, processors and operating systems are hidden from running software.
Network :
Combining the resources of a network and dividing the available bandwidth to specific servers or devices at a time.
Storage :
Combining physical storage spaces with storage spaces of devices in the network as one storage device
Virtualization
VMware is one of the leading companies in the field of virtualization.
PowerShell is a platform that consists of a command line, a programming language, and a configuration manager. You can run it on Windows, Linux, and MacOS. With it, we can do the things that we do graphically in Windows with the command line. in this learning, we want to know, how we can use Shut down or Restart computer by command. let’s start PowerShell (Shutdown-Restart).
First, we open it from the Start menu.
This command will shut down computer as Force without any confirmation:
when we use this command, system will shut down without any confirmation, this command is useful when you want to shut down immediately, we dont have any option to set time, when we use -Force
This command shut down computer and ask for confirmation:
With this command we get a message to confirm shutdown, this command allows us to decide before shutdown. we can select to close all or select to close one by one.
Stop-Computer -Confirm
with option Yes ↓
Option Yes to All ↓
If you want to Restart your computer, you can directly use this command:
This command helps us to restart computers. in this action computer restart immediately and we dont have any option to delay.
In this part we try to activate TPM on VMware, but before that we ask, what is TPM? That’s meanTrusted Platform Module, it is an international standard for secure encryption processors. The function of this microcontroller is to protect the hardware by integrating cryptographic keys. These chips are either integrated into the PC motherboard or added to the CPU.
Its revised version, version 1.2, was released on March 3, 2011, and the latest version is version 2.0
This technology is used to measure system integrity and generate keys. When booting a system, the load boot code records in this chip. It can also be used to reduce phishing attacks because it prevents the key from copying and use.
What are the advantages of using this technology:
Limit generation, storage, and encryption keys
Platform device authentication
Platform integrity
For Starting we can do these steps:
Open VMware and go to Edit virtual machine
in the menu virtual Machine Setting in tab Optionsfind advance
When you click on Advance in Right menu you have UEFI
under that you can find Enable secure boot and you can check mark it
These steps were first setting, now let’s go next setting and next steps
Again, go to Edit virtual machine
in tab Optionsfind Access Control
in Right menu, we have Change Password
we can assign a password
These steps were second setting, now let’s go last setting and next steps
go to Edit virtual machine
At the end of this menu, we have the button Add…
when you click on it, you can add Trusted Platform Module
when you add, you can see Trusted Platform Is Present
Congratulation you done and you added TPM on VMware for your virtual machine
In this course of Linux commands, we will introduce How to Create Users in Linux (useradd Command). We start tutorial by mentioning the structure and example. In Linux, the adduser command is for creating a user. There are several commands and methods to create a user in Linux, such as useradd, adduser. One of the features of the Linux operating system is multi-user support.
It is possible to create different users and separate groups by specifying the access level for each user or group in Linux. The two commands adduser and useradd work similarly and both commands have the same behavior.
adduser–system [options] [–home DIR] [–shell SHELL] [–no-create-home] [–uid ID] [–group | –ingroup GROUP | –gid ID][–disabled-password] [–disabled-login] [–gecos GECOS] user
when we try to create user, we have these questions:
Username: The username or login name should be between 1 to 32 characters.
Password: password save in /etc/shadow file in an encrypted format
User ID (UID): The user id is 1004. (“0” is for root user)
Group ID (GID): The group id is “1004” and save in directory “/etc/group”
User Info: information like Full name, Room Number, Work Phone, Home phone, Other
Home Directory: path is “/home/username”
Shell: user is “/bin/bash”
The Sudo utility allows users to run programs while using the security privileges of another user, usually root (superuser). The function of Sudo is like “run as” in Windows system.
Steps to set up and run Sudo (to run all commands as administrator). If the system is not already configured and enabled to use Sudo, changes must be made so that a non-root user can manage the system.
• In the command line, enter the command :
> su
You will be prompted for the root password.
Create username:
> adduser <user_name> sudo
> Sudo adduser user1
You can find other learning for Linux by clicking here.
It is a powerful hypervisor that we can install directly on a physical server. It has extremely high control over hardware resources and can effectively partition hardware to consolidate applications and reduce costs.
Hypervisors help a lot with better results in business management and information technology savings to achieve modern technology and optimal use of existing hardware resources. Due to the prohibitive cost of hardware resources, with the help of hypervisors, we can make the most of the available resources by dividing them and assigning them to several operating systems. With Hypervisors’ help, we can share existing hardware to use higher capacity, which increases performance, and we can also centralize IT management and simplify its control.
ESXi, formerly known as ESX, is a type 1 hypervisor developed by VMware and It use to provide the service of virtual operating systems. In fact, ESXi is not a program that we install on an operating system, but we can use it to integrate the critical components of operating systems, in other words, we can use several operation systems and install and run them at the same time.
As you know, hypervisors allow us to install an unlimited number of virtual machines (depending on the hardware) and one of the best of these is ESXI. In this tutorial, we are going to teach how to install ESXi on VMware.
What we can learn in this tutorial:
Our method is fast training so that maximum learning can be done in minimum time.