Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-29-2004, 12:14 PM   #1
LQ Newbie
Registered: Feb 2004
Location: Minneapolis
Distribution: LINUX 9
Posts: 1

Rep: Reputation: 0
Post 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:

Step 1)
* 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:

source .login

Step 2)
* Change your directory to where ever you uploaded the package. Follow these steps:

tar xvzf CGI-Kwiki-X.XX.tar.gz
cd CGI-Kwiki-0.17
perl Makefile.PL PREFIX=/home/username/perl
make install

NOTE: PREFIX=/home/username/perl should be changed to whatever directory you created for local Perl module installs.

My questions:
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 2 install with total Newbie davy999 Linux - Newbie 15 08-08-2004 01:07 PM
How to Call a C program from Perl CGI Script anoop_cn Programming 1 05-11-2004 05:37 PM
Executing a program on server using CGi/PERl ?! avios Red Hat 1 12-29-2003 03:34 AM
Gtk gui on a cgi perl program bruce1271 Linux - Software 2 12-08-2003 06:54 PM
perl newbie. hangman.cgi script displaying strangely (additional code) on the web. WorldBuilder Programming 4 11-21-2003 08:09 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration