Solved

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

Posted on 2006-10-30
3
239 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
Comment Utility
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
Comment Utility
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
Comment Utility
That did the trick.

Thanks,
Jeff
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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 …
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.:

762 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

11 Experts available now in Live!

Get 1:1 Help Now