SIMULATIONConfigure your Host Name, IP Address, Gateway and DNS.Host name: dtop5.dn.ws.comIP Address: 172.28.10.5/4Gateway: 172.28.10.1DNS: 172.28.10.1
Answer(s): A
1. Configure Host Namevim /etc/sysconfig/network NETWORKING=yes HOSTNAME=dtop5.dn.ws.com GATEWAY=172.28.10.12. Configure IP Address, Gateway and DNS Configure the network by Network Manager:Note: Please remember to choose two options:Connect automaticallyAvailable to all usersClick "Apply", save and exit, and restart your network services:# Service network restart3. Validate these profiles:a) Check gateway: # vim / etc / sysconfig / networkNETWORKING=yesHOSTNAME=dtop5.dn.ws.comGATEWAY=172.28.10.1b) Check Host Name: # vim /etc/hostsc) Check DNS: # vim /etc/resolv.conf# Generated by NetworkManagerSearch dn.ws.comNameserver 172.28.10.1d) Check Gateway: # vim /etc/sysconfig/network-scripts/ifcfg-eth0
SIMULATIONCreate a 2G swap partition which take effect automatically at boot-start, and it should not affect the original swap partition.
# fdisk /dev/sdap(check Partition table)n(create new partition: press e to create extended partition, press p to create the main partition, and the extended partition is further divided into logical partitions)Enter+2G t 8 I82Wpartx -a /dev/sdapartprobemkswap /dev/sda8Copy UUIDswapon -avim /etc/fstabUUID=XXXXX swap swap defaults 0 0(swapon -s)
SIMULATIONPlease open the ip_forward, and take effect permanently.
vim /etc/sysctl.conf net.ipv4.ip_forward = 1sysctl –w (takes effect immediately)If no “sysctl.conf” option, use these commands:sysctl –a |grep net.ipv4sysctl –P net.ipv4.ip_forward = 1sysctl -w
SIMULATIONOpen kmcrl value of 5 , and can verify in /proc/ cmdline
# vim /boot/grub/grub.confkernel/vmlinuz-2.6.32-71.el6.x86_64 ro root=/dev/mapper/GLSvg-GLSrootrd_LVM_LV=GLSvg/GLSroot rd_LVM_LV=GLSvg/GLSswaprd_NO_LUKSrd_NO_MDrd_NO_DMLANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet kmcrl=5Restart to take effect and verification:# cat /proc/cmdlinero root=/dev/mapper/GLSvg-GLSroot rd_LVM_LV=GLSvg/GLSroot rd_LVM_LV=GLSvg/GLSswap rd_NO_LUKS rd_NO_MD rd_NO_DMLANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet kmcrl=5
SIMULATIONUpgrade the kernel, start the new kernel by default. kernel download from this address: ftp://server1.domain10.example.com/pub/update/new.kernel
Download the new kernel file and then install it.[root@desktop8 Desktop]# lskernel-2.6.32-71.7.1.el6.x86_64.rpmkernel-firmware-2.6.32-71.7.1.el6.noarch.rpm[root@desktop8 Desktop]# rpm -ivh kernel-*Preparing... ###########################################[100%]1:kernel-firmware########################################### [ 50%]2:kernel########################################### [100%]Verify the grub.conf file, whether use the new kernel as the default boot. [root@desktop8 Desktop]# cat /boot/ grub/grub.conf default=0title Red Hat Enterprise Linux Server (2.6.32-71.7.1.el6.x86_64) root (hd0,0)kernel /vmlinuz-2.6.32-71.7.1.el6.x86_64 ro root=/dev/mapper/vol0-root rd_LVM_LV=vol0/root rd_NO_LUKS rd_NO_MDrd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quietinitrd /initramfs-2.6.32-71.7.1.el6.x86_64.img
Post your Comments and Discuss RedHat EX200 exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the EX200 content, but please register or login to continue.