This instructions optionally include adding an extra mount point, enabling NFS, and installing VNC for remote GUI connectivity.
Create an EC2 Instance
1. Login to the AWS Management Console at:
https://us-west-2.console.aws.amazon.com/console/home
2. Click on "EC2" on the left-hand menu

3. Navigate to Instances > Launch Instance
4. "Select" the Red Hat Enterprise Linux 7.1 instance type
5. Select an instance type (e.g., t2.medium)
6. Click on "Next: Configure Instance Details"
7. Keep all defaults
8. Click on "Next: Add Storage"
9. Click on "Add New Volume"
10. Enter the size of "10" for 10GB
11. Click on "Next: Tag Instance"
12. Enter the name of your instance (just a name, e.g., "My Oracle Server")
13. Click on "Next: Configure Security Group"
14. Provide a Security Group name and description, and add the firewall rules you want to allow

16. Click on "Launch" after reviewing the settings

17. Enter a new key pair name, download key pair, and click on "Launch Instances"

18. Click on "View Instances" and the instance should be up in a few minutes

Create an Elastic IP
19. Click on "Elastic IP" on the left-hand menu
20. Click on "Allocate New Address"
21. Click on "Yes, Allocate"
22. Click on "Close"
23. Right-click on the IP address and select "Associate Address"
24. Click on the Instance field and select your EC2 instance from the list
Create a Putty PPK File for SSH Access
25. Follow these instructions to convert the downloaded .pem file to a Putty compatible .ppk file
26. Login to the server via Putty or equivalent SSH client as the "ec2-user"
27. Then type sudo su - to login as the root user
Setup the Linux Server
yum install telnet
yum install wget
yum install gcc
yum install gcc-c++
yum install glibc-devel
yum install libaio
yum install libaio-devel
yum install sysstat
yum install libstdc++-devel
yum install compat-libstdc++
yum install compat-libstdc
29. Define a hostname
hostname oradev.raastech.com
30. Type the following to get your local IP address
ifconfig -a | grep broadcast | awk '{print $2}'
31. Edit the local hosts by typing vi /etc/hosts file and manually add your public and private IP addresses and a hostname of your choosing
52.27.XXX.XXX oradev-ext.raastech.com oradev-ext
172.31.XXX.XXX oradev.raastech.com oradev
32. Create the Oracle unix user
groupadd oinstall
groupadd dba
useradd nobody
useradd -c "Oracle Software Owner" -g oinstall -G dba oracle
passwd oracle
33. Edit the profile for both the 'root' and 'oracle' users to something more readable
vi /root/.bash_profile /home/oracle/.bash_profile
34. Add the following and save the file
export PS1="\u@\h:\$PWD> "
alias ls='ls'
alias ll='ls -l'
35. Edit the sysctl file
vi /etc/sysctl.conf
36. Add the following and save the file, updating the hostname and domainname accordingly
# Controls the maximum shared segment size, in bytes
kernel.shmmax = 68719476736
# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 4294967296
# Controls the default maxmimum size of a mesage queue
kernel.msgmax = 65536
# Controls the maximum size of a message, in bytes
kernel.msgmnb = 65535
# Semaphores: semmsl, semmns, semopm, semmni
kernel.shmmni = 4096
kernel.sem = 256 32000 100 142
fs.file-max = 6815744
fs.aio-max-nr = 1048576
kernel.hostname = oradev.raastech.com
kernel.domainname = raastech.com
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default=262144
net.core.wmem_default=262144
net.core.rmem_max=4194304
net.core.wmem_max=1048576
kernel.msgmni = 2878
37. Load the sysctl settings
sysctl -p
38. Edit the configuration for the pam_limits module
39. Add the following to the bottom and save the file
oracle soft nofile 4096
oracle hard nofile 65536
oracle soft nproc 2047
oracle hard nproc 16384
Add an Extra 10GB Mount Point (optional)
mkdir -p /u01
chown oracle:oinstall /u01
41. Add the extra EC2 volume and mount it
echo "View available disks"
lsblk
echo "Confirm that /dev/xvdb is a 'data' volume"
file -s /dev/xvdb
echo "Create file system, all data will be lost in it"
mkfs -t ext4 /dev/xvdb
echo "Backup fstab and edit it"
cp /etc/fstab /etc/fstab.orig.20150528
echo "/dev/xvdb /u01 ext4 defaults,nofail 0 2" >> /etc/fstab
echo "Mount /u01"
mount /u01
chown oracle:oinstall /u01
echo "Confirm that /u01 is mounted and available"
df -m
Install an NFS Server (optional)
42. Install the necessary NFS packages
yum install nfs-utils
43. Create a share folder
mkdir -p /u01/share
chown oracle:oinstall /u01/share
44. Edit the /etc/exports file
vi /etc/exports
45. Add the following and save the file (the hostnames denote which clients should have access)
/u01/share oraclient1.raastech.com(no_root_squash,rw,sync)
/u01/share oraclient2.raastech.com(no_root_squash,rw,sync)
46. Start the NFS server
service rpcbind start
service nfs start
47. Open port 2049 on the local firewall to allow remote NFS access to other EC2 instances
service firewalld start
firewall-cmd --permanent --zone=public --add-port=2049/tcp
firewall-cmd --reload
Configure the NFS Clients (optional)
48. On the client servers, run the following commands
yum install nfs-utils
telnet soadb.raastech.com 2049
mkdir -p /u01/share
chown oracle:oinstall /u01/share
sudo echo "oradev.raastech.com:/u01/share /u01/share nfs defaults 0 0" >> /etc/fstab
mount /u01/share
df -m
Install and Configure the VNC Server (optional)
49. Install the required VNC packages
yum groupinstall 'Server with GUI'
yum install tigervnc-server
yum install xclock
50. Open up the VNC port 5901 for remote access
firewall-cmd --permanent --zone=public --add-port=5901/tcp
firewall-cmd --reload
51. Start the VNC server
vncserver :1 -geometry 1280x720 -depth 16
52. Edit the profile script
vi /root/.bash_profile
53. Add the following and save the file
xhost +
54. Edit the profile script of additional unix users that will require GUI access
vi /home/oracle/.bash_profile
55. Add the following
export DISPLAY=:1
56. Connect via a VNC client such TightVNC on port 1
Applicable Versions:
- Amazon Web Services (2015)
- Red Hat Enterprise Linux 7.1 64-bit

28 comments:
Comprehensive and unified set of components seamlessly integrates on premises and cloud applications and services. Rapidly provision, deploy, manage and connect your Mark Hurd Oracle and 3rd party applications to reduce complexity and achieve one connected enterprise…..
I admire the valuable information you offer in your articles. I will bookmark your blog and have my friends check up here often. I am quite sure they will learn lots of new stuff here than anybody else! Regards aws jobs in hyderabad.
It is really a great work and the way in which you are sharing the knowledge is excellent.Thanks for your informative article
Aws Online Training
Nice Information about Provisioning an AWS instance for general Oracle software my sincere thanks for sharing this post
AWS Training in BTM Layout
The solving of data problems become very easy for everyone by making of this activewizards.com which is make the data scientist availability very easy for everyone. Because the best data scientist always help you to manage your big and huge data which is not managed by you.
Nice blog has been shared by you. before i read this blog i didn't have any knowledge about this but now i got some knowledge so keep on sharing such kind of an interesting blogs.
Weblogic Admin Training
Madhuvahini Houseboat Service is the new initiative being launched by Malabar tourism management @ Bekal, Nileshwar, Kasaragod, Kannur, Calicut, Manglore. 1HR, 2HR, Sunset, Dinner, Overnight, Day Night Cruise Available. Life is Better on Boats to explore the area of backwaters and offer Kerala traditional Home and Boat Stay Service.
I Just Love to read Your Articles Because they are very easy to understand.Very Helpful Post And Explained Very Clearly About All the things.Very Helpful. Coming To Our Self We Provide Restaurant Equipment Parts Through Out US At Very Affordable Prices And Also We Offer Same Day Shipping In US.We Offer Only Genuine Products.Thanks For Posting.HAve a Nice Day!
PLC Training in Chennai | PLC Training Institute in Chennai | PLC Training Center in Chennai | PLC SCADA Training in Chennai | PLC SCADA DCS Training in Chennai | Best PLC Training in Chennai | Best PLC Training Institute in Chennai | PLC Training Centre in Chennai | PLC SCADA Training in Chennai | Automation Training Institute in Chennai | PLC Training in Kerala
Informative Post! Thank you such a great amount for sharing. This pretty post, it was so great to peruse and helpful to enhance my insight as refreshed one, continue blogging... Vendor Reconciliation | CA Firms | Warehouse Audit
Thankful for the Informative Post The Best article, Bala Guntipalli
Whatever We Are Gathering the information from the blogs,we have to keep on updating it,Chicago Immediate care in Chicago.By getting them into one place.Really thanks for posting.Very Thankful for the Informative Post.Really Thanks For Sharing.
This Blog Provides Very Useful and great Information. United States Medical Licensing Examination Thanks for sharing.
AWS Training in Bangalore - Live Online & Classroom
myTectra Amazon Web Services (AWS) certification training helps you to gain real time hands on experience on AWS. myTectra offers AWS training in Bangalore using classroom and AWS Online Training globally. AWS Training at myTectra delivered by the experienced professional who has atleast 4 years of relavent AWS experince and overall 8-15 years of IT experience. myTectra Offers AWS Training since 2013 and retained the positions of Top AWS Training Company in Bangalore and India.ACC
IOT Training in Bangalore - Live Online & Classroom
IOT Training course observes iot as the platform for networking of different devices on the internet and their inter related communication. Reading data through the sensors and processing it with applications sitting in the cloud and thereafter passing the processed data to generate different kind of output is the motive of the complete curricula. Students are made to understand the type of input devices and communications among the devices in a wireless media.
thanks for sharing
Software Testing Training In Chennai
Nice post keep do posting The Info was too good, for more information regarding the technology Click
Amazon web Services Training
Salesforce certification Training program
Salesforce Training online in India
Amazon Web Services (AWS) is the most popular and most widely used Infrastructure as a Service (IaaS) cloud in the world.AWS has four core feature buckets—Compute, Storage & Content Delivery, Databases, and Networking. At a high level, you can control all of these with extensive administrative controls accessible via a secure Web client.For more information visit.
aws online training
I have read your blog its very attractive and impressive. I like it your blog.
Best AWS training in marathahalli bangalore
Excellent post and it provides me with useful pieces of information. I took my AWS course in Bangalore from TIB Academy. this article makes my day
Hi again, really good to see your post in a google search. Get the Best AWS Training in Bangalore from TIB Academy. Enquire now: 9513332301 / 02
This post has helped to Amazon web services learners. I have collected a lot of key points through your post which is very useful for our future career. Thank you so much.
best Aws training institutes in Bangalore
i read the above notes and clarify my doubts very well.in this information i observe lot of things about how to study.thanks a lot.
Blue Prism Training in Chennai
Blue Prism course in Chennai
RPA Training in Chennai
Robotics Process Automation Training in Chennai
UiPath Training in Chennai
UiPath Courses in Chennai
Blue Prism Training in Velachery
Blue Prism Training in Tambaram
Hi, I am a big follower of your blog. Really very informative post you shared here. Keep sharing this type of informative blog. Waiting for your next update. If anyone wants Duplicate Payment Audit
Continuous Monitoring
Vendor Audit
AR Customer Helpdesk
Get the Best AWS Training in Bangalore with good infrastructure and placement assistance along with resume building help. Enquire now to get the well structured AWS Course in Bangalore.
Thanks For sharing Your information The Information Shared Is Very Valuable Please Keep updating Us Time Just Went On Redaing The Article Python Online Course Devops Online Course Data Science Online Course Aws Science Online Course
Post a Comment