Beruflich Dokumente
Kultur Dokumente
REDHATLinux:RHEL6YUMServerandClientConfiguration
0
More NextBlog
CreateBlog SignIn
REDHATLinux
Friday,March8,2013
RHEL6YUMServerandClientConfiguration
Pages
Home
Serverconfigurationsteps
YumserverIP=192.168.1.100
Yumserverhostname=server1.example.com
Shouldbeflushtheiptablesandrestartthenetworkservice
iptablesL
iptablesF
serviceiptablessave
serviceiptablesrestart
servicenetworkrestart
Step1:InserttheRHEL6CD
[root@serverDesktop]#cd/media/RHEL_6.1\x86_64\Disc\1/Packages/
Yumserverrequiredpackages
[root@serverPackages]#rpmivhvsftpd*
[root@serverPackages]#rpmivhdeltarpm3.50.5.20090913git.el6.x86_64.rpm
[root@serverPackages]#rpmivhpythondeltarpm3.50.5.20090913git.el6.x86_64.rpm
[root@serverPackages]#rpmivhcreaterepo0.9.84.el6.noarch.rpm
Step2:Checktheinstalledpackages
[root@server1Desktop]#rpmqavsftp*
vsftpd2.2.26.el6_0.1.x86_64
[root@server1Desktop]#rpmqadeltarpm*
deltarpm3.50.5.20090913git.el6.x86_64
[root@server1Desktop]#rpmqapythondeltarpm*
pythondeltarpm3.50.5.20090913git.el6.x86_64
[root@server1Desktop]#rpmqacreaterepo*
createrepo0.9.84.el6.noarch
Step3:FTPservicestart
[root@serverPackages]#servicevsftpdstatus
BlogArchive
2013(20)
March(20)
LinuxTerminalServer
usingXRDP
SWAPPartition
[root@serverPackages]#servicevsftpdstart
Fileanddirectories
permission
[root@serverPackages]#servicevsftpdstatus
LinuxNetworking
[root@serverPackages]#chkconfigvsftpdon
EXT2toEXT3andEXT3
toEXT4Converting
withoutd...
Step4:Copytherhel6dvdcontent
KernelBootParameters
[root@serverPackages]#cd
SSH
RHEL6NIS
[root@server~]#cprf/media/RHEL_6.1\x86_64\Disc\1//var/ftp/pub/
[root@server~]#cd/var/ftp/pub/
[root@serverpub]#ls
RHEL_6.1x86_64Disc1
[root@serverpub]#mvRHEL_6.1\x86_64\Disc\1/rhel6.1
Linuxwebserver
Iptables
JobSchedulingCron,
Anacronandat,batch
FTP
NFS
[root@serverpub]#ls
rhel6.1
DNS
Step5:Singlemodeinstallationcreaterepo
RPMCommand
iSCSITargeandInitiator
SELinux
[root@server~]#createrepov/var/ftp/pub/
TCPWrappers
[root@server~]#cd/var/ftp/pub/
RHEL6YUMServerand
ClientConfiguration
[root@serverpub]#ls
repodatarhel6.1
BashShellScript
Examples
Step6:Groupinstallationcreaterepo
[root@serverrepodata]#cprf/var/ftp/pub/rhel6.1/repodata/5819e9580b5a81a9eec9e2c6e91fc9992a7ccadaa3bcd5ecb2e87a8669eefceccompsrhel6Server.xml/var/ftp/pub/repodata/
[root@server~]#createrepog/var/ftp/pub/repodata/5819e9580b5a81a9eec9e2c6e91fc9992a7ccadaa3bcd5ecb2e87a8669eefceccompsrhel6Server.xml/var/ftp/pub/
Step7:Createtherepofile.
[root@server~]#vim/etc/yum.repos.d/server.repo
[server]
name=rhel6.1yumserver64bit
http://rbsrhel.blogspot.in/2013/03/rhel6yumserverandclient.html
2008(1)
AboutMe
RBSENTHILBABU
Viewmycompleteprofile
1/3
11/11/2016
REDHATLinux:RHEL6YUMServerandClientConfiguration
name=rhel6.1yumserver64bit
baseurl=file:///var/ftp/pub
enabled=1
gpgcheck=0
[root@server~]#yumcleanall
[root@server~]#yummakecache
[root@server~]#yumlistall
[root@server~]#yumgrouplist
Yumclientrepoconfiguring
YumclientIP=192.168.1.101
Yumclienthostname=client1.example.com
[root@client~]#vim/etc/yum.repos.d/client.repo
[client]
name=rhel6.1yumclient64bit
baseurl=ftp://192.168.1.100/pub
enabled=1
gpgcheck=0
[root@client~]#yumcleanall
[root@server~]#yummakecahe
[root@client~]#yumlistall
[root@server~]#yumgrouplist
PostedbyRBSENTHILBABUat9:20AM
3comments:
ramsahusaid...
GoodJobdear
November13,2013at11:47PM
Editorsaid...
ThankyouforsuchawonderfulInformation!!
HereisalistofTopLINUXINTERVIEWQUESTIONS
VeritasClusterInterviewQuestions
SAMBAServerInterviewQuestions
LinuxFTPvsftpdInterviewQuestions
SSHInterviewQuestions
ApacheInterviewQuestions
NagiosInterviewquestions
IPTABLESInterviewQuestions
LdapServerInterviewQuestions
LVMInterviewquestions
SendmailServerInterviewQuestions
YUMInterviewQuestions
NFSInterviewQuestions
ReadMoreat:LinuxTroubleshooting
July24,2015at3:31AM
firstsourcesolutionssaid...
ILIKEYOURSITEGOODJOBANDUPDATENEWVERSIONANDSERVERS.Thanks
October11,2016at12:48PM
PostaComment
NewerPost
Home
OlderPost
Subscribeto:PostComments(Atom)
http://rbsrhel.blogspot.in/2013/03/rhel6yumserverandclient.html
2/3
11/11/2016
REDHATLinux:RHEL6YUMServerandClientConfiguration
Etherealtemplate.PoweredbyBlogger.
http://rbsrhel.blogspot.in/2013/03/rhel6yumserverandclient.html
3/3