Total Newbie... Perl program install help for CGI::KWIWI
I am on a VPS (Virtual Private Server) service running Redhat LINUX 7.2 (soon to upgrade to 9). This is like my own dedicated machine, with root access.
This is a fresh install of Redhat, as I just signed up for the service.
My goal is to install CGI::KWIKI which is a "simple" WIKI document management system. KWIKI is in Perl.
I have worked in AIX before, but not in the "admin" business end. There was always someone at the other end of the phone to do installs, and such.
I found a "simple" instruction set for implementation... Here are the first few steps.
I need help interpreting what the steps mean that I should actually DO:
* Create a directory for locally installed Perl modules.
* Modify your .profile or .login file to include ~/perl/bin in your path.
* Use the source or . (dot) command to load your modified path:
* Change your directory to where ever you uploaded the package. Follow these steps:
tar xvzf CGI-Kwiki-X.XX.tar.gz
perl Makefile.PL PREFIX=/home/username/perl
NOTE: PREFIX=/home/username/perl should be changed to whatever directory you created for local Perl module installs.
1) I want CGI::KWIKI to run for all of my users... not just "me" so how do I set up a .profile (or whatever) to accomplish that?
2) I don't find any ".profile" documents under /etc. Only "profile.d" directory. What am I missing?
3) Step 1 in the instructions says to create a new Perl directory. Step 2 in the instructions says to "perl Makefile.PL PREFIX=/home/username/perl"... Wouldn't there likely already BE a Perl directory some place? Why wouldn't I find that directory and use it instead of making a new one? And, if I should not use an existing directory, where do I create this new Perl directory? Under "/home"? And, what would I use for "username" when I want the program to work for all of the users on the system? And (sorry about this) should I also create a /perl/bin directory even though the instructions do not explicitly state that?
4) I am logged in as root and want to make sure permissions are set up for everyone to use the CTI::KWIKI system. What should I do with permissions on the directory(ies) and files?
Thanks for any help anyone can provide.