ᠦᠨᠳᠦᠰᠦᠨ ᠦ ᠳ᠋ᠠᠲ᠋ᠠ ᠲᠥᠪ

ᠲᠣᠯᠢᠨ ᠰᠧᠷᠸᠧᠷ ᠠᠵᠢᠯᠯᠠᠭᠠᠨ ᠳᠤ ᠣᠷᠣᠯ᠎ᠠ

CentOS᠂ Ubuntu ᠪᠣᠯᠤᠨ Archlinux ᠰᠢᠰᠲ᠋ᠧᠮ ᠦᠳ ᠦᠨ ᠲᠣᠯᠢᠨ ᠰᠧᠷᠸᠧᠷ ᠢ ᠰᠢᠨᠡᠴᠢᠯᠡᠨ ᠨᠡᠪᠲᠡᠷᠡᠭᠦᠯᠦᠯ᠎ᠡ᠃ ᠲᠤᠰ ᠰᠢᠰᠲ᠋ᠧᠮ ᠦᠳ ᠢ ᠬᠡᠷᠡᠭᠯᠡᠭᠴᠢᠳ ᠲᠦ ᠳᠣᠲᠣᠭᠠᠳᠤ ᠳᠤ ᠪᠠᠨ ᠥᠨᠳᠥᠷ ᠬᠤᠷᠳᠤ ᠪᠠᠷ ᠲᠠᠲᠠᠵᠤ ᠠᠪᠬᠤ ᠪᠣᠯᠤᠨ ᠬᠡᠷᠡᠭᠲᠡᠢ ᠫᠷᠣᠭᠷᠠᠮ ᠬᠠᠩᠭᠠᠮᠵᠢ ᠶᠢ ᠰᠠᠭᠤᠯᠭᠠᠬᠤ᠂ ᠰᠠᠭᠤᠯᠭᠠᠭᠰᠠᠨ ᠫᠷᠣᠭᠷᠠᠮ ᠬᠠᠩᠭᠠᠮᠵᠢ ᠪᠠᠨ ᠰᠠᠶᠢᠵᠢᠷᠠᠭᠤᠯᠬᠤ᠂ ᠰᠡᠭᠦᠯ ᠦᠨ ᠬᠤᠪᠢᠯᠪᠤᠷᠢ ᠨᠤᠭᠤᠳ ᠢ ᠲᠠᠲᠠᠨ ᠠᠪᠴᠤ ᠠᠰᠢᠭᠯᠠᠬᠤ ᠪᠣᠯᠤᠮᠵᠢ ᠶᠢ ᠣᠯᠭᠤᠵᠤ ᠪᠠᠶᠢᠭ᠎ᠠ ᠶᠤᠮ᠃

centos repository ᠲᠤᠬᠢᠷᠠᠭᠤᠯᠬᠤ ᠵᠢᠭᠠᠪᠤᠷᠢ ᠡᠮᠦᠨᠡᠬᠢ repository cache ᠤᠰᠠᠳᠬᠠᠬᠤ ᠳᠤ ᠪᠠᠨ ᠳᠠᠷᠠᠭᠠᠬᠢ ᠺᠣᠮᠠᠨᠳ ᠢ ᠠᠰᠢᠭᠯᠠᠨ᠎ᠠ᠃

sudo yum clean all

ᠬᠠᠭᠤᠴᠢᠨ repository ᠢᠳᠡᠪᠬᠢ ᠦᠭᠡᠢ ᠪᠣᠯᠭᠠᠬᠤ ᠳᠤ ᠳᠠᠷᠠᠭᠠᠬᠢ ᠺᠣᠮᠠᠨᠳ ᠢ ᠠᠰᠢᠭᠯᠠᠨ᠎ᠠ᠃

sudo yum --disablerepo=* update

ᠲᠤᠬᠠᠢ ᠶᠢᠨ ᠹᠠᠶᠢᠯ ᠢ vi ᠡᠰᠡᠪᠡᠯ nano ᠵᠡᠷᠭᠡ text editor ᠠᠰᠢᠭᠯᠠᠵᠤ ᠰᠢᠨ᠎ᠡ ᠪᠡᠷ repository ᠍ ᠦᠨ ᠲᠣᠬᠢᠷᠠᠭ᠎ᠠ ᠶᠢ ᠪᠢᠴᠢᠵᠦ ᠥᠭᠭᠦᠨ᠎ᠡ᠃

sudo vi /etc/yum.repos.d/centos-mndc.repo
[mndc]
name=CentOS-$releasever - MNDC
mirrorlist=http://mirror.datacenter.mn/centos/?release=$releasever&arch=$basearch&repo=os
baseurl=http://mirror.datacenter.mn/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.datacenter.mn/centos/RPM-GPG-KEY-centos$releasever
protect=1
enabled=1

ᠳᠡᠭᠡᠷᠡᠬᠢ ᠲᠣᠬᠢᠷᠠᠭ᠎ᠠ ᠶᠢ ᠬᠠᠭᠤᠯᠤᠭᠰᠠᠨ ᠤ ᠳᠠᠷᠠᠭ᠎ᠠ ᠪᠠᠷ

sudo yum update

ᠺᠣᠮᠠᠨᠳ ᠢ ᠠᠵᠢᠯᠯᠠᠭᠤᠯᠵᠤ repository ᠍ ᠢ ᠰᠢᠨᠡᠴᠢᠯᠡᠨ᠎ᠡ᠃

ᠬᠣᠯᠪᠣᠭᠠᠰᠤ᠄ http᠄//mirror.datacenter.mn/centos

UBUNTU REPOSITORY ᠲᠤᠬᠢᠷᠠᠭᠤᠯᠬᠤ ᠵᠢᠭᠠᠪᠤᠷᠢ

ᠬᠠᠭᠤᠴᠢᠨ repository ᠮᠡᠳᠡᠭᠡᠯᠡᠯ ᠬᠠᠳᠠᠭᠠᠯᠠᠭᠳᠠᠵᠤ ᠪᠤᠢ ᠹᠠᠶᠢᠯ ᠢ ᠳᠠᠷᠠᠭᠠᠬᠢ ᠺᠣᠮᠠᠨᠳ ᠤᠨ ᠳᠠᠭᠠᠤ ᠨᠥᠭᠡᠴᠡᠯᠡᠵᠦ ᠠᠪᠤᠨ᠎ᠠ᠃

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

ᠲᠤᠬᠠᠢ ᠶᠢᠨ ᠹᠠᠶᠢᠯ ᠢ vi ᠡᠰᠡᠪᠡᠯ nano ᠵᠡᠷᠭᠡ text editor ᠠᠰᠢᠭᠯᠠᠵᠤ᠂ ᠠᠰᠢᠭᠯᠠᠬᠤ ᠦᠭᠡᠢ repository ᠤᠷᠳᠤ 《#》 ᠲᠡᠮᠳᠡᠭᠲᠦ ᠲᠠᠯᠪᠢᠵᠤ ᠢᠳᠡᠪᠬᠢ ᠦᠭᠡᠢ ᠪᠣᠯᠭᠠᠨ᠎ᠠ᠃

sudo vi /etc/apt/sources.list
#deb http://us.archive.ubuntu.com/ubuntu/ trusty universe main
#deb-src http://us.archive.ubuntu.com/ubuntu/ trusty universe mian

ᠳᠡᠭᠡᠷᠡᠬᠢ ᠪᠠᠶᠢᠳᠠᠯ ᠢᠶᠠᠷ ᠬᠠᠭᠤᠴᠢᠨ repository ᠍ ᠢ ᠢᠳᠡᠪᠬᠢ ᠦᠭᠡᠢ ᠪᠣᠯᠭᠠᠨ᠎ᠠ᠃

ᠬᠠᠭᠤᠴᠢᠨ repository ᠍ ᠢ ᠢᠳᠡᠪᠬᠢ ᠭᠦᠢ ᠪᠣᠯᠭᠠᠭᠰᠠᠨ ᠤ ᠳᠠᠷᠠᠭ᠎ᠠ ᠳᠣᠣᠷᠠᠬᠢ repository ᠍ ᠢ sources.list ᠹᠠᠶᠢᠯ ᠳᠤ ᠨᠡᠮᠡᠵᠦ ᠥᠭᠭᠦᠨ᠎ᠡ᠃ ᠨᠡᠮᠡᠬᠦ ᠳᠦ ᠪᠡᠨ ᠥᠪᠡᠷ ᠦᠨ ᠰᠢᠰᠲ᠋ᠧᠮ ᠳᠦ ᠲᠣᠬᠢᠷᠠᠬᠤ codename ᠠᠰᠢᠭᠯᠠᠨ᠎ᠠ᠃ ᠵᠢᠱᠢᠶ᠎ᠡ ᠪᠣᠯᠭᠠᠵᠤ trusty codename ᠪᠦᠬᠦᠢ ᠰᠢᠰᠲ᠋ᠧᠮ ᠳᠦ ᠳᠠᠷᠠᠭᠠᠬᠢ ᠪᠠᠶᠢᠳᠠᠯ ᠲᠠᠢ ᠪᠠᠷ ᠨᠡᠮᠡᠨ᠎ᠡ᠃

deb http://mirror.datacenter.mn/ubuntu/ trusty universe main
deb-src http://mirror.datacenter.mn/ubuntu/ trusty universe main
deb http://mirror.datacenter.mn/ubuntu/ trusty-updates universe main
deb-src http://mirror.datacenter.mn/ubuntu/ trusty-updates universe main

ᠳᠡᠭᠡᠷᠡᠬᠢ ᠲᠣᠬᠢᠷᠠᠭ᠎ᠠ ᠶᠢ ᠬᠠᠭᠤᠯᠰᠤᠨ ᠤ ᠳᠠᠷᠠᠭ᠎ᠠ ᠪᠠᠷ

sudo apt-get update

ᠺᠣᠮᠮᠠᠨᠳ ᠢ ᠠᠵᠢᠯᠯᠠᠭᠤᠯᠵᠤ repository ᠍ ᠢ ᠰᠢᠨᠡᠴᠢᠯᠡᠨ᠎ᠡ᠃

ᠬᠣᠯᠪᠣᠭᠠᠰᠤ᠄ http᠄//mirror.datacenter.mn/ubuntu