Beranda > Tutorial > Command > Install Yum Centos 5 dengan RPM

Install Yum Centos 5 dengan RPM

centos-logoKetika anda sudah terbiasa menggunakan YUM untuk melakukan berbagai installasi pada Centos 5 dan ternyata tidak terinstall paket tersebut ughhh gelap rasanya.

Berikut cara installasi YUM dengan RPM cepat dan akurat.

buatlah satu file dengan vi

# vi yum_install.sh

isi file tsb dengan ini :

#!/bin/bash
# bash script to install yum + dependencies on a CentOS 5.x vps from Blacknight
# download and chmod 755 and then execute it.
#
# Change made by Paul Kelly Oct 2nd 2008 to cater for problems with with the CentOS
# mirror network removing the 5.x channel. Now all CentOS 5 updates will be on the
# 5 channel and not the minior release number like before.
#
# Copyright Blacknight 2008

MIRROR=http://ftp.heanet.ie/pub/centos/5/os/i386/CentOS

rpm -Uvh –nodeps $MIRROR/yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm

rpm -Uvh
$MIRROR/yum-3.2.19-18.el5.centos.noarch.rpm
$MIRROR/python-iniparse-0.2.3-4.el5.noarch.rpm
$MIRROR/m2crypto-0.16-6.el5.3.i386.rpm
$MIRROR/python-elementtree-1.2.6-5.i386.rpm
$MIRROR/python-sqlite-1.1.7-1.2.1.i386.rpm
$MIRROR/python-urlgrabber-3.1.0-5.el5.noarch.rpm
$MIRROR/yum-metadata-parser-1.1.2-2.el5.i386.rpm
$MIRROR/rpm-python-4.4.2.3-9.el5.i386.rpm
$MIRROR/rpm-4.4.2.3-9.el5.i386.rpm
$MIRROR/rpm-libs-4.4.2.3-9.el5.i386.rpm
Simpan dan di chmod 755 jalankan dengan ./yum_install.sh

PS :

jika terjadi error cek dulu paket-paket yang terdapat di http://ftp.heanet.ie/pub/centos/5/os/i386/CentOS barangkali paketnya sudah terupdate versi terbaru sehingga anda perlu merubah nama masing2 file.

referensi :

About the author

wrote 255 articles on this blog.

Provider Registrasi Domain , Hosting Murah,VPS & Dedicated Server
Live Chat Online : Senin – Sabtu 09.00 – 16.00 wIB
Support : support [at] pusathosting.com
Aktivasi : billing [at] pusathosting.com
Follow kami di Twitter, Facebook & Google Plus

0saves
Klik Tombol Diatas dan Dapatkan artikel terbaru dengan subscribe di sini

Baca juga artikel ini :

  1. Install Antivirus Clamav di Directadmin Box
  2. Tutorial Install Opencart dengan Softaculous
  3. Menampilkan Spek Hardware melalui command line linux
  4. how to install mytop @ hosting murah
  5. Change Centos Timezone

facebook comments:

Leave a Reply