摘要
安装 VirtualBox 虚拟机,选择操作系统版本为 Oracle Linux 6.8
操作系统安装
建议磁盘 30G+ 内存3G+
操作系统安装参考: http://www.oracle-base.com/articles/linux/oracle-linux-6-installation.php
系统包选择开发工具包,其它默认不用改
关闭firewall
关闭SELINUX
具体步骤如下:
1、选择 “Install or upgrade an existing system”
2、选择 “Skip”
3、直接下一步
4、选择语言,默认英语,直接下一步
5、选择键盘,默认英文键盘,直接下一步
6、选择存储类型,直接默认,下一步,选择 “Yes,discard any data”
7、填写主机名和配置网络,下一步
8、时区选择“Asia/Shanghai”,左下角 “System clock use UTC” , 去掉勾选,下一步
9、输入root密码两遍,有可能密码过于简单,会出现提示,选择“anyway”,下一步
10、选择“Use All Space”,并勾选 “Review and modify partitioning layout”,下一步
11、默认,format,write changes to disk,下一步
12、直接下一步
13、下方选择“Customize now”,下一步
14、
Base System > Base
Base System > Client management tools (有些版本没有)
Base System > Compatibility libraries
Base System > Hardware monitoring utilities
Base System > Large Systems Performance
Base System > Network file system client
Base System > Performance Tools
Base System > Perl Support
Servers > Server Platform
Servers > System administration tools
Desktops > Desktop
Desktops > Desktop Platform
Desktops > Fonts
Desktops > General Purpose Desktop
Desktops > Graphical Administration Tools
Desktops > Input Methods
Desktops > X Window System
Applications > Internet Browser
Development > Additional Development
Development > Development Tools
15、reboot
16、Forward -> Forward -> Forward
17、选择 "NO,I perfer to register at a later time",Forward,选择 “NO thanks”
18、Forward -> Yes -> Forward
19、去掉勾选 “Enable kdump”, Finish , Yes ,OK 安装完成。
关闭防火墙:
Rhel 6 及以前的关闭方法
service iptables stop
chkconfig iptables off
Rhel 7 的关闭方法:
查看及关闭防火墙状态。
systemctl status firewalld
systemctl stop firewalld
systemctl disable firewalld
关闭Selinux:(BUg 9746474)
永久关闭:(需要重启服务器才能生效)
vi /etc/selinux/config
SELINUX=disabled
临时关闭:
setenforce 0
验证命令:
getenforce