Solved

How to: Porting applications from development machine to hardened server.

Posted on 2006-10-30
3
260 Views
Last Modified: 2013-12-27
Hi,

I am in the process of porting one of our management/metrics systems from Linux to Solaris (SPARC v9). I have moved everything over to a Solaris development system, which is identical to the hardened server on which this system will ultimately reside, but it also has gcc, make, and all the other required tools for compiling/building source. My question is: how do I go about moving the applications over to the server? I don't imagine it could be as clear cut as copying over the directory structure and files. In addition to others, I will be moving Perl, PHP, Apache, and RRDtool. Is there a standard approach to accomplishing this, or does it vary from product to product?

I appreciate any and all help.

Thanks,
Jeff
0
Comment
Question by:jpetter
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
bpeterse earned 500 total points
ID: 17835319
Perl should already be on your standard Solaris 9 box.  I assume these applications programmed to deliver through php & apache.  I would download distros of each from http://www.sunfreeware.com/indexsparc9.html and http://oss.oetiker.ch/rrdtool/index.en.html and compile them on the new box.
You might have to add a few more packages for RRDtool, but the README file should tell you all you need before you compile.

For the applications, as long as you've compiled and installed the php,apache and RRDtool into the same directories as on the original box, and you're developers haven't hardcoded any URL into their code, you can tar up the application directory structure and lay it down in the same spot on the new box.
0
 

Author Comment

by:jpetter
ID: 17835408
bpeterse,

Perl is on the Solaris 9 box, but since I don't have Sun's C compiler that was used to build it, I can't add any modules, so I brought down the latest from http://www.perl.com, compiled it on the development box, and then added the modules I need. This version I have to push over to the new box. And as you've suggested, I have brought down the distros and compiled then on the Solaris 9 box...now I have to move them over to the hardened server.

I think you gave me what I was looking for in your suggestion to tar up the directory and copy it over to the new box. Let me give that a try, and I'll get back.

Thanks,
Jeff
0
 

Author Comment

by:jpetter
ID: 17836730
That did the trick.

Thanks,
Jeff
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
netstat -a in AIX unix 8 47
Compare if date string is within text file 3 63
unix scripting question 1 104
Java core in Solaris 10 1 295
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question