Creating Public/LocalYum Repository in Oracle Enterprise Linux
Recently i thought of giving a try to Oracle Enterprise Linux since it is supported by Oracle corporation for its Oracle Database and other products distributed by Oracle.
Well we all know Oracle Enterprise Linux is a rebuild just Like Cent-OS so it is more or less same as Red Hat Linux. But the thing was when i tried using yum it was not working as usual. So i gone for creating a local yum repository but they have actually remove the configuration file under /etc/yum.repos.d . So what to do next i gone to there website they ask me to register the product but since i am not using it for commercial purpose i don”t find it purposeful to buy a 1 year license. So how to use the Yum in Oracle Enterprise Linux.
You may create a local yum repository or a public repository. We recommend using public repository in case you not using it for commercial purpose.
-
Local Yum Repository
You need to create a repo file under the /etc/yum.repos.d since it is a rebuild so it should work. You can create a yum file by following the steps as shown below:
- You need to navigate to the /etc/yum.repos.d directory
# cd /etc/yum.repos.d
- Next you need to create a .repo file i have created the default server.repo file here
# vi server.repo
- Just copy the following contents to this file (more…)
