How to compile Oracle Linux source?

I accidentally downloaded source DVD "Oracle Linux Release 5 Update 2 source - DVD" instead of installable ISO image. Is there anyway I can compile it to make bootable ISO image?
I tried to search this forum as well as other places but couldn't find any information hence thought of opening a thread before I proceed to download correct file which will again take 10+ hrs with my Internet speed :(
Any help is highly appreciated. Also I need to know which packages are required to be installed for compiling the source if at all that is possible. I am using Ubuntu 11.10 Desktop.
Thanks in advance for any help and hope to get a reply soon :) I need to urgently install Oracle 11gR2 on it.
Edited by: user6582219 on Apr 12, 2012 1:10 AM
While browsing the forum for any possible solution I came to a thread that discuss installation of a package oracle-rdbms-server-11gR2-preinstall. When searched through search engine I came to know about recent certification Oracle 11gR2 on Oracle Linux 6, here is the link https://blogs.oracle.com/linux/entry/announcing_oracle_database_11g_r2
https://blogs.oracle.com/linux/entry/announcing_oracle_database_11g_r2
Thing is I already have Oracle Linux 6 Update 2 (the latest) installed on my machine in dual boot mode so I dropped the idea of installing version 5.2. As per the documentation 11gR2 was not certified earlier on Linux 6.2 so I thought of installing 5.2 but it is not necessary now.
I would still appreciate if someone could answer my question just for knowing the procedure compiling source. May be it can help someone else trying to achieve this.
I have another couple of important questions and need guidance from the experts over here. I am not sure if it is appropriate to open a new thread but for now I am posting them here.
Before proceeding here are my environment details:
Machine: x86 32 bit with 2 GB RAM/250 GB HD.
OS: Kubuntu 11.10 Desktop and Oracle Linux 6 Update 2 in dual boot mode.
Here are my partition details for your reference but as I am planning to do the installation from the scratch following new ideal scheme you can jump to last paragraph following the line "*********************************" for my questions.
Unfortunately my partition plan went wrong and here is what I have now:
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3d5ba9e1
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1002047 500000 83 Linux
/dev/sda2 151525080 361253654 104864287+ 7 HPFS/NTFS/exFAT
/dev/sda4 1003518 151001087 74998785 5 Extended
/dev/sda5 1003520 7002111 2999296 82 Linux swap / Solaris
/dev/sda6 7004160 11001855 1998848 83 Linux
/dev/sda7 11003904 51001343 19998720 83 Linux
/dev/sda8 51003392 110041087 29518848 83 Linux
Partition table entries are not in disk order
/dev/sda1 here is /tmp, /dev/sda2 is my data partition, I have separate /home / (root) partition for Kubuntu and remianing around 20 GB in extended partition is used for Oracle Linux 6.2 with default Oracle suggested LVM partition. I also have separate /boot for Kubuntu and I chose not to install grub while installing Oracle Linux. I later modified grub.cfg to add entries for Oracle Linux and now I can boot both OSs successfully.
My issue now is I cannot extend 20 GB space (in extended partition) that I have given to Oracle though I have around 40 GB space available. This is because I alreay have 4 primary partitions (one for /boot others for "data" and one extended partition). So I have to make primary partition out of free space and install Oracle in a single partition without following recommended partition layout scheme.
Now I want to do the installation of both the OS from the scratch and really need an advice on partition layout scheme. Here is summary of what I wan to achieve:
1. Keep the "data" partition (primary) intact and carve an ideal partition layout for both the OS with separate /boot, /tmp, /home, swap (and may be for /usr???). Also may be I can share swap?
2. How do I go about using LVM and is it recommended for this case? What would be ideal locations for each partitions and sizes? I already used 100 GB for "data" so now I want to keep 60 GB for Oracle Linux (and Oracle DB for which I will again make few sub-partitions) and remaining will be for Kubuntu.
Well, I am not sure if this is the right place to ask these questions but since I can see very knowlegeable top contributors here that are willing to help novice users I thought of posting these questions.
I would really really appreciate if someone can provide me rough draft of partition scheme in my case considering the sub-partitions needed for Oracle DB. I went thorugh number of forums and documentations to come up with solutuion and finally thought of getting help after much confusion.
I really need to carefully plan this time because it's third time I am doing reinstallation from the scratch because of poor plan I followed previously.
Thank you very much in advance and please let me know in case more information is needed from my side.
Regards,
Ramesh

I accidentally downloaded source DVD "Oracle Linux Release 5 Update 2 source - DVD" instead of installable ISO image. Is there anyway I can compile it to make bootable ISO image?Google will be your best friend for such a question, for instance, "Creating a Custom centos Linux bootable ISO Image". There is no need to duplicate the effort. I recommend you download the correct installation DVD, e.g. 5.8
Thing is I already have Oracle Linux 6 Update 2 (the latest) installed on my machine in dual boot mode so I dropped the idea of installing version 5.2. As per the documentation 11gR2 was not certified earlier on Linux 6.2 so I thought of installing 5.2 but it is not necessary now.So you don't need to install 5.2 anymore, but you want the information how to compile a installation DVD from the 5.2 source anyway?!
I have another couple of important questions and need guidance from the experts over here. I am not sure if it is appropriate to open a new thread but for now I am posting them here.Questions may be important for you, but not necessarily for others. No one will complain if you create a new thread for particular questions or subjects. It is better to separate your topics and questions rather than creating a multi-mega thread, which does little to help anyone else but you. It means more work on your end, but it will be easier for anyone to participate or answer your questions, and it will allow you to better award answers.
Regarding your partitioning questions: It is generally difficult to address such topics in a forum. You are asking for a book of information. My advice is to drop the old fashioned concepts of dual or triple boot options and install Oracle VirtualBox instead. It will make all of these questions obsolete and you can use whatever defaults when installing your virtual machine guest OS. Its a far more superior way of dealing with multiple operating systems on one and the same computer.
I am using Ubuntu 11.10 Desktop.
I need to urgently install Oracle 11gR2 on it.For what it's worth, if you can combine the two source below you should be able to install and run 11gR2 on Ubuntu 11.10.
Install Oracle 11gR2 on Ubuntu Linux 11.04 (64-bit) Howto
Install Oracle 11gR2 on Ubuntu Linux 11.04 (64-bit) Howto
Oracle 11gR2 Express Edition on Linux Ubuntu 11.10 howto
Oracle 11gR2 Express Edition on Linux Ubuntu 11.10 howto
However, check out VirtualBox.

Similar Messages

  • How to compile Oracle java strored procedure in Putty

    I have created a java strored procedure , which would be invoked by oracle function.
    This java stored procedure is get compiled via SQL plus. While compiling by the use of putty , it shows lots of compilation error .
    How to compile Oracle java strored procedure in Putty??

    You'll need to add the j2ee.jar to your classpath. Usually you'll have to add some jars from your app server to your classpath as well.
    For example (using weblogic):
    javac -classpath c:\java\j2ee\j2ee1.3.1\lib\j2ee.jar;c:\tools\appserver\weblogic\wl7.1\lib\weblogic.jar
    HelloServlet.java

  • How to compile Oracle procedure throught ODI procedure

    Hi
    Can any one help me how to compile oracle procedure through ODI11g
    I am awar of that, how to call oracle procedure in ODI and execute it.
    Please help me
    Regards,
    Phanikanth

    You want to know how to compile, or how to call, or both ?
    I don't know for compilation, but call a procedure is simple.
    You juste have to create an ODI Procedure and write the SQL statement like you do in a query editor.

  • How to compile a java source from a java program

    Hi .
    I would like to know how to compile my java source from inside an execution of a java program.
    Is there another way than rather use :
    Runtime.getRuntime().exec("javac myFile"); ?

    you can and cann't use the source code of javac... or maybe use jikes...

  • How to connect Oracle Linux 6 on vmware without GUI

    Hi Guys,
    I've setup Oracle Linux 6 as Vmware Guest (on External Driver) and Windows 7 as Host. And I'm running Oracle EBS R12 on Linux.
    When I'm login to VMWare the Linux starts up with GUI which is just a waste of resources.
    Please let me know how can I run the Linux 6 in text mode on VMWare.
    Regards
    Vijay

    VijayDhapola wrote:
    Hi Guys,
    I've setup Oracle Linux 6 as Vmware Guest (on External Driver) and Windows 7 as Host. And I'm running Oracle EBS R12 on Linux.
    When I'm login to VMWare the Linux starts up with GUI which is just a waste of resources.
    Please let me know how can I run the Linux 6 in text mode on VMWare.
    Regards
    Vijay
    In addition to Dude's comments ... it sounds like you are connecting to your vm machine via the vmware console.   Personally, I treat that console just like I treat the console on my physical servers in my data center.  That is, I don't run down to the data center whenever I need to log on to a linux server.  That's what remote console programs such as putty are for.  I have a suite of 10 linux vm's on my Win7 desktop, and one of my 4 "Prime Directives" is that I access them using exactly the same Windows desktop tools I use to access my physical servers. 

  • How To Compile Valhalla Chat Source Code

    Hey guys, I really need to know how to compile the source code of Valhalla Chat (www.valhallachat.com). If anyone knows how to do this, please post it here or email me at [email protected] I need to make a customized version of Valhalla so thats why i need to know how to compile. Thanks so much!

    It's also bad form to cross post.
    {color:0000ff}http://forum.java.sun.com/thread.jspa?threadID=5277791
    {color}
    Cross posting is rude.
    db

  • How to configure Oracle Linux 6.5 to request ip address from dhcp server

    I have installed Oracle Linux 6.5 (minimal installation) on a virtual machine created on VMware vSphere 5.5.   I have tried to configure dhcp during the installation by editing IPv4 Settings of System eth0 to use Automatic (DHCP) but somehow it does not work.
    Then I changed the ifcfg-eth0 to use static ip address and that works.
    Here is the content of /etc/sysconfig/network:
    NETWORKING=yes
    HOSTNAME=TESTOL
    Here is the content of /etc/sysconfig/network-scripts/ifcfg-eth0 using static ip address:
    DEVICE=eth0
    TYPE=Ethernet
    UUID=xxxxxxxx.xxxx-xxxx-xxxxxxxxxxxx
    ONBOOT=yes
    NM_CONTROLLED=yes
    BOOTPROTO=none
    HWADDR=xx:xx:xx:xx:xx:xx
    IPADDR:##.##.###.###
    PREFIX=24
    GATEWAY=##.##.###.###
    DNS1=##.##.###.###
    DOMAIN:test.com
    DEFROUTE=yes
    PEERDNS=yes
    PEERROUTES=yes
    IPV4_FAILURE_FATAL=yes
    IPV6INIT=no
    NAME="System eth0"
    Based on my understanding, I should able to use dhcp by changing ifcfg-eth0 (I commented the parameters not needed for dhcp by adding #) but I have tried the following ifcfg-eth0 and it does not work:
    DEVICE=eth0
    TYPE=Ethernet
    UUID=xxxxxxxx.xxxx-xxxx-xxxxxxxxxxxx
    ONBOOT=yes
    NM_CONTROLLED=yes
    #BOOTPROTO=no
    BOOTPROTO=dhcp
    HWADDR=xx:xx:xx:xx:xx:xx
    #IPADDR:##.##.###.###
    #PREFIX=24
    #GATEWAY=##.##.###.###
    DNS1=##.##.###.###
    #DOMAIN:test.com
    DEFROUTE=yes
    PEERDNS=yes
    PEERROUTES=yes
    IPV4_FAILURE_FATAL=yes
    IPV6INIT=no
    NAME="System eth0"
    I have also tried to add GATEWAY=##.##.###.### to /etc/sysconfig/network but that does not help.
    I have checked that dhclient package is installed by using rpm -qa dhclient.
    I'm new to Linux.
    Thanks for any help

    If this is your first experience with Oracle Linux, I recommend you perform a default installation instead of going minimal, which is just going to make things more difficult for no good reason. Enterprise Linux is not MS Windows and the difference between default and minimal installations do not compare.
    You also do not want to use the rpm utility to install any software and use yum instead. The yum utility is standard. Rpm does not resolve software dependencies.
    Your ifcfg-eth0 script is missing the line that specifies to use DHCP:
    BOOTPROTO=dhcp
    You can also use the network configuration utility, even in text mode, by typing the following at the command prompt of root:
    system-config-network
    If the above utility is not installed:
    yum install system-config-network-tui
    You will have to configure an appropriate yum repository file. The process is explained in the Oracle Linux release notes:
    https://oss.oracle.com/el6/docs/RELEASE-NOTES-U5-en.html
    See 3.2.3. About Oracle Linux Installation Media
    Then insert the DVD or attach the DVD iso image to your virtual machine and mount it as following:
    mkdir -p /media/ISOimage
    mount /dev/cdrom /media/ISOimage
    The path "/media/ISOimage" should be the same as you specified in the yum repository file.
    After that you can use the yum utility to list or install software.

  • How stable is Oracle Linux 4.5?

    I have installed Oracle Linux kernel-smp-2.6.9-55.0.0.0.2.EL.
    it crashes once a week. Does anyone else experience the same problem?
    Upon install, installer automatically installed another kernel
    kernel-hugemem-2.6.9-55.0.0.0.2.EL with only 2G of memory.
    The machine runs 3 instances of Oracle 9.2.0.8 and they die from time to time also, without any error in alert log or system log.
    Probably, machine is a junk, just reqular PC.
    So, does anyone runs the combo for months without any problems?
    Thanks.

    Hi,
    No log data to analyze.As you mentioned that the machine just shipped with 2G memory.It must be experienced low memory pressure.You can set vm.lower_zone_protection=100 and monitor the machine.
    Regards
    Terry
    Message was edited by:
    terry.liu

  • How to Create Oracle Linux 5.7 64 bit Bootable DVD

    Hi Guru's,
    I have downloaded the OEL 5.7 64 bit from E-delivery.
    Below are the 2 zip filesV27570-01.zip and V27572-01.zip.
    I have extracted the V27570-01.zip and it's contained another zip called 'OracleLinux-R5-U7-Server-x86_64-dvd.iso'.
    If I extract the 'OracleLinux-R5-U7-Server-x86_64-dvd.iso' file then following folders and files exists.
    Folders - Cluster,ClusterStorage,images,isolinux,Server,VT.
    Files - .discinfo,.treeinfo,blafdoc.css,EULA,eula.en_US,eula.py,GPL etc.
    Could you please help me to create a bootable DVD for OEL 5.7 64 bit.
    Shall i just burn the DVD with OracleLinux-R5-U7-Server-x86_64-dvd.iso zip file?
    I am unable to understand how to create the bootable DVD for OEL 5.7 using those two zip files(V27570-01.zip and V27572-01.zip).
    Somebody can help me step by step to create a bootable DVD for OEL 5.7.
    Thanks in advance

    What possible reason could there be to install OL 5.7 since 5.9 is already available?
    Anyway, you do not need the source distribution or any boot CD. The standard installation DVD (V36332-01) is bootable and contains the necessary installation packages.
    If the download file has a .zip file name extension you need to unzip the ISO image before burning it to DVD. The download of version 5.9 is no longer zipped. In any case, before burning the ISO image file, make sure the file you download is not corrupted. You can check the "View Digest" page from the Oracle edelivery software download page and verify the checksum with the file you downloaded.
    The checksum must match, otherwise the downloaded file cannot be used.
    Under Microsoft Windows, see the following knowledgebase article:
    http://support.microsoft.com/kb/841290
    Under Linux and Mac OSX:
    $ openssl sha1 oracle_linux.iso
    To burn the ISO image:
    http://windows.microsoft.com/en-US/windows7/Burn-a-CD-or-DVD-from-an-ISO-file
    For Apple Mac OS X and older versions of MS Windows:
    http://www.wikihow.com/Burn-ISO-Files-to-DVD
    If you use any Type 2 virtualization software, such as VirtualBox, you do not need to burn any DVD and can use the ISO file directly.

  • How connect the oracle/Linux using ODBC

    I want to connect the Oracle which install on Linux using Odbc, so my win98 machine can connect with the oracle.
    But I don't know how to do ? May I install some Odbc driver in the Linux machine? and install odbc driver in my win98 machine?
    my email: [email protected]

    You may use this way:
    1. Start on the server (Linux) Net*8 listener (lsnrctl start)
    2. Install on the client (win98) Net*8 and configure it (Net8 Easy Configuration)
    3. Install on the client (win98) ODBC drivers for ORACLE (by ORACLE or others) and configure it

  • How to compile in Java Source???

    Hello,
    I'm studying a way to compile java files to class files in the java source. I have use the sun.tools.javac.Main to do this, but I have noticed that it aint recomended to use. I also wan't to get the possible errors from the compiler (if java file was wrongly made). The problem using the sun.tools.javac.Main is that it won't guarantee that it works in every platform or in future releases of JDK. Does the JDK 1.4 even support it? (My IDE environment prevents to use JDK 1.4). So the question is: is there a way to compile on the fly (to memory or to class files)? Do I really have to run some external process that compiles the file and then try to get somehow possible errors? That seems to me litle too indecent to use. Any suggestions?
    Thanks,
    Petri Tuomaala

    Hi guys,
    I have also needed to compile Java source from within a Java application. Here is the best solution I came up with:
    Process proc = Runtime.getRuntime().exec( "
    C:\\Temp\\Jikes -bootclasspath C:\\jdk\\jre\\lib\\rt.jar C:\\Java\\com\\sts\\utility\\Utility.java" );
    BufferedReader br = new BufferedReader( new InputStreamReader( proc.getErrorStream() ) );
    String line = null;
    while( (line = br.readLine()) != null ) {
    System.out.println( line );
    proc.waitFor();
    I used Jikes http://oss.software.ibm.com/developerworks/opensource/jikes/ because it compiled my source quicker than Javac did - 250 millseconds for Jikes compared to 2750 milliseconds for Javac.

  • How to recompile oracle linux kernel ?

    Hello
    I m trying to install a wireless usb card to my linux OEL5 when i compile ndiswrapper i getting this message :
    [root@edf1r1p8 ndiswrapper-1.56]# make install
    make -C driver install
    make[1]: Entering directory `/root/Desktop/ndiswrapper-1.56/driver'
    *** WARNING: This kernel uses 4K stack size option
    (CONFIG_4KSTACKS); many Windows drivers will not work
    with this option enabled. Disable CONFIG_4KSTACKS
    in kernel's .config file, recompile and install kernel
    What should i do to recompile the kernel ?
    Thanks
    b

    Please post the output of the following command:
    # uname -r
    Recompiling the kernel is a comprehensive procedure. I would try this only as a very last resort.
    OEL like any other enterprise linux distribution are not designed for laptops or mobile computing, and therefore will have have limited support for your computer. You might have more success using a desktop Linux distribution such as Fedora or Ubunto. If you have to run enterprise Linux on unsupported hardware, try Virtualbox http://www.virtualbox.org/
    Regarding Wifi, you could try the following as root:
    Check http://elrepo.org/tiki/tiki-index.php
    # rpm -Uvh http://elrepo.org/elrepo-release-5-1.el5.elrepo.noarch.rpm
    -> edit /etc/yum.repos.d/elrepo.repo and enable each section by setting enabled=0 to enabled=1
    To install ndiswrapper and ndiswrapper-utils after you enabled above repository:
    # yum install install kmod-ndiswrapper
    Load the ndiswrapper module into the kernel:
    # modprobe ndiswrapper
    Loading your Windows drivers can then be done using the commandline (as root):
    # ndiswrapper -i /path/to/windows-drivers/hardware.infBtw, if you succeed installing your wireless card driver: Configure Wireless in OEL 5 Howto
    Edited by: Dude on Nov 26, 2010 1:42 PM

  • How to download oracle linux 6 packages ?

    hi,
    my system have no access to the internet. How do i download the packages ?
    compat-libcap1-1.10
    compat-libstdc++-33-3.2.3

    Moderator Action:
    This thread is locked.
    It is the same question you asked in your other (active) thread:
    https://community.oracle.com/thread/2621118
    Multiple postings of an inquiry will only fragment information and it will quickly get lost.
    As for how to get files?
    You use a computer that has the proper outside access, then you copy the downloads to transportable media such as a CDR or DVD-R disk, then you move the files to the system where you eventually need them.

  • How to use LDAP authentication in Oracle Linux

    Hi All,
    In Oracle Linux 2.6.18-194 el5, goes to system->Administration->Authentication, enabled LDAP in both User Information and Authentication, tried to use network user account information to log in the linux machine but it did not work.
    The login screen waits over 10 minutes after enter username and password each and then says usename and password is not corrent.
    LDAP Settings only asked two information LDAP Search Base on and LDAP Server. We have another application which uses same LDAP server works fine.
    How to make Oracle linux server as LDAP client for user longin?
    Tanks in advance for yur help.

    I have no idea, but you might find it helpful to read Redhat's documentation concerning this subject:
    http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Deployment_Guide/ch-ldap.html

  • Oracle Linux 6.4 installs, runs, and manual shutdown OK ...  but restarts itself after 10 minutes or so

    Hi Guys
    Successfully installed Oracle Linux 6.4 operating system , which subsequently runs as expected.
    When Oracle Linux 6.4 is shutdown using  standard GUI  system/shutdown ,
    it does a clean shutdown and power-off as expected  ....
    UNTIL some 10 minutes or so later , when Oracle Linux 6.4 reboots all by itself from a fully powered-down state.
    Likewise when Oracle Linux 6.4 is shutdown using  standard command line " shutdown -h now" ,
    it does a clean shutdown and power-off as expected  ....
    UNTIL some 10 minutes or so later , when Oracle Linux 6.4 reboots all by itself from a fully powered-down state.
    Clearly it is NOT desirable to have the operating system able  restart of it's own accord.
    A manual shutdown is typically  done for good reason , and the server should remain shutdown.
    The previous version, ie Oracle Linux 6.3 did not exhibit this behavior.
    When Oracle Linux 6.3 was shutdown, it stayed shutdown
    Question
    ======
    Does anyone know how to STOP Oracle Linux 6.4 from restarting itself after a successful shutdown ?
    Thanks
    Bruce

    Does anyone know how to STOP Oracle Linux 6.4 from restarting itself after a successful shutdown ?
    Assuming your network interface is eth0, execute "$ ethtool eth0", like below, and indicate what you get for the lines "Supports Wake-on" and "Wake-on.
    lx04:/root $ ethtool eth0
    Settings for eth0:
            Supported ports: [ TP ]
            Supported link modes:   10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Full
            Supported pause frame use: No
            Supports auto-negotiation: Yes
            Advertised link modes:  Not reported
            Advertised pause frame use: No
            Advertised auto-negotiation: Yes
            Speed: 1000Mb/s
            Duplex: Full
            Port: Twisted Pair
            PHYAD: 0
            Transceiver: internal
            Auto-negotiation: on
            MDI-X: Unknown
            Supports Wake-on: pg
            Wake-on: d
            Current message level: 0x0000003f (63)
                                   drv probe link timer ifdown ifup
            Link detected: yes
    Then check in your BIOS (usually under APM) for any enabled power-on settings associated with PCI or PCIe bus (your NIC will use one or the other).

Maybe you are looking for

  • I want to use .mov files on a pc

    I'm trying to play movie files I've created in Final Cut on PowerPoint in a PC. I've used Compressor to create different sizes of the movies, and iSkysoft Video Converter to make mpeg and wmv files. However, when I actually get the files to a PC, pro

  • GR non valuated check box in PO

    Dear All, Our client has created a PO for Asset (Acct Assignment A) and Multiple acct assignment given in item detail. After making GRN found that Accounting entry is not there. When checked in PO GR-non valuated check box is checked. After cancellin

  • Differences between 4.6c and 4.7

    friends i hav not worked on 4.7,please provide me the progrmatical difference in reports,bdc scripts,mpool pgming?please provide me in depth like gui -upload inplace of upload or ws-upload.

  • Problem with Text Messages

    Hi, I have a 5530 XpressMusic phone with around 4000+ text messages saved on the memory card. Whenever the number of text messages increases above approximately 3500+ messages, the new text message alert stops appearing, no tone or vibration alerts.

  • Error in transformation steps

    Hi I have a scenario where i need to send to source messages  to ont target message ,I am tring to do using BPM. I have used steps 1)recive step to recive the file(I am giving here 1 msg type from two) 2)Transformation step to transform two sources t