satu

Gajah mati meninggalkan tulang
harimau mati meninggalkan belang
manusia mati meninggalkan nama

persiapkan klu kalian mati ingin meninggalkan apa ?
Showing posts with label centos. Show all posts
Showing posts with label centos. Show all posts

Saturday, 22 September 2018

Yum Repo Error

sumber : https://www.linuxquestions.org/questions/centos-111/yumrepo-error-centos-5-9-a-4175604669/
sumber : https://www.joeferguson.me/installing-php-5-6-x-on-centos-5-11/

Masalah

root@server1 $  yum --enablerepo=base info bash
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/extras/mirrorlist.txt

Friday, 11 December 2015

open port firewal zabbix

iptables -I INPUT 5 -p tcp -m tcp --dport 10050 -j ACCEPT


service iptables save
link referensi 

Saturday, 24 October 2015

cannot retrieve repository metadata (repomd.xml) for repository.txt

Sumber : http://www.linuxquestions.org/questions/linux-newbie-8/cannot-retrieve-repository-metadata-repomd-xml-for-repository-935134/

Cannot retrieve repository metadata (repomd.xml) for repository

[root@fedora16 ~]# mkdir /etc/yum.repos.d/repo.disabled

[root@fedora16 ~]# ls /etc/yum.repos.d/
fedora16.repo fedora.repo  fedora-updates.repo  fedora-updates-testing.repo  repo.disabledThen move all these 3 repo files into “repo.disabled” folder :

Code:
[root@fedora16 ~]# mv /etc/yum.repos.d/fedora.repo /etc/yum.repos.d/repo.disabled
[root@fedora16 ~]# mv /etc/yum.repos.d/fedora-updates.repo /etc/yum.repos.d/repo.disabled
[root@fedora16 ~]# mv /etc/yum.repos.d/fedora-updates-testing.repo /etc/yum.repos.d/repo.disabledList out the updated files and folders inside /etc/yum.repos.d :

Code:
[root@fedora16 ~]# ls -l /etc/yum.repos.d/
total 8
-rw-r--r--. 1 root root   92 Mar 18 00:09 fedora16.repo
drwxr-xr-x. 2 root root 4096 Mar 18 01:27 repo.disabledNote : Only file fedora16.repo and folder repo.disabled should be exist.

Run yum clean all to clear up your yum cache directory :

Code:
[root@fedora16 ~]# yum clean all
After cleaning up you can use yum as usual.