Back

Oracle Linux Installation

learning notes 5.6

Overview of Linux

GNU/Linux (Linux kernel + GNU suite), UNIX-like OS. Compared with Windows, it has the advantages of stable system performance, speed and security. Commonly used in servers, embedded systems, network firewalls and so on. Because of its open source, powerful network functions, the system tool chain is complete and popular.

img
img

Common versions: RHEL, Oracle Linux, CentOS, Ubuntu, Debian, SUSE, archlinux and so on.

Difference between UNIX and Linux

UNIX is an operating system (non-open source) and linux is an open source operating system that has adopted the design concepts of the UNIX system in its many versions.

Basic idea

  1. Everything is a document.

  2. Every document has a defined purpose.

Linux installation and basic configuration

System Oracle Linux 8.6 installation and configuration via VMware WORKSTATION PRO 17.

img
img

Basic Configuration

After loading by VM, in the installation interface, select the language as English (United States), Language Support select EN (US) and Simplified Chinese in turn, and select the time zone at the same time.

Enter the installation source, wait for loading and detection, select the local CD-ROM drive ISO file as the installation source, and select Minimized Installation in Software Selection.

System partitioning: customized manual partitioning

Boot partition:/boot, 1G, file system type is xfs, Device Type is Standard

Root partition:/20G, adjust LVM settings, VG Name,vg00;RAID Level,None;Size policy,As large as possible;and change the name to lvroot.

Partition in order (using LVM management, XFS file system format, belongs to VG00)

/usr,10G,lvusr

/var,50G,lvvar

/tmp,1G,lvtmp

swap,1G,lvswap

/opt,10G,lvopt

/home,1G,lvhome

/var/tmp,5G,lvvar_tmp

/var/log,10G,lvvar_log

/var/log/audit,1G,lvvar_log_audit

/soft,1G,lvsoft

img
img

Others

KDUMP: check Enable kdump, select the policy as Automatic

Security policy: keep the default value

Password: set a strong password, at least 8 digits, including upper case letters, lower case letters, numbers and special symbols.

Finish the loading configuration, perform a reboot, and choose to boot from Oracle Linux Server 8 UEK kernel by default when rebooting.

Entered the system.

img
img

Network Configuration

Go to the directory where the network cards are configured: cd /etc/sysconfig/network-scripts

View all network cards: ifconfig -a

Configure eth0 (lo for loopback) for remote connection to the system.

vi /etc/sysconfig/network-scripts/ifcfg-eth0

Check the Version and Kernel

version:

cat /etc/redhat-release

img
img

cat /etc/os-release

img
img

kernel:

uname -a

img
img

Licensed under CC BY-NC-SA 4.0
Built with Hugo
Theme Stack designed by Jimmy
© Licensed Under CC BY-NC-SA 4.0