linux network and disk management

1. Configure the network: add an IPV4 address of this network segment to the network card, x.x.x.123

You can use the nmcli command to directly add a network card named ens161 to configure the private network address, and then activate the network card
2. Configure the yum local warehouse and complete the installation of the traceroute command< /span>

 


3. Use at least two methods to check the process number of the sshd service

 

Use pidof and ps commands to view


4. Add a 10G disk and divide the disk into two primary partitions of 1G and 2G. Divide all remaining space into extended partitions. Divide a logical partition with a size of 3G. (The file system type of the primary partition is ext4, and the file system type of the logical partition is xfs)

 

 

 

 

 


5. LVM configuration: Create a VG named testvg with a size of 6G consisting of at least two PVs; the PE size is required to be 16MB, and then create a logical volume testlv with a size of 3G in the volume group; mount it to the /users directory

 

 

Guess you like

Origin blog.csdn.net/weixin_45875361/article/details/130731757