I am now involved a system exporting to an upgrade server machine. New server mainly upgrade the hardware and RAIDed some drives. OS not change, still on XP-pro, HOWEVER, some folder path has changed.
As long as I did not remember what modules added and patches I've did in the old server, eg something like h2xs stuff for encoding problem, ImageMagicK hacks..etc. So I attempt to "copy & paste" the whole ActivePerl folder and config to the new machine in a nasty way.
Here's what I did:
1. Copy and paste the whole ActivePerl folder to the new machine
2. Add Environment PATH ( to where bin\perl.exe locates )
3. Go into registry, LOCAL_MACHINE::Software::Perl and add (Default) => the Perl folder, bindir => the Perl's bin folder, and finally lib => self developed modules folder
Indeed, it (looks) working fine, the whole web service platform is up and run, but I cannot sure if this is safe.
One highlight is that the Perl path has changed from C:\Perl to D:\Programming\Perl\Perl
Would anyone suggest any potential danger?
Any fault check I should investigate more?
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.