Showing posts with label centos. Show all posts
Showing posts with label centos. Show all posts

17.11.09

Configure network settings in linux via terminal

Applies to (Centos, Fedora, Red Hat Enterprise Linux 5)
Simple method:
# ifconfig eth0 192.168.10.12 netmask 255.255.255.0 broadcast 192.168.10.255
Or manually edit configuration files stored in /etc/sysconfig/network-scripts/

You can configure network card by editing text files stored in /etc/sysconfig/network-scripts/ directory. First change directory to /etc/sysconfig/network-scripts/:
# cd /etc/sysconfig/network-scripts/
You need to edit / create files as follows:
  • /etc/sysconfig/network-scripts/ifcfg-eth0 : First Ethernet card configuration file
  • /etc/sysconfig/network-scripts/ifcfg-eth1 : Second Ethernet card configuration file
To edit/create first NIC file, type command:

5.10.09

RPMforge Repository for CentOS

RPM packages for Red Hat, RHEL, CentOS and Fedora

Installation for CentOS 5:

i386
rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm


x86_64
rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm



Original at dag.wieers.com

Karan Repository for CentOS

Fedora Extras rebuild Repository
Download file : kbsingh-CentOS-Extras.repo and save it in /etc/yum.repos.d/

Misc Packages rebuild Repository

Download file : kbsingh-CentOS-Misc.repo and save it in /etc/yum.repos.d/

Apply GPG key
The GPG key used to sign packages in this repository can installed by running ( as root )
    rpm --import http://centos.karan.org/RPM-GPG-KEY-karan.org.txt

Original: centos.karan.org