Solved

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

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

777 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