redhat--1

----------------html

 

---------------- 網絡

免密碼ssh遠程登陸設置dom

2. In host1, copy the ssh-key to the host2 hosts
# ssh-keygen
# ssh-copy-id -i ~/.ssh/id_rsa.pub  HOST2_IP

----------------ssh

/etc/sysconfig/network-scripts/ifcfg-eth0  文件post

DEVICE="eth0"
BOOTPROTO="dhcp"
HWADDR="00:23:AE:70:03:48"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Ethernet"
UUID="83f8ca51-7085-4e4e-a6ca-d358faa795ad"

 ##############url

參考文檔:spa

http://blog.csdn.net/hzhsan/article/details/44098537/ [kvm bridge、nat方式介紹].net

http://www.chenyudong.com/archives/libvirt-kvm-bridge-network.html   [libvirt kvm 虛擬機上網 – Bridge橋接]rest

https://www.douban.com/group/topic/15558388/        [VirtualBox虛擬機網絡設置(四種方式)]code

#############

----------

vi /etc/yum.repos.d/

[name]
name=Red Hat Enterprise Linux $releasever - $basearch -Source
baseurl=http://download.englab.nay.redhat.com/rel-eng/RHEL-6.8-20160407.0/compose/Server/x86_64/os/
enable=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release


-------------

Three ways to configure virt-who on RHEL6.8

1,
vi /etc/sysconfig/virt-who
2,
vi /etc/virt-who.d/myvirt-who
3,
CLI  virt-who  --args

-------------

how to configue virt-who

# Environmental variables for virt-who service can be specified here.
#
# These environmental variables are only used when starting virt-who as service,
# otherwise you must specify them manually.
#
# Note that if some value contains special character, it must be escaped
# or the value must be quoted - for example ampersand in the password or
# backslash separating domain and username in username field.

配置這個文件中的參數便可

---------------

use command "tail" to output the last part of files on time

tail -f /var/log/rhsm/rhsm.log

----------------

restart and stop service

/etc/init.d/virt-who  restart
/etc/init.d/virt-who stop

-----------------------

how to config the subscription manager

hostname=subscription.rhsm.stage.redhat.com
相關文章
相關標籤/搜索