Fred K Ollinger on Tue, 11 Feb 2003 11:41:03 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Another Perl question


A few ideas:

1. You don't need expect. Learn about creating ssh keys: ssh -t dsa.
Copy the key over to the machine you need to copy _to_ via scp and place
it in ~/.ssh. Now you can ssh into the machine w/o a passwd. For reasons
others can give you better this is more secure than expect. And easier.
For one, you won't have a plaintext password anywhere.

2. Many perl modules need gcc to compile. Not having gcc on a server, to
me, is completely reasonable. However, the last make: 'make install'
doesn't need gcc. I suggest you set up a non-server machine w/ same
version of perl as your server and put gcc on it. Download all perl
modules and dependencies and manually compile them. Then tar then up and
scp them over to your server where you can make install them.

Good luck.

Fred Ollinger
_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug