搜档网
当前位置:搜档网 › Linux下WebLogic10.3的安装与配置

Linux下WebLogic10.3的安装与配置

Linux下WebLogic10.3的安装与配置
Linux下WebLogic10.3的安装与配置

Linux下WebLogic10.3的安装与配置

WebLogic 10.3 安装、配置与管理手册

第二章WebLogic 10.3 for SUSE linux

§2.1 安装准备

下载WebLogic10.3 for x86 linux安装文件;λ

安装Suse Linuxλ enterprise Server 11.0;

λ检查Suse环境,确保/root空闲空间在2G以上。如果/root空间不足,则应扩展root空间,或创建一个新的文件系统,并确保该文件系统空间在2G以上。本手册假定该文件系统的mount点是/soft;如root的空间足够,则在root创建目录/soft作为安装源目录;

创建WebLogic使用的文件系统,该文件系统的mount点建议为/bea,空间应在2G以上,后续将安装WebLogic软件到该文件系统中。λ

§2.2 安装过程

§2.2.1 创建bea组和weblogic用户

使用root登录操作系统,执行下列命令创建bea组和weblogic用户。bea组号为600,weblogic 用户号为600,属于bea组,home目录为/bea。

# groupadd -g 600 bea

# useradd -d /bea -u 600 -g 600 weblogic

# passwd weblogic -- 激活weblogic用户

执行下列命令将/bea分配给weblogic用户。

# cd /

# chown weblogic:bea /bea

# chmod 755 /bea

§2.2.2 上传安装文件并执行

使用weblogic登录,使用bin模式,上传WebLogic安装文件server103_linux.bin到soft目录,执行下列命令执行安装文件。

$ cd /soft

$ chmod a+x server103_linux.bin

$ ./server103_linux.bin -mode=console

系统自动解压缩安装文件,并启动文本的安装界面。

§2.2.3 欢迎界面

<--------------- Oracle Installer - WebLogic Platform 10.3.0.0 --------------->

Welcome:

--------

This installer will guide you through the installation of WebLogic Platform

10.3.0.0. Type "Next" or enter to proceed to the next prompt. If you want to

change data entered previously, type "Previous". You may quit the installer at any time by typing "Exit".

Enter [Exit][Next]> next

§2.2.4 指定WebLogic主目录为/bea

<--------------- Oracle Installer - WebLogic Platform 10.3.0.0 --------------->

Choose BEA Home Directory:

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

"BEA Home" = [Enter new value or use default "/root/bea"]

Enter new BEA Home OR [Exit][Previous][Next]> /bea

<--------------- Oracle Installer - WebLogic Platform 10.3.0.0 --------------->

Choose BEA Home Directory:

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

"BEA Home" = [/bea]

Use above value or select another option:

1 - Enter new BEA Home

2 - Change to default [/root/bea]

Enter option number to select OR [Exit][Previous][Next]> next

§2.2.5 选择安装类型为Custom

<--------------- Oracle Installer - WebLogic Platform 10.3.0.0 --------------->

Choose Install Type:

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

Select the type of installation you wish to perform.

->1|Complete

| Install the following software products and examples:

| - WebLogic Server

| - Workshop

2|Custom

| Choose software products and components to install and perform optional |configuration.

Enter index number to select OR [Exit][Previous][Next]> 2

§2.2.6 选择要安装的产品组件

需取消安装Workshop和Server Examples

<--------------- Oracle Installer - WebLogic Platform 10.3.0.0 --------------->

Choose Products and Components:

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

Release 10.3.0.0

|_____WebLogic Server [1] x

| |_____Core Application Server [1.1] x

| |_____Administration Console [1.2] x

| |_____Configuration Wizard and Upgrade Framework [1.3] x

| |_____Web 2.0 HTTP Pub-Sub Server [1.4] x

| |_____WebLogic JDBC Drivers [1.5] x

| |_____Third Party JDBC Drivers [1.6] x

| |_____WebLogic Server Clients [1.7] x

| |_____WebLogic Web Server Plugins [1.8] x

| |_____UDDI and Xquery Support [1.9] x

| |_____Server Examples [1.10] x

|_____Workshop [2] x

|_____Workshop for WebLogic [2.1] x

|_____Workshop Runtime Framework [2.2] x

*Estimated size of installation: 788.3 MB

Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> 2 <--------------- Oracle Installer - WebLogic Platform 10.3.0.0 --------------->

Choose Products and Components:

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

Release 10.3.0.0

|_____WebLogic Server [1] x

| |_____Core Application Server [1.1] x

| |_____Administration Console [1.2] x

| |_____Configuration Wizard and Upgrade Framework [1.3] x

| |_____Web 2.0 HTTP Pub-Sub Server [1.4] x

| |_____WebLogic JDBC Drivers [1.5] x

| |_____Third Party JDBC Drivers [1.6] x

| |_____WebLogic Server Clients [1.7] x

| |_____WebLogic Web Server Plugins [1.8] x

| |_____UDDI and Xquery Support [1.9] x

| |_____Server Examples [1.10] x

|_____Workshop [2]

|_____Workshop for WebLogic [2.1]

|_____Workshop Runtime Framework [2.2]

*Estimated size of installation: 406.3 MB

Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> 1.10 <--------------- Oracle Installer - WebLogic Platform 10.3.0.0 --------------->

Choose Products and Components:

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

Release 10.3.0.0

|_____WebLogic Server [1] x

| |_____Core Application Server [1.1] x

| |_____Administration Console [1.2] x

| |_____Configuration Wizard and Upgrade Framework [1.3] x

| |_____Web 2.0 HTTP Pub-Sub Server [1.4] x

| |_____WebLogic JDBC Drivers [1.5] x

| |_____Third Party JDBC Drivers [1.6] x

| |_____WebLogic Server Clients [1.7] x

| |_____WebLogic Web Server Plugins [1.8] x

| |_____UDDI and Xquery Support [1.9] x

| |_____Server Examples [1.10]

|_____Workshop [2]

|_____Workshop for WebLogic [2.1]

|_____Workshop Runtime Framework [2.2]

*Estimated size of installation: 360.4 MB

Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> next §2.2.7 选择要安装的JDK

<--------------- Oracle Installer - WebLogic Platform 10.3.0.0 --------------->

JDK Selection (Any * indicates BEA Supplied VM):

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

JDK(s) chosen for use with this product installation will be installed. Supported defaults if not deselected will be used in script string-substitution.

1|Add Local Jdk

2|/bea/jdk160_05[x]*

3|/bea/jrockit_160_05[x]*

*Estimated size of installation: 713.2 MB

Enter 1 to add or >= 2 to toggle selection OR [Exit][Previous][Next]> next

§2.2.8 安装确认

<--------------- Oracle Installer - WebLogic Platform 10.3.0.0 --------------->

Choose Product Installation Directories:

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

BEA Home Directory: [/bea]

Product Installation Directories:

"WebLogic Server" = [Enter new value or use default "/bea/wlserver_10.3"]

Enter new WebLogic Server OR [Exit][Previous][Next]> next

<--------------- Oracle Installer - WebLogic Platform 10.3.0.0 --------------->

The following Products and JDKs will be installed:

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

WebLogic Platform 10.3.0.0

|_____WebLogic Server

| |_____Core Application Server

| |_____Administration Console

| |_____Configuration Wizard and Upgrade Framework

| |_____Web 2.0 HTTP Pub-Sub Server

| |_____WebLogic JDBC Drivers

| |_____Third Party JDBC Drivers

| |_____WebLogic Server Clients

| |_____WebLogic Web Server Plugins

| |_____UDDI and Xquery Support

|_____JDKs

|_____Sun SDK 1.6.0_05

|_____BEA JRockit 1.6.0_05 SDK

*Estimated size of installation: 713.3 MB

Enter [Exit][Previous][Next]> next

§2.2.9 文件复制

<--------------- Oracle Installer - WebLogic Platform 10.3.0.0 ---------------> Installing files..

0% 25% 50% 75% 100%

[------------|------------|------------|------------]

[*****************************

Performing String Substitutions...

Creating Domains...

§2.2.10 安装结束

<--------------- Oracle Installer - WebLogic Platform 10.3.0.0 ---------------> Installation Complete

Congratulations! Installation is complete.

Press [Enter] to continue or type [Exit]> 按回车键

§2.3 创建管理服务器的域

AdminServer Name: AdminServer

Listen Address: 192.168.100.1

Listen Port: 8080

SSL Listen Port: 8081

SSL enabled: true

Domain Name: weblogic

§2.3.1 运行Configuration Wizard

$ cd /bea/wlserver_10.3/common/bin

./config.sh -mode=console

§2.3.2 选择创建新域

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Welcome:

--------

Choose between creating and extending a domain. Based on your selection, the Configuration Wizard guides you through the steps to generate a new or extend an existing domain.

->1|Create a new WebLogic domain

| Create a WebLogic domain in your projects directory.

2|Extend an existing WebLogic domain

| Extend an existing WebLogic domain. Use this option to add

|applications and services, or to override existing database access (JDBC) |and messaging (JMS) settings. You can also incorporate additional

|functionality in your domain, for example, by including AquaLogic Service |Bus.

Enter index number to select OR [Exit][Next]> 1

§2.3.3 选择域源

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Select Domain Source:

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

Select the source from which the domain will be created. You can create the domain by selecting from the required components or by selecting from a

list of existing domain templates.

->1|Choose Weblogic Platform components

| You can choose the Weblogic component(s) that you want supported in

|your domain.

2|Choose custom template

| Choose this option if you want to use an existing template. This

|could be a custom created template using the Template Builder.

Enter index number to select OR [Exit][Previous][Next]> 1

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Application Template Selection:

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

Available Templates

|_____WebLogic Server (Required)x

Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> next

§2.3.4 配置管理员及密码

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Configure Administrator Username and Password:

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

Create a user to be assigned to the Administrator role. This user is the

default administrator used to start development mode servers.

| Name | Value |

_|_________________________|_________________________________________|

1| *User name: | weblogic |

2| *User password: | |

3| *Confirm user password: | |

4| Description: | This user is the default administrator. |

Use above value or select another option:

1 - Modify "User name"

2 - Modify "User password"

3 - Modify "Confirm user password"

4 - Modify "Description"

Enter option number to select OR [Exit][Previous][Next]> 2

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Configure Administrator Username and Password:

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

Create a user to be assigned to the Administrator role. This user is the

default administrator used to start development mode servers.

"*User password:" = []

Enter new *User password: OR [Exit][Reset][Accept]>

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Configure Administrator Username and Password:

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

Create a user to be assigned to the Administrator role. This user is the

default administrator used to start development mode servers.

| Name | Value |

_|_________________________|_________________________________________| 1| *User name: | weblogic |

2| *User password: | *********** |

3| *Confirm user password: | |

4| Description: | This user is the default administrator. |

Use above value or select another option:

1 - Modify "User name"

2 - Modify "User password"

3 - Modify "Confirm user password"

4 - Modify "Description"

5 - Discard Changes

Enter option number to select OR [Exit][Previous][Next]> 3

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Configure Administrator Username and Password:

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

Create a user to be assigned to the Administrator role. This user is the

default administrator used to start development mode servers.

"*Confirm user password:" = []

Enter new *Confirm user password: OR [Exit][Reset][Accept]>

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Configure Administrator Username and Password:

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

Create a user to be assigned to the Administrator role. This user is the

default administrator used to start development mode servers.

| Name | Value |

_|_________________________|_________________________________________| 1| *User name: | weblogic |

2| *User password: | *********** |

3| *Confirm user password: | *********** |

4| Description: | This user is the default administrator. |

Use above value or select another option:

1 - Modify "User name"

2 - Modify "User password"

3 - Modify "Confirm user password"

4 - Modify "Description"

5 - Discard Changes

Enter option number to select OR [Exit][Previous][Next]> Next

§2.3.5 选产品模式+JRockitJDK

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Domain Mode Configuration:

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

Enable Development or Production Mode for this domain.

->1|Development Mode

2|Production Mode

Enter index number to select OR [Exit][Previous][Next]> 2

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Java SDK Selection:

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

->1|JRockit SDK 1.6.0_05 @ /bea/jrockit_160_05

2|Sun SDK 1.6.0_05 @ /bea/jdk160_05

3|Other Java SDK

Enter index number to select OR [Exit][Previous][Next]> 1

§2.3.6 选择要定制环境与服务设置

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Choose Configuration Option:

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

*Do you want to modify any of the preconfigured settings or defaults in

*your template?

*

*To keep the default or template settings, and proceed directly to name and *create your domain, leave No selected.

1|Yes

->2|No

Enter index number to select OR [Exit][Previous][Next]> 1

§2.3.7 暂不配置安全存储

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Configure RDBMS Security Store Options:

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

Create the RDBMS tables in your datastore prior to booting your domain. The scripts for use by your DBA are in WebLogic Server's server/lib directory. Click Next to keep the template settings or bypass RDBMS options.

->1|I don't want to change anything here.

2|I want to create, change, or remove RDBMS support.

Enter index number to select OR [Exit][Previous][Next]> 1

§2.3.8 配置管理服务器的端口

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Configure the Administration Server:

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

Enter adminstration server configurations. Each WebLogic Server domain must have one Administration Server. The Administration Server hosts the Administration Console which is used to perform administrative tasks.

| Name | Value |

_|__________________|_____________________|

1| *Name: | AdminServer |

2| Listen address: | All Local Addresses |

3| Listen port: | 7001 |

4| SSL listen port: | N/A |

5| SSL enabled: | false |

Use above value or select another option:

1 - Modify "Name"

2 - Modify "Listen address"

3 - Modify "Listen port"

4 - Modify "SSL enabled"

Enter option number to select OR [Exit][Previous][Next]> 2

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Configure the Administration Server:

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

Enter adminstration server configurations. Each WebLogic Server domain must have one Administration Server. The Administration Server hosts the Administration Console which is used to perform administrative tasks.

| Name | Value |

_|__________________|_____________________|

1| *Name: | AdminServer |

2| Listen address: | All Local Addresses |

3| Listen port: | 7001 |

4| SSL listen port: | N/A |

5| SSL enabled: | false |

Enter value for "Listen address" OR [Exit][Previous][Next]> 192.168.100.30 <-------------------- Oracle WebLogic Configuration Wizard ------------------->

Configure the Administration Server:

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

Enter adminstration server configurations. Each WebLogic Server domain must have one Administration Server. The Administration Server hosts the Administration Console which is used to perform administrative tasks.

| Name | Value |

_|__________________|________________|

1| *Name: | AdminServer |

2| Listen address: | 192.168.100.30 |

3| Listen port: | 7001 |

4| SSL listen port: | N/A |

5| SSL enabled: | false |

Use above value or select another option:

1 - Modify "Name"

2 - Modify "Listen address"

3 - Modify "Listen port"

4 - Modify "SSL enabled"

5 - Discard Changes

Enter option number to select OR [Exit][Previous][Next]> 3

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Configure the Administration Server:

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

Enter adminstration server configurations. Each WebLogic Server domain must have one Administration Server. The Administration Server hosts the Administration Console which is used to perform administrative tasks.

| Name | Value |

_|__________________|_____________________|

1| *Name: | AdminServer |

2| Listen address: | All Local Addresses |

3| Listen port: | 7001 |

4| SSL listen port: | N/A |

5| SSL enabled: | false |

Enter value for "Listen port" OR [Exit][Previous][Next]> 8080

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Configure the Administration Server:

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

Enter adminstration server configurations. Each WebLogic Server domain must have one Administration Server. The Administration Server hosts the Administration Console which is used to perform administrative tasks.

| Name | Value |

_|__________________|_____________________|

1| *Name: | AdminServer |

2| Listen address: | All Local Addresses |

3| Listen port: | 8080 |

4| SSL listen port: | N/A |

5| SSL enabled: | false |

Use above value or select another option:

1 - Modify "Name"

2 - Modify "Listen address"

3 - Modify "Listen port"

4 - Modify "SSL enabled"

Enter option number to select OR [Exit][Previous][Next]> 4

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Configure the Administration Server:

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

Enter adminstration server configurations. Each WebLogic Server domain must have one Administration Server. The Administration Server hosts the Administration Console which is used to perform administrative tasks.

*Enter index number to modify "Value"

1|true

->2|false

3|Unspecified

Enter index number to select OR [Exit][Reset][Accept]> 1

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Configure the Administration Server:

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

Enter adminstration server configurations. Each WebLogic Server domain must have one Administration Server. The Administration Server hosts the Administration Console which is used to perform administrative tasks.

| Name | Value |

_|__________________|_____________________|

1| *Name: | AdminServer |

2| Listen address: | All Local Addresses |

3| Listen port: | 8080 |

4| SSL listen port: | 7002 |

5| SSL enabled: | true |

Use above value or select another option:

1 - Modify "Name"

2 - Modify "Listen address"

3 - Modify "Listen port"

4 - Modify "SSL listen port"

5 - Modify "SSL enabled"

6 - Discard Changes

Enter option number to select OR [Exit][Previous][Next]> 4

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Configure the Administration Server:

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

Enter adminstration server configurations. Each WebLogic Server domain must have one Administration Server. The Administration Server hosts the Administration Console which is used to perform administrative tasks.

| Name | Value |

_|__________________|_____________________|

1| *Name: | AdminServer |

2| Listen address: | All Local Addresses |

3| Listen port: | 8080 |

4| SSL listen port: | 7002 |

5| SSL enabled: | true |

Enter value for "SSL listen port" OR [Exit][Previous][Next]> 8081

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Configure the Administration Server:

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

Enter adminstration server configurations. Each WebLogic Server domain must have one Administration Server. The Administration Server hosts the Administration Console which is used to perform administrative tasks.

| Name | Value |

_|__________________|_____________________|

1| *Name: | AdminServer |

2| Listen address: | All Local Addresses |

3| Listen port: | 8080 |

4| SSL listen port: | 8081 |

5| SSL enabled: | true |

Use above value or select another option:

1 - Modify "Name"

2 - Modify "Listen address"

3 - Modify "Listen port"

4 - Modify "SSL listen port"

5 - Modify "SSL enabled"

6 - Discard Changes

Enter option number to select OR [Exit][Previous][Next]> next

§2.3.9 暂不添加受管的服务器

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Configure Managed Servers:

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

Add or delete configuration information for Managed Servers. A typical production environment has one or more Managed Servers. Each Managed Server is an instance of WebLogic Server used to host enterprise applications.

| Name* | Listen address | Listen port | SSL listen port | SSL enabled |

_|_______|________________|_____________|_________________|_____________|

Enter name for a new OR [Exit][Previous][Next]> next

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Configure Clusters:

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

Add or delete configuration information for clusters. A cluster contains

multiple WebLogic Server instances that run simultaneously and work

together to provide increased scalability and reliability. A cluster

appears to be a single WebLogic Server instance to clients.

| Name* | Multicast address | Multicast port | Cluster address |

_|_______|___________________|________________|_________________|

Enter name for a new Cluster OR [Exit][Previous][Next]> next

§2.3.10 暂不添加受管的主机

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Configure Machines:

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

Add or delete machines. A machine hosts one or more WebLogic Server instances. The Admin Server and Node Manager use this machine definition to

start remote servers.

| Name* | Node manager listen address | Node manager listen port |

_|_______|_____________________________|__________________________|

Enter name for a new Machine OR [Exit][Previous][Next]> next

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Configure Unix Machines:

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

Add or delete machines. A machine hosts one or more WebLogic Server instances. The Admin Server and Node Manager use this machine definition to start remote servers.

| Name |

_|______|

Enter name for a new Unix Machine OR [Exit][Previous][Next]> next

§2.3.11 指定域名

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Select the target domain directory for this domain:

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

"Target Location" = [Enter new value or use default

"/bea/user_projects/domains"]

Enter new Target Location OR [Exit][Previous][Next]> next

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Edit Domain Information:

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

| Name | Value |

_|________|_____________|

1| *Name: | base_domain |

Enter value for "Name" OR [Exit][Previous][Next]> weblogic

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Edit Domain Information:

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

| Name | Value |

_|________|__________|

1| *Name: | weblogic |

Use above value or select another option:

1 - Modify "Name"

2 - Discard Changes

Enter option number to select OR [Exit][Previous][Next]> next

§2.3.12 创建域

<-------------------- Oracle WebLogic Configuration Wizard ------------------->

Creating Domain...

0% 25% 50% 75% 100%

[------------|------------|------------|------------]

[***************************************************]

**** Domain Created Successfully! ****

§2.4 创建受管服务器的域

参考《WebLogic 10.3 for Win32》-《创建受管服务器的Domain和Server》。

§2.5 配置和启动节点管理器

§2.5.1 直接运行

$ cd /bea/wlserver_10.3/server/bin

$ ./startNodeManager.sh

§2.5.2 配置节点管理器作为Daemon

在/etc/rc.d/rc3.d添加一个启动节点管理器的文件。该文件核心内容是启动节点管理器,即:su - weblogic -c "nohup /bea/wlserver_10.3/server/bin/startNodeManager &"

这样,Linux启动后时自动启动节点管理器。

Runlevel

The term runlevel refers to a mode of operation in one of the computer operating systems that implement Unix System V-style initialization. Conventionally, seven runlevels exist, numbered from zero to six; though up to ten, from zero to nine, may be used. S is sometimes used as a synonym for one of the levels.

In standard practice, when a computer enters runlevel zero, it halts, and when it enters runlevel six, it reboots. The intermediate runlevels (1-5) differ in terms of which drives are mounted, and which

Linux安装与环境配置

实验一Linux安装与环境配置 【实验目的】 1.了解Linux系统的特点,掌握Linux的安装方法; 2.理解虚拟机、虚拟系统、虚拟终端等概念; 3.理解Linux系统的内核版本和发行版本; 4.了解超级用户和普通用户的权限差别; 5.熟悉系统登录、注销、重启和关机。 【实验内容】 1.安装VMware Workstation。 VMware可以虚拟现有任何操作系统,只要真实主机的配置允许,还可以虚拟多个系统。 2.新建虚拟机。 按“新建虚拟机向导”可顺利完成虚拟机安装。安装过程中注意以下选项: (1)虚拟机配置 选“自定义”,以便后面可以自行规划设备,内存和硬盘容量等。 (2)虚拟机内存 VMWare本身不占用太大内存,但处于开启状态的虚拟机会占用较大内存,占用内存量由配置决定,建议直接使用“推荐配置”。临时挂起虚拟机或关闭虚拟机,这些内存会立即释放。 (3)网络类型 网络类型有四个选项,分别为: ●使用桥接网络:通过你的计算机中的一块以太网适配器卡直接连接到一个本地 以太网。 ●使用网络地址翻译(NA T):允许客户操作系统使用主机的IP 地址访问主机的 拨号或者外部以太网连接。 ●使用仅为主机网络:通过一个虚拟网络从内部连接客户操作系统到主机。 ●不使用一个网络连接。 前三个选项中可先任选一个,之后配置网络的时候再改。但勿选最后一个,否则将无法创建网络。 (4)指定磁盘容量 第一项定义磁盘大小。第二项允许虚拟机无限使用磁盘空间,但需要真实磁盘足够大。第三项限制了每块虚拟磁盘的最大容量为2G。 在VMware安装目录下就有一个vmware-vdiskmanager.exe程序,它是一个命令行工具,可用来修改虚拟机硬盘的大小。 (5)创建一块磁盘 第一次建立虚拟机时,一般选择第一项,第二项适用于建立第二个或更多虚拟机,即使用已经建立好的虚拟机磁盘,这样可以减少虚拟机占用的真实磁盘空间。第三项允许虚拟机直接读写磁盘空间,慎选!适合熟悉使用磁盘的高级用户,如果操作失误会把真实磁盘里的内容删掉。

RedHat-linux7-虚拟化+集群安装精简手册

RedHat linux 7虚拟化环境集群安装精简手册 1、前期准备 挂载磁盘 /* 通过制作iso,方便后续安装动作,在知识库中应形成iso镜像体系*/ dd if=/dev/sr0 of=/app/rh71.iso mount -o loop /app/rh71.iso /mnt 挂载制作的iso mount -loop /dev/sr0 /mnt 查看少什么包 /* 如果想要是用vgscan指令,系统至少需要安装lvm2包,这个从安装好的系统上查*/ [root@jttldb1 host5]# rpm -qf /sbin/vgscan lvm2-2.02.83-3.el6.x86_64 常用包安装 net-tools (ifconfig等用) yum -y install nautilus-open-terminal(右键添加terminal) 配置yum /* 根据具体挂载的路径和版本调整*/ 建立文件/etc/yum.repos.d/mycdrom.repo [Base] name=RHEL baseurl= enabled=1 gpgcheck=0 [Cluster] name=RHEL baseurl=addons/HighAvailability enabled=1 gpgcheck=0

配置ip IPADDR=10.88.89.100 GATEWAY=10.88.89.1 NETMASK=255.255.255.0 ONBOOT=yes 单网卡配置多ip ifconfig team0:0 10.88.89.101 netmask 255.255.255.0 (临时添加一个ip,重启后消失,如果想永久拥有,需要配置ifcfg-ens32:0 文件) 临时文件取消:ifconfig ens32:0 down 网卡绑定 1)创建组接口(会生产一个ifcfg-team0) nmcli con add type team con-name team0 ifname team0 config '{"runner":{"name":"activebackup"}}' nmcli con del team0 (删除绑定team) 2)查看组接口配置 nmcli con show 3)给组接口添加设备 nmcli con add type team-slave con-name team0-port1 ifname enp11s0f0 master team0 nmcli con add type team-slave con-name team0-port2 ifname enp16s0f0 master team0 nmcli con mod type team-slave con-name team0-port2 ifname enp16s0f0 master team0 4)配置ip [root@jttldb2 network-scripts]# more ifcfg-team0 DEVICE=team0 DEVICETYPE=Team TEAM_CONFIG="{\"runner\":{\"name\":\"activebackup\"}}" BOOTPROTO=none IPADDR=10.88.89.100 PREFIX=25 GATEWAY=10.88.89.1 DEFROUTE=yes IPV4_FAILURE_FATAL=yes IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes

4Mlinux安装配置方法

4Mlinux 安装配置 一、安装4Mlinux 1.新建otherlinux虚拟机 2.硬件资源分配,硬盘不要超过1G,600M足够否则安装会很慢,必须为IDE接口硬盘。 内存256M即可。 设置硬盘大小:

硬件资源分配图 3.配置好硬件资源后可能会无法选择硬盘接口类型,可以删除原来的,再添加一个

删除SCSI接口的硬盘,添加一个IDE接口的硬盘 设置硬盘接口为IDE的类型,绝对不能用SCSI的,否则不能识别

设置大小为600M 删除原来的SCSI接口硬盘,其他的按回车就可以了。

4.选择iso安装镜像从CD/DVD启动 5.启动后会进入一个类似安装系统界面,但是这不是安装界面 6.这里可以不输入密码,按回车就可以了 7.Root账号登陆,没有设置密码,回车就可以了

8.登陆之后,用“fdisk /dev/sda”新建一个主分区,等下系统就是安装在这个分区里的。 分区新建之后,由于这里无法探测分区,所以用reboot重启系统。 格式化为ext3 9.进入/usr/sbin/目录下,找到一个名为install2hd 的文件拷贝到/tmp目录下 拷贝到/tmp目录下,注意这里一定要拷贝到/tmp/目录下,因为等下要修改这个脚本文件,而且执行后文件会改变 到/tmp目录下修改这个脚本文件,用“/df -h”查找到相关内容,将原来为G的单位改为M 将G改为M 保存退出 10.执行“./install2hd /dev/sda”安装系统到“/dev/sda1”分区下 执行这条命令后选分区时选择1,其余回车或y就可以了。安装完后重启系统就可以了 二、网络配置 到/etc/net/net.conf里面配置网络。 根据需求配置网络即可。

linux操作系统安装手册

操作系统安装 服务器推荐配置: CPU: Intel Xeon 3.2G 或以上 内存: 1G 或以上 网卡:100M 或1000M(视系统规模) 硬盘:73.4G 以上(视存储规模) 说明:此文档是REDHAT企业版AS4.0为基准的,REDHAT 9.0的安装也可以参考,只是选择安装包是不相同的。) 使用REDHAT AS4 光盘(4 碟装)。光盘版本号为:2.6.9-5和2.6.9-34,上述版本可按照下面方式安装。 设制BIOS 中的启动顺序,使计算机优先从cd-rom 启动。 打开计算机,把CD1 放入光驱,安装启动画面有多种选择, 直接回车,到下图 用TAB键切换到Skip回车 点击Next, 选择语言,如下图。

点击Next,配置键盘(默认),如下图。 点击Next,开始配置鼠标(默认),如下。 点击Next,分区格式选Manually partition with disk druid,如下图。 点击Next,开始分区。如下图。

如果此机器有两块或两块以上硬盘的话,会在图8 中显示出来例如hda 和hdc,那么注意要给在某个硬盘上(举例 说明,比如硬盘hda)创建分区时,点击new,在下一图形界面中,会提示有两块硬盘,此时必须打勾只选中需 要在上面创建分区的那块硬盘(例子中应该是hda),也就是说把另一块硬盘(例子中应该是hdc)前面的钩去掉。 对于只有一块硬盘的安装过程来说,只需按正常步骤就可以。 我们假设这台计算机中只有一块硬盘。一般使用IDE 硬盘时设备名为/dev/had(如果我们使用的是一个SCSI 硬盘,它的设备文件名为/dev/sda) 请注意。安装Linux 系统只要一个交换分区(swap)和一个根分区(/),一般情况下,根分区为10G 左右,如果还有剩余空间,那么再创建新分区,映射为(/xfmdata)做为存储分区吧。 点击new 按钮创建一个swap 分区,swap 分区大小选本机内存大小的2 倍,但不要超过1024M. FileSystem Type 选swap,一般分为512M 左右,如下图。 点击OK,配置好SWAP 分区,如下图。

Linux项目安装部署

1安装Jdk (1)安装 第一步:下载Linux环境下的jdk1.8,请去(官网)中下载jdk的安装文件; 由于我的Linux是32位的,因此我下载jdk-8u92-linux-i586.tar.gz文件。 解压: tar xzvf jdk-8u45-linux-i586.tar.gz 移动到opt目录: sudo mv jdk1.8.0_45 /opt (2)配置环境变量 ①、使用vim /etc/profile编辑profile文件 ②、在/etc/profile底部加入如下内容: JAVA_HOME=/opt/jdk1.8.0_92 PATH=$JAVA_HOME/bin:$PATH CLASSPATH=$JAVA_HOME/jre/lib/ext:$JAVA_HOME/lib/tools.jar export JAVA_HOME export PATH export CLASSPATH

输入:wq保存并退出,最后使用source /etc/profile让profile文件立即生效。 (3)测试命令 输入:java -version,如果看到如下截图说明你的jdk已经安装成功了。 2安装mysql (1)到mysql官网下载mysql编译好的二进制安装包,在下载页面Select Platform:选项选择linux-generic,然后把页面拉到底部,64位系统下载Linux - Generic (glibc 2.5) (x86, 64-bit),32位系统下载Linux - Generic (glibc 2.5) (x86, 32-bit) (2)解压32位安装包: 进入安装包所在目录,执行命令:tar mysql-5.6.17-linux-glibc2.5-i686.tar.gz (3)复制解压后的mysql目录到系统的本地软件目录: 执行命令:cp mysql-5.6.17-linux-glibc2.5-i686 /usr/local/mysql -r

Linux安装部署规范标准

Linux安装部署规文档 编制人员:石鹏 编制部门:运维事业部 模版文件版本:V1.1 适用项目围:所有

文件修改记录表

目录 1 安装前的准备工作 (6) 1.1 操作系统版本 (6) 1.2 操作系统的安装信息搜集 (6) 2 默认情况的Linux操作系统安装 (7) 2.1 安装语言的选择 (7) 2.2 分区的划分 (8) 2.2.1 boot分区 (8) 2.2.2 LVM分区 (8) 2.2.3 根分区 (10) 2.2.4 Swap空间 (10) 2.3 IP地址的配置 (11) 2.4 主机名的设定 (12) 2.5 时区的设定 (12) 2.6 密码的设定 (13) 2.7 软件包的定制 (13) 2.7.1 桌面环境 (13) 2.7.2 应用程序 (14) 2.7.3 开发环境 (14) 2.7.4 服务器 (15) 2.7.5 基础系统 (15) 2.7.6 虚拟化 (15) 2.7.7 语言 (16) 2.8 安装后的设置 (17) 2.8.1 防火墙设置 (17) 2.8.2 SELinux (17) 2.9 操作系统配置 (18) 2.9.1 文字界面启动 (18) 2.9.2 Root用户直接登陆系统 (18) 2.9.3 取消不用的服务 (18) 2.10 备份操作系统关键文件 (19) 3 针对Oracle数据库服务器的操作系统安装 (19) 3.1 安装语言的选择 (19) 3.2 分区的划分 (19) 3.2.1 boot分区 (19) 3.2.2 LVM分区 (20) 3.2.3 根分区 (20) 3.2.4 Swap空间 (20) 3.2.5 tmp分区 (20) 3.2.6 var分区 (21) 3.2.7 usr分区 (21) 3.2.8 u01分区 (22) 3.3 IP地址的配置 (22) 3.4 主机名的设定 (22) 3.5 时区的设定 (23) 3.6 密码的设定 (23) 3.7 软件包的定制 (23) 3.7.1 桌面环境 (23)

Linux下WebLogic 的安装配置及启动

Linux? Weblogic ??3 zhenhua_hou@https://www.sodocs.net/doc/e917091302.html, 20100822 WebLogic 1 ǐ ? CentOS4.8 2 3'? 1:oracle wls1033_oepe111150_linux32.bin https://www.sodocs.net/doc/e917091302.html,/technetwork/middleware/ias/downloads/wls-main-097127.html 2:ftp xFtp https://www.sodocs.net/doc/e917091302.html,/download/down_xfp3.html 3:SSH SecureCRT,SSH,XShell 3 3? ?URRW/"? ? ?D ? ZHE/RJLF/"? KRPH ? mkdir -p /u02/weblogic

?üZHE/RJLF?/"? groupadd weblogic ?ü/ZHE/RJLF useradd -g weblogic -d /u02/weblogic weblogic "?ü?/" 3 passwd weblogic ? ? ? ? weblogic weblogic ? X " ???/" cd /u02 ls -la root root 4096 Aug 23 15:29 u02 ? X ? " ???/" ?%?ZHE/RJLF chown -R weblogic:weblogic /u02 /;IWS?ZOV BRHSH BOLQX[ ELQ? X ? ?ZOV BRHSH BOLQX[ ELQ" ?/"??/" cd /u02 ls -la root root 968036147 Aug 23 15:39 wls1033_oepe111150_linux32.bin

Linux虚拟机安装手册

Linux培训虚拟机安装手册 1.安装VirtualBox 请在Windows电脑上,安装VirtualBox WIN版本: VirtualBox-xxx-Win.exe 注意,有极少数电脑由于兼容性问题,安装Virtualbox后发现Linux无法启动,这个时候也可以用Vmware。注意在Vmware里面,硬盘选择SATA。Vmware默认推荐的是SCSI,也有极少数电脑SCSI模式无法启动Linux。本文接下来讲解的都是virtualbox下的配置方法,Vmware的类似。 2.安装VirtualBox extension Oracle_VM_VirtualBox_Extension_Pack-xxx.vbox-extpack 3.准备虚拟机镜像 解压Baohua_Linux.vmdk.rar为Baohua_Linux.vmdk。 注意:Baohua_Linux.vmdk.rar是由part1和part2分卷压缩组成的

4.新建虚拟机 运行第1步安装的Oracle VM VirtualBox,点击“新建(N)”按钮创建虚拟机,类型选择Linux,Ubuntu 32位,名称可以取名为“linux-training”。 单击“下一步(N)”,设置内存(设置为1GB左右): 继续单击“下一步(N)”。设置硬盘,注意选择“使用已有的虚拟硬盘文件(U)”,虚拟硬盘文件是第3步解压之后的“Baohua_Linux.vmdk”:

最后,点击“创建”完成虚拟机的构建工作。 依次点击“setting”、“system”、“processor”,设置虚拟机内CPU为双核: 如果启动双核或者多核失败,请进入电脑的BIOS,enable虚拟化支持相关的选项。 5.启动虚拟机 在Virtualbox上选择先前创建的“linux-training”虚拟机并点击“启动”:

RedHat_Linux_Ent_5.6安装手册_RHCS安装与配置手册

RedHat Linux Ent 5.6安装手册/RHCS安装与配置手册 目录 一、RHEL5.6系统安装 (2) 二、RHEL5.6系统配置 (17) 2.1 设置时间同步 (17) 2.2 建立useradmin、sysoper、sysadmin用户管理用户与系统监控 (17) 2.3 部署sysoper与useradmin维护脚本 (17) 2.4配置sudo (17) 三、RHEL5.6系统安全加固与系统优化 (18) 四、RHEL5.6 YUM配置 (18) 五、RHCS 5.6 安装与配置 (19) 5.1 服务器设置 (19) 5.2 安装Cluster软件(linux1、linux2) (20) 5.3 在所有节点上配置CLUSTER(linux1、linux2) (20) 5.4 在所有节点上执行如下命令,启动CLUSTER服务 (24) 5.5 查看集群状态 (24) 5.6 手动切换集群服务 (24)

一、RHEL5.6系统安装 1.1将RHEL 5.6光盘放入光驱,设置从光驱启动,如下图按回车。 1.2选择‘Skip’回车

1.3点‘Next’ 1.4点‘Next’ 1.5点‘Next’

1.6选择‘Skip entering Installation Number’,点‘OK’ 1.7选择‘Skip’

1.8选择‘Y es’,再选择‘Create custom layout’,点‘Next’ 按同样的方法建立swap、/ 分驱,大小分别为:物理内存2位、10G

1.10分驱完成之后选择‘Next’ 1.11选择‘Next’

Linux安装中英文对照小手册

CD Found To begin testing the CD media before installation press OK.(按下OK键安装前首先测试光盘媒体) Choose Skip to skip the media test and start the installation.( 选择Skip跳过光盘媒体测试,并开始安装。 ) OK Skip 说明:只是测试你光盘的,不是错误,如果光盘没有问题,跳过就可以了. Media Check(媒体检查) Choose "Test" to test the CD currently in the drive ,or "Eject CD" to eject the CD and insert another for testing.(选择"Test" ,在目前的驱动器下测试光盘,或选择"Eject CD" ,以退出光盘插入另一个测试。) Test Eject CD Media Check Result(媒体检查结果) The media check of the image:Red Hat Enterprise Linux 4 disc 1 is complete,and the result is :PASS.(媒体核对形象:红帽企业linux光盘4月1日完成,其结果是:合格。 ) It is OK to install from this media.(按下OK确定从这个媒介安装.) OK Media Check(媒体检查) If you would like to test additional media,insert the next CD and press "Text".You do not have to test all CDs,although it is recommended you do so at least once.(如果你想测试额外媒介,加上未来光盘,并按下"Text" 。你没有测试所有光盘的,虽然它是推荐你这样做至少一次。) To begin the installation process insert CD #1 into the drive and press "Continue".(开始安装过程中插入光盘CD#1到硬盘,并按下"继续" 。) 文章更多参考:(百科)https://www.sodocs.net/doc/e917091302.html,/view/6360735.htm

linux DNS安装与配置详解

RedHat_LINUX_DNS服务器安装配置详解 ----PowerDesk 针对红帽RHEL 6.X企业版系统,其他版本Linux系统可模仿此配置,毕竟DNS原理相同嘛。 以下配置说明都在VMware虚拟机中操作。 VMware虚拟机之间联网方式为:桥接。(具体配置不做解释) 主要目的:保证机器之间可正常访问。(ping通) 在instructor上安装DNS服务: 命令:yum install bind bind-util 或rpm -ivh bind ;rpm -ivh bind-util 在instructor 上配置DNS 服务: 注:前提是没有安装bind-chroot包,否则域配置文件位置会发生变化。 2.各文件配置详解:(截图) ⑴/etc/named.conf

注:option中listen-on port 53 {192.168.80.254;};和allow-query {any;}; zone 文件对应关系; 编辑完成后,使用named-checkconf 命令检测。若无任何提示表明配置正确。 ⑵/var/named/named.localhost

⑶/var/named/named.127.0.0 ⑷/var/named/https://www.sodocs.net/doc/e917091302.html, ⑸/var/named/named.192.168.80

区域文件配置检测: named-checkzone localhost /var/named/named.localhost named-checkzone 0.0.127.in-addr.arpa /var/named/named.127.0.0 named-checkzone https://www.sodocs.net/doc/e917091302.html, /var/named/https://www.sodocs.net/doc/e917091302.html, named-checkzone 80.168.192.in-addr.arpa /var/named/named.192.168.80 nslookup > https://www.sodocs.net/doc/e917091302.html, >https://www.sodocs.net/doc/e917091302.html, 测试阶段: 使用server1 客户机ping 命令:ping https://www.sodocs.net/doc/e917091302.html,

实验一 Linux的安装与配置及命令行的使用

北京林业大学 2015学年—2016学年第 1 学期 Linux应用实验任务书 专业名称:信息管理与信息系统班级:信息14-1 姓名:朱琳学号: 140814125 实验题目:实验一 Linux的安装与配置及命令行的使用 实验环境: Linux环境 实验内容: 安装Linux操作系统; 查看Linux 的目录结构; 在字符界面下各种基础命令的使用。 实验目的: 通过亲自动手实践安装Linux 操作系统,对Linux 有个初步的认识,并且加深对 Linux 中的基本概念的理解,并熟悉Linux 文件系统目录结构,熟悉Linux操作系统的环 境。 掌握Linux系统下的基本操作;掌握字符界界面下基础命令的使用。 实验步骤(适当截图): 1.环境搭建完成,用普通用户登录到Linux 下。(提示:登录用户名为root, 密码为123456 2.使用文件浏览器熟悉文件的目录结构。

3.以root用户登录到Linux系统 4.创建用户帐号 1)在图形用户界面下创建自己的用户帐号及帐号密码; 2)在字符界面下通过相关命令创建自己的帐号,通过相关命令设置自己帐号的密码; 5.注销和重起Linux系统

1)在图形用户界面下完成系统的注销、用自己的帐号重起系统; 2)在字符界面下通过相关命令完成系统重启; 3)命令shutdown有什么功能及学习如何使用; 6.关闭系统 1) 在图形用户界面下关闭系统; 2) 在字符界面下通过相关命令关闭系统; 7.启动计算机,利用root用户登录到系统,进入字符提示界面。 8.用命令查看当前所在的目录。 9.用命令列出此目录下的文件和目录。 10.用选项列出此目录下包括隐藏文件在内的所有文件和目录。 11.用命令查看ls命令的使用手册。

Linux安装配置

环境配置 综述: 环境配置包括几个步骤: 1 Linux系统安装 2 Linux系统基本配置 3 Linux服务器安装 1 Linux系统安装 Linux简介 Linux是一套免费使用和自由传播的类Unix操作系统,是一个基于POSIX和UNIX的多用户、多任务、支持多线程和多CPU的操作系统。它能运行主要的UNIX工具软件、应用程序和网络协议。它支持32位和64位硬件。Linux继承了Unix以网络为核心的设计思想,是一个性能稳定的多用户网络操作系统。 Linux操作系统诞生于1991 年10 月5 日(这是第一次正式向外公布时间)。Linux存在着许多不同的Linux版本,但它们都使用了Linux内核。Linux可安装在各种计算机硬件设备中,比如手机、平板电脑、路由器、视频游戏控制台、台式计算机、大型机和超级计算机。 打开‘linux相关安装’目录,如图: 1.1 安装vm虚拟机 直接双击“VMware-workstation-full-7.1.2-301548.exe”,一直下一步即可。注意中途可能会用到VMware-License.txt来认证。安装完成后如果提示你更新VM到高版本,选择不更新即可。安装好后的界面如下:

1.2 安装Linux 打开VM,选择新建虚拟机,点击下一步。如图: 选择我将稍后启动系统,点击下一步。

选择系统为linux,版本为CentOS,点击下一步。 点击‘Browser’浏览,选择要存放安装系统的目录。

磁盘空间配置,可以默认20G,点击下一步。 配置选择要安装的镜像文件CentOS-6.5-i386-minimal.iso,点击确定。

RedHatEnterpriseLinux5SERVER安装手册linux分区注意详解

Red Hat Enterprise Linux 5 安装手册 ◆准备工作 硬件 硬盘空间:5G以上; 内存容量:256 M以上; 光盘介质:Red Hat Enterprise Linux 5 安装光盘(五张CD); 设置BIOS为从光盘引导; 启动计算机,将安装盘的第一张放入光驱; 注意: 您计算机硬盘上已经装有一个系统的话,请参考①准备;如您的硬盘没有装任何系统请直接参考②准备。 ① 1.如果您已经装有一个Windows系统,且硬盘没有剩余空间的话,请您按如下步骤先装硬盘腾出5G或更大(如果您希望的话): 鼠标选择“开始/设置/控制面板/管理工具/计算机管理/存储/磁盘管理”,此时您可以在窗口的右下方,就能看到当前整个硬盘的分区情况。您按照自己的情况,选择合适的分区进行右击“删除逻辑分区”,不用格式化。注意事前做好相应的重要数据的备份工作。 腾出足够的空间了之后,请您重启计算机。 2.设置BIOS为从光盘引导; 3.请将安装盘的第一张放入光驱; 4.参考具体安装步骤进行后续操作。 ② 1.设置BIOS为从光盘引导; 2.请将安装盘的第一张放入光驱; 3.后续操作请参考后面的具体安装步骤进行。 当安装程序运行至分区时,请您按照自己的实际需要分配安装Linux的空间。 说明:此文档用VMware Workstation,进行模拟安装,因此请在“第八步正在分区”,选空闲的空间来安装Linux系统,以免对您原来的硬盘数据造成破坏。 具体安装及基础设置步骤: 第一步启动安装程序 从光盘启动安装程序后,就会出现如图1所示的画面。 图1安装引导界面 安装界面上有3个选项供用户选择: (1)按键,直接进入图形模式(graphical mode)安装模式; (2)“boot:”之后输入:“Linux text”,然后按键,则以文本模式(text mode)安装; (3)用下面以红色字体列出的功能键(function keys)来获得更多信息的方式安装。 这里选择图形化模式来安装,直接按键。 第二步CD媒体检测 从开始安装后,系统一般要花费一段时间来检测计算机的各种硬件配置,当系统识别相应的设备后,出现如图2所示界面。

Linux系统的安装和配置

Linux系统的安装和配置 Linux,在今天的广大电脑玩家耳中已经不再是那个曾经陌生又遥远的名字,大家提起Linux时,不再是把它当做与微软抗衡的一面大旗或自由软件爱好者的精神支柱。如果说几年前的Linux是星星之火的话,今天的它已经真正地形成了燎原之势。随着越来越多成熟的Linux发行版的推出以及Linux推广的许多问题(安装不方便、中文化困难、软件匮乏、缺乏统一标准等)得到圆满解决,现在Linux已经真正地向广大的电脑爱好者们敞开了大门。 一、安装前的准备 你完全可以打消Linux对计算机硬件是否支持的顾虑,放心大胆地安装。 1.检查硬件支持 在安装Linux之前,先确定你的计算机的硬件是否能被Linux所支持。 首先,Linux目前支持几乎所有的处理器(CPU)。其次,早期的Linux只支持数量很少的显卡、声卡,而如今,如果要安装Linux,已经不需要再为硬件是否能被Linux支持担心了。经过十多年的发展,Linux内核不断完善,已经能够支持大部分的主流硬件,同时各大硬件厂商也意识到了Linux操作系统对其产品线的重要性,纷纷针对Linux推出了驱动程序和补丁,使得Linux在硬件驱动上获得了更广泛的支持。 另外,如果你的声卡、显卡是非常新的型号,Linux内核暂时无法支持,那也不要紧,RedHat会自动把无法准确识别的硬件模拟成标准硬件来使用,让硬件一样可以在Linux发挥作用。 由于设计Linux时的初衷之一就是用较低的系统配置提供高效率的系统服务,所以安装Linux并没有严格的系统配置要求,只要Pentium以上的CPU、64MB以上的内存、1GB 左右的硬盘空间,就能安装基本的Linux系统并且能运行各种系统服务。但是如果要顺畅地运行X-Window,就需要有足够的内存,建议128MB以上。 现在,你可以打消Linux对计算机硬件是否支持的顾虑,放心大胆地安装了吧。 2.确认安装方式 RedHat Linux9.0采用了稳定的内核Linux Kernel 2.4.20,配合GCC 3.2.1,以及GNU libc 2.3.2。这些最新的特性能够保证整个系统的优越表现。 (1)从光盘安装 最简单,最方便的安装方法当然是从CD安装,你可以享受最人性化的,类似于Windows 的安装。你只要将计算机设置成光驱引导,把安装CD1放入光驱,重新引导系统,在安装界面中直接按回车,即进入图形化安装界面(图1)。

IPplan在linux环境下安装手册_中文版

IPplan在linux环境下安装手册_中文版1软件安装 安装mysql [root@localhost ~]# yum -y install mysql-server.i* [root@localhost ~]# yum -y install mysql-devel.i* 安装PHP [root@localhost ~]# yum -y install php.i* [root@localhost ~]# yum -y install php-devel.i* 安装apache [root@localhost ~]# yum -y install apache.i* [root@localhost ~]# yum -y install apache-devel.i* 2软件部署 1.在路径/home/httpd/html下下载IPPLAN [root@localhost ~]# wget –c http://cdnetworks-kr-2.dl.sourceforge. net/project/iptrack/ ipplan-win/Release%204.92/ipplan-4.92a.zip 解压该zip文件于是会在/home/httpd/html目录下新增ipplan文件夹 2.改变文件夹拥有者和权限 [root@localhost ~]#chown -R root.nobody ipplan [root@localhost ~]#chmod -R 750 ipplan 如果是redhat7.0用户请使用: [root@localhost ~]#chown -R root.apache ipplan [root@localhost ~]#chmod -R 750 ipplan 3创建数据库 [root@localhost ~]#mysqladmin -p create ipplan 输入密码进入MYSQL后修改ipplan密码: Sql>set password for 'ipplan'@'localhost' = old_password('123456'); 把密码设置成了123456 4修改ipplan用户的访问权限 Sql>GRANT SELECT,INSERT,UPDATE,DELETE on ipplan.* TO ipplan@localhost IDENTIFIED by '123456'; 5 [root@localhost ~]#vi /etc/httpd/conf/httpd.conf

linux系统安装及软件配置(精)

Hp1 linux系统安装及软件配置 1. LIUNX 系统安装 选用 4.6版本 64位系统的安装介质,步骤如下: (1 选择启动方式(从光盘启动系统 (2 启动安装界面之后,选择安装方式(直接回车,进入图形安装界面 (3 选择安装语言 ENGLISH/简体中文键盘 (U.S.English 鼠标(带轮鼠标 (4 选择安装类型 (定制 (5 磁盘分区选择 Dish durd 手工分区 Sda (SCSI 接口上有 5块硬盘,容量是 5T ,手动定制分区时要删除 LMT 分区,使其成为 free 区。选用 sda 第一块盘进行分区,其他盘可以现在挂载,也可以系统安装成功后进行文件系统生成时再挂载。 Sda 分区包括根分区、 boot 分区、 soft 分区、 export/home分区(分区类型选择日志文件类型 ext3 、 swap 类型分区 (此分区不能挂载在任务盘上。 (6 引导装载程序配置 (不变 (7 网络和防火墙的配置 (网络手工配置、无防火墙 如果系统是个大网络的一部分, 其主机名由 DHCP 分派, 则选择【通过 DHCP 自动获取】。否则,选择【手工】 ,然后输入主机名,如果不输入, 系统就会被识别为localhost 。 时区亚洲 /上海 设置根用户及密码:root 六位密码 root123

(8 认证配置 (默认配置 (9 软件包选择 (everthing (10开始自动安装 2. 显卡驱动安装 第一种方式采用下载的驱动程序安装, 此方式要在字符状态下才能正常进行第二种方式采用显卡驱动安装光盘进行安装,步骤如下: (1 输入 df – k 命令查看光驱所挂载的目录,上述系统所挂载的目录为 /medio/cdrecorder (2 在根目录下创建 /mnt的目录: Mkdir /mnt Chmod 777 /mnt (3 cd /medio/cdrecorder/driver (4 ls 查看文件列表,显卡驱动为 liunx-display-driver.iso (5 mount – o loop /medio/cdrecorder/driver/linux-display-driver.iso /mnt (6 cd /mnt 进入 mnt 目录, ls 查看内容 (7通过 ./autoRUN执行自动安装驱动程序 3. 网卡驱动安装 (1 拷贝网卡驱动到 /var/tmp目录

Linux操作系统的安装及使用实验报告

实验报告课程名称计算机网络原理与技术实验项目Linux操作系统的安装及使用 专业班级姓名学号 指导教师成绩日期 一、实验目的 1、掌握虚拟机VMware软件的安装和使用; 2、掌握Linux系统软件的安装和使用; 4、掌握Linux命令的使用; 二、实验设备和环境 个人计算机一台、虚拟光驱、虚拟机VMware软件、Linux系统软件 三、实验内容 1、通过虚拟机安装Linux系统; 2、熟悉Linux的基本命令; 3、在Linux下编译一个C语言程序; 4、在Linux环境下配置TCP/IP协议; 5、设置Linux与Windows文件夹共享。 四、实验过程 1、安装VMware软件 双击安装文件,按照提示逐步安装,完成后的打开软件,如下图 这时就可以安装Linux系统了。 2.安装Lniux系统 选择“新建虚拟机”,按“下一步”,选择“典型”,“Linux”,“red hat linux”,其他按照默认选择。得到一个虚拟机界面(如下图所示)。 选中“CD-ROM”这项,将其设置为:“使用映像文件”然后导入Linux系统的安装的第一张盘。(如下图所示) 点击“启动此虚拟机”,按照提示选择默认值,选择“个人工作站”。其他全部默认即可。在安装过程中,会提示“插入第二张光盘”,“插入第三张光盘”,这时同样用虚拟光驱加载镜像文件。重起后进入(如下图所示)。 选择默认,进入系统。 3.安装VMware tools。 选择VMware软件的菜单“虚拟机”、“安装VMware工具”,看见如下两个文件。双击rpm格式文件。完成后,打开如下图的文件夹。 双击第一个压缩包进行解压到/usr/bin目录下。 在终端下运行以下命令(如图所示): 一路按回车确定即可,最后一步可以选择适合的分辨率。 4.与Windows操作系统共享文件及 Linux联网。 首先在“系统设置”—“网络”下设置Linux的IP、DNS、网关、子网掩码等(如图所示)

linux下mysql安装配置

linux下mysql安装配置 1、下载MySQL的安装文件 安装MySQL需要下面两个文件: MySQL-server-4.0.23-0.i386.rpm MySQL-client-4.0.23-0.i386.rpm 下载地址为:https://www.sodocs.net/doc/e917091302.html,/downloads/mysql-4.0.html,打开此网页,下拉网页找到“Linux x86 RPM downloads”项,找到“Server”和“Client programs”项,下载需要的上述两个rpm文件。 2、安装MySQL rpm文件是Red Hat公司开发的软件安装包,rpm可让Linux在安装软件包时免除许多复杂的手续。该命令在安装时常用的参数是–ivh ,其中i表示将安装指定的rmp软件包,V表示安装时的详细信息,h表示在安装期间出现“#”符号来显示目前的安装过程。这个符号将持续到安装完成后才停止。 1)安装服务器端 在有两个rmp文件的目录下运行如下命令: [root@test1 local]# rpm -ivh MySQL-server-4.0.23-0.i386.rpm 显示如下信息。 warning: MySQL-client-4.0.23-0.i386.rpm signature: NOKEY, key ID 5072e1f5 Preparing...########################################### [100%] 1:MySQL-server########################################### [100%] 。。。。。。(省略显示) /usr/bin/mysqladmin -u root password 'new-password' /usr/bin/mysqladmin -u root -h test1 password 'new-password' 。。。。。。(省略显示) Starting mysqld daemon with databases from /var/lib/mysql 如出现如上信息,服务端安装完毕。测试是否成功可运行netstat看Mysql端口是否打开,如打开表示服务已经启动,安装成功。Mysql默认的端口是3306。 [root@test1 local]# netstat -nat Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp00 0.0.0.0:33060.0.0.0:*LISTEN 上面显示可以看出MySQL服务已经启动。 2)安装客户端 运行如下命令: [root@test1 local]# rpm -ivh MySQL-client-4.0.23-0.i386.rpm warning: MySQL-client-4.0.23-0.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5 Preparing...########################################### [100%] 1:MySQL-client########################################### [100%] 显示安装完毕。 用下面的命令连接mysql,测试是否成功。 三、登录MySQL

相关主题