Scoop -- the swiss army chainsaw of content management
Front Page · Everything · News · Code · Help! · Wishlist · Project · Scoop Sites · Dev Notes · Latest CVS changes · Development Activities
How to install Scoop in Windows 2000/XP Docs
By TimF , Section Help! []
Posted on Wed Jul 17, 2002 at 12:00:00 PM PST
I have recently succesfully installed scoop in Windows XP. The only thing that is not working properly is account creation. It seems to randomly decide to work (most of the time it doesn't). I have no idea what the cause is. It could be Sendmail.pm, it could be my router, it could be my ISP's SMTP server. If you have any thoughts, feel free to comment.

How-To Install Scoop in Windows
  1. Install the Apache webserver (current version of the 1.x series is 1.3.26). You can download the Windows Apache binaries by clicking here.
  2. Install the MySQL database. Current version as of this writing is 3.23.51. You can download the Windows MySQL binaries by clicking here.
  3. Install the ActiveState ActivePerl distribution. Current version as of this writing is 5.6.1.633. You can download ActivePerl by clicking here.
  4. Install Scoop. You should grab the 0.9 Scoop nightly. It can be obtained by clicking here. I installed Scoop in 'C:\Scoop', and will be using that directory throughout the rest of this how-to.
  5. Setup MySQL:
    1. Start MySql:
      • Open up a Dos prompt, and type 'c:\mysql\bin\mysqld --install'
      • Open Administrative Tools in the Control Panel.
      • Double click on the Services icon.
      • You can change the properties so that the MySQL service is started automatically or manually.

    2. Setup the Scoop database:
      • Type: 'c:\mysql\bin\mysql' at the dos prompt.
      • Type: 'create database scoop;'.
      • Type: 'grant insert, update, delete, select on scoop.* to root@localhost identified by 'password';'.
      • Type: 'exit'. You will now be back at the command prompt.
      • Type: 'c:\mysql\bin\mysql -u root -p scoop <c:\scoop\struct\scoop.sql'.
      • Type: 'c:\mysql\bin\mysql -u root -p scoop'.
      • Type: 'update vars set value='/<path>' where name='rootdir';' if you would like scoop to run from a path within your domain, type that path instead of '/<path>' (eg: /scoop), otherwise leave it blank.
      • Type: 'update vars set value='putyouremailaddresshere' where name='local_email';'. Put your email address where it says put your email address here.
      • Type: 'update blocks set block='putyouremailaddresshere' where bid='admin_alert';'. Put your email address where it says put your email address here.
      • Type: 'update vars set value='http://your.site.address' where name='logout_url';'. Replace your.site.address with your site address.
      • Type: 'update vars set value='http://your.site.address' where name='site_url';'. Replace your.site.address with your site address.
  6. Setup ActivePerl:
    • Open up the dos prompt again.
    • Type: 'ppm install DBD-mysql'.
    • Type: 'ppm install Digest-MD5'.
    • Type: 'ppm install ApacheDBI'.
    • Type: 'ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/libapreq.ppd'.
    • Type: 'ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/Apache-Session.ppd'.
    • Type: 'ppm install Class-Singleton'.
    • Type: 'ppm install Crypt-UnixCrypt'.
    • Type: 'ppm install Mail-Sendmail'.
    • Type: 'ppm install String-Random'.
    • Type: 'ppm install Time-Modules'.
    • Type: 'ppm install Crypt-CBC'.
    • Type: 'ppm install Crypt-Blowfish'.
    • Type: 'ppm install XML-RSS'.
    • Type: 'ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/mod_perl.ppd'. This will install mod_perl. You will need to supply it with your Apache modules directory.
  7. Edit the Scoop config file
    • Open the file 'C:\Scoop\etc\httpd-location.conf' in your favourite text editor.
    • Whenever you need to supply a local path in the config file (eg. C:\Scoop) you will need to change the backslash to a forward slash (so C:\Scoop becomes C:/Scoop).
    • Edit line 48, so that it reads 'use lib qw( C:/scoop/lib );'.
    • Edit line 53 so it reads '<Location>'. This will have Scoop show up from the root directory of the server. If you don't like this, change it to the appropriate path.
    • Edit line 76: 'PerlSetVar mysql_version __MYSQL_VER__', replace __MYSQL_VER__ with your version of MySQL.
    • Edit line 91 so that it reads 'PerlSetVar db_name scoop'.
    • Edit line 94 so it reads 'PerlSetVar db_host localhost'. If it is running on another server, replace 'localhost' with the name of that server.
    • Edit line 97: 'PerlSetVar db_user __DBUSER__'. Replace __DBUSER__ with the username that will connect to the scoop database.
    • Edit line 100: 'PerlSetVar db_pass __DBPASS__'. Replace __DBPASS__ with the password of the database.
    • Edit line 112 so that it reads 'my $vfile = 'C:/scoop/VERSION';'.
    • Edit line 114 so that it reads 'push(@{ $Location{'/'}->{PerlSetVar} },'.
    • Edit line 128: 'PerlSetVar cookie_host __COOKIE_HOST__'. Replace __COOKIE_HOST__ with the name of your cookie server.
    • Edit line 131: 'PerlSetVar SMTP __SMTP_SERVER__'. Replace __SMTP_SERVER__ with the name of your SMTP server.
    • Edit line 135: 'PerlSetVar site_id __SITE_ID__'. Replace __SITE_ID__ with whatever you would like to call your site.
    • Edit line 144: Add an unguessable key.
    • Edit line 168 so that it reads 'PerlRequire c:/scoop/etc/startup.pl'.
    • Edit line 175 so that it reads 'Alias /scoop/images/ "C:/scoop/html/images/"'.
  8. Edit the Apache config file
    • Open the file 'C:\Program Files\Apache Group\Apache\conf\httpd.conf'.
    • Add the following line to the Load Modules section: 'LoadModule perl_module modules/mod_perl.so'.
    • Add the following line to the Add Modules section: 'AddModule mod_perl.c'.
    • Put an email address at which you can be reached in the Server Admin section: 'ServerAdmin you@yourisp.com'.
    • Modify the Server Name section to reflect your real server name: 'ServerName www.myserver.com'.
    • Modify the Document Root section to point to the htdocs directory of your Apache install. In this case: 'DocumentRoot "C:/Program Files/Apache Group/Apache/htdocs"'.
    • Two sections below the Document Root section will need to read as follows: '<Directory "C:/Program Files/Apache Group/Apache/htdocs">'.
    • Add the following line to the bottom of the file: 'Include c:/scoop/etc/httpd-location.conf'.
  9. Last minute things
    • Change the password for the scoop account.
    • Create a new administrator account.
    • Delete the scoop account.

Enjoy your new Scoop instalation!

With this, everything works so far. Except account creation. It seems to not work. I have set my ISP's smtp server in both httpd-location.conf, and in Sendmail.pm. After install I can succesfully setup one account, and then that is it. Every single attempt after that results in a "bad email" message and account creation failure. If anyone has any ideas, feel free to comment.

< Hidden comment toggle for trusted users | Topic Admins >

Menu
· create account
· faq
· search
· report bugs
· Scoop Administrators Guide
· Scoop Box Exchange

Login
Make a new account
Username:
Password:

Related Links
· Scoop
· here
· here [2]
· here [3]
· here [4]
· More on Docs
· Also by TimF

Story Views
  200 Scoop users have viewed this story.

Display: Sort:
How to install Scoop in Windows 2000/XP | 31 comments (31 topical, 0 hidden)
Wow, thanks (5.00 / 1) (#1)
by panner on Thu Jul 18, 2002 at 08:03:56 PM PST

This should probably go into the scoop admin guide. Maybe even in as INSTALL.win32 ;)

One question: did you try running install.pl after you got apache/mysql/perl/modules installed? If you skip the CPAN part of install.pl, it seems like it would have no problem configuring the DB and httpd.conf automatically, just as it does on other systems. But I may be wrong, so I'm wondering if you tried that.

About the SMTP problem, it sounds like a mis-configuration of the SMTP server, or something. Most problems with account creation on a fresh install are related to SMTP relaying issues.



--
Keith Smiley



Putting My Scoop Where My Mouth Is (none / 0) (#5)
by thelizman on Fri Jul 19, 2002 at 02:06:30 PM PST

As per mycomments last night on your submitting this over at www.kuro5hin.org, I am currently installing MkLinux on a Macintosh PowerPC Performa 6116CD. As soon as that's over with, I'll install the necessary server componants, and get my esoteric version of scoop on the net.

I had previously done this on a Macintosh PowerPC G3 500, but that was a far more powerful machine that this will be. It was also a PCI Mac with the New World ROM.

You sir, have inspired me to hack yet again. Thank you.



A little help please? (none / 0) (#15)
by wink on Fri Aug 09, 2002 at 05:08:28 PM PST

I am a little new to most if this. I'm attempting to install scoop on WinXP and have tried to follow the instructions above. I'm a bit stuck on step 4 ("Install Scoop").

I've tried running the Install.pl script from the scoop8.1 and the scoop9.0(nightly build). No luck. Is this the right way to go?

When I do run either install script, it fails. I seem to be missing quite a few modules that are required by Bundle::Scoop. I have installed the latest version of ActiveState ActivePerl. The required modules are apparently not included. How do I go about proceeding?

TIA

Wink ;)



Odd error message (none / 0) (#20)
by Vladinator on Fri Aug 16, 2002 at 07:51:59 AM PST

Did anyone else get this?

Syntax error on line 53 of c:/scoop/etc/httpd-location.conf:

Invalid command '<Location>', perhaps mis-spelled or defined by a module not included in the server configuration

Note the errors or messages above, and press the <ESC> key to exit.

"Even Marylin Monroe was a man, but this tends to get overlooked by our motherfixated overweight sexist media." -- Robyn Hitchcock and the Egyptians



Add Apache error (none / 0) (#22)
by Vladinator on Tue Aug 20, 2002 at 08:17:33 AM PST

Got that other error fixed - now the service will not start.  :(  Anyone seen this?

[Tue Aug 20 09:53:22 2002] [crit] (10045)The attempted operation is not supported for the type of object referenced: Parent failed for socket 396.
[Tue Aug 20 09:53:22 2002] [error] (2)No such file or directory: master_main: create child process failed. Exiting.


"Even Marylin Monroe was a man, but this tends to get overlooked by our motherfixated overweight sexist media." -- Robyn Hitchcock and the Egyptians



anyone solve the mail problem yet? (none / 0) (#24)
by Vladinator on Tue Aug 20, 2002 at 08:48:07 AM PST

I can't get that to work right either...

"Even Marylin Monroe was a man, but this tends to get overlooked by our motherfixated overweight sexist media." -- Robyn Hitchcock and the Egyptians


Error with libapreq.ppd (none / 0) (#26)
by torkill on Thu Feb 03, 2005 at 01:07:26 AM PST

Hi

I'm trying to install scoop with the Apache2Triad web server installation kit at <url:http://apache2triad.sourceforge.net>

When I run this command:
C:\apache2triad\perl\bin>ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/libapreq.ppd

I get the following error:

Installing package 'http://theoryx5.uwinnipeg.ca/ppmpackages/libapreq.ppd'... Error installing package 'http://theoryx5.uwinnipeg.ca/ppmpackages/libapreq.ppd' : Read a PPD for 'http://theoryx5.uwinnipeg.ca/ppmpackages/libapreq.ppd', but it is not intended for this build of Perl (MSWin32-x86-multi-thread-5.8)

As I'm a complete newbie on this, I cant think of any way to try to fix it. I did not find another version of the file. But probably that is what I need, another version of libapreq.ppd.

Does anybody know how to fix it?

--
cheers
torkill




i will install scoop in windows xp (none / 0) (#29)
by funvideoblog on Tue May 02, 2006 at 08:06:47 PM PST

i will install scoop in windows xp :)



help to install (none / 0) (#30)
by pasad on Sun Aug 06, 2006 at 08:51:57 AM PST

i have nothing to do but to find help here. If someone can help to install it could you contact me with email andrea [at] DigiBib.com



Thnx (none / 0) (#31)
by Flex on Thu May 01, 2008 at 08:21:13 AM PST

WebcamSex | Webcam Sex | Sex Cam
WebcamSex | Webcam Sex | Sex Cam



How to install Scoop in Windows 2000/XP | 31 comments (31 topical, 0 hidden)
Display: Sort:

Hosted by ScoopHost.com Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest © 1999 The Management

create account | faq | search