Unix Philosophy

  1. Small is beautiful.
  2. Make each program do one thing well.
  3. Build a prototype as soon as possible.
  4. Choose portability over efficiency.
  5. Store data in flat text files.
  6. Use software leverage to your advantage.
  7. Use shell scripts to increase leverage and portability.
  8. Avoid captive user interfaces.
  9. Make every program a filter.

Настройка рабочего окружения

  1. Настройка VMware Workstation 11
  2. Установка CentOS 6.6 x64 minimal
    1. Настройка сети
    2. Настройка пользователей
    3. Настройка SSH
  3. Установка ESXi 5.5
    1. Настройка сети
    2. Настройка хранилища

Выключение и перезагрузка

Linux

#Выключение
shutdown -h -P now # halt - Power

#Перезагрузка
shutdown -h -r now # halt - reset

UNIX

Shutdown -g <time in seconds to shutdown> -i <initstate; state=5 - power off, state=6 - reboot>

#Выключение
shutdown -g 0 -i 5 # Power off

#Перезагрузка
shutdown -g 0 -i 6 # Reboot

Вложенная виртуализация

ESXi 5.5

Virtualized HV is fully supported for virtual hardware version 9 or 10 VMs on hosts that support  Intel VT-x and EPT or AMD-V and RVI.

OS Profile type: ESXi.

KVM

KVM requires hardware-assisted virtualization, so it can only be run under ESXi 5.0, Workstation 8, Player 4 or Fusion 4 (or later). KVM performs relatively poorly as a guest hypervisor on Intel CPUs using virtualized Intel VT-x. Performance is improved with Linux kernel versions 3.0 and greater.

Under some VMware products, libvirtd hangs awaiting completion of a dmidecode child process.  If this happens, you will be unable to connect to the local hypervisor.  A workaround is to disable CPU hot-add for the outer VM with the following configuration option:

vcpu.hotadd = FALSE


  • Нет меток