# vi /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0

BOOTPROTO=none

ONBOOT=yes

IPADDR=172.27.0.100

PREFIX=16

GATEWAY=172.27.0.1

DNS1=168.126.63.1

DNS2=168.126.63.2


# service network restart

'System > Linux' 카테고리의 다른 글

linux - dns cache flush  (0) 2014.09.30
linux - Install EPEL Repo  (0) 2014.09.19
linux - bootproto static vs none  (1) 2014.09.18
linux - difference between adduser and useradd  (0) 2014.09.18
linux - hostname Upper Or Lowercase ?  (0) 2014.09.18
Posted by linuxism
,


RHEL6 bootproto=static is no longer an option


From the rhel6 documentation – BOOTPROTO=static is no longer an option. Should be “none”

BOOTPROTO=protocol
where protocol is one of the following:
none — No boot-time protocol should be used.
bootp — The BOOTP protocol should be used.
dhcp — The DHCP protocol should be used.

however pxe boot process is still bootproto=static - just veryfied that.....

https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s1-networkscripts-interfaces.html



source - https://github.com/cobbler/cobbler/issues/361

'System > Linux' 카테고리의 다른 글

linux - Install EPEL Repo  (0) 2014.09.19
linux - centos static ip config  (0) 2014.09.19
linux - difference between adduser and useradd  (0) 2014.09.18
linux - hostname Upper Or Lowercase ?  (0) 2014.09.18
linux - Install RPM Fusion Repository  (0) 2014.09.04
Posted by linuxism
,


What's the difference between “adduser” and “useradd”?


I wonder: Why are there these two commands on Debian Linux, with very similar names and functionality? This has always been confusing for me.

  • Is any of them superior to another?
  • Why aren't they merged into one?
  • Is there any significant difference between them?
  • Which one should I use? Or does it depend on a use case?



useradd is native binary compiled with the system. But, adduser is a perl script which uses useradd binary in back-end.

adduser is more user friendly and interactive than its back-end useradd. There's no difference in features provided.




source - http://superuser.com/questions/547966/whats-the-difference-between-adduser-and-useradd





'System > Linux' 카테고리의 다른 글

linux - centos static ip config  (0) 2014.09.19
linux - bootproto static vs none  (1) 2014.09.18
linux - hostname Upper Or Lowercase ?  (0) 2014.09.18
linux - Install RPM Fusion Repository  (0) 2014.09.04
linux - grep and or  (0) 2014.09.02
Posted by linuxism
,