Menü +

find ./ -type f -name '*source-string*'

CentOs

http://www.cyberciti.biz/faq/linux-configure-a-static-ip-address-tutorial/

# ---------------------------------------------------------
# ---    : Network Configuration Files
#
vim /etc/hosts
#   127.0.0.1 newHostName
#   127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
#   ::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
#
/etc/resolv.conf
#
/etc/sysconfig/network
NETWORKING=yes
HOSTNAME=hostname.lan
GATEWAY=10.1.1.1
NTPSERVERARGS=iburst
#
/etc/sysconfig/network-scripts/ifcfg-<interface-name> 
# DHCP 
DEVICE=eth0
HWADDR=00:00:00:00:00:00
TYPE=Ethernet
UUID=1fc78efc-c38a-406f-bc37-7aaebbef7943
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=dhcp
# STATIC
DEVICE=eth0
HWADDR=00:00:00:00:00:00
UUID=1fc78efc-c38a-406f-bc37-7aaebbef7943
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=static
HWADDR=00:30:48:56:A6:2E
IPADDR=192.168.1.10
NETMASK=255.255.255.0

#
# ---------------------------------------------------------
# ---    : Install KDE on CentOs
#
yum -y groupinstall "KDE desktop" "X Window System" "Fonts"
# ---------------------------------------------------------
# ---    : EPEL repositorie
#
yum install -y epel-release
# ---------------------------------------------------------
# ---    : REMI repositorie
#
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm 
sudo rpm -Uvh remi-release-6*.rpm

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.