Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


hardware_hp_dl320e_centos_7

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
hardware_hp_dl320e_centos_7 [2015/03/29 09:56] – [Configure Serial over LAN (SOL)] adminhardware_hp_dl320e_centos_7 [2015/06/17 09:46] – [Configure networking (bonding, VLANs and bridges)] admin
Line 47: Line 47:
     * Installation source: Local media     * Installation source: Local media
     * Software selection: minimal install     * Software selection: minimal install
-    * Installation destination: /boot, swap, /, /var. XFS filesystems with LVM.+    * Installation destination: /boot, swap, /, /var. XFS filesystems with LVM. <code>Filesystem               Size Mounted on 
 +swap                       4G 
 +/dev/mapper/centos-root    8G / 
 +/dev/sda1                512M /boot 
 +/dev/mapper/centos-home    4G /home 
 +/dev/mapper/centos-var    16G /var 
 +/dev/mapper/data-images  250G /var/lib/libvirt/images</code>
  
 =====Configure CentOS7===== =====Configure CentOS7=====
Line 70: Line 76:
 ====Configure networking (bonding, VLANs and bridges)==== ====Configure networking (bonding, VLANs and bridges)====
   * Set hostname: <code>hostnamectl set-hostname <enter fqdn></code>   * Set hostname: <code>hostnamectl set-hostname <enter fqdn></code>
-  * Install tools:<code>yum install bridge-utils tcpdump</code> 
   * At the time of writing, there are some bugs in NetworkManager (nmcli) when enslaving VLAN devices into a bridge. So this configuration will not use NM.   * At the time of writing, there are some bugs in NetworkManager (nmcli) when enslaving VLAN devices into a bridge. So this configuration will not use NM.
   * Disable NM, enable network service: <code>systemctl stop NetworkManager.service   * Disable NM, enable network service: <code>systemctl stop NetworkManager.service
Line 135: Line 140:
   * If needed, configure IP-addresses on bridge devices.   * If needed, configure IP-addresses on bridge devices.
   * Restart networking:<code>service network restart</code>   * Restart networking:<code>service network restart</code>
 +  * Install tools:<code>yum install bridge-utils tcpdump</code>
   * Test:<code>brctl show   * Test:<code>brctl show
 cat /proc/net/bonding/bond0</code> cat /proc/net/bonding/bond0</code>
 +  * Configure DNS, edit networkscripts (DNS1, DNS2)
 +
  
 ====Configure firewall==== ====Configure firewall====
Line 149: Line 157:
   * Configure postfix   * Configure postfix
  
 +=====Install HP repository===== 
 +  * Download add_repo script:<code>curl -O http://downloads.linux.hp.com/add_repo.sh</code> 
 +  * Install wget:<code>yum install wget</code> 
 +  * Run the script as root:<code>sh ./add_repo.sh spp -d RHEL -r 7 -a x86_64</code> 
 +  * Install tools you need, e.g.:<code>yum install hpssacli hp-health</code>
 ====Install virtualization tools==== ====Install virtualization tools====
   * Install libvirt etc: <code>yum groupinstall "Virtualization Host"</code>   * Install libvirt etc: <code>yum groupinstall "Virtualization Host"</code>
   * Enable guest service so that guests are suspended before reboot/shutdown and auto started after boot:<code>systemctl enable libvirt-guests.service</code>    * Enable guest service so that guests are suspended before reboot/shutdown and auto started after boot:<code>systemctl enable libvirt-guests.service</code> 
hardware_hp_dl320e_centos_7.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1