Oracle Linux/Installing
(→Network Config) |
|||
Line 18: | Line 18: | ||
Make sure your hostname is defined in /etc/sysconfig/network | Make sure your hostname is defined in /etc/sysconfig/network | ||
HOSTNAME=server.fqdn.com | HOSTNAME=server.fqdn.com | ||
+ | Also for the network config, put your FQDN in the hosts file @ /etc/hosts | ||
+ | 127.0.0.1 server.fqdn.com | ||
+ | ::1 server.fqdn.com | ||
====connect on boot==== | ====connect on boot==== | ||
By default the network interface comes turned off on boot. | By default the network interface comes turned off on boot. | ||
Line 33: | Line 36: | ||
Change it so it automatically starts and connects on boot | Change it so it automatically starts and connects on boot | ||
ONBOOT=yes | ONBOOT=yes | ||
− | |||
==Setup yum Repo== | ==Setup yum Repo== |
Revision as of 20:08, 28 April 2014
Installing
Contents |
Downloading
Direct Download links are available:
https://wikis.oracle.com/display/oraclelinux/Downloading+Oracle+Linux
I downloaded from the US source:
http://mirrors.wimmekes.net/pub/iso/
Installation
In VMWare, you'll probably need to add the keyboard value in the VM config due to duplicate keystrokes. Check out the CentOS advise, same applies
Network Config
If you installed the basic package, most likely the NIC is not configured for DHCP. try:
User ~ $ system-config-network
Once DHCP is configured, the next step is to restart the NIC.
User ~ $ ifdown eth0 User ~ $ ifup eth0 Determining IP information for eth0... done. User ~ $ifconfig eth0
Make sure your hostname is defined in /etc/sysconfig/network
HOSTNAME=server.fqdn.com
Also for the network config, put your FQDN in the hosts file @ /etc/hosts
127.0.0.1 server.fqdn.com ::1 server.fqdn.com
connect on boot
By default the network interface comes turned off on boot.
~$ sudo cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 HWADDR=00:0c:29:4f:09:c8 TYPE=Ethernet UUID=5eed1f7e-74da-4841-b03b-3d4cc0812ade ONBOOT=no NM_CONTROLLED=yes BOOTPROTO=dhcp USERCTL=no PEERDNS=yes IPV6INIT=no
Change it so it automatically starts and connects on boot
ONBOOT=yes
Setup yum Repo
https://blogs.oracle.com/wim/entry/setting_up_oracle_linux_6
# cd /etc/yum.repos.d # wget http://public-yum.oracle.com/public-yum-ol6.repo # yum repolist # yum update