RHCE Questions
RHCE Questions
Qsn2. Mount an nfs share configure system2 to mount the following nfs share from
system1.groupx.example.com
Qsn3. SAMBA configure sm b service on system1 as follows your smb server must be a
member of the STAFF workgroup the service must share the /common directory.
the share name must be common the common share must be available to
groupx.example.com domain client only
the common must be browseable the user floyd must have read access the
share,authenticating with the
Qsn4. MULTIuser SAMBA on system1 share the /devops directory via SMB as follows:
the share should be named devops
the devops share must only be available to clients in the groupx.example.com domain
kenji must have read access to share,authenticating with password indionce chihiro must have
read and write
access to the share, authenticating with the password indionce the smb share is permanently
mounted on system2 at /mnt/dev using the credentials of kenji. the share must allow anyone
Qsn5. ISCSI configure system1 to provide an iscsi disk device name iqn.2016-
08 .com.example.groupx:system 1 the iscsi service uses port 3260 this target usasge 3G backing
logical volume name iscsi_store the target is only available to system2.groupx.example.com only
The iscsi device should automaticaly be available on system boot the iscsi block device contains a
2100MB partition that is formated as ext4 the partition is mounted to /mnt/data and is
Qsn7. MARIADB create a mariadb database name contacts on system1 such that following
condtions exist
the database should contain the content of the database dump from
localhost only other than the root user, the database only allow queries from the user raikon.
this user should have the password zaldebro the root user should have password zaldebro and
Qsn8. Query database use the d atabase contacts on system1 and the appropriate sql queries to
answer the following question what is the first name of person whose password is solicitous ?
Qsn9. IMplement dynamic web content configure your webserver on system1 to provide
dynamic web content as follows:
location for your virtual host so that it genrate dynamic web content. don not alter or change the
Qsn10. IMplement a web server implement a webserver on system1 for the site
index.html do not make modification to the content of this file copy this index.html to the
webserver
Qsn11. configure a virtual host extend your webserver on system1 to inculde a virtualhost for
the site http://www.groupx.example.com then perform the following step set the document root
do not make any modification to the content of this file place this file in the document root of the
virtual host the usr floyd must be able to create content in /var/www/virtual
Qsn12. Configure web content access on your webserver on system1 create directory name
private under the document root directory and configure as follows:
the link will continue to functions even if one of the underlying interfaces or network is down the
link interface on system1has the address 172.16.x.25/24 the link interface on system2 has the
address
show up as coming from groupx.example.com you may test your configuration by sending
http://server1.groupx.example.com/recieved_mail/11
Qsn15. configure ipv6 configure the eth0 on your exam system with the
http://server1.net13.example.com//rhel
Qsn17. Script
when run without arguments or any other arguments other than redhat or fedora, it sends the
following output to stderr:
/root/foo.sh redhat|fedora
Qsn.18 user environment 17
create a custom command called qstat on both system1 and system2 that
runs the command: /bin/ps -Ao pid,tt,user,fname,rsz this command should
be available to all usres on the system.
users have remote SSH access to your virtual systems from within
group10.example.com
client within my133t.org should not have access to ssh on your systems.
configure port forwarding in your machine system1 such that forward all incoming
connection on port 5909/tcp on the firewall to port 80/tcp of the machine with the 172.26.1.0/24
Qsn21. Create a script name makeusers in /root directory when an argument file.txt pass in
front of this script then users listed in this file created with /bin/false sheel. When file name is
different then error shows file not found if file is not pass an argument then error shows please
write command again. Download this file from http://classroom.example.com/pub/file.txt