From: Henrique R. <hm...@rn...> - 2004-01-16 00:20:59
|
hi all i've been trying to use spyce in a server where i don't have root privileges, but without success. how can i accomplish this? what are the files that i need after running the makefile? thank you, henrique rodrigues -- Henrique Miguel Teodoro Rodrigues http://www.rnl.ist.utl.pt/~hmtr Engenharia Informatica e de Computadores - Instituto Superior Tecnico |
From: Rimon B. <ba...@cs...> - 2004-02-07 18:14:48
|
Hi Henrique, Spyce is easy to run without root priveleges. There are two things that you can do: 1. use it as a command-line tool 2. invoke it via the web using CGI The rest is will likely require modifications to the web server configuration. You will either have to run the web server as your own user (on a higher port), or ask the system administrator to modify the web server configuration, as described in the Spyce documentation. For the options above, all you should do is download the Spyce sources file: http://prdownloads.sourceforge.net/spyce/spyce-1.3.12-1.tgz?download Extract the files into some directory, say 'spyce'. Go into that directory and type: 'make'. For option #1 run: run_spyceCmd.py -h That will show you the command-line options. To process a spyce script, for example, type: run_spyceCmd.py <spyce_script_file> For option #2, make sure that the spyce sources directory are world executable. The create some spyce script file in your cgi-bin directory. At the top, write: #!/usr/bin/python ../spyce/run_spyceCGI.py Change the paths to Python and Spyce accordingly. It should work. All the best, Rimon. On Fri, 16 Jan 2004, Henrique Rodrigues wrote: >hi all > >i've been trying to use spyce in a server where i don't have root >privileges, but without success. how can i accomplish this? what are the >files that i need after running the makefile? > >thank you, >henrique rodrigues > > >-- >Henrique Miguel Teodoro Rodrigues >http://www.rnl.ist.utl.pt/~hmtr >Engenharia Informatica e de Computadores - Instituto Superior Tecnico > |