Networking, Security & Cloud Knowledge

Showing posts with label Linux-Ubuntu. Show all posts
Showing posts with label Linux-Ubuntu. Show all posts

Sunday, June 22, 2025

Ubuntu

Linux : Ubuntu 

While installing Ubuntu you get 3 options: 

1: "Install alongside" – retain existing os 
2: “Erase Disk” - fresh new installation deleting existing data. 
3: "Manual partitioning" – Customize partitions. – If you don’t want to delete existing data 
 
 

Manual partitioning: 

Create free space and click add following three partitions. 
1: File System Partition : ESP (Efi System Partition) 
Size: min 100Mb max 500Mb 
use as VFAT 
Mount point : N/A 
It is a FAT formatted partition containing the primary EFI boot loader(s) for installed operating systems. 
 
2: SWAP: use as swap 
Size: 4Gb 
use as Swap 
Mount point : N/A 
 
3: File systm partition used by OS 
Size: Maximum (depending upon availability and requirement) 
use as EXT4 
Mount point : / 
 
 
 apt : advanced package tool 
To update local package index with information from configured repositories, it downloads latest list of available packages and their versions but do not install or upgrade any packages. 
Admin@Ubuntu#:~$ sudo apt-get update 
 
 
To upgrade all currently installed packages on system to latest version. 
Admin@Ubuntu#:~$ sudo apt-get upgrade 
 
 
To check Ubuntu software version:
Admin@Ubuntu#:~$ lsb_release -a 
 ------------- output start -------------------- 
No LSB modules are available. 
Distributor ID: Ubuntu 
Description: Ubuntu 24.04.2 
LTS Release: 24.04 Codename: noble 
 ------------- output end -------------------- 
 
 
Admin@Ubuntu#:~$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu 
DISTRIB_RELEASE=24.04 
DISTRIB_CODENAME=noble 
DISTRIB_DESCRIPTION="Ubuntu 24.04.2 LTS"