cancel
Showing results for 
Search instead for 
Did you mean: 
Denzil
Flight Engineer
Flight Engineer
  • 5,888 Views

How to install Docker in Red Hat 8.0

Jump to solution

Good day to you,

may you be good  enough to walk me though for a Docket installation.

 

Kind Regards

Denzil Peiris
34 Replies
Denzil
Flight Engineer
Flight Engineer
  • 724 Views

Hello Travis,

Thank you for that technical tip again. It will help me on the long run.

By the way you mentioned of a "nice fedora flash disk" where I could boot from and look at the disk partitions and so on.

Does this refer to the link you sent me in relation to Fedora, or something else?

 

Kind Regards,

 

Denzil

Denzil Peiris
0 Kudos
Travis
Moderator
Moderator
  • 3,909 Views

@Denzil -

I have no idea where I referred to the "flash" disk, but I'm sure it was relation to Fedora Live and my Fedora Remix. I'm almost certain I gave you the link to my Github information, but I roll my own custom Fedora Remix. So it is essentially Fedora Workstation with a ton of added tools already pre-installed.

https://tmichett.github.io/Fedora_Remix/

I know I directed you directly to Fedora too. Both ISOs would be a live bootable USB disk that allows you to work with Linux without installing, but you also have the ability to mount partitions in the graphical environment. I also remember mentioning that you don't need to build your own and you could download mine. That Github page has a link to a GoogleDrive where I've uploaded various versions of my Fedora Reminx. The latest one is 

https://drive.google.com/file/d/1GBM2OzaIG4f33dDUomTs0t_J3zxiMfDO/view?usp=drive_link

Which is Fedora 42 with a bunch of preinstalled applications and utilities. This would require a 16GB/32GB USB flash drive to provide the best experience.

Travis Michette, RHCA XIII
https://rhtapps.redhat.com/verify?certId=111-134-086
SENIOR TECHNICAL INSTRUCTOR / CERTIFIED INSTRUCTOR AND EXAMINER
Red Hat Certification + Training
Denzil
Flight Engineer
Flight Engineer
  • 701 Views

Good day to you Travis,

 

Thank you so much again. Indeed I have these links saved.

My utmost thanks for all your help!

 

Kind Regards

 

Denzil

 

Denzil Peiris
0 Kudos
Denzil
Flight Engineer
Flight Engineer
  • 110 Views

Hello Travis,

I am reaching up to you again, while appreciating your previous help.

I have an old PC with a 1TB disk, and I am keen to install Redhat 8.10, Debian, and Ubantu.

In which order must I install these three flavous of Link, and what are the partition values for each, please.

 

 

 

 

 

Denzil Peiris
Sunnykumar1
Flight Engineer
Flight Engineer
  • 100 Views

Hello @Denzil 

Installing multiple Linux distributions is very doable if you plan the order and partitions properly.

Install in this order:

1. Red Hat Enterprise Linux (RHEL) 8.10

Choose Custom Partitioning

Create:

EFI: 512 MB -> /boot/efi (do NOT format later)

RHEL root: 200 GB -> /

Swap: 16–32 GB 

2. Debian

Choose Manual Partitioning

Select:

Existing EFI partition -> mount at /boot/efi -> DO NOT FORMAT

Free space -> create:

Debian root: 200 GB -> / 

3. Ubuntu

Select:

Existing EFI partition -> /boot/efi -> DO NOT FORMAT

Free space -> create:

Ubuntu root: 200 GB -> /

0 Kudos
Denzil
Flight Engineer
Flight Engineer
  • 77 Views

Good day you SUnnykuymar,

Thank you so much for that.

In a  view to clarify, if there is a specific table with values for each (a) Lunux Red Hat 8.10, (b) Denian , and  (3) Ubantu. Is the order of sda need to be in a speficic order, for example commencing from EFI 512 MB

 

As regards to the values for each Linux, based OS over  1TB (931.xx GB) is there a tumb of rule, calculation when you alocate X amont of Mb or GB for each sdax?

I am aware this is quite different if I have three seperate disks. However owin to budget facts, I have what I have have; a 1TB disk. Or please correct me if I am wrong here.

 

 

 

Kind Rgards,

 

Denzil

Denzil Peiris
0 Kudos
Sunnykumar1
Flight Engineer
Flight Engineer
  • 59 Views

@Denzil 

On a single 1 TB disk you simply divide the space into multiple partitions, one for each OS.

Linux does NOT care about numeric order (sda1, sda2, sda3…), But the EFI System Partition must exist and be mounted correctly.

Linux distributions follow very similar sizing principles.

You have 1 TB disk = ~931 GB usable.

OS Minimum Comfortable Heavy Use

RHEL 8.1040 GB80–120 GB200+ GB
Debian20 GB60–100 GB150+ GB
Ubuntu25 GB60–100 GB150+ GB
Travis
Moderator
Moderator
  • 55 Views

@Denzil -

You've received good answers to this already, but I will provide a little bit more ... because it really comes down to what you are going to do with the systems and how they are going to be used. Technically you can run a system with a very small disk 10GB - 20GB is more than plenty. It depends on how you are using them and what you are using them for as to how much space you will need. The partitioning is only needed so that they have a dedicated space to install.

The EFI partition is the only "special" partition as it will contain boot records and EFI entries. I'm not 100% sure on the EFI size, but I would think for just those 3, 512MB size should be good enough as recommended is generally 512MB for a single boot and 512MB-1GB is for dual booting. I would personally go 1GB just so you have some extra room in EFI as this will be the most important partition and if it gets messed up, none of the OSes will boot.

Some systems will keep kernel and initrd files directly in the EFI partition so you might want even larger if you are considering more OSes than just those 3 as EFI partitions don't easily resize well later.

I will state I've almost never multi-booted Linux systems as using KVM virtualization on Linux you have near "physical" performance with virtual machines. Leveraging one of the Linux OSes as the hypervisor, you can use Virt Manager and VMs for all of the other systems. The performance hit isn't even noticeable, and with things tuned properly, the VM might run better than if it were loaded directly to the physical box as this is something I've experienced in the past.

Assuming you use LVM on the partitions once you have EFI partition setup and locked ...

EFI - 1GB

RHEL - 300GB

Debian - 300GB

Ubuntu - 300GB

Keep in mind, Ubuntu is built off of Debian, so you have a heavily modified distribution based off of Debian if you are using Ubuntu. Ubuntu is generally based from the unstable branch of Debian.

 

Travis Michette, RHCA XIII
https://rhtapps.redhat.com/verify?certId=111-134-086
SENIOR TECHNICAL INSTRUCTOR / CERTIFIED INSTRUCTOR AND EXAMINER
Red Hat Certification + Training
Denzil
Flight Engineer
Flight Engineer
  • 26 Views

Good day to you Travi,

Thank you so much for your help.

Now I have Redhat 8.10 installed, and I have Debian installed. Results;

(1) I only see the Debian menu, and it does not show a Redhat and Denian in the menu

(2) When I press on debian, it gives me a login prompt, because I missed to check Debian Desktop and GRBU... 

(3) When I press F11 I am see Redhat 8.10 in the UEFI (BIOS) Boot,  and when I press enter Redhat Boots, nicely.

(4) I have used the 512MB SWAP for Redhat 8.10 and Debian. I feel this was a mistake? 

 

I do not mind reinstalling the whole thing.  

 

I would appreciate your techical advise.

 

 

 

 

Kind Regards,

Denzil

Denzil Peiris
0 Kudos
Denzil
Flight Engineer
Flight Engineer
  • 25 Views

Hello Travis,

I did not use LVM, is is it highly, hight recommended to use LVM?

In fact I tried LVM, and I ran into few issues.

I have Rufus, in three seperate flash disks, and is there a way to run a script?

I do not have a very powerful PC, with high RAM. 

 

 

 

 

Denzil Peiris
0 Kudos
Join the discussion
You must log in to join this conversation.