# CentOS-Base.repo
# http://kambing.ui.ac.id/centos/6.5/
# /etc/yum.repos.d/CentOS-Base.repo
[SCL]
name=CentOS
baseurl=http://kambing.ui.ac.id/centos/6/SCL/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.ac.id/centos/RPM-GPG-KEY-CentOS-6
[CentOSPlus]
name=CentOS
baseurl=http://kambing.ui.ac.id/centos/6/centosplus/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.ac.id/centos/RPM-GPG-KEY-CentOS-6
[Contrib]
name=CentOS
baseurl=http://kambing.ui.ac.id/centos/6/contrib/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.ac.id/centos/RPM-GPG-KEY-CentOS-6
[Extras]
name=CentOS
baseurl=http://kambing.ui.ac.id/centos/6/extras/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.ac.id/centos/RPM-GPG-KEY-CentOS-6
[Fasttrack]
name=CentOS
baseurl=http://kambing.ui.ac.id/centos/6/fasttrack/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.ac.id/centos/RPM-GPG-KEY-CentOS-6
[OS]
name=CentOS
baseurl=http://kambing.ui.ac.id/centos/6/os/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.ac.id/centos/RPM-GPG-KEY-CentOS-6
[Updates]
name=CentOS
baseurl=http://kambing.ui.ac.id/centos/6/updates/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.ac.id/centos/RPM-GPG-KEY-CentOS-6
Tuesday, December 24, 2013
Monday, December 23, 2013
Install Pacemaker on CentOS 5
Installing on RHEL-5 Compatible Distributions: CentOS, Scientific Linux, etc
1. Get Repo
wget -O /etc/yum.repos.d/pacemaker.repo http://clusterlabs.org/rpm-next/epel-5/clusterlabs.repo
yum install -y pacemaker corosync
2. Manual Add Repo
Files: /etc/yum.repos.d/pacemaker.repo
-------------------------------------------------------------------
[clusterlabs-next]
name=High Availability/Clustering server technologies (epel-5-next)
baseurl=http://www.clusterlabs.org/rpm-next/epel-5
metadata_expire=45m
type=rpm-md
gpgcheck=0
enabled=1
-------------------------------------------------------------------
Semoga bermanfaat, :)
Source: http://clusterlabs.org/wiki/Install#Installing_on_RHEL-5_Compatible_Distributions:_CentOS.2C_Scientific_Linux.2C_etc
Source: http://clusterlabs.org/wiki/Install#Installing_on_RHEL-5_Compatible_Distributions:_CentOS.2C_Scientific_Linux.2C_etc
Repo CentOS 5.9 (latest updated) dari Kambing
# /etc/yum.repos.d/CentOS-Base.repo
---------------------------------------------------------------
# CentOS-Base.repo
# http://kambing.ui.ac.id/centos/5.9/
[AddOns]
name=CentOS
baseurl=http://kambing.ui.ac.id/centos/5/addons/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.ac.id/centos/RPM-GPG-KEY-CentOS-5
[CentOSPlus]
name=CentOS
baseurl=http://kambing.ui.ac.id/centos/5/centosplus/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.ac.id/centos/RPM-GPG-KEY-CentOS-5
[Contrib]
name=CentOS
baseurl=http://kambing.ui.ac.id/centos/5/contrib/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.ac.id/centos/RPM-GPG-KEY-CentOS-5
[Extras]
name=CentOS
baseurl=http://kambing.ui.ac.id/centos/5/extras/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.ac.id/centos/RPM-GPG-KEY-CentOS-5
[Fasttrack]
name=CentOS
baseurl=http://kambing.ui.ac.id/centos/5/fasttrack/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.ac.id/centos/RPM-GPG-KEY-CentOS-5
[OS]
name=CentOS
baseurl=http://kambing.ui.ac.id/centos/5/os/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.ac.id/centos/RPM-GPG-KEY-CentOS-5
[Updates]
name=CentOS
baseurl=http://kambing.ui.ac.id/centos/5/updates/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.ac.id/centos/RPM-GPG-KEY-CentOS-5
---------------------------------------------------------------
Semoga bermanfaat, :)
---------------------------------------------------------------
# CentOS-Base.repo
# http://kambing.ui.ac.id/centos/5.9/
[AddOns]
name=CentOS
baseurl=http://kambing.ui.ac.id/centos/5/addons/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.ac.id/centos/RPM-GPG-KEY-CentOS-5
[CentOSPlus]
name=CentOS
baseurl=http://kambing.ui.ac.id/centos/5/centosplus/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.ac.id/centos/RPM-GPG-KEY-CentOS-5
[Contrib]
name=CentOS
baseurl=http://kambing.ui.ac.id/centos/5/contrib/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.ac.id/centos/RPM-GPG-KEY-CentOS-5
[Extras]
name=CentOS
baseurl=http://kambing.ui.ac.id/centos/5/extras/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.ac.id/centos/RPM-GPG-KEY-CentOS-5
[Fasttrack]
name=CentOS
baseurl=http://kambing.ui.ac.id/centos/5/fasttrack/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.ac.id/centos/RPM-GPG-KEY-CentOS-5
[OS]
name=CentOS
baseurl=http://kambing.ui.ac.id/centos/5/os/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.ac.id/centos/RPM-GPG-KEY-CentOS-5
[Updates]
name=CentOS
baseurl=http://kambing.ui.ac.id/centos/5/updates/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://kambing.ui.ac.id/centos/RPM-GPG-KEY-CentOS-5
---------------------------------------------------------------
Semoga bermanfaat, :)
Friday, December 20, 2013
Menggunakan YUM dibelakang PROXY di CentOS
Walau trik ini sudah banyak yang tahu, namun saya hanya ingin meramaikan blog mengenai tutoriak/trik mengenai Linux. Bagi yang belum tahu atau sedang asyik-asyiknya bermain Linux berikut trik sederhananya yah.. :)
Konfigurasi 1 (cara pertama)
Memasangkan proxy di dalam file /etc/yum.conf:
proxy=http://192.168.1.2:1
proxy_username=admin@rijalhanif.net
proxy_password=123password
Konfigurasi 2 (cara kedua)
Memasangkan proxy di variable environment
http_proxy="http://jaya@rijal.com:123456@192.168.1.187:8080"
export http_proxy
Konfigurasi 1 (cara pertama)
Memasangkan proxy di dalam file /etc/yum.conf:
proxy=http://192.168.1.2:1
proxy_username=admin@rijalhanif.net
proxy_password=123password
Konfigurasi 2 (cara kedua)
Memasangkan proxy di variable environment
http_proxy="http://jaya@rijal.com:123456@192.168.1.187:8080"
export http_proxy
Wednesday, December 18, 2013
Ganti nama ethX di CentOS/RHEL
Adakalanya nama ethX anda berubah menjadi ethX dengan urutan yang tidak sesuai atau tidak bermula dari awal.
1. Buka file: /etc/udev/rules.d/70-persistent-net.rules
2. Ganti bagian eth, menjadi eth0 atau disesuaikan dengan keinginan Anda.
SUBSYSTEM==”net”, ACTION==”add”, DRIVERS==”?*”, ATTR{address}==”00:50:56:b2:23:e0″, ATTR{type}==”1″, KERNEL==”eth*”, NAME=”eth0″
3. Buka file: /etc/sysconfig/network-scripts/ifcfg-eth0
Atau jika tidak ada, rename dari konfigurasi sebelumnya, mungkin dari nama ifcfg-eth3
*Thanks, Semoga bermanfaat.
1. Buka file: /etc/udev/rules.d/70-persistent-net.rules
2. Ganti bagian eth, menjadi eth0 atau disesuaikan dengan keinginan Anda.
SUBSYSTEM==”net”, ACTION==”add”, DRIVERS==”?*”, ATTR{address}==”00:50:56:b2:23:e0″, ATTR{type}==”1″, KERNEL==”eth*”, NAME=”eth0″
3. Buka file: /etc/sysconfig/network-scripts/ifcfg-eth0
Atau jika tidak ada, rename dari konfigurasi sebelumnya, mungkin dari nama ifcfg-eth3
*Thanks, Semoga bermanfaat.
Tuesday, December 17, 2013
Auto Login User on Ubuntu (Tested 10.04)
Buat file di: /etc/gdm/custom.conf
Isikan dengan:
[daemon]
TimedLoginEnable=true
AutomaticLoginEnable=true
TimedLogin=monitor
AutomaticLogin=monitor
TimedLoginDelay=10
DefaultSession=gnome
Lalu.. restart Ubuntu anda:
# shutdown -r now
Isikan dengan:
[daemon]
TimedLoginEnable=true
AutomaticLoginEnable=true
TimedLogin=monitor
AutomaticLogin=monitor
TimedLoginDelay=10
DefaultSession=gnome
Lalu.. restart Ubuntu anda:
# shutdown -r now
Subscribe to:
Posts (Atom)