Exporting environment from Linux to FreeBSD

Super Bisquit superbisquit at gmail.com
Sun Apr 8 19:35:14 UTC 2012


http://docs.freebsd.org/cgi/getmsg.cgi?fetch=89377+0+archive/2008/freebsd-java/20080203.freebsd-java
is the template given for me to follow.
I have Debian running on an iMac G4 and FreeBSD running on a QuickSilver G4.

1. The assumption is that the script is ran on the iMac. Considering
that SSH between both machines is set up, is the exporting:
a) From the iMac to the QuickSilver.
b) The inverse of the above.
And
c) Is it ran from the same terminal used for the SSH login
d) Or from another terminal connected on the target to the SSHed login?

If the exporting is done such as stated in d above, then how do I set
that up properly?

Also, does the shell type in the original environment need to match
the shell of the target environment or is it an irrelevant point?

I'm using the standard ssh user@ for logins.

If the method to use is NFS with a and b being replaced with  the NFS
variables- being both server and client, then which similar method is
the correct one? Is the script setup in /usr/share/java,
/usr/lib/java, or both?

Thanks.


More information about the freebsd-hackers mailing list