供参考,同时附上二个学习知识。
#文件路径 /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/hdb1
# initrd /boot/initrd-version.img
#boot=/dev/hdb
default=0
timeout=0
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-8.el5xen)
root (hd0,0)
kernel /boot/xen.gz-2.6.18-8.el5
module /boot/vmlinuz-2.6.18-8.el5xen ro root=LABEL=/ rhgb quiet
module /boot/initrd-2.6.18-8.el5xen.img
sudo
是Linux下常用的允许普通用户使用超级用户权限的工具,通过它人们就即可以作为超级用户,又可以作为其它类型的用户来访问系统,这样的好处是管理员可以在不告诉用户root密码的前提下授权他们某种特定类型的超级用户权限。
.rpm是什么文件:
rpm: redhat package manager.
.rpm文件是已经打包好的安装文件,可以使用rpm -ivh xxx.rpm来安装。

