How Linux Machine boot.
1) The boot loader find the kernal image on the disk,load it into memory and start it.
2)The kernal initialize the device and its drivers.
3)The kernal mount the root file systems.
4)The kernal starts a program called init.
5)init set the rest of the process in motion
6)The last process that init start as part of the boot sequence allow u to log in.
Linux NetworkingHow Change your ip Address
[root@raman home]# ifconfig eth0 192.168.1.1 netmask 255.255.255.0 up(up end the command activate your lan card).
The Configuration file located in /etc/sysconfig/network-scripts/ifcfg-eth0entry like this:--
[root@raman ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.1.1
NETMASK=255.255.255.0
GATEWAY=192.168.1.3
Dns entry file located in /etc/resolve.conf
entry like this:-
[root@raman ~]# cat /etc/resolv.conf
nameserver 192.168.1.3
nameserver 192.168.1.4
How you diable or enable your Lan card.
[root@raman home]# ifdown eth0
ifdown command disable your lan card.
[root@raman home]# ifup eth0
ifup command up yours lan card.
How you see your routing tables.
[root@raman ~]# route -n
1) The boot loader find the kernal image on the disk,load it into memory and start it.
2)The kernal initialize the device and its drivers.
3)The kernal mount the root file systems.
4)The kernal starts a program called init.
5)init set the rest of the process in motion
6)The last process that init start as part of the boot sequence allow u to log in.
Linux NetworkingHow Change your ip Address
[root@raman home]# ifconfig eth0 192.168.1.1 netmask 255.255.255.0 up(up end the command activate your lan card).
The Configuration file located in /etc/sysconfig/network-scripts/ifcfg-eth0entry like this:--
[root@raman ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.1.1
NETMASK=255.255.255.0
GATEWAY=192.168.1.3
Dns entry file located in /etc/resolve.conf
entry like this:-
[root@raman ~]# cat /etc/resolv.conf
nameserver 192.168.1.3
nameserver 192.168.1.4
How you diable or enable your Lan card.
[root@raman home]# ifdown eth0
ifdown command disable your lan card.
[root@raman home]# ifup eth0
ifup command up yours lan card.
How you see your routing tables.
[root@raman ~]# route -n
0 comments:
Post a Comment