CentOS 7 OPSI: Unterschied zwischen den Versionen

Aus Vosp.info
Wechseln zu:Navigation, Suche
Zeile 16: Zeile 16:
  
 
  yum install lxc (epel)
 
  yum install lxc (epel)
 +
 +
Bridges
 +
vim /etc/sysconfig/network-scripts/ifcfg-br0
 +
 +
DEVICE=br0
 +
TYPE=Bridge
 +
 +
DEFROUTE=yes
 +
IPV4_FAILURE_FATAL=no
 +
IPV6INIT=yes
 +
IPV6_AUTOCONF=yes
 +
IPV6_DEFROUTE=yes
 +
IPV6_FAILURE_FATAL=no
 +
IPV6_PEERDNS=yes
 +
IPV6_PEERROUTES=yes
 +
 +
 +
IPADDR0=10.0.10.1
 +
NETMASK=255.255.255.0
 +
 +
ONBOOT=yes
 +
BOOTPROTO=none
 +
NM_CONTROLLED=no
 +
DELAY=0
 +
STP=yes

Version vom 18. März 2015, 17:40 Uhr

Installation vom ISO in eine VirtualBox 4.13.8 Debian Jessie

  • Partitionierung
    • Manuell auswählen
      • /boot : 250M, ext4
      • / im LVM: 7 GB, ext4
      • volume group maximieren
systemctl start sshd
hostname set-hostname <hostname>
yum install vim wget net-tools
rpm -Uhv http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
yum install lxc (epel)

Bridges

vim /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE=br0
TYPE=Bridge

DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes


IPADDR0=10.0.10.1
NETMASK=255.255.255.0

ONBOOT=yes
BOOTPROTO=none
NM_CONTROLLED=no
DELAY=0
STP=yes