Tech Junkie Blog - Real World Tutorials, Happy Coding!: Virtualization

Latest Posts

Showing posts with label Virtualization. Show all posts
Showing posts with label Virtualization. Show all posts

Monday, January 10, 2022

 I've done a post on this before, but it was for an older version of Linux CentOS it no longer works for CentOS 8 Stream.  So instead of updating the existing post, I am doing another post so it won't confuse you.  The older post is for older version of CentOS and this one is for CentOS 8

The first thing you noticed after your install of CentOS on VirtualBox is that it's pretty small even if you put it in Fullscreen mode, it doesn't not fill the whole screen at all, as a matter of fact the size stayed the same.

In this post we are going to install the Guest Addition tool in VirtualBox to make the VM fullscreen truly fullscreen. 

Here are the steps to make the VM fullscreen:

1. Log into your system as root

2. Run dnf update -y, if you have no internet access type dhclient -v to get access

3. Next we want to install Red Hat's repository of tools with this command dnf install epel-release















4. Once the update is finished run the command dnf install gcc make perl kernel-devel kernel-headers bzip2 dkms -y to install headers and build tools





5. Once the headers and tools are installed run the following command dnf update kernel-* to get the latest version of the kernel

6. Reboot the system
7. Install the Guest Addition tool by clicking on "Devices" and select "Insert Guest Additions CD image"






















8. Click on the "Run" button






9. Type in the root password and click on "Authenticate"















10. If you don't see your VM going fullscreen, then try reboot

11. Once rebooted click on "View", then "Full-screen Mode" to use your VM in fullscreen mode



Friday, October 1, 2021

The beauty of Docker is that you can run a very lightweight image of another Linux distro on your host system.  In this post we will be pulling the latest image of CentOS into our docker container on our Ubuntu server.

Friday, September 24, 2021

The beauty of Docker is that you can run a very lightweight image of another Linux distro on your host system.  In this post we will be pulling the latest image of Fedora into our docker container on our Ubuntu server.

Friday, September 10, 2021

In the previous post we installed Docker on our Ubuntu server.  Now we are going to add the Docker repository to our local server so that we can get the latest version of Docker.

Monday, September 6, 2021

 To simulate a real world scenario often times you have to add components to your virtualize Linux operating system.  In this post we are going to add a new disk to our virtual machine in Oracle's VirtualBox.  

Here are the steps to adding a new disk to a VM:

1.  Right click on your virtual machine and select settings then select "Storage", the power must be off.  Click on the second icon next to the "Controller: SATA" section








2. On the next dialog click on the "Create" icon









3. Click "Next"














4. Click "Next"














5. Type in a name for the disk and then click "Create"














6. Select the disk under "Not Attached" and then click on "Choose"














7. Now your new disk is attached to the Virtual Machine, click "OK"






Wednesday, July 28, 2021

 User Data in an instance allows you run commands while your instance boots up.  In the previous posts we just plain vanilla instances so far.  But in this post we are going to install the Apache Httpd service when we create our instance using User Data.

Here are the steps to create an instance with User Data:

In this blog we are going to start our journey into AWS infrastructure with the creation of an EC2 instance which is probably the most common task you'll ever do. 

 Here are the steps to create an EC2 instance on AWS:

1. Log into AWS and on the "Find Services" search box type EC2 and press enter 

2. You will be taken to EC2 screen, then click on "Instances"

2. Click on "Launch Instance"

Wednesday, June 9, 2021

Docker is the hottest infrastructure technology to hit the tech world in a long time.  The appeal of Docker is that it allows the infrastructure team to utilize the capacity of the servers to near full capacity.  Docker is a container.  A container is like a micro virtualization minus the operating system.  It only contains enough infrastructure to host an app, without the fat.  Hence the term container is used to describe it.

Monday, January 20, 2020

Now that we have our virtual network and subnet setup in Azure, the next thing we want to do is create a Windows Server virtual machine.  A virtual machine is a great way to learn Azure because it's a fixed cost.  You can try different things without paying anything extra, also most of the promotional deals that Microsoft gives you should be more than enough to cover your costs for the virtual machine.

The following steps is how you would create a Windows 2016 Server in the Azure Portal:

1. Log into Azure Portal, and mouse over "Virtual Machines", click on "Create"

















Friday, August 3, 2018

In our previous series we've gone over how to install Ubuntu Server on Oracle VirtualBox to use it as a server.  In this series we will go over how we can use the Fedora desktop as your developer's machine/virtual machine.  Having a Linux developer machine is great because a lot of the more expensive Windows developer's program are expensive.  There's usually a Linux equivalent application that is comparable to their Windows big brother that are usually free or a lot less expensive.  Also most Java technologies work better on Linux than Windows.  So let's begin on journey into the Linux desktop experience.

Tuesday, July 31, 2018

In our previous blog post we installed CentOS on our local virtualization software call VirtualBox.  In this blog we are going to go through how we are going to do the same in Azure, and host our CentOS server on the cloud.

People often get confused when they work with Azure because there are two versions of Azure.  Most people call it the classic mode and the new portal Azure or the more official term is ASM vs ARM.  In this post we will create a CentOS Linux virtual machine in the new Azure portal.

Tuesday, July 24, 2018

In most environments you are not allowed to have direct access to the Linux server.  The most common way to gain access is through a secure shell connection or SSH.  The most common tool that is used on a Windows environment to connect to Linux is a utility software call Putty. In this post we are going to connect to our CentOS instance that we've installed on VirtualBox.

Tuesday, July 10, 2018

In previous blog we've installed the CentOS operating system on VirtualBox however, when we reboot, it takes us to a text prompt.  In this blog we will be installing a graphical desktop environment to our operating system using "yum".  Follow the steps below to get the Gnome desktop in your CentOS.

1.  Make sure you have internet connection
2.  Click "Start" on your "CentOS" VM

Tuesday, July 3, 2018

If you are a startup or an entrepreneur, learning Linux is essential. Most of the open source and latest innovations starts out with Linux such as Docker.  That's because Linux is for the most part free and has a great community of techies supporting it.  Even Microsoft loves Linux now, it even made a commitment by releasing SQL Server on Linux.  Although it could  be a fling, instead of a long term engagement.  Also if you noticed the Virtual Machines on the clouds are cheaper if you choose the Linux version.  In this series on Linux I will go over what you need to do to get yourself started on Linux.  The best way to learn about Linux is to install it on a Virtual Machine.  We could host it on the cloud, but then we need to pay for it.  There are some free-tiers but they are limited.  So we are going to use VirtualBox from Oracle to host our CentOS instance.

On the previous blog we went over how to create a new virtual machine for CentOS in VirtualBox.  In this blog we will go over how to install the CentOS ISO file on the new virtual machine that we've just created. Below are the step by step instructions of how to install CentOS on VirtualBox.

Tuesday, June 26, 2018

If you want to know your way around Red Hat Enterprise Linux distribution, but the you don't have the financial ability to obtain a license.  CentOS is your best bet get to the the Red Hat Enterprise Linux official experience.  Because CentOS is a binary compatible version of Red Hat Enterprise Linux.  Meaning all the things that matters are the same, only the branding and logos are different.  CentOS is open sourced and can be downloaded for free.  Although it might be a couple of versions behind Red Hat Enterprise Linux.  But, you should be able to perform everything you can with CentOS that you can with Red Hat Enterprise.  Below is a step by step instruction on how to install CentOS in Oracle VirtualBox.

Tuesday, July 11, 2017

In this post I will show how to download the automation scripts that Azure provides when you create a new virtual machine in Azure.  This is great for PowerShell scripting or if you want to interact with your VM in Visual Studio.  You don't have to start from scratch.

Here are the steps to get the automation scripts for your VM in Azure:

1. Log into the Azure portal at https://portal.azure.com
2. Click on "Virtual Machines"

Tuesday, July 4, 2017

In this blog we are going to deploy a Windows Server 2016 Datacenter Virtual Machine in Microsoft's Azure Portal.


Follow the steps below to create a Windows Server Virtual Machine:

1. Log into https://portal.azure.com
2. Select "Virtual Machines"

Tuesday, June 27, 2017

In the previous blog we deployed a full stack Ubuntu Server in Azure.  In this blog we are going to connect the server using a tool call Putty.  You can download Putty at https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html .

Follow the steps below to connect to your Ubuntu Server in Azure:

1.  Log into the Azure Portal at https://portal.azure.com
2.  Click on "Virtual Machines"

Tuesday, June 20, 2017

People often get confused when they work with Azure because there are two versions of Azure.  Most people call it the classic mode and the new portal Azure or the more official term is ASM vs ARM.  In this post we will create a CentOS Linux virtual machine in the new Azure portal.

Follow the steps below create a new Azure portal:

1. Go to the URL : https://portal.azure.com
2. Log in with your Azure credentials
3.  Click on "Virtual Machines" make sure it doesn't say classic on the link

Tuesday, June 13, 2017

In this blog post we are going to deploy a Linux virtual machine in Azure.  Most of the steps takes place in the Azure portal.  To get to the Azure portal type in the browser this address https://manage.windowsazure.com

Follow the steps below to create a Linux virtual machine in Azure:

1.  Type into the browser https://manage.windowsazure.com/
2.  Log into Azure with your Azure credentials
3.  On the left hand side of the portal click on the "Virtual Machines" link

Sunday, June 19, 2016

On the previous blog we went over how to create a new virtual machine for CentOS in VirtualBox.  In this blog we will go over how to install the CentOS ISO file on the new virtual machine that we've just created. Below are the step by step instructions of how to install CentOS on VirtualBox.

Step-By-Step Instructions:

1. Launch VirtualBox, right-click then select "Settings"

Search This Blog