Oracle Linux Installation
This section we explains how to install Oracle Enterprise Linux.
Ensure you have enough hard disk space (10Gb) and memory (4GB)
Check your BIOS settings.
Where to Download Oracle Linux
1. Download Oracle Enterprise Linux from https://edelivery.oracle.com. Sign In, Search for Linux, Select the platform, Click Continue and Download
2. Click on the link Select Alternate Release to download an older version. This installation, we are using Oracle Linux 7. Click Continue
3. Disable the source and Boot files unless you need and enable the first one and Click Download.
4. Once downloaded, Write the downloaded ISO in a CD
Oracle Linux Installation
1. On the Oracle Linux CD is booted. Click the Install Oracle Linux
2. Select the Language and Country. Click Continue
3. A Warning symbol will appear If any errors in the component. Click on each component to verify its right. Click Begin Installation.
4. Click on the ROOT PASSWORD to create a password for root. The root password is the admin password for Linux (Administrator in Windows).
Click on the USER CREATION to create a user account to log into Linux box
Between you input these things, the installation goes behind the screen as shown in the arrow mark.
5. You will see the Installation Complete message. Click REBOOT. Oracle Linux Installation is completed now.
6. The system will reboot. Login with the username and password you created earlier
7. Login into root by type su –
Useful Oracle Linux Commands
To Stop Firewall: service firewalld stop
To Start Firewall: service firewalld start
To check status: service firewalld status
Verify Hostname status: hostnamectl status
Change Hostname: hostnamectl set-hostname govindan.catgovind.com
Note: Also update the new hostname in /etc/hosts
Verify IP address: /sbin/ifconfig
Edit Static IP: Edit the file
Restart Internet: service network restart
4. Set SELinux mode to permissive mode
To Set Permissive Mode: setenforce 0
To Check status of mode: getenforce
5. Create User and Group
In the below command, the number 9000 and 8000 are GID. We can give any number, It is useful if the same group or user are shared across multiple servers.
To Create Group: groupadd -g 9000 dba
To Delete Group: groupdel dba
To Create user: useradd -G dba -u 8000 oracle
To set password : passwd oracle
To delete user: userdel oracle
The views expressed on this blog are my personal views and do not necessarily reflect the views of my employer.
Please feeling free to reach me on any comments and feedbacks you have. Would be more than glad to listen and reply 🙂
Latest posts by Govind
- JSF Login Logout Form Authentication Example - October 16, 2017
- How to Bookmark URL in JSF using GET method and ViewParam – example - October 14, 2017
- JSF Dynamic Navigation and how to use wildcard in navigation - October 12, 2017