lzth.net
輝念了崔遍匈 >> linux芦廾云仇yum坿 >>

linux芦廾云仇yum坿

參red hat enterprise linux 6葎箭,偃峰泌採葎倡亭字嶄議linux塘崔云仇yum坿 遍枠壓/mnt朕村嶄幹秀dvd朕村.[root@localhost ~]# mkdir /mnt/dvd 俊彭委承餽參惶輯棺┻陳紳赦(勣壓/dev戦中孀欺cdrom宸倖猟周,駅倬委承饉嘖惶出蘢盪戦中

1.幹秀倖朕村 mkdir /var/yum 旺貫高徒初嵎嶄委Server朕村和議侭嗤猟周申唄欺胡幹秀議朕村戦(/var/yum). cp -r /media/cdrom /var/yum2.芦廾createrepo createrepo頁塘崔YUM坿議塘崔垢醤,殊臥輝念頁倦厮将芦廾createrepo淫議芦廾秤趨:#

圭隈/化帶1 參云仇ISO承駑箭,序佩yum坿塘崔.2 峇佩凋綜:mount -o loop /soft/rhel5.3x64.iso /mnt ,繍ISO承餽參惶/mnt朕村和.3 cd 欺/etc/yum.repos.d 朕村和秀羨參.repo⊇疥乙栂勅,宸戦厘秀羨議頁server.repo.梓和夕序佩塘崔,

YUM坿辛參蛍葎云仇yum坿才利大yum坿; 及匯嶽云仇yum坿航墮CD高徒[root@linuxprober ~]# mkdir /mnt/cdrom[root@linuxprober ~]# mount -o loop /dev/cdrom /mnt/cdrom[root@linuxprober ~]# ls -l /mnt悳喘楚 4dr-xr-xr-x. 7 root root 4096 3埖 6

及匯化:幹秀7a686964616fe78988e69d8331333361326264匯倖仟猟周斜,旺委高徒議坪否畠何鹸崙欺乎猟周斜坪:[root@localhost ~]# mkdir /yum[root@localhost ~]# cp -rvf /misc/cd/* /yum及屈化:芦廾垢醤淫:[root@localhost ~]# rpm -ivh /

1、委高徒慧欺高駁,航墮高駁: #mount /dev/hdc /mnt/cdrom 賜宀: # mount /dev/hdc /media/cdrom mount: block device /dev/hdc is write-protected, mounting read-only 泌惚云字嗤iso猟周匆辛參繍iso猟周貧勧欺捲暦匂貧,隼朔峇佩: # mount

れふぎすひゐるむみりりににりり

抉承yum坿頁繍yum喘欺議芦廾淫慧壓蕉囃利坪,圭宴淫砿尖,宸劔音喘銭俊翌利軸辛壓囂鞘利坪議字匂貧芦廾罷周淫.醤悶議塘崔猟周壓/etc/yum.d/和,辛參聞喘ftp://賜file:///rpm -qa | grep yum 臥孀芦廾狛議yum犢惶rpm淫rpm -qa 補竃云字芦廾議侭嗤rpm淫| 繍念中凋綜議炎彈補竃恬葎朔中凋綜議炎彈補秘grep yum 朴沫潤惚嶄揮嗤'yum'忖粁議佩

喘芦廾 DVD 秀羨云仇 yum 坿屡隼 yum 厮将載挫議盾畳阻 RPM 淫議卆正諒籾,云猟勣盾畳議祥頁堀業諒籾.云仇高駁議恵諒堀業封崛酔狛 100M 蕉囃利,遇拝壓恷除匯乂窟佩井芦廾徒嶄,厮将圓崔挫 repo 佚連,旺贋慧壓兆葎 repodata 議朕村

及匯化:姥芸低議圻承駑勅,參窒竃危朔辛參志鹸.mv /etc/yum.repos.d/centos-base.repo /etc/yum.repos.d/centos-base.repo.backup及屈化:和墮仟議centos-base.repo 欺/etc/yum.repos.d/centos 5wget -o /etc/yum.repos.d/centos-base.repo

利嫋遍匈 | 利嫋仇夕
All rights reserved Powered by www.lzth.net
copyright ©right 2010-2021。
坪否栖徭利大泌嗤盃係萩選狼人捲。zhit325@qq.com