RHCSA Lec # 1
Network Settings
10/100 Mbps enp 350
1000Mbps em1
Wireless wlan0
loopback lo
Bridge vivbr0
Run the Following command
ifconfig
dhclient
mii-tool em1 //check
connectivity
nmcli device //Network
Interfaces check
nmcli connection show
//Network Connection show
nmcli con show –--active
//Show Active Connections
nmcli con del name //Delete
Connection
Auto Configuration of Network
nmcli con add type Ethernet
con-name corvit ifname eml
nmcli con mod corvit
ipv4.method auto
nmcli con mod corvit
connection.autoconnect yes
nmcli con up corvit
nmcli con del corvit//Delete
Connection
nmcli con show//Show
connections
Manual Configuration of
Network
nmcli con add type ethernet
con-name corvit ifname eml ip4 192.168.0.25 gw4 192.168.0.254
nmcli con mod corvit
ipv4.method static
nmcli con mod corvit
connection.autoconnect yes
nmcli con up corvit
nm-connection-editor//Open
network Setting portal in G.U.I
How to Configure Yum Server
and Local and Network Installation Method
1st
Condition I.P should remain static even after Reboot
Open
The ISO file via Archive manager → Packages-→ Install vsftp
(Select
All)
Ctrl+A
Copy
at Places-→ Compute → var → ftp → Pub (Paste)
Then
Run the Following Commands
createrepo
-v /var/ftp/pub
systemctl
restart vsftpd
systemctl
enable vsftpd
firewall-cmd
----permanent ----add-service=ftp
firewall-cmd
–-reload
setenforce
0
Client Settings
cd
/etc/yum.repos.d
rm
-rf *
touch
ib.repo //creating new file
gedit
ib.repo //open file
Then
type
[RHEL-7]
name=Red
Hat Enterprise Linux 7 x64 Repo
baseurl=ftp://ip/pub/
enable=1
gpgcheck=0
Save
And Close
yum
repolist
yum
install softwarename
yum
remove name
yum
list all |grep-i
This comment has been removed by the author.
ReplyDelete