oracle - Please recommend a way to deploy into a Linux box in a LAN environment -


Have you struggled before Linux deployment?

I use a dedicated Linux box without any network configuration as simple as possible, for different configurations (missing libraries and build tools) and better automatically let me know another The difficulty will be to consider that I have to connect to the Oracle database.

What will be the best way to deploy?

  • I can use Java
    • I will need to install JDK, and most of this will solve it
    • Another major problem is That's the code currently in Java is poorly written and slow.
    • I'm not sure that I need to install installclicks to connect to Oracle under Linux
  • I could use C
    1. Use DPKG to use more
      • The Linux box is most likely a Ubuntu server, but I'm not sure which version Has been installed
      • I can not use the apt-get , but I can copy all the packages I / Li>
      • I know who I am I can use the dpkg -s to check the packages from, but I'm not sure I can remember the dependency.
      • I think
      • and use static linking
        • I configure it ./ With LDFLAGS = -static is configured with no error and it works my computer now
        • I have chroot in this directory and it Runs without any problem, does that mean it's okay?
        • I have to actually check this to ensure a new Linux box
      • and use the statifier
        • I have used Staxhovarflow Browsed and found this app, it has not tried it yet.
        • It seems like people have used it with mixed success.
        • Create a build environment and
          • I do not have any assurance that this is going to work
    < / Li>
  • Use of C leaves some problems
    • But the program is incomplete, I have to process this data, preferably not in C
    • I have to install InstantCLock, which is difficult to deploy
    • I can use Perl
      • I can not use CPAN
      • I've already downloaded the libraries, so maybe I can copy them to the machine posted, I'm not sure how it works
      • Pearl
      • I would like to install instantclient anyway

      Share the value experience.

With static linking to ensure that the solution solves portability problems at the cost of a large executable For that everything is actually statically linked and not secretly relied on any external libraries, run the LDD on your executable and make sure that it is not loading everything dynamically, note that it is different Linux machine Will not be 100% portable because Oracle has certain dependencies on kernel versions of urgency, but it should work on any kind of new kernel.

EDIT: If the box has LAN access and is not just Internet access, do not run your own proper repository on the local network. You can also create a .deb for your application and keep it on the same server, you need to execute your application in comparison to that machine, and it will also pull down your app and any non-installed dependencies Will give Installing a suitable mirror is really very easy and it will be very smart. If everything in the network access is missing, you can still create an installed DVD that has all the debuts including your ab and set apt-get to drag from there.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -