Koozali.org: home of the SME Server

Need to install a perl script for me to run from shell...

Offline NomadOfNorad

  • ****
  • 109
  • +0/-0
    • http://www.joshua-wopr.com
Need to install a perl script for me to run from shell...
« on: February 07, 2006, 09:49:25 PM »
I have a Perl script that I need to install onto SME, and it is designed to be run from the shell.  At least I gather it's a Perl script, the script filename ends with .pl anyway...

What dir do I stick it in?

cidhosting

Need to install a perl script for me to run from shell...
« Reply #1 on: July 05, 2006, 08:35:37 AM »
You put all cgi or .pl programs in the Primary cgi-bin folder you upload ti\o this folder in ASCll using a program called winSCP if you are using a windows machine. After you upload to the cgi-bin folder. You need to change the properties to 755. then to test the script At http://web sit.com/cgi-bin/name of program.cgi or .pl . If you don't know all the the info for your server then download a program like this: http://cvlcc.com/tester.htm Down load it then change it to tester.cgi then upload to where you are installing your other program change the properties to 755. Then point your browser to this program then click all the boxes then click go. There is where you will see all the information you need for mail and cgi. If you need more cgi programs go to http//:cvlcc.com tosee diferent types of programs I install and make for servers and web sites

cidhosting

Need to install a perl script for me to run from shell...
« Reply #2 on: July 05, 2006, 08:36:34 AM »
You put all cgi or .pl programs in the Primary cgi-bin folder you upload ti\o this folder in ASCll using a program called winSCP if you are using a windows machine. After you upload to the cgi-bin folder. You need to change the properties to 755. then to test the script At http://website.com/cgi-bin/name of program.cgi or .pl . If you don't know all the the info for your server then download a program like this: http://cvlcc.com/tester.htm Down load it then change it to tester.cgi then upload to where you are installing your other program change the properties to 755. Then point your browser to this program then click all the boxes then click go. There is where you will see all the information you need for mail and cgi. If you need more cgi programs go to http//:cvlcc.com tosee diferent types of programs I install and make for servers and web sites

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Need to install a perl script for me to run from shell..
« Reply #3 on: July 05, 2006, 08:45:33 PM »
Quote from: "NomadOfNorad"
I have a Perl script that I need to install onto SME, and it is designed to be run from the shell.  At least I gather it's a Perl script, the script filename ends with .pl anyway...

What dir do I stick it in?


That depends on what it does, who is going to run it and how they are going to have access to be able to run it.