公告版位

目前日期文章:201601 (8)

瀏覽方式: 標題列表 簡短摘要

CentOS 7:
# yum install -y numactl
# numactl -H

 

Ubuntu 14.04:
# apt-get install numactl
# numactl -H

dreamtails 發表在 痞客邦 PIXNET 留言(0) 人氣()

1. Download i386 skype and teamviewer .deb as follows,
    - skype.i386.deb
    - teamviewer.i386.deb

2. Install GDebi package
# apt-get install -y gdebi

3. Update the i386 .deb by GDebi
# gdebi skype.i386.deb
# gdebi teamviewer.i386.deb

4. Install skype and teamviewer on Ubuntu 14.04 64-bit
# dpkg -i skype.i386.deb
# dpkg -i teamviewer.i386.deb



dreamtails 發表在 痞客邦 PIXNET 留言(0) 人氣()

# vim /etc/gai.conf

uncomment line 54
from
-------------------------------------------------------------------
.........
#
#    For sites which prefer IPv4 connections change the last line to
#
# precedence ::ffff:0:0/96  100
.........
-------------------------------------------------------------------

dreamtails 發表在 痞客邦 PIXNET 留言(0) 人氣()

<HP 1920G Switch> _cmdline-mode on
Please input password: Jinhua1920unauthorized
<HP 1920G Switch> system-view 
[HP 1920G Switch] local-user admin
[HP 1920G Switch-luser-admin] password simple <MyPassword>

dreamtails 發表在 痞客邦 PIXNET 留言(0) 人氣()

# systemctl stop NetworkManager
# systemctl disable NetworkManager
# systemctl enable network 
         

Physical interface (em1) setting:
# vim /etc/sysconfig/network-scripts/ifcfg-em1
-------------------------- 
DEVICE=em1
HWADDR=xx:xx:xx:xx:xx:xx
ONBOOT=yes   
TYPE=Ethernet
BRIDGE=br0
-------------------------- 

dreamtails 發表在 痞客邦 PIXNET 留言(0) 人氣()

Example 1:
# virt-install --connect qemu:///system --os-type=linux --ram 2048 --vcpus=2 --cpu host --noautoconsole --force --import --disk path=/tmp/CentOS6.qcow2,device=disk,bus=scsi,format=qcow2 --os-variant=rhel6 --name test1

Example 2:
# virt-install --connect qemu:///system --os-type=linux --ram 2048 --vcpus=2 --cpu host --noautoconsole --force --import --disk path=/tmp/CentOS6.qcow2,device=disk,bus=virtio,format=qcow2 --os-variant=rhel6 --network model=virtio,bridge=br0 --name test2_for_br0

dreamtails 發表在 痞客邦 PIXNET 留言(0) 人氣()

1. Install GUI Gnome packages:
# yum groupinstall -y "GNOME Desktop"

2. Install VNC package:
# yum install -y tigervnc-server

dreamtails 發表在 痞客邦 PIXNET 留言(0) 人氣()

What do you need to install packages?
# yum install -y qemu-kvm qemu-img \
    virt-manager libvirt libvirt-python \
    libvirt-client virt-install virt-viewer




Reference: http://www.itzgeek.com/how-tos/linux/centos-how-to...

dreamtails 發表在 痞客邦 PIXNET 留言(0) 人氣()