CORRECT TEXT

CORRECT TEXT Create a 2G swap partition which take effect automatically at boot-start, and it should not affect the original swap partition.View AnswerAnswer: see explanation below. Explanation # fdisk /dev/sda p (check Partition table) n (create new partition: press e to create extended partition, press p to create the main...

December 22, 2018 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Create a logical volume Create a new logical volume as required: Name the logical volume as database, belongs to datastore of the volume group, size is 50 PE. Expansion size of each volume in volume group datastore is 16MB. Use ext3 to format this new logical volume, this...

December 5, 2018 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Add admin group and set gid=600View AnswerAnswer: see explanation below. Explanation # groupadd -g 600 admin

December 2, 2018 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Add user: user1, set uid=601 Password: redhat The user's login shell should be non-interactive.View AnswerAnswer: see explanation below. Explanation # useradd -u 601 -s /sbin/nologin user1 # passwd user1 redhat

November 29, 2018 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Configure the verification mode of your host account and the password as LDAP. And it can login successfully through ldapuser40. The password is set as "password". And the certificate can be downloaded from http://ip/dir/ldap.crt. After the user logs on the user has no host directory unless you configure...

November 26, 2018 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Install the Kernel Upgrade. Install suitable kernel update from: http://server.domain11.example.com/pub/updates. Following requirements must be met: Updated kernel used as the default kernel of system start-up. The original kernel is still valid and can be guided when system starts up.View AnswerAnswer: see explanation below. Explanation Using the browser open...

November 22, 2018 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Add a swap partition. Adding an extra 500M swap partition to your system, this swap partition should mount automatically when the system starts up. Don't remove and modify the existing swap partitions on your system.View AnswerAnswer: see explanation below. Explanation fdisk -cu /dev/vda// in the way of expanding...

November 8, 2018 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Configure a HTTP server, which can be accessed through http://station.domain40.example.com. Please download the released page from http://ip/dir/example.html.View AnswerAnswer: see explanation below. Explanation # yum install -y httpd # chkconfig httpd on # cd /var/www/html # wget http://ip/dir/example.html # cp example.com index.html # vim /etc/httpd/conf/httpd.conf NameVirtualHost 192.168.0.254:80 <VirtualHost 192.168.0.254:80>...

November 4, 2018 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Find the rows that contain abcde from file /etc/testfile, and write it to the file/tmp/testfile, and the sequence is requested as the same as /etc/testfile.View AnswerAnswer: see explanation below. Explanation # cat /etc/testfile | while read line; do echo $line | grep abcde | tee -a /tmp/testfile done...

October 31, 2018 No Comments READ MORE +

CORRECT TEXT

CORRECT TEXT Configure the verification mode of your host account and the password as LDAP. And it can login successfully through ldapuser40. The password is set as "password". And the certificate can be downloaded from http://ip/dir/ldap.crt. After the user logs on the user has no host directory unless you configure...

October 28, 2018 No Comments READ MORE +