I have installed apache2 on Solaris machine with the binary. So i dont want to install the same binary across all the systems but only want to copy the lib files and the files which have been updated in this installation process.
So in order to get those lib files and then prepare a tar package it will be easier to extract this tar on all machines.
Can you please guide me on how to proceed further.
So in the installation process, i have run the below.
Quote:
./configure, make and make install
So if we go to /usr/local/apache2 you can see
Quote:
unix@test1 >ls -la /usr/local/apache2
total 54
drwxr-xr-x 15 root root 512 Sep 24 18:03 .
drwxr-xr-x 23 root root 512 Sep 24 17:08 ..
drwxr-xr-x 2 root root 512 Sep 24 17:10 bin
drwxr-xr-x 2 root root 512 Sep 24 17:11 build
drwxr-xr-x 2 root root 512 Sep 24 17:10 cgi-bin
lrwxrwxrwx 1 root root 16 Sep 24 18:03 conf -> /opt/apache/conf
drwxr-xr-x 4 root root 512 Sep 24 17:10 conf.bak
drwxr-xr-x 3 root root 1024 Sep 24 17:10 error
drwxr-xr-x 2 root root 512 Sep 10 17:57 htdocs
drwxr-xr-x 3 root root 3584 Sep 24 17:10 icons
drwxr-xr-x 2 root root 3072 Sep 24 17:10 include
drwxr-xr-x 4 root root 512 Sep 24 17:08 lib
drwxr-xr-x 2 root root 512 Sep 24 18:04 logs
drwxr-xr-x 4 root root 512 Sep 24 17:11 man
drwxr-xr-x 14 root root 5632 Sep 10 17:57 manual
drwxr-xr-x 2 root root 1536 Sep 24 17:09 modules
unix@test1 >cd /usr/local/apache2/bin
unix@test1 >ls -la
total 3256
drwxr-xr-x 2 root root 512 Sep 24 17:10 .
drwxr-xr-x 15 root root 512 Sep 24 18:03 ..
-rwxr-xr-x 1 root root 85724 Sep 24 17:09 ab
-rwxr-xr-x 1 root root 3428 Sep 24 16:43 apachectl
-rwxr-xr-x 1 root root 7058 Sep 24 17:08 apr-1-config
-rwxr-xr-x 1 root root 6478 Sep 24 17:08 apu-1-config
-rwxr-xr-x 1 root root 22649 Sep 24 16:43 apxs
-rwxr-xr-x 1 root root 24896 Sep 24 17:09 checkgid
-rwxr-xr-x 1 root root 8921 Sep 24 16:43 dbmmanage
-rw-r--r-- 1 root root 978 Sep 24 16:43 envvars
-rw-r--r-- 1 root root 978 Sep 24 16:43 envvars-std
-rwxr-xr-x 1 root root 52296 Sep 24 17:09 htcacheclean
-rwxr-xr-x 1 root root 38332 Sep 24 17:09 htdbm
-rwxr-xr-x 1 root root 31436 Sep 24 17:09 htdigest
-rwxr-xr-x 1 root root 38272 Sep 24 17:09 htpasswd
-rwxr-xr-x 1 root root 1220796 Sep 24 17:10 httpd
-rwxr-xr-x 1 root root 31268 Sep 24 17:09 httxt2dbm
-rwxr-xr-x 1 root root 31956 Sep 24 17:09 logresolve
-rwxr-xr-x 1 root root 35104 Sep 24 17:09 rotatelogs
unix@test1 >ldd -d ab
libm.so.2 => /lib/libm.so.2
libaprutil-1.so.0 => /usr/local/apache2/lib/libaprutil-1.so.0
libexpat.so.1 => /usr/local/lib/libexpat.so.1
libiconv.so.2 => /usr/local/lib/libiconv.so.2
libapr-1.so.0 => /usr/local/apache2/lib/libapr-1.so.0
libuuid.so.1 => /lib/libuuid.so.1
libsendfile.so.1 => /lib/libsendfile.so.1
librt.so.1 => /lib/librt.so.1
libsocket.so.1 => /lib/libsocket.so.1
libnsl.so.1 => /lib/libnsl.so.1
libpthread.so.1 => /lib/libpthread.so.1
libc.so.1 => /lib/libc.so.1
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
libaio.so.1 => /lib/libaio.so.1
libmd.so.1 => /lib/libmd.so.1
libmp.so.2 => /lib/libmp.so.2
libscf.so.1 => /lib/libscf.so.1
libdoor.so.1 => /lib/libdoor.so.1
libuutil.so.1 => /lib/libuutil.so.1
libgen.so.1 => /lib/libgen.so.1
/platform/SUNW,Sun-Fire-T200/lib/libc_psr.so.1
/platform/SUNW,Sun-Fire-T200/lib/libmd_psr.so.1
Btw i dont want to copy any source files and i just want to make a tar package with the files involved with the installation (i.e) lib files and binaries.
Please assist.
Thanks