Solved

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

Posted on 2006-10-30
3
246 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
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…

867 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now