SIMULATION -There were two systems:✑ system1, main system on which most of the configuration take place✑ system2, some configuration hereVirtual hosting.✑ Setup a virtual host with an alternate document root.✑ Extend your web to include a virtual for the site http://vhostsX.example.com✑ Set the document root as /usr/local/vhosts✑ Download http://station.network0.example.com/pub/rhce/vhost/html✑ Rename it as index.html✑ Place this document root of the virtual host✑ Note: the other websites configures for your server must still accessible. vhosts.networkX.example.com is already provided by the name server on example.com
SIMULATION -There were two systems:✑ system1, main system on which most of the configuration take place✑ system2, some configuration hereDynamic Webpage Configuration.✑ Configure website http://wsgiX.example.com:8961 on system1 with the documentroot /var/www/scripts✑ Site should execute webapp.wsgi✑ Page is already provided on http://classroom.example.com/pub/webapp.wsgi✑ Content of the script should not be modified
SIMULATION -There were two systems:✑ system1, main system on which most of the configuration take place✑ system2, some configuration hereScript1.✑ Create a script on serverX called /root/random with the following details✑ When run as /root/random postconf, should bring the output as "postroll"✑ When run as /root/random postroll, should bring the output as "postconf"✑ When run with any other argument or without argument, should bring any other argument or without argument, should bring the stderr as "/root/random postconf|postroll"
SIMULATION -There were two systems:✑ system1, main system on which most of the configuration take place✑ system2, some configuration hereScript2.✑ Create a script on serverX called /root/createusers✑ When this script is called with the argument, it should add all the users from the file✑ Download the file from http://station.network0.example.com/pub/testfile✑ All users should have the login shell as /bin/false, password not requiredWhen this script is called with any other argument, it should print the message as "Input File Not Found"✑ When this script is run without any argument, it should display "Usage:/root/createusers"✑ NOTE: if the users are added no need to delete
SIMULATION -There were two systems:✑ system1, main system on which most of the configuration take place✑ system2, some configuration hereConfigure SCSI storage.✑ Create a new 1 GB target on your serverX.example.com✑ The block device name should be data_block✑ The server should export an iscsi disk called iqn.2014-10.com.example:serverX✑ This target should only be allowed to desktop
SIMULATION -There were two systems:✑ system1, main system on which most of the configuration take place✑ system2, some configuration hereiSCSI Initiator✑ The serverX.example.com provides an iscsi port (3260). Connect the disk with desktopX.example.com and configure filesystem with the following requirements.✑ Create 800 MB partition on iSCSI block device and assign the filesystem as xfs✑ Mount the volume under /mnt/initiator at the system boot time✑ The filesystem should contain the copy of http://station.network0.example.com/pub/iscsi.txt✑ The file should be owned by root with 0644 permission✑ NOTE: the content of the file should not be modified