2014-4.17
重装sg203,重装的时候使用光盘安装,使用centos5.5,该版本的系统自带xen,按delete键进入光盘引导
2014-4.18
配置sg203节点上网
依次需要配置如下文件
vim /etc/sysconfig/network-scripts/ifcfg-eth0
# Intel Corporation 82574L Gigabit Network Connection
DEVICE=eth0
HWADDR=00:25:90:67:AB:5C
NM_CONTROLLED="yes"
ONBOOT="no"
vim /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=sg203
vi /etc/sysconfig/network-scripts/ifcfg-eth1
# Intel Corporation 82574L Gigabit Network Connection
DEVICE=eth1
NM_CONTROLLED="yes"
HWADDR=00:25:90:67:AB:5D
ONBOOT="yes"
TYPE=Ethernet
BOOTPROTO=none
IPADDR=172.16.48.203
PREFIX=16
GATEWAY=172.16.0.254
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth1"
HOTPLUG=no
vi /etc/resolv.conf
nameserver 159.226.39.1
vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
172.16.48.202 sg202
172.16.48.201 sg201
172.16.48.203 sg203
172.16.48.204 sg204
service network restart
使用xen安装系统
操作系统安装好后自带xen
参照师兄日志安装操作系统http://blog.csdn.net/zklth/article/details/6339844
参照日志http://comeonbaby.blog.51cto.com/1478267/315169
完成ftp服务器搭建,ftp服务器完成后要注意重启,不重启后面会出现安装不成功的情况
其他需要参考的日志http://www.360doc.com/content/13/0501/15/4171006_282207048.shtml
继而完成mount,mount是把iso文件mount到某个文件路径下面,mount完成后效果如下,注意查看mount命令的用法。
剩下的操作系统安装就很常规啦。
2014-4-21
按照日志:http://blog.csdn.net/lchengcome/article/details/6215409
上面所述的做法,安装xenoprof,很顺利的安装成功,就是没有qt界面
2014-4-22
centos系统默认自带systemtap,因此基本无需安装
通过以下命令验证 systemtap是否已经安装成功
|
stap
-
ve
'probe begin { log("hello world") exit() }'