LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 02-29-2004, 11:14 AM   #1
futuremed
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
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.
 
  


Reply


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 12:07 PM
How to Call a C program from Perl CGI Script anoop_cn Programming 1 05-11-2004 04:37 PM
Executing a program on server using CGi/PERl ?! avios Red Hat 1 12-29-2003 02:34 AM
Gtk gui on a cgi perl program bruce1271 Linux - Software 2 12-08-2003 05:54 PM
perl newbie. hangman.cgi script displaying strangely (additional code) on the web. WorldBuilder Programming 4 11-21-2003 07:09 AM


All times are GMT -5. The time now is 06:59 PM.

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