[go: up one dir, main page]

0% found this document useful (0 votes)
47 views2 pages

Primary Setup at Machine

This document provides instructions for setting up a primary machine including: 1) Configuring the domain, network, server IP address, and YUM repository URL 2) Specifying the root password and system IP/netmask/gateway 3) Requiring the firewall to be switched off and system in enforcing mode It then lists several configuration tasks to complete including: creating users and groups; partitions and volumes; installing packages; and configuring printers, cron jobs, and NFS shares.

Uploaded by

Vibhor Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views2 pages

Primary Setup at Machine

This document provides instructions for setting up a primary machine including: 1) Configuring the domain, network, server IP address, and YUM repository URL 2) Specifying the root password and system IP/netmask/gateway 3) Requiring the firewall to be switched off and system in enforcing mode It then lists several configuration tasks to complete including: creating users and groups; partitions and volumes; installing packages; and configuring printers, cron jobs, and NFS shares.

Uploaded by

Vibhor Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Primary Setup at machine:

1. Your domain is example.com & network is 192.168.0.0/255.255.255.0


Important: !irst c"eck #our $irtual mac"ine I% and &et it inside $irtual m/c 's &tatic I% address(
2. &er$er is instructor.example.com & It)s ip address is 192.168.0.25*
+. Your ,aseurl -or Y./ is -tp://instructor.example.com/pu,/r"el6/d$d
*. 0t"er domain name is remote1.remote.test
5. 0t"er network I% is 192.168.1.0/255.255.255.0
6. !ollowin1 are t"e ,asic re2uirement o- #our s#stem :
3. 4"e examiner can lo1in into #our s#stem as root usin1 t"e password red"at5ce1.com
8. Your s#stem ip address is 192.168.0.6 7"ere 6 is #our I% 'ddress (
9. 8etmask o- #our s#stem is 255.255.255.0.
10. 9atewa# o- #our s#stem is 192.168.0.25*.
11. 8ameser$er is 192.168.0.25*.
12. !irewall must ,e switc":o-- in #our s#stem; and s#stem must ,e in en-orcin1 mode.
401: <reate user l#ne; ,o, and alice wit" -ollowin1 criteria.
='> <reate ,o,; l#ne users password s"ould ,e password and w"ose secondar# 1roup
will ,e s#susers.
=?> <reate alice user w"o s"ould not 1et interacti$e s"ell and password s"ould ,e password.
402: =a> <reate a %"#sical @olume=%@> o- +00/?; t"en create a @olume 9roup=@9> named as m#$11
w"ic";
%"#sical Axtent=%A> &iBe must ,e */i? .
4"en a-ter create a Co1cal @olume=C@> named as m#l$1 -rom @9; 4"at "a$e -ixed C@ &iBe :::D +0CA
=,> 8ow resiBe #our C@ up to 50/?.
=<> reduce #our $irtual s#stem)s "ome partition up to 120/?
40+: Your s#stem "as a new partition mounted under /mnt/new o- ext* -ile s#stem
and 100 /? in siBe. =<ompulsor#>
8ote: : ,ecause partition siBes are seldom exactl# w"at are speci-ied w"en t"e#
are created; an# siBe ,etween ran1es o- 90 to 110 /? is ok.
406: <reate a swap partition. =I8 main A6'/ it must ,e Eust twice siBe o- #our F'/ means 2GF'/ ; ?ut
in
classroom #ou ma# create swap o- 100/? onl#>
403: ='> <reate director# s#susers in /common. 4"e -iles created in t"is director#
7ill ,e altered ,# users o- s#susers 1roup ,ut not ,# ot"er users includin1 root.
=Femem,er e$en i- #ou denied permission to root can access ,# root>.
=?> 0t"er users can)t read; write and delete t"e -iles in t"is director#.
=<> 'lso -iles created in t"is director# w"ose 1roup automaticall# set to
s#susers 1roup.
408 <on-i1ure t"e <.%& printer wit" ser$er instructor.example.com and 2ueue name
as ser$er6 and take printer model as 9A8FI< text onl# print 2ueue. 7"ere 6 is #our I%
'ddress (
409 Heplo# $s-tpd.
(A) 'non#mous user can access #our !4%.
410 <"an1e user name ,o,=rename user name ,o, to maninder> and &et .IH o- maninder 699
411 <reate two 1roups so-tware; "ardware; 8ow add a user "ari; w"ose ,elon1s to ,ot" 1roups.
&econdar# (
412 &et t"e Axpire Hate 2015:12:+1 ;-or t"e user account o- /aninder
41+<reate user ton# and create 1roup de$eloper now add de$eloper as a primar# 1roup o- ton# user
41* <reate a supplementar# 1roup called p1roup wit" a 1roup IH o- +000
415 <reate a user account wit" t"e -ollowin1 attri,utes
.&AF 8'/A :: D tom
!ull 8ame :: D tom Eerr#
%assword :: D practice
804A: 8ow add t"e tom user to t"e p1roup as a supplementar# 1roup.
416 /odi-# tom user account)s so t"e password expires a-ter 20 da#s.
413 Cock t"e tom user account so "e can cannot lo1 in.
418 Hownload t"e I&0 Ima1e -rom -tp://instructor.example.com/pu,/materials/isoima1e and sa$e it to /
root/Hownloads .
8ow mo$e t"is ima1e -rom its location to /$ar/tmp/
'nd also c"an1e permission set as ::D rwx onl# -or root user. Femem,er rwx:::::: permission $iew
like t"is o- ima1e -ile (
419 <reate a direcotr# s"areddata on #our s#stem /
now c"eck classroom ser$er w"ic" contains 8!& directories;,# t"e use o- I% address 192.168.0.25*
now #ou "a$e to permanentl# mount one director# on #our s#stem.
&er$er &"ared Hirector# named as ::D /$ar/n-s
420 C#ne s"ould 1et a messa1e Iello at 01:05 '/ e$er#da# .
/,in/ec"o Iello

You might also like