Linux安装调试详细图文步骤

  • 格式:doc
  • 大小:40.50 KB
  • 文档页数:7

下载文档原格式

  / 7
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

封面

作者:PanHongliang

仅供个人学习

一、LINUX的安装

1.新建file→New Virtual Machine Wizard

2.选择ISO镜像文件,并点击I will install the operating system later

3.选择安装linux系统

4.修改虚拟机名称与安装目录

5.一直下一步直到安装完成,然后点击Edit virtual machine settings进行配置

6.修改memory和hard disk的大小(内存1G,硬盘20G)

7.在CD/DVD中选择use ISO image file,添加完成后,点击OK

8.点击Power on this virtual machine 进行启动

9.选择skip

10.选择NEXT

11.选择中文,NEXT

12.美国英语式,NEXT

13.跳过输入安装号码

14.建立自定义分区,NEXT

15./boot:200MB

16.Swap:2G

17./var:384MB(日志)

18./opt:2G(应用程序安装路径)

19./:剩余空间(相当于C盘)

20.一直下一步,默认

21.设置密码

22.对一下属性进行设置,注意:语言支持中英都需要勾选,否则出现乱码

23.开始安装

25.进入

26.系统设置

许可协议:同意

防火墙:启用 SSH

SELimux:下一步

Kdump:下一步

日期和时间:下一步

设置软件更新:不,我将以后注册

创建账户:

声卡:下一步

附加光盘:下一步

27.完成,进行登录,输入用户名和口令

二、linux 配置ip 地址

1.注意:右键test →setting ,将网络连接修改为桥接

2.切换到IP 配置文件,用vi 编辑器打开

3.打开之后如下图所示

修改之后如图所示:点击i 进行修改,然后保存并退出

6.修改IP 地址,改为同一网段

7.ping 虚拟机IP

三、配置yum (使用yum install -y httpd* 来测试是否安装成功)

切换到IP 配置文件

用vi 编辑器打开 1、查看分区大小

测试结果

测试

This article includes some parts, including text,

pictures, and design. Copyright is Pan Hongliang's personal ownership.

用户可将本文的内容或服务用于个人学习、研究或欣赏,以及其他非商业性或非盈利性用途,但同时应遵守著作权法及其他相关6、将光盘/media/Server 里的所有rpm 软件包复制到刚刚创建的/home/software 下 7、显示当前目录路径 8、安装动态链接库 9、利用createrepo 创建动态链接库 10、查看yum.repos.d

11、修改rhel-debuginfo.repo 在根目录新建文件weiqi.txt

删除文件weiqi.txt

法律的规定,不得侵犯本网站及相关权利人的合法权利。除此以外,将本文任何内容或服务用于其他用途时,须征得本人及相关权利人的书面许可,并支付报酬。

Users may use the contents or services of this

article for personal study, research or appreciation, and other non-commercial or non-profit purposes, but at the same time, they shall abide by the provisions of copyright law and other relevant laws, and shall not infringe upon the legitimate rights of this website and its relevant obligees. In addition, when any content or service of this article is used for other purposes, written permission and remuneration shall be obtained from the person concerned and the relevant obligee.

转载或引用本文内容必须是以新闻性或资料性公共免费信息为使用目的的合理、善意引用,不得对本文内容原意进行曲解、修改,并自负版权等法律责任。

Reproduction or quotation of the content of this

article must be reasonable and good-faith citation for the use of news or informative public free information. It

shall not misinterpret or modify the original intention of the content of this article, and shall bear legal liability

such as copyright.