Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 09-24-2006, 03:50 PM   #1
Registered: Nov 2003
Distribution: centos 4.4
Posts: 94

Rep: Reputation: 15
moving software to prod server

i have some software that don't have rpms so i need to do
./configure --prefix=
make install

I don't want the compilers and other build tools on my production machine. If i do the build process on my test machine and then tar up the directory the application was installed in, can i expect it to work if i untar it on my prod machine?

For example, if i build apache how i like it on test, can i tar the entire directory, move it to prod, and have it work? How identical does the hardware on the 2 machines need to be? Is it fine as long as the base OS is the same? Do both machines need the same type of CPU, for instance both run AMD or both run Intel?
Old 09-25-2006, 05:24 PM   #2
Senior Member
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
The best approach is to build your own RPMs - you can either use the standard tools, or "checkinstall" which monitors the compilation process and builds a matching RPM.

Software tends to install files in multiple places, so if you just tar up a directory you will miss things. For example, the httpd RPMs install init scripts and configuration files to provide automatic log rotation as well as executables.

FWIW, AMD CPUs are "Intel-compatible". These days the biggest incompatibility prblem is between 32-bit Intel-compatible CPUs and 64-bit (AMD64 and Intel "EMT").



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
So where push, prod, pry, buy, etc... ? gdmellott Programming 2 09-04-2006 04:55 AM
Moving a software raid to a new computer phil.d.g Linux - General 2 06-03-2005 09:11 AM
installing security patches on prod servers. juanb Linux - Software 0 08-19-2004 04:40 AM
modprobe question: vendor? Prod? ohlarikd Linux - Hardware 7 03-23-2004 05:17 PM
Moving software from /root DrDoc Linux - General 1 04-28-2002 01:06 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration