zfs create -o canmount=off -o mountpoint=none tera1/root
zfs create -o canmount=noauto -o mountpoint=/mnt tera1/root/jessie170125
zfs set canmount=noauto tera1/root/jessie170125
zfs set mountpoint=/mnt tera1/root/jessie170125
zfs mount tera1/root/jessie170125
root@tera:~# debootstrap jessie /mnt
/usr/sbin/debootstrap: 1305: /usr/sbin/debootstrap: cannot create /mnt/test-dev-null: Permission denied
E: Cannot install into target '/mnt' mounted with noexec or nodev
root@tera:~# mount -o remount,rw,exec,dev tera1/root/jessie170125
root@tera:~# debootstrap jessie /mnt
ERROR: A different toolstack (xl) have been selected!
Nahradit toto:
bootloader = '/usr/lib/xen-4.1/bin/pygrub'
xenconsole: Could not open tty `': No such file or directory
libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: console child [0] exited with error status 2 [ 0.000000] Initializing cgroup subsys cpuset
XEN
Nový příkaz pro ovládání
root@tera:/etc/xen/auto# xm listERROR: A different toolstack (xl) have been selected!
pygrub
Po přechodu na jessie problém s konfigurací virtuálůNahradit toto:
bootloader = '/usr/lib/xen-4.1/bin/pygrub'
za toto
bootloader = 'pygrub'Hláška po startu
Po startu virtuálu s konzolouxenconsole: Could not open tty `': No such file or directory
libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: console child [0] exited with error status 2 [ 0.000000] Initializing cgroup subsys cpuset
Zabbix
# wget http://repo.zabbix.com/zabbix/3.0/debian/pool/main/z/zabbix-release/zabbix-release_3.0-1+jessie_all.deb
# dpkg -i zabbix-release_3.0-1+jessie_all.deb
# apt-get update
# aptitude install zabbix-agent
# rsync -va /tera1/root/wheezy140813/etc/zabbix /etc/
# /etc/init.d/zabbix-agent restart
# /etc/init.d/zabbix-agent restart
Žádné komentáře:
Okomentovat