kalaweb
02-05-2002, 04:56 PM
Hi
Please help
Install opensrs on Raq4
Please help
Install opensrs on Raq4
![]() | View Full Version : Install OpenSRS on RAQ 4 kalaweb 02-05-2002, 04:56 PM Hi Please help Install opensrs on Raq4 yeatsie 02-06-2002, 09:45 AM EASY !!! :) All you need to do is install the following perl modules and then configure your opensrs.conf file to work with your account... Perl Modules Required: Crypt-Blowfish Crypt-cbc Crypt-des Digest-md5 UNICode-string XML-parser (xpat_ Storable Datemanip HTML-template md5 You can download these from http://www.cpan.org/modules/by-module/ First Step: Download the Modules First of all SU to root use somthing like wget <file source> to download the tar'd files to your server Seccond Step : Extract them Extract them by typing: tar -zxvf <filename.tar> Third Step: Install them Get into the modules un-tar'd folder Then type: 1. perl MakeFile.PL Does some flying text effect :) 2. make 3. make install INSTALLED you can then test the install by typing /usr/bin/perl -e 'use Crypt::Blowfish' eg /usr/bin/perl -e 'use Crypt::ModuleName' If it takes you back to the CLI then it is correctly installed Continue the above steps untill all are installed, but : For the XML parser it may not be at cpan.org so try looking for expat @ sourceforge.net/projects/expat from memory expat does not have a MakeFile.PL file you will have to execute it by typing ./Configure then make and then make install After Everything is installed to check that your installation is all good, go to the verify_install.cgi This is only a rough guide... if you need any further help email me Sam samuel@ultraserve.com.au kalaweb 02-08-2002, 10:58 AM Hello Sam, Please help I install all files, but error say (cobalt page) ****************** CGIWrap Error: Script Execution Failed CGIWrap encountered an error while attempting to execute this script: Error Message: No such file or directory Error Number: 2 ****************** help me Please ------------------------------------------- kalaweb@yahoo.com yeatsie 02-08-2002, 11:51 AM okay , how the files should be setup, well how I am doing it and it works OpenSRS.conf should be somewhere like /home/sites/www.secure.com/opensrs/OpenSRS.conf then the templates and everything else but the CGI files should be in the opensrs folder, not accessable from the web. ( /www.secure.com/web/ ) you then dump your CGI files into somewhere in a web folder.. you then need to edit the cgi file specify the path where the OpenSRS.conf file is on the server... eg .. /home/sites/www.secure.com/opensrs/OpenSRS.conf you need to go through each CGI file eg manage.cgi, verify_install.cgi, reg_system and change this path.... you shouldnt need to do any special CHMODs on the files ... after you do this , check the verify_install.cgi file Let me know how you go !! kalaweb 02-09-2002, 12:42 AM Please help I have a error again. ------------------------------- ERROR: Storable not found: Can't locate Storable.pm in @INC (@INC contains: /home/sites/site94/web/cgi-bin/signup/lib /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .) at (eval 12) line 3. ------------------------------- kalaweb@yahoo.com just1post 03-02-2002, 11:59 AM For any newbie's here (incl me) I finally got all the perl modules installed (wheu!). I also documented each step so anyone at home can do this too. I *know* this will help someone, so that's why I'm bringing this post back :) Installing Perl Modules for OpenSRS on a Raq4 Open up your SSH client (Telnet will work also, but not advised) Type your username <ENTER> and password <ENTER> Type "su" <ENTER> to enter super user mode. and type in password <ENTER> move to a directory you want to install these in e.g. /home/sites/home Installing the Perl Modules ! Digest::MD5 wget http://www.cpan.org/modules/by-module/Digest/Digest-MD5-2.16.tar.gz gunzip Digest-MD5-2.16.tar.gz tar -xf Digest-MD5-2.16.tar cd Digest-MD5-2.16 perl Makefile.PL make make install cd ../ To test installation went o.k. /usr/bin/perl -e 'use Digest::MD5' - should return nothing Crypt::Blowfish wget http://www.cpan.org/modules/by-module/Crypt/Crypt-Blowfish-2.09.tar.gz gunzip Crypt-Blowfish-2.09.tar.gz tar -xf Crypt-Blowfish-2.09.tar cd Crypt-Blowfish-2.09 perl Makefile.PL make make install cd ../ To test installation went o.k. /usr/bin/perl -e 'use Crypt::Blowfish' - should return nothing Crypt::CBC wget http://www.cpan.org/modules/by-module/Crypt/Crypt-CBC-2.02.tar.gz gunzip Crypt-CBC-2.02.tar.gz tar -xf Crypt-CBC-2.02.tar cd Crypt-CBC-2.02 perl Makefile.PL make make install cd ../ To test installation went o.k. /usr/bin/perl -e 'use Crypt::CBC' - should return nothing Unicode::String wget http://www.cpan.org/modules/by-module/Unicode/Unicode-String-2.06.tar.gz gunzip Unicode-String-2.06.tar.gz tar -xf Unicode-String-2.06.tar cd Unicode-String-2.06 perl Makefile.PL make make install cd ../ To test installation went o.k. /usr/bin/perl -e 'use Unicode::String' - should return nothing Unicode::Map wget http://www.cpan.org/modules/by-module/Unicode/Unicode-Map-0.110.tar.gz gunzip Unicode-Map-0.110.tar.gz tar -xf Unicode-Map-0.110.tar cd Unicode-Map-0.110 perl Makefile.PL make make install cd ../ To test installation went o.k. /usr/bin/perl -e 'use Unicode::Map' - should return nothing MIME::Base64 wget http://www.cpan.org/modules/by-module/MIME/MIME-Base64-2.12.tar.gz gunzip MIME-Base64-2.12.tar.gz tar -xf MIME-Base64-2.12.tar cd MIME-Base64-2.12 perl Makefile.PL make make install cd ../ To test installation went o.k. /usr/bin/perl -e 'use MIME::Base64' - should return nothing Installing EXPAT (Needed for XML::Parser) wget http://prdownloads.sourceforge.net/expat/expat-1.95.1.tar.gz gunzip expat-1.95.1.tar.gz tar -xf expat-1.95.1.tar cd expat-1.95.1 ./configure make make install cd ../ XML::Parser wget http://www.cpan.org/modules/by-module/XML/XML-Parser.2.30.tar.gz gunzip XML-Parser.2.30.tar.gz tar -xf XML-Parser.2.30.tar cd XML-Parser-2.30 perl Makefile.PL make make install cd ../ To test installation went o.k. /usr/bin/perl -e 'use XML::Parser' - should return nothing Storable wget http://cpan.valueclick.com/modules/by-module/Storable/Storable-1.0.14.tar.gz gunzip Storable-1.0.14.tar.gz tar -xf Storable-1.0.14.tar cd Storable-1.0.14 perl Makefile.PL make make install To test installation went o.k. /usr/bin/perl -e 'use Storable' - should return nothing HTML::Template wget http://cpan.valueclick.com/modules/by-module/HTML/HTML-Template-2.5.tar.gz gunzip HTML-Template-2.5.tar.gz tar -xf HTML-Template-2.5.tar cd HTML-Template-2.5 perl Makefile.PL make make install To test installation went o.k. /usr/bin/perl -e 'use HTML::Template' - should return nothing [edit] Following this post, I found out that the verify_install.cgi script was looking for the perl modules, "Storable" and "HTML::Template" which do not come with a Raq4, but were actually installed by default of other *nix servers, so OpenSRS do not ask for them in the installation, hence this edit. Also, upgraded to the latest version of the EXPAT module. If a techie find's any probs with the above installation, your posts would be welcome. note: please ask me first if you want to disturibute or publish this on a web site Pingu 03-02-2002, 12:07 PM Cool! Wish more people posted their doc's (me included!). Added this goodie to my growing knowledgebase :) jks 03-02-2002, 07:22 PM [QUOTE]Originally posted by Pingu As a tech, I see one big question hanging out there: "Why in the world didn't you use cpan?" :-) You've chosen more or less the most complicated way to install this stuff :-) just1post 03-02-2002, 07:34 PM I had initially used CPAN, but it just didn't work for me. Why, i really don't know. Anyway, this *does* work :stickout so that's what matters. I had not seen any tutorials on installing perl modules, so this was a great pat-on-the-back for me DIY :cool: Can you explain the CPAN method, is this right ? perl -MCPAN -e 'install Digest::MD5' n // option to config y/n Whatever way I did it, it just didn't install them property, hence the long way. They may be 'lost' in the dark ends of my raq hd, never to be seen again. (I recon I should've chose 'y' and config myself, but wouldn't trust myself.) jks 03-02-2002, 07:36 PM Originally posted by just1post I had initially used CPAN, but it just didn't work for me. Why, i really don't know. Anyway, this *does* work :stickout so that's what matters. I had not seen any tutorials on installing perl modules, so this was a great pat-on-the-back for me DIY :cool: Can you explain the CPAN method, is this right ? perl -MCPAN -e 'install Digest::MD5' n // option to config y/n Whatever way I did it, it just didn't install them property, hence the long way. They may be 'lost' in the dark ends of my raq hd, never to be seen again. (I recon I should've chose 'y' and config myself, but wouldn't trust myself.) The easy way: perl -MCPAN -e shell Gives you a nice shell, where you can write: install Digest::MD5 (and so forth, to have them all installed). You _must_ press Y to configure it the first time around. It's easy. just1post 03-02-2002, 08:01 PM I'll edit my original post with the "easy way" if this is corect... login blah blah <skip to good stuff> perl -MCPAN -e shell install Digest::MD5 install Crypt::Blowfish install Crypt::CBC install Unicode::String install Unicode::Map install MIME::Base64 <install EXPAT here> install XML::Parser install Storable install HTML::Template hmmm, that does look a *bit* easier I guess :stickout My problem is that I've come straight from a Windows enviroment (Win98 that is!) and there aren't (m)any beginner sites for raqer's. I must admit, I do find uk2raq.com great with their q/a guide to raq stuff. Whitesell 03-03-2002, 05:16 PM I'm new to this stuff, too -- and this wa great!! for some reason the CPAN install didn't work for me, either -- so I did it the long way. But at least it worked!! Thanks for posting this! Regards, Jim Whitesell blacknight 04-02-2002, 02:29 PM I can't get CPAN to work on my RAQ4 either. It keeps on giving me weird errors. The only way I can safely install modules is by using webmin (http://www.webmin.com) |