61阅读

u盘安装centos6.4-CentOS6.3安装VBoxAdditions

发布时间:2017-11-11 所属栏目:虚拟机

一 : CentOS6.3安装VBoxAdditions

CentOS6.3安装VBoxAdditions

CentOS6.3是安装在VirtualBox虚拟机上,安装好以后最好再将VBoxAdditions增强功能装上,
主要目的是能够在虚拟机和宿主机之间能够共享文件。

www.2cto.com

1. 更新内核。CentOS 6.3对应的kernel默认为2.6.32-279.el6.i686:

# uname -r

2.6.32-279.el6.i686

安装增强功能需要kernel-devel包,必须保证kernel-devel和kernel版本的一致。查看软件源中
kernel-devel的版本:

]# yum info kernel-devel

Loaded plugins: fastestmirror, refresh-packagekit, security

Loading mirror speeds from cached hostfile

* base: mirrors.163.com

* extras: mirrors.163.com

* updates: mirrors.163.com

Available Packages

Name : kernel-devel

Arch : i686

Version : 2.6.32

Release : 279.19.1.el6

Size : 7.6 M

Repo : updates

Summary : Development package for building kernel modules to match the

: kernel

URL : http://www.kernel.org/

License : GPLv2

Description : This package provides kernel headers and makefiles sufficient to

: build modules against the kernel package.

当前的kernel-devel版本是2.6.32-279.19.1.e16。因此,必须升级kernel:

# yum update kernel

升级完后必须重启系统,新的kernel才能被使用。 www.2cto.com

2. 安装kernel-devel和gcc。

# yum install kernel-devel gcc gcc-c++

3. 安装增强功能。进入增强功能光盘根目录,执行Linux下的安装命令:

# ./VBoxLinuxAdditions.run

Verifying archive integrity... All good.

Uncompressing VirtualBox 4.2.4 Guest Additions for Linux..........

VirtualBox Guest Additions installer

Removing installed version 4.2.4 of VirtualBox Guest Additions...

Removing existing VirtualBox non-DKMS kernel modules[确定]

Building the VirtualBox Guest Additions kernel modules

Building the main Guest Additions module[确定]

Building the shared folder support module[确定]

Building the OpenGL support module[确定]

Doing non-kernel setup of the Guest Additions[确定]

Starting the VirtualBox Guest Additions [确定]

Installing the Window System drivers

Installing X.Org Server 1.10 modules[确定]

Setting up the Window System to use the Guest Additions[确定]

You may need to restart the hal service and the Window System (or just restart

the guest system) to enable the Guest Additions.

Installing graphics libraries and desktop services components[确定]

安装增强功能需要kernel-devel包,必须保证kernel-devel和kernel版本的一致。查看软件源中kernel-devel的版本:

]# yum info kernel-devel

Loaded plugins: fastestmirror, refresh-packagekit, security

Loading mirror speeds from cached hostfile

* epel: mirrors.ustc.edu.cn

* rpmforge: mirror.oscc.org.my

Available Packages

Name : kernel-devel

Arch : x86_64

Version : 2.6.32

Release : 279.5.2.el6

Size : 7.6 M

Repo : updates

Summary : Development package for building kernel modules to match the

: kernel

URL : http://www.kernel.org/

License : GPLv2

Description : This package provides kernel headers and makefiles sufficient to

: build modules against the kernel package.

当前的kernel-devel版本是2.6.32-279.5.2.e16。因此,必须升级kernel:

# yum update kernel

升级完后必须重启系统,新的kernel才能被使用。

2. 安装kernel-devel和gcc。

# yum install kernel-devel gcc gcc-c++

3. 安装增强功能。进入增强功能光盘根目录,执行Linux下的安装命令:

# ./VBoxLinuxAdditions.run

Verifying archive integrity... All good.

Uncompressing VirtualBox 4.1.18 Guest Additions for Linux.........

VirtualBox Guest Additions installer

Removing existing VirtualBox DKMS kernel modules [ OK ]

Removing existing VirtualBox non-DKMS kernel modules [ OK ]

Building the VirtualBox Guest Additions kernel modules

Building the main Guest Additions module [ OK ]

Building the shared folder support module [ OK ]

Building the OpenGL support module [FAILED]

(Look at /var/log/vboxadd-install.log to find out what went wrong)

Doing non-kernel setup of the Guest Additions [ OK ]

Installing the Window System drivers

Installing X.Org Server 1.10 modules [ OK ]

Setting up the Window System to use the Guest Additions [ OK ]

You may need to restart the hal service and the Window System (or just restart

the guest system) to enable the Guest Additions.

Installing graphics libraries and desktop services componen[ OK ]

扩展:vboxadditions安装 / vbox安装centos / vbox安装centos6.5

二 : 主题:Centos6.4安装JDK

1.先看看OpenJDK的安装包

$ rpm -qa |grep java
tzdata-java-2013b-1.el6.noarch
java-1.6.0-openjdk-1.6.0.0-1.61.1.11.11.el6_4.x86_64
java-1.7.0-openjdk-1.7.0.19-2.3.9.1.el6_4.x86_64

2.检查OpenJDK版本
$ java -version
java version "1.7.0_19"
OpenJDK Runtime Environment (rhel-2.3.9.1.el6_4-x86_64)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

3.卸载Openjdk
用root用户登录终端

$ su root

密码:
$ rpm -e --nodeps java-1.7.0-openjdk-1.7.0.19-2.3.9.1.el6_4.x86_64

$ rpm -e --nodeps java-1.6.0-openjdk-1.6.0.0-1.61.1.11.11.el6_4.x86_64
$ rpm -e --nodeps tzdata-java-2013b-1.el6.noarch

4安装jdk-7u17-linux-x64.rpm

下载地址:http://pan.baidu.com/share/link?shareid=397488&uk=638583574

$ cd /jdk1.7所在目录

$ rpm -ivh jdk-7u17-linux-x64.rpm
Preparing...               ########################################### [100%]
  1:jdk                   ########################################### [100%]
Unpacking JAR files...
   rt.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_17/jre/lib/rt.pack
   jsse.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_17/jre/lib/jsse.pack
   charsets.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_17/jre/lib/charsets.pack
   tools.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_17/lib/tools.pack
   localedata.jar...
Error: Could not open input file: /usr/java/jdk1.7.0_17/jre/lib/ext/localedata.pack
以上那些错误可以忽略,不影响jdk到安装和使用

5.配置环境变量

$vi /etc/profile

输入o,在最后加入以下内容:

JAVA_HOME=/usr/java/jdk1.7.0_17
JRE_HOME=/usr/java/jdk1.7.0_17/jre
PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$JRE_HOME/lib
export JAVA_HOME JRE_HOME PATH CLASSPATH
使环境变量立即生效

$source /etc/profile

6.测试安装是否成功

依次输入java,java -version,javac,看到输出信息即可,例如

[root@chenpc-cent tools]# java -version
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)主题:Centos6.4安装JDK

三 : centos6.3安装smokeping

由于公司需要监控机房的网络质量无奈只能安装smokeping,鉴于网上的教程大多都是老版本的,所以今天我就讲诉一下我在centos上安装新版本的过程,有些得不好的地方还请大家多多原谅。[www.61k.com)以下所有安装包请到这里下载。

1.先关闭selinux和清空iptables

vim /etc/selinux/config

SELINUX=disabled

iptables -F

2.更改国内比较快的yum源,我修改为ustc的,个人感觉他比较快。

cd /etc/yum.repos.d/

mv CentOS-Base.repo CentOS-Base.repo.bak

vim CentOS-Base.repo

# CentOS-Base.repo

#

# The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and

# geographically close to the client. You should use this for CentOS updates # unless you are manually picking other mirrors.

#

# If the mirrorlist= does not work for you, as a fall back you can try the # remarked out baseurl= line instead.

#YunVN.com

#

[base]

name=CentOS-$releasever - Base - mirrors.ustc.edu.cn

baseurl=http://mirrors.ustc.edu.cn/centos/$releasever/os/$basearch/

#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os

gpgcheck=1

gpgkey=http://mirrors.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-6

#released updates

[updates]

name=CentOS-$releasever - Updates - mirrors.ustc.edu.cn

baseurl=http://mirrors.ustc.edu.cn/centos/$releasever/updates/$basearch/

#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates

gpgcheck=1

gpgkey=http://mirrors.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-6

#additional packages that may be useful

[extras]

name=CentOS-$releasever - Extras - mirrors.ustc.edu.cn

baseurl=http://mirrors.ustc.edu.cn/centos/$releasever/extras/$basearch/

ping6 centos6.3安装smokeping

#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras

gpgcheck=1

gpgkey=http://mirrors.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-6

#additional packages that extend functionality of existing packages

[centosplus]

name=CentOS-$releasever - Plus - mirrors.ustc.edu.cn

baseurl=http://mirrors.ustc.edu.cn/centos/$releasever/centosplus/$basearch/ #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus

gpgcheck=1

enabled=0

gpgkey=http://mirrors.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-6

#contrib - packages by Centos Users

[contrib]

name=CentOS-$releasever - Contrib - mirrors.ustc.edu.cn

baseurl=http://mirrors.ustc.edu.cn/centos/$releasever/contrib/$basearch/

#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib

gpgcheck=1

enabled=0

gpgkey=http://mirrors.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-6

ok,准备工作已做好,下面我们开始安装了。[www.61k.com]

3.安装环境所需要的yum包

yum -yinstall libxml2-devel libpng-devel glib pango pango-devel

freetypefreetype-devel fontconfig cairo cairo-devel libart_lgpl libart_lgpl-devel perl perl-Net-Telnet perl-Net-DNSperl-LDAP perl-libwww-perl perl-RadiusPerl perl-IO-Socket-SSL perl-Socket6perl-CGI-SpeedyCGI rrdtool-perl

4.安装rrdtool

wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.7.tar.gz

tar zxvf rrdtool-1.4.7.tar.gz

cd rrdtool-1.4.7

./configure --prefix=/usr/local/rrdtool

make && make install

5.安装smokeping依赖的软件

【cgilib】

tar zxvf cgilib-0.5.tar.gz

cd cgilib-0.5

make

cp libcgi.a /usr/local/lib

cp cgi.h /usr/include

ping6 centos6.3安装smokeping

【fping-2.4b2_to】

tar zxvf fping.tar.gz

cd fping-2.4b2_to

./configure

make

make check

make install

whereis fping

fping: /usr/local/sbin/fping

【echoping】

tar zxvf echoping-6.0.0.tar.gz

cd echoping-6.0.0

./configure

make

make test

遇到测试不成功等信息就 ctrl+c 回到命令行;

make install

whereis echoping

echoping: /usr/local/bin/echoping/usr/local/lib/echoping

安装echoping是有可能会报错,这是因为缺少popt支持,我们需要安装popt

要安装popt还需要gettext的支持,首先安装gettext

tar zxvf gettext-0.18.tar.gz

cd gettext-0.18

./configure

make && make install

cd ..

tar zxvf popt-1.10.4.tar.gz

cd popt-1.10.4

./configure

make && make install

cd .. cd echoping-6.0.0

./configure

make && make install

6.安装smokeping

wget http://oss.oetiker.ch/smokeping/pub/smokeping-2.6.8.tar.gz

tar zxvf smokeping-2.6.8.tar.gz

cd smokeping-2.6.8

./configure –prefix=/usr/local/smokeping

编译的时候会报错提示缺少很多的扩展程序,这时候我们只需要执行一个安装脚本就好了 ./setup/build-perl-modules.sh /usr/local/smokeping/thirdparty

等他安装完再继续编译安装

./configure –prefix=/usr/local/smokeping

ping6 centos6.3安装smokeping

gmake install

安装完毕,下面修改配置文件。www.niubb.net

进入bin目录,修改smokeping文件

#vim smokeping

第八行: use lib qw(); # PERL5LIB

修改为: use lib qw(/usr/local/rrdtool/lib/perl);

进入htdocs目录

# mv smokeping.fcgi.dist smokeping.fcgi

进入etc目录

cp config.dist config

修改config文件

#vim config

以下自行修改为自己需要的

owner = YunVN

contact =

mailhost =

修改报警邮箱

*** Alerts ***

to = smc@yunvn.com

from = smokeping@yunvn.com

*** Probes ***

+ FPing

binary = /usr/sbin/fping##修改为实际路径

binary = /usr/local/sbin/fping

监控主机是分层结构的,用+号表示

例如+第一层 ++第二层 +++第三层 根据自己情况修改;

在这里,设备名中不能有”.”和“-”,应该还有其他的字符我没有遇到的。 master/slave方式以及其他的一些功能后续补充

+ Test

menu= local

#parents = owner:/Test/James location:/

++ Yunvn

menu = localhost

title =localhost

ping6 centos6.3安装smokeping

host = localhost

下面附录我的配置文件,仅供参考。[www.61k.com)

[root@sky smokeping]# cat etc/config

*** General ***

owner = YunVN contact = kernelsky@126.com

mailhost = my.mail.host

sendmail = /usr/sbin/sendmail

# NOTE: do not put the Image Cache below cgi-bin

# since all files under cgi-bin will be executed ... this is not # good for images.

# This is www.yunvn.com smokeping server!

imgcache = /usr/local/smokeping/cache

imgurl = cache

datadir = /usr/local/smokeping/data

piddir = /usr/local/smokeping/var

cgiurl = http://172.18.85.213/smokeping.cgi

smokemail = /usr/local/smokeping/etc/smokemail.dist

tmail = /usr/local/smokeping/etc/tmail.dist

# specify this to get syslog logging

syslogfacility = local0

# each probe is now run in its own process

# disable this to revert to the old behaviour

# concurrentprobes = no

*** Alerts ***

to = kernelsky@126.com

from = smokealert@yunvn.com

+someloss

type = loss

# in percent

pattern = >0%,*12*,>0%,*12*,>0%

comment = loss 3 times in a row

*** Database ***

step = 30 #这里是数据刷新时间,默认是300s,我设置为30s刷新 pings = 20

# consfn mrhb steps total

AVERAGE 0.5 1 1008

ping6 centos6.3安装smokeping

AVERAGE 0.5 12 4320

MIN 0.5 12 4320

MAX 0.5 12 4320

AVERAGE 0.5 144 720

MAX 0.5 144 720

MIN 0.5 144 720

*** Presentation ***

template = /usr/local/smokeping/etc/basepage.html.dist

+ charts

menu = Charts

title = The most interesting destinations

++ stddev

sorter = StdDev(entries=>4)

title = Top Standard Deviation

menu = Std Deviation

format = Standard Deviation %f

++ max

sorter = Max(entries=>5)

title = Top Max Roundtrip Time

menu = by Max

format = Max Roundtrip Time %f seconds

++ loss

sorter = Loss(entries=>5)

title = Top Packet Loss

menu = Loss

format = Packets Lost %f

++ median

sorter = Median(entries=>5)

title = Top Median Roundtrip Time

menu = by Median

format = Median RTT %f seconds

+ overview

width = 600

height = 50

ping6 centos6.3安装smokeping

range = 10h

+ detail

width = 600

height = 200

unison_tolerance = 2

"Last 3 Hours" 3h

"Last 30 Hours" 30h

"Last 10 Days" 10d

"Last 400 Days" 400d

#+ hierarchies

#++ owner

#title = Host Owner

#++ location

#title = Location

*** Probes ***

+ FPing

binary = /usr/local/sbin/fping

*** Slaves ***

secrets=/usr/local/smokeping/etc/smokeping_secrets.dist

+boomer

display_name=boomer

color=0000ff

+slave2

display_name=another

color=00ff00

*** Targets ***

probe = FPing

menu = Top

title = Network Latency Grapher

remark = Welcome to the SmokePing website of xxx Company.

Here you will learn all about the latency of our network.

ping6 centos6.3安装smokeping

+ Test

menu= local

#parents = owner:/Test/James location:/

++ James

menu = localhost

title =localhost

host = localhost

+DianXinTong

menu = Storage

++Storage

menu = Storage

title = Stoage

host = 192.168.0.2

创建存放数据文件的目录

mkdir c/usr/local/smokeping/data /usr/local/smokeping/var /usr/local/smokeping/cache

修改smokeping的目录为apache运行用户的属主、组

chown -R daemon.daemon smokeping/

chmod 600 /usr/local/smokeping/etc/smokeping_secrets.dist

chmod –R 777 /usr/local/smokeping/cache /usr/local/smokeping/data /usr/local/smokeping/var

创建smokeping的log文件

touch /var/log/smokeping.log

chown daemon.daemon /var/log/smokeping.log

启动smokeping

perl /usr/local/smokeping/bin/smokeping --logfile=/var/log/smokeping.log 建立smokeping启动脚本,方便启动

vim /etc/init.d/smokeping

添加为以下内容:

#!/bin/bash

#

# chkconfig: 2345 80 05

# Description: Smokeping init.d script

# Hacked by : YunVN - http://www.yunvn.com

# Get function from functions library

. /etc/init.d/functions

# Start the service Smokeping

start() {

echo -n "Starting Smokeping: "

/usr/local/smokeping/bin/smokeping >/dev/null 2>&1

### Create the lock file ###

ping6 centos6.3安装smokeping

touch /var/lock/subsys/smokeping

success $"Smokeping startup"

echo

}

# Restart the service Smokeping

stop() {

echo -n "Stopping Smokeping: "

kill -9 `ps ax | grep "/usr/local/smokeping/bin/smokeping" | grep -v grep | awk '{ print $1 }'` >/dev/null 2>&1

### Now, delete the lock file ###

rm -f /var/lock/subsys/smokeping

success $"Smokeping shutdown"

echo

}

### main logic ###

case "$1" in

start)

start

;;

stop)

stop

;;

status)

status Smokeping

;;

restart|reload|condrestart)

stop

start

;;

*)

echo $"Usage: $0 {start|stop|restart|reload|status}"

exit 1

esac

exit 0

给脚本有可执行权限

# chmod 755 /etc/init.d/smokeping

设置开机启动smokeping

Chkconfigure –level 35 smokeping on

配置apache

#vim /etc/httpd/conf/httpd.conf

最后加入

Alias /smokeping "/usr/local/smokeping/htdocs/smokeping.fcgi"

Alias /cache "/usr/local/smokeping/cache"

Alias /cropper "/usr/local/smokeping/htdocs/cropper/"

ping6 centos6.3安装smokeping

<Directory /usr/local/smokeping>

AllowOverride None

AddHandler cgi-script cgi fcgi

Options ExecCGI

Order allow,deny

Allow from all

DirectoryIndex smokeping.cgi

</Directory>

设置开机启动httpd

Chkconfig –level 35 smokeping on

好了,至此安装配置完成;

访问http://IP/smokeping

ping6 centos6.3安装smokeping

Gettext安装包下载地址:http://l5.yunpan.cn/lk/313gqhtvvc

四 : U盘安装centos6.5教程(两种实现方法)

从centOS6.5开始直接把iso文件写入u盘就行了。

下载地址为:

windows平台:
1.用UltraISO打开iso(如:CentOS-6.5-x86_64-bin-DVD1.iso)
2.然后点“启动”->"写入硬盘映像",硬盘驱动器是你的u盘,映像文件安装光盘iso,写入方式是USB-HDD+,点击“写入”按钮。完成后安装u盘就做好了。

linux平台:
用 dd命令将iso文件写入u盘即可。dd if=iso文件 of=u盘。(如:dd if=/CentOS-6.5-x86_64-bin-DVD1.iso of=/dev/sdb1)
注:dd命令运行后不显示复制状态,要查看复制状态可以再打开一个终端,输入“while killall -USR1 dd; do sleep 5; done”查看复制状态。

这种方法64位,32位通吃。我安装的就是64位。
注意:只有从CentOS6.5开始才能用这种方法,6.4及以下版本还得用老方法。

可能有许多人已经知道这个方法了,但是网上很多教程还都是老方法。我写出来就是想传播一下,让新手少走弯路。

补充方法:

U盘安装centos6.5和安装centos6.3没啥本质区别

所需工具:
一、UltraISO(用来制作 U 盘启动)
二、CentOS 6.5 位系统镜像(建议下载bin版镜像,minimal也行)
三、U 盘一只
要求:U 盘容量 8G
四、vesamenu.c32 文件——用来替换 CentOS 6.5 默认文件(附件中我提供了哦,解压缩后替换原来的文件)这里我没用到

安装步骤:

一、制作 U 盘启动引导盘
1、电脑插上 U 盘,打开 UltraISO 软件,文件---打开,选择你下载好的CentOS-6.3-i386-bin-DVD1.iso 文件,点启动--写入硬盘镜像,在硬盘驱动器里面选择你的 U 盘(看清楚,千万别选错),写入方式默认为:USB-HDD+,然后点格式化。格式化完成后,关闭对话框,然后再点写入,等几分钟,完成后,点返回,然后关闭 UltraISO。
2、打开 U 盘根目录下面的 syslinux 文件夹,用附件中的 vesamenu.c32 替换里面原有
的文件。
3、删除 U 盘根目录下面的 Packages 文件夹(不删除也可以,如果你U盘空间足够大)
4、把下载好的系统镜像 CentOS-6.3-i386-bin-DVD1.iso和CentOS-6.3-i386-bin-DVD2.iso 复制到 U 盘根目录下面。(不用改名字,安装时会自动识别)
至此,U 盘启动盘制作完成,然后退出 U 盘,这个 U 盘现在已经可以用来安装 CentOS 6.3 了。
二、安装 CentOS 6.3
1、开机设置 U 盘第一启动,重启之后会出来安装界面:
默认选择第一项,回车。
2、出现安装过程中使用的语言界面:
选择 Chinese(Simplified),简体中文,然后回车
3、出现语言确认界面直接回车
4、下面出现键盘模式选择界面:
选择键盘模式,默认
5、定位在 Hard drive 上, directory holding image此项不用填写,系统会自动去填写。(其实这项是搜索image目录下的install.img文件)选择 OK,按回车
6、这里的/dev/sdb4 代表你的 U 盘分区,我们前面已经把系统镜像拷贝到 U 盘根目录下面了,这里系统会自动识别
7、直接点 OK,会出现安装界面:
点击下一步
8、选择驱动器:
选第一项
9、设置计算机名:
可以根据自己喜好填写
10、设置时区:
默认即可
11、设置root密码(注意:如果你使用的密码过于简单,系统会自动提示,这里选择“仍然使用”
12、为centos建立分区
选择最后一项,自定义分区
13、注意:这里可以看到磁盘信息,切忌要确定在自己所要分区的磁盘上分区,否则其他磁盘会被格式化。
14、点创建,选择标准分区,点确定
(1)创建swap分区
文件系统类型:选择 swap
允许的驱动器:只勾选自己电脑磁盘,把u盘取消掉
大小:2048
其它大小选项:固定大小
(2)创建boot分区
挂载点: /boot
文件系统类型:ext4
允许的驱动器:只勾选自己电脑磁盘,把u盘取消掉
大小:100MB
其它大小选项:固定大小
(3)创建根分区
挂载点: /
文件系统类型:ext4
允许的驱动器:只勾选自己电脑磁盘,把u盘取消掉
大小:默认
其它大小选项:使用全部可用空间
点击下一步
选择第二项,将修改写入磁盘
注意:分区之前,自己先要规划好怎么分区?
特别说明:用于正式生产的服务器,切记必须把数据盘单独分区,防止系统出问题时,保证
数据的完整性。比如可以再划分一个/data 专门用来存放数据。
15、点更改设备(千万注意引导程序安装的地方,引导写到电脑磁盘上的MBR,不是U盘的,千万注意)
点 BIOS 驱动器顺序
第一 BIOS 驱动器:选择 本地磁盘驱动器
第二 BIOS 驱动器:选择 U 盘驱动器
点确定
说明:这一步至关重要,如果按照默认方式安装,会把系统启动引导安装到 U 盘里面,这也
就是很多网友安装完系统之后,只要把 U 盘拔了,系统就启动不了,插上 U 盘系统又能正常
启动的原因了!
16、默认是第三个,这里选择第一个,桌面安装,想用来开发的朋友也可以选择最后一项。
如果有想特意安装些特别的软件的网友,可以注意,在此处添加安装。
下一步,直到出现安装界面。
17、安装完成后,点重新引导
18、重新启动,把U盘拔出,电脑自动引导到centos系统
19、点击前进
20、选择第一项,同意许可协议,前进
21、这里是创建普通账号,可以不用创建,前进
22、设置时间,默认
23、完成
,进入登录界面
点“其他”
用户名输入:root
输入你 root 账号的密码
点“关闭”
备注:如果不替换 vesamenu.c32 文件,用 U 盘启动后会卡在下面的界面:Press the <Enter>
key to begin the installation process
原因:U 盘根目录下面的 syslinuxsyslinux.cfg 文件里面第一行引用到了
vesamenu.c32 这个文件,而在 CentOS 6.3 系统里面,这个文件是有 bug的,所以要用 CentOS 6.0 系统的这个文件来替换。
(也就是我附件中提供的这个文件)这里我没用到vesamenu.c32。

本文标题:u盘安装centos6.4-CentOS6.3安装VBoxAdditions
本文地址: http://www.61k.com/1108074.html

61阅读| 精彩专题| 最新文章| 热门文章| 苏ICP备13036349号-1