yum -y update
vi /etc/sysconfig/network-scripts/ifcfg-eth0
ONBOOT=yes
NM_CONTROLLED="no" //network-manager
BOOTPROTO=none
IPADDR=192.168.123.61
NETMASK=255.255.255.0
GATEWAY=192.168.123.254
HWADDR=4A:4F:62:00:59:98
DNS1=192.168.123.7
DNS2=192.168.123.14
DOMAIN=cloud-node-01.local
====== hostname =========
nano /etc/hosts
127.0.0.1 localhost
192.168.123.61 debian11.cloud-node-01.local debian11
nano /etc/networks
default 0.0.0.0
loopback 127.0.0.0
link-local 169.254.0.0
localnet 192.168.123.0 //penting
nano /etc/sysconfig/network
HOSTNAME= debian11
============ NTP / LocalTime ============
yum install tzdata
tzselect
hwclock --systohc
yum -y install ntp
/etc/ntp.conf
============= Binding single interface = 2 networks ========
cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig//network-scripts/ifcfg-eth0:1
root@debian11:~# nano /etc/sysconfig/network-scripts/ifcfg-eth0:1
DEVICE=eth0:1
NAME="System eth0:1"
hapus ini
HWADDR = XXXX.XXXX
UUID = XXXX.XXXX
============ Bonding 2 NIC = 1 Network =================
yum -y install bind-utils ethtool
========= create file bond0 ========
nano /etc/sysconfig/network-scripts/ifcfg-bond0
yum search pci
yum install pciutils.x86_64
rpm -ivh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
yum install iftop
nano /etc/modprobe.d/bonding.conf
alias bond0 bonding
options bond0 mode=5 miimon=100
modprobe bonding
ifconfig add eth1
eth0 4A:4F:62:00:59:98
eth1 HWADDR=DE:62:EC:BB:6E:56
========================= bond0 ===========================
DEVICE="bond0"
TYPE=Ethernet
ONBOOT=yes
USERCTL=no
NM_CONTROLLED="no"
BOOTPROTO=none
IPADDR=192.168.123.61
NETMASK=255.255.255.0
GATEWAY=192.168.123.254
DNS1=192.168.123.7
DNS2=192.168.123.14
DOMAIN=cloud-node-01.local
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System bond0"
====================== eth0 ============================
DEVICE=eth0
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED="no"
BOOTPROTO=none
HWADDR=4A:4F:62:00:59:98
NAME="System eth0"
MASTER=bond0
SLAVE=yes
===================== eth1 =============================
DEVICE=eth1
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED="no"
BOOTPROTO=none
HWADDR=DE:62:EC:BB:6E:56
NAME="System eth1"
MASTER=bond0
SLAVE=yes
=================== Packages yum teknik ===================
clean any cached package information
yum clean packages
clean any cached XML-based metadata
yum clean metadata
clean cached databases files
yum clean dbcache
clean all files and unnecessary disk
yum clean all
rebuild yum cache
yum makecache
yum -y update --skip-broken
yum search package-name
yum info pack-name
yum deplist pack-name
yum list installed // untuk melihat yg diinstal
//managing repository CentOS
yum install yum-plugin-priorities
nano /etc/yum/pluginconf.d/priorities.conf //enabled =1
nano /etc/yum.repos.d/CentOS-Base.repo
[base] [updates] [extras] tambahi line, priority=1.
yum -y update
=============== uninstall ovirt-engine ============
yum remove ovirt\*
[root@CentosOVirt ~]# yum history list ovirt-engine-setup-plugin-allinone
8 | root
7 | root
[root@CentosOVirt ~]# yum history undo 7
========== install aio ovirt ==================
yum -y update
yum -y install http://plain.resources.ovirt.org/pub/yum-repo/ovirt-release34.rpm
yum install ovirt-engine-setup-plugin-allinone
error meta for eepl
yum install pciutils
========= open mode 6 on centos 6 ==================
yum install -y wget
wget -q -O - http://opennodecloud.com/download/centos6-to-opennode6.sh | bash
========================= opennode =============================
DEVICE=eth0
TYPE=OVSPort
DEVICETYPE=ovs
BOOTPROTO=none
OVS_BRIDGE=vmbr0
ONBOOT=yes
NM_CONTROLLED=no
USERCTL=no
HWADDR=BC:5F:F4:89:BE:10
DEVICE=vmbr0
TYPE=OVSBridge
ONBOOT=yes
DEVICETYPE=ovs
OVSBOOTPROTO="dhcp"
OVSDHCPINTERFACES="eth0"
HOTPLUG=no
NM_CONTROLLED=no
USERCTL=no
STP=off
MACADDR=$( /sbin/ifconfig eth0 | /bin/grep HWaddr | /bin/awk '{ print $5 }' )
============= centos guest =========================
DEVICE=eth0
TYPE=Ethernet
UUID=2ba03566-549c-465a-a0dc-880559cd68dd
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
IPADDR=192.168.123.8
PREFIX=24
GATEWAY=192.168.123.254
DNS1=8.8.8.8
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
HWADDR=52:54:00:6E:FF:56
No comments:
Post a Comment
have a question, just spill it :D