Solved

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

Posted on 2006-10-30
3
266 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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…
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.

726 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