Kuro5hin.org: technology and culture, from the trenches
create account | help/FAQ | contact | links | search | IRC | site news
[ Everything | Diaries | Technology | Science | Culture | Politics | Media | News | Internet | Op-Ed | Fiction | Meta | MLP ]
We need your support: buy an ad | premium membership

[P]
Installing scoop on "modern" debian systems

By Del Griffith in Technology
Mon Nov 16, 2009 at 07:23:49 AM EST
Tags: scoop, kuro5hin, etc (all tags)
Scoop

Well here we go.

We are going to install and RUN scoop on a modern communist debian system.

And the best part is that it works.... And it's really not that hard to tweak.

I'm using SUN's virtual box, as I have no interest installing Debian on my laptop.


Ok so let's get into materials.

First you'll need debian.

We don't need the 500TB install, or whatever the kids use these days. We WILL require internet connectivity, so what the hell, get the "tiny cd" for your platform.

For 99% of you that'll be the i386.

http://www.debian.org/distrib/netinst#verysmall

Burn the image to a CDROM for those of you who want a physical machine, the rest of us using virtual box can download it here.

Next you'll need a copy of scoop. The filename is:

scoop_1.1.8.tar.gz

I've uploaded a 'virgin' copy of it here.. while it lasts...

And another one on drop.io

I should also add that scoop needs RAM, lots of it.. I'm running it with 1gb of ram on my laptop (I have 4gb! get a modern machine). Although it doesn't need a tonne of disk space, I'm starting with an 8gb virtual disk image.

Ok with all that bullshit out of the way, slap in your CDROM & boot your machine... Or for the virtual people mount your ISO image in the Virtual BOX app, and power the VM up..

Go ahead and slap enter a few dozen times, and build yourself a default machine. Give it a great name, and some fancy password... It doesnt matter.

In a few minutes it'll reboot the VM, and you'll be presented with your boring Debian VM.

Assuming you've built it right it'll have network access. So let's get to the stuff that you'll probably want on a debian machine:

Install these two, and just hit Y where appropriate. I like to ssh into my machines with something like putty.. it's got great cut&paste support.


apt-get install openssh-server
apt-get install sendmail-bin

Next we are going to install Apache2 along with some of the required bits for scoop. This should be a snap.


apt-get install apache2.2-common
apt-get install apache2
apt-get install libapache2-mod-perl2
apt-get install expat

With me so far?

I hope so.

Ok so now we've got some barely functional apache system, the next thing we'll need is the mysql database. This is surprisingly easy to install.


apt-get install mysql-server mysql-client

During the install it'll prompt for a password & stuff. Make ANOTHER one up.. save it somewhere! We are going to cheat, and just use the root id all the way through, but this is a demonstration to show that scoop works on apache2.

After a few seconds (if you have a fast internet connection) you'll have your database running.

Now we need all these perl modules... It's not that hard with debian, I did have a zillion issues with the CPAN install, but screw perl, we are here for scoop.


apt-get install libdbi-perl
apt-get install libdbd-mysql-perl
apt-get install libmd5-perl
apt-get install libapache-dbi-perl
apt-get install libapache2-request-perl
apt-get install libclass-singleton-perl
apt-get install libcrypt-unixcrypt-perl
apt-get install libmail-sendmail-perl
apt-get install libstring-random-perl
apt-get install libtime-modules-perl
apt-get install libdate-calc-perl
apt-get install libxml-parser-perl
apt-get install libcrypt-cbc-perl
apt-get install libcrypt-blowfish-perl
apt-get install libxml-rss-perl
apt-get install libcache-memcached-perl
apt-get install libtext-aspell-perl

Phew, that's a lot of modules, and let me tell you this is a LOT easier then the 'old' days...

Now we need to enable some apache module.


cd /etc/apache2/mods-enabled
ln -s ../mods-available/apreq.load .

Easy, right?

Now for the scoop.

I used the fine utility pscp to transfer my scoop to my virtual machine. 'del' is the user that I had created on the install. I'm sure you picked out some other witty name. Use that instead.


pscp scoop_1.1.8.tar.gz del@10.0.1.5

If you don't even know your machine's ip you can find it with:


ifconfig eth0

Ok now with that out of the way, we should extract it...


cd /usr/src
tar -zxvf ~del/scoop_1.1.8.tar.gz

Now we can happily run the install script which will build our database, and then spit out a broken config file which we can mash into apache 2... but we'll get back to that later.

Now there is a few files we need to patch to get running on Apache2..

I know there will be MORE stuff broken then this, but I've found this was enough to get me to login.
---

diff -ruN x/scoop-1.1.8/etc/startup.pl scoop-1.1.8/etc/startup.pl
--- x/scoop-1.1.8/etc/startup.pl 2006-04-26 23:52:47.000000000 -0400
+++ scoop-1.1.8/etc/startup.pl 2009-11-14 19:03:52.000000000 -0500
@@ -1,6 +1,6 @@
#!/usr/bin/perl
use strict;
-use mod_perl ();
+use mod_perl2();
#BEGIN {
# eval "use mod_perl ()";
#}
@@ -17,8 +17,9 @@
}

# Die unless we have mod_perl
-$ENV{GATEWAY_INTERFACE} =~ /^CGI-Perl/
- or die "GATEWAY_INTERFACE not Perl!";
+#$ENV{GATEWAY_INTERFACE} =~ /^CGI-Perl/
+# or die "GATEWAY_INTERFACE not Perl!";
+$ENV{MOD_PERL}=~/mod_perl/ or die "MOD_PERL not used!";

BEGIN { $Crypt::UnixCrypt::OVERRIDE_BUILTIN = 1 }
use Crypt::UnixCrypt;
diff -ruN x/scoop-1.1.8/lib/Scoop/ApacheHandler.pm scoop-1.1.8/lib/Scoop/ApacheHandler.pm
--- x/scoop-1.1.8/lib/Scoop/ApacheHandler.pm 2004-07-06 02:07:43.000000000 -0400
+++ scoop-1.1.8/lib/Scoop/ApacheHandler.pm 2009-11-14 18:49:56.000000000 -0500
@@ -23,7 +23,7 @@

sub handler {
my $r = shift;
- Apache->request($r);
+ Apache2::RequestUtil->request($r);
my $time; # = localtime(time());
warn "\n<<ApacheHandler: $time>> I've got this one...\n" if $DEBUG;
if ($PARANOID) {
@@ -83,7 +83,7 @@
unless ($S->{OPS}->{$op} && $S->{OPS}->{$op}->{enabled}) {
&n bsp; $S->cleanup();
&n bsp; undef $Scoop::_instance;
-& nbsp; return $Scoop::MP2 ? &Apache::DECLINED : &Apache::Constants::DECLINED;
+& nbsp; return $Scoop::MP2 ? &Apache2::Const::DECLINED : &Apache::Constants::DECLINED;
}

# check to make sure the user has permission to to use this op
diff -ruN x/scoop-1.1.8/lib/Scoop.pm scoop-1.1.8/lib/Scoop.pm
--- x/scoop-1.1.8/lib/Scoop.pm 2006-04-26 23:52:47.000000000 -0400
+++ scoop-1.1.8/lib/Scoop.pm 2009-11-14 18:51:04.000000000 -0500
@@ -816,7 +816,8 @@
=cut
sub _set_apache_request {
my $self = shift;
- my $r = Apache->request();
+# my $r = Apache->request();
+ my $r = Apache2::RequestUtil->request();

# set {APACHE} to the request obj
$self->{APACHE} = $r;
@@ -835,8 +836,8 @@
sub _set_request_params {
my $self = shift;

- use Apache::Request;
- my $q = Apache::Request->new( $self->{APACHE} );
+ use Apache2::Request;
+ my $q = Apache2::Request->new( $self->{APACHE} );
$self->{APR} = $q;

my $all_args = {};

Save the file into something like scoop.patch, and you can run it as

patch -p1 <scoop.patch
Now we can run the setup script.
# cd /usr/src/scoop-1.1.8/scripts
# ./install.pl
You can follow this session, but you'll get the general idea.
Welcome to the Scoop Installer!
This is a simple installer script for Scoop. It will
ask you some questions about your system, and how you
want to set up Scoop, and then will attempt to install
and configure Scoop for you.

Before we start, you should be sure you have installed
Apache and mod_perl, and that you have installed MySQL.
MySQL should be running and accessable right now, for
the easiest install. Additionally, you will need to know
the root password for MySQL, so that we can initialize
your Scoop database.

Continue? [Y]/n > y

I'm making sure you're running as root or with root
permissions right now... you are! Excellent.

To aid in the install process, I need to know what directory is
your unpacked scoop tarball. If you are running this from the
scripts directory then the default should be fine. Otherwise,
specify one below
[/usr/src/scoop-1.1.8] >

Scoop needs some CPAN libraries to operate properly. We're
going to try to fetch and install them for you now.

You must be connected to the internet to do this step. If
you need to connect, please do so, and press return when
you're ready.

Enter "N" if you cannot connect to the net now, or you wish to
skip installing CPAN libs.

Continue? [Y]/n > n

You can't get online? Yipes. Well, now you have a choice. If
you know you have all the modules below, you can try to continue
with the install. Otherwise, you'll have to wait till you
can get online.

Modules needed by Scoop are in the Bundle at lib/Bundle/Scoop.pm

To install them later, just run scripts/install-cpan.pl

Try to continue installing Scoop anyway? y/[N] > y

Ok, now we're in the part where I set up and configure
your Scoop database. If you already have a Scoop DB, you
can skip this part entirely. Note that if you only want to
do part of the DB configuration, you'll have more chances
to skip stuff below.

Configure database? [Y]/n > y

I need some information to connect to your database. First,
please enter the user you wish to connect as for the
install. This user must have full privileges to create
databases and grant permissions to others. Default is root,
and you're probably best sticking with that. You will be
prompted for the user that apache will use to connect to
scoop's database as in a moment.

Database user I should connect as? [root] >

Ok, now I need the password that root will connect with.
It will not echo to the screen, for security purposes, so
don't be surprised when it doesn't show up when you type.

Password for root? >
Please type your password again for confirmation
password? >

Next, I need to know what hosts you will be running apache on.
Most likely, you're running apache and the SQL server on the
same server, so this will just be localhost. However, if you
have a more complex set up, then you can enter a comma delimited
list of hostnames or IPs that will be connecting to the SQL server.

Apache hosts? [localhost] >

Now I need the host that MySQL is running on.

MySQL host? [localhost] >

And of course the port to address...

MySQL port? [3306] >

Ok, I have a connection to the database. Now, you can either
create a new database from scratch, or you can rebuild an
existing one. Note that rebuilding an old database will
COMPLETELY ERASE the old data. Only choose this option if
you really mean it! Normally, you'll want to create a fresh
database from scratch.

Choose one:
(1) Create a new database?
(2) Drop and rebuild an old database?

Please enter 1 or 2: [1] > 1

Database name? [scoop] >

I need to know where the scoop.sql file is, which contains the
default database dump. Normally, it's located in
scoop/struct/scoop.sql. If you'd like to use a different file,
please enter the path and name below:

DB Dump? [/usr/src/scoop-1.1.8/struct/scoop.sql] >

I need to know the path you'll be accessing Scoop under on your
Apache server. That is, if you plan to run something like:
"http://www.mysite.com/scoop", you'd enter "/scoop" below. If
Scoop will be running as the root path on it's own host, just
leave the following blank.

Scoop URL path? [] >

When you first set up Scoop, we will add a default superuser. What
should this account be named? [scoop] > YOURADMINID

Please enter a password to use for this account below. It must be
at least 8 characters long. This password will not be echoed to the
screen either, as was the database password.

Default password for YOURADMINID? >
Please type your password again for confirmation
password? >

In order for user registrations to work, and admin alerts to be
sent, Scoop needs to know your valid e-mail adress. This can be
changed later, if needed.

Admin email address? [YOURADMIN@YOURDOMAIN.com] >

Ok, now we're going to create your new Scoop database!

Creating scoop...done
Switching to scoop...done
Dumping data into scoop...done
New database inserted, now we'll customize it for your site...

Setting path... done
Setting image path... done
Setting e-mail address... done
Setting password for admin user... done.
Setting realemail for admin user... done.
Setting nickname for admin user... done.
Giving user root@localhost proper permissions to scoop... done.
Ok! Your scoop database is all set up. Only one more phase to
go, and your site will be ready.

Do you want me to help you configure apache for you now? What
I'll do is output the relevant part of the apache configuration
for you to a file, then you can use 'Include' to include it
in your apache configuration. Or you can skip this step and
configure apache by hand.
NOTE: if you skipped the database configuration step, then you
will need to edit the file output from this step and add in
the database information.

Configure Apache? [Y]/n > Y

Now we're going to configure your webserver. I see by the path
you entered that you're doing a virtual host based install.
Location installs are for when you want to access your site
via a path after your site name, like http://a.b.com/myscoopsite
Virtual Host installs are for when you set up a separate site
just for scoop. i.e. your usual site is http://www.mysite.com/
but scoop will run on http://scoop.mysite.com/

Do you want a virtual host based install? [Y]/n > y

I'll need to get the sample httpd-vhost.conf file to base your
site configuration on. Again, if you're running this from scripts/
it's probably located in the default below, but enter a different
location if it's not there. There will be no default below
if I couldn't find the httpd-vhost.conf in the default location.
Remember, this path must be absolute!

Sample httpd-vhost.conf?
[/usr/src/scoop-1.1.8/etc/httpd-vhost.conf] >

Ok, I found it. Now I need to know some more about your site.

For scoop to work fully, I need to know what version of mysql you
are running. As of right now, the stable versions are 3.23 or 4.0,
and the development is 4.1. If you are running MySQL 4.0x or 4.1x,
you can choose the appropriate database version to allow Scoop to use
features specific to that series. Otherwise, just use 3.23. MySQL 3.22
is still supported but deprecated, so if you're still running 3.22,
you should seriously consider upgrading.

[3.23]>

What are you going to call your site? This is not necessary for
anything other than a small comment that will go in the apache
config file, just for ease of administration, and my own sense
of completeness :-)

site name [myscoopsite]>

For cookies to be set correctly (which is needed for user accounts)
I need the hostname to set in the cookies. An ip will work, or a
hostname, but the hostname needs at least 2 dots. i.e.
www.kuro5hin.org and .kuro5hin.org will work, but kuro5hin.org
will not. This needs to be the name that people use to access your
scoop site.

cookie host [debian.YOURDOMAIN.com] >

To send email out to your users, when they create accounts, or if
they are using the digest feature, I will need a valid smtp server.
Without one, you cannot create any accounts. This should probably
be the same smtp server you use for your personal email, or the one
that your isp provides you to use.

smtp server [localhost] >

If you are going to run multiple scoop sites, each will need to have
a unique site identifier. If you are going to only run one scoop
site, the default will be fine.

siteid [myscoopsite]>

I need to know what ip address to attach this virtual host to.
By default it will be 127.0.0.1, which is what you should use
only if you only want to be able to access your scoop site from
this computer. It will probably be the external ip of your
computer.

IP Address [127.0.0.1]>

Do you have any other virtual hosts already set up on this ip
address? If you just installed apache, you won't have any set up
currently.

Other vhosts? y/[N] >

What will be the name of this scoop site? This is what people
will type into their browser to get to your scoop site.

Server Name > bob

Please enter a location for your error logs. You can use the same
location as for another site, but the logs will be mixed.

Error Log [logs/scoop-error_log]>

Now I need the custom log location, this is where all of the regular
requests for scoop will go.

Common Log [logs/scoop-access_log]>

Cool! It looks like your Apache config is all set up. I will
output this configuration file to httpd-myscoopsite.conf in this
directory. To finish configuring Apache, just write a line like
Include /path/to/httpd-myscoopsite.conf at the end of your apache
httpd.conf file. Usually that file is at /usr/local/apache/conf/httpd.conf.

<More>

That's it! You've finished! Now you will need to stop and start
Apache, to see if it worked. Don't do 'apachectl restart,' since
that has problems recompiling the perl, it just doesn't do it all.
You will need to run 'apachectl stop' then 'apachectl start' to fully
recompile the code.

If it doesn't work, you can get help on the scoop-help mailing list;
go to http://sourceforge.net/mail/?group_id=4901 to get signed up.
The archive is at http://sourceforge.net/mailarchive/forum.php?forum_id=4121
Most problems people run into during installs have already
been answered there.

If you are more fond of IRC, then check out #scoop and #kuro5hin
on irc.kuro5hin.org. Generally some Scoop users and developers
are in #scoop; if its empty, look in #kuro5hin for help

Thanks for using Scoop! We of the Scoop dev team hope you like it,
and if you have any problems with it, please let us know.
debian:/usr/src/scoop-1.1.8/scripts#

Now it'll spit out some exciting config that WILL NOT WORK although it's easy to massage into a 'nice' template.
cd /etc/apache2/sites-available
And create a file called scoop. and let's put the following into it:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName SERVERNAME
DocumentRoot /usr/src/scoop-1.1.8/html
#ErrorLog logs/scoop-error_log
#CustomLog logs/scoop-access_log combined
PerlConfigRequire /usr/src/scoop-1.1.8/etc/startup.pl


<Location>
PerlSetVar DBType mySQL
PerlSetVar mysql_version 3.23
PerlSetVar db_name scoop
PerlSetVar db_host localhost
PerlSetVar db_user root
PerlSetVar db_pass YOURDBPASSWORD

PerlSetVar cookie_host debian.YOURNETWORK.com
PerlSetVar SMTP localhost
PerlSetVar site_id myscoopsite
PerlSetVar site_key 3f963d11ec08a87683ce030cece8f6990fd8efd297cd24acd9189606
PerlSetVar dbdown_page /pages/dbdown.html

SetHandler perl-script
PerlHandler Scoop::ApacheHandler
</Location>

<Location /images>
SetHandler default-handler
</Location>

<Location /pages>
SetHandler default-handler
</Location>

<Location ~ "^/(robots\.txt|favicon\.ico)$">
SetHandler default-handler
</Location>


ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
&n bsp; AllowOverride None
&n bsp; Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
&n bsp; Order allow,deny
&n bsp; Allow from all
</Directory>

ErrorLog /var/log/apache2/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog /var/log/apache2/access.log combined

Alias /images "/usr/src/scoop-1.1.8/html/images"
<Directory "/usr/src/scoop-1.1.8/html/images">
Options Indexes MultiViews FollowSymLinks
Allow from all
</Directory>


</VirtualHost>
Ok, now that was fun. Now we have to 'link' this config into apache.
# cd /etc/apache2/sites-enabled
# rm 000-default
# ln -s /etc/apache2/sites-available/scoop 000-default
Ok now we are almost there. Now you just have to simply pull out the relevent bits from the generated httpd conf and put them into 000-default.
Fix the following lines:
These need to be replaced with the values you have in your /usr/src/scoop-1.1.8/scripts/httpd-myscoopsite.conf file.
ServerName SERVERNAME

PerlSetVar db_pass YOURDBPASSWORD

PerlSetVar cookie_host debian.YOURNETWORK.com

PerlSetVar site_key 7017eadb34b9dba0453e9ad824589af50ed88fd28e1432dfd6075d4f


Ok, just a few more things and we should be golden! We are going to link in scoop from apache... I know it's nasty, but who cares? This VM is BORN TO RUN SCOOP!

cd /etc/apache2
ln -s /usr/src/scoop-1.1.8/lib/Scoop.pm .
ln -s /usr/src/scoop-1.1.8/lib/Scoop .

Now we can test our configuration!!!
If all goes well, you'll get:
apache2ctl configtest
Syntax OK


Ok! Let's fire it up!
apache2ctl stop
apache2ctl start


Now if you hit the VM up in a browser you SHOULD see scoop in all its glory. Now if you try to logon and do stuff, it'll all fuck up because you need to create a hosts entry for the SERVERNAME bit above... Otherwise the cookies won't work and it'll constantly demand you to logon.
You can always try to troubleshoot stuff by looking in /var/log/apache2/error.log

Sponsors

Voxel dot net
o Managed Hosting
o VoxCAST Content Delivery
o Raw Infrastructure

Login

Poll
Scoop is
o great 46%
o whack 53%
o bad 15%
o dead 38%
o obsolete 30%
o over 23%
o back from teh dead 30%
o and open to share 15%
o ror 15%
o only run by commies! 38%
o like dailykos 30%
o and husi 23%
o was there others? 15%
o will there be more? 23%
o lol 15%

Votes: 13
Results | Other Polls

Related Links
o Scoop
o Kuro5hin
o http://www .debian.org/distrib/netinst#verysmall
o virtual box can download it here
o here.. while it lasts.
o drop.io
o pscp
o Also by Del Griffith


Display: Sort:
Installing scoop on "modern" debian systems | 60 comments (56 topical, 4 editorial, 0 hidden)
scoop formatting is screwey. (none / 0) (#1)
by Del Griffith on Sat Nov 14, 2009 at 08:04:54 PM EST

I wish we had PRE like god had intended so things would just fucking work.

Where is one of those asciiart formatting things when you need one?

-------
I...I like me. My wife likes me. My customers like me. Because I'm the real article. What you see is what you get. - Me


use CODE tags around that stuff (3.00 / 2) (#2)
by Corey Haim on Sat Nov 14, 2009 at 08:08:24 PM EST

and I think I had to throw in some BRs in to get those tits up earlier

[ Parent ]
also you need to turn on HTML formatting (none / 1) (#3)
by Corey Haim on Sat Nov 14, 2009 at 08:09:36 PM EST

you know, to format the HTML you've used

[ Parent ]
ok i'll give it a shot (none / 0) (#4)
by Del Griffith on Sat Nov 14, 2009 at 08:11:02 PM EST

as the apache config was all fucking up scoop.

-------
I...I like me. My wife likes me. My customers like me. Because I'm the real article. What you see is what you get. - Me


[ Parent ]

Let me take the opportunity to gvie you a (none / 0) (#50)
by Korean Loller Blader on Mon Nov 16, 2009 at 05:09:53 PM EST

reach-around here: you're the only person here who could probably do this right, given that you have a sense of humor and you get the point of trolling. 99% of these douches do not and they don't get why this site has lasted so damn long. This site has lasted longer than the vast majority of sites on the internet that aren't corporately funded. Do it you have to.
D'oh! I can't seem to talk to the mod_
[ Parent ]
Okay okay.... (none / 0) (#51)
by Del Griffith on Mon Nov 16, 2009 at 05:42:27 PM EST

I'll see about setting something up....

-------
I...I like me. My wife likes me. My customers like me. Because I'm the real article. What you see is what you get. - Me


[ Parent ]

You realize if we do this (none / 0) (#54)
by Korean Loller Blader on Mon Nov 16, 2009 at 08:41:09 PM EST

it will bee successful, right? Not Rusty successful. I mean ACTUAL successful.
Money covers over a multitude of wrongs....
D'oh! I can't seem to talk to the mod_
[ Parent ]
it ate the whole fucking thing. (none / 0) (#5)
by Del Griffith on Sat Nov 14, 2009 at 08:34:52 PM EST

as it started to insert stuff on its own and it fucked the whole thing up.

GRRRRRRR

-------
I...I like me. My wife likes me. My customers like me. Because I'm the real article. What you see is what you get. - Me


[ Parent ]

backslashes? (none / 0) (#10)
by Corey Haim on Sat Nov 14, 2009 at 08:55:23 PM EST

stick them before the angle brackets so the HTML just lets them pass through instead of trying to mount and impregnate them

[ Parent ]
I'm hoping to find that site (none / 0) (#11)
by Del Griffith on Sat Nov 14, 2009 at 09:05:10 PM EST

someone posted a while ago to encourage more ascii art stuff here...

I'm sure I can just drop my configs into it, and it'd just freaking work.

-------
I...I like me. My wife likes me. My customers like me. Because I'm the real article. What you see is what you get. - Me


[ Parent ]

here (3.00 / 2) (#12)
by Corey Haim on Sat Nov 14, 2009 at 09:18:27 PM EST

try this

i knew it was something like "how to post code" because crawford has linked to it a few times, so it's burnt into my brain with the special crawford voice.

you know, the voice you hear when you're reading some crawford.

it Speaks With Extra Emphasis When He Uses Caps.

It's Pretty Stern When He Uses Bold.

[ Parent ]

YES! (none / 0) (#13)
by Del Griffith on Sat Nov 14, 2009 at 09:34:20 PM EST

thank you....

I'll get right on it.......

.... in a bit.

But I just had to check, and yeah the virgin scoop has PRE tags.

Fuuuuuck!

-------
I...I like me. My wife likes me. My customers like me. Because I'm the real article. What you see is what you get. - Me


[ Parent ]

+1FP (3.00 / 4) (#6)
by zombie lonelyhobo on Sat Nov 14, 2009 at 08:39:50 PM EST

cancel bug on a story about scoop
NIGGA YOU DUMB
getting scoop to run (none / 0) (#7)
by Del Griffith on Sat Nov 14, 2009 at 08:45:03 PM EST

was easier then dealing with it being all fucked up.

What logic (if any) was there in removing the pre tag?

Clearly it didn't stop ascii art, and if anything it just made people say fuck it & cancel to submit anything that needs formatting...

And cancel is all fucked up.

FUCK.

-------
I...I like me. My wife likes me. My customers like me. Because I'm the real article. What you see is what you get. - Me


[ Parent ]

i don't know what the pre tag does (none / 1) (#8)
by zombie lonelyhobo on Sat Nov 14, 2009 at 08:45:51 PM EST

I haven't used html in like 10 years
NIGGA YOU DUMB
[ Parent ]
it stops things from fucking up (none / 0) (#9)
by Del Griffith on Sat Nov 14, 2009 at 08:46:45 PM EST

formatting & shit...

I think...

I stopped being interested in HTML when Internet explorer 2.0 came out.

-------
I...I like me. My wife likes me. My customers like me. Because I'm the real article. What you see is what you get. - Me


[ Parent ]

PRETTY SURE YOU CAN THANK ME FOR THAT (3.00 / 6) (#14)
by razar on Sat Nov 14, 2009 at 10:30:29 PM EST

I USED TO DESIGN COMMENTS THAT CRASHED BROWSERS, AND IT REQUIRED EXOTIC COMBINATIONS OF TAGS. LOL.

I JUST FUCKED A SHEEP


[ Parent ]
Thanks! (none / 0) (#15)
by Del Griffith on Sat Nov 14, 2009 at 10:53:23 PM EST

I think.

-------
I...I like me. My wife likes me. My customers like me. Because I'm the real article. What you see is what you get. - Me


[ Parent ]

it would literally be quicker and better (3.00 / 6) (#16)
by th0m on Sun Nov 15, 2009 at 02:38:10 AM EST

to reimplement scoop from scratch in a modern programming language & framework

PERL IS OBSOLETE! (none / 1) (#21)
by lostincali on Sun Nov 15, 2009 at 11:51:32 AM EST

YOU HEARD IT HERE FIRST FOLKS

"The least busy day [at McDonalds] is Monday, and then sales increase throughout the week, I guess as enthusiasm for life dwindles."
[ Parent ]

maybe not 'obsolete', but certainly 'legacy' $ (none / 1) (#35)
by th0m on Mon Nov 16, 2009 at 06:09:23 AM EST



[ Parent ]
Nobody is stopping you (none / 0) (#33)
by Del Griffith on Sun Nov 15, 2009 at 10:07:21 PM EST

I've even provided access to the source as a reference.

-------
I...I like me. My wife likes me. My customers like me. Because I'm the real article. What you see is what you get. - Me


[ Parent ]

keep pushing that mop (2.00 / 3) (#17)
by lostincali on Sun Nov 15, 2009 at 09:20:21 AM EST


"The least busy day [at McDonalds] is Monday, and then sales increase throughout the week, I guess as enthusiasm for life dwindles."

keep contributing nothing. (none / 1) (#18)
by Del Griffith on Sun Nov 15, 2009 at 10:30:32 AM EST


-------
I...I like me. My wife likes me. My customers like me. Because I'm the real article. What you see is what you get. - Me


[ Parent ]

lol scoop article: (none / 0) (#20)
by Del Griffith on Sun Nov 15, 2009 at 11:49:41 AM EST

http://osdir.com/Article197.phtml It's funny how much it looks like scoop... or was scoop made to look like it?

-------
I...I like me. My wife likes me. My customers like me. Because I'm the real article. What you see is what you get. - Me


When you get your k5/husi/dkos - killer site up, (3.00 / 5) (#22)
by tdillo on Sun Nov 15, 2009 at 02:46:09 PM EST

Del, let us know. I would be proud to sign up and contribute inane commentary and catch phrases that were semi-popular decades ago.

The stories and information posted here are artistic works of fiction and falsehood.
Only a fool would take anything posted here as fact.

The alternative is Michael Crawford.

glad to hear it! (none / 1) (#23)
by Del Griffith on Sun Nov 15, 2009 at 03:10:18 PM EST

Well its either that or when k5 finally does die.. then what?

-------
I...I like me. My wife likes me. My customers like me. Because I'm the real article. What you see is what you get. - Me


[ Parent ]

Nothing wrong with debian as your main OS (none / 1) (#24)
by Have A Nice Day on Sun Nov 15, 2009 at 05:39:27 PM EST

Though I do still have to swap out into windows when I want to play Left4Dead.

--------------
Have A Nice Day may have reentered the building.
that's why I'm loading it into a VM (none / 1) (#25)
by Del Griffith on Sun Nov 15, 2009 at 06:24:05 PM EST

so I don't have to dual boot for shit. I too went through hell with all this 'booting' bullshit when I toggled between MS-DOS, OS/2, Windows NT & Linux.... But you know, 1994 was a long time ago, and I'd like to pretend that we've moved on since then.

-------
I...I like me. My wife likes me. My customers like me. Because I'm the real article. What you see is what you get. - Me


[ Parent ]

I prefer to forget that windows (vista) exists (none / 0) (#28)
by Have A Nice Day on Sun Nov 15, 2009 at 06:52:06 PM EST

until it's game time. Each to their own.

--------------
Have A Nice Day may have reentered the building.
[ Parent ]
FELONIOUS COCKSUCKING WITH INTENT (3.00 / 3) (#27)
by Empedocles on Sun Nov 15, 2009 at 06:36:03 PM EST

TO SWALLOW THE EVIDENCE

---
And I think it's gonna be a long long time
'Till touch down brings me 'round again to find
I'm not the man they think I am at home

Why the upload to megaupload? (none / 0) (#31)
by FattMattP on Sun Nov 15, 2009 at 09:18:26 PM EST

Is 1.1.8 not available elsewhere?

I picked it because it has the most retarded (none / 0) (#32)
by Del Griffith on Sun Nov 15, 2009 at 09:39:07 PM EST

logos & graphics ever... Also no, in case you've been in a cave, scoop.kuro5hin.org is dead.

-------
I...I like me. My wife likes me. My customers like me. Because I'm the real article. What you see is what you get. - Me


[ Parent ]

SO YOU ADMIT THE NMC SPAMMER IS NOT (none / 0) (#34)
by hugin on Mon Nov 16, 2009 at 01:37:12 AM EST

A RETARD. CAUSE CLEARLY NMC SPAMMER HAD IT GOING BEFORE DEL GRIFFITH!

This is a clip that shows the Phantom makeup being applied to Michael Crawford as well as other behind-the-scenes footage as he prepares to perform on the Bob Hope Show. A must-have for any Crawford fan. Enjoy!

I wasn't aware of it being a race.. (none / 0) (#37)
by Del Griffith on Mon Nov 16, 2009 at 06:47:17 AM EST

But unlike NMC, I thought I'd document the steps and share them.

-------
I...I like me. My wife likes me. My customers like me. Because I'm the real article. What you see is what you get. - Me


[ Parent ]

NMC didn't have the mind to attract users (none / 0) (#49)
by Korean Loller Blader on Mon Nov 16, 2009 at 05:05:15 PM EST

That's why it died, even when I joined. I joined, a bunch of people also joined, but the lack of interesting and good-looking interface killed it.

Don't forget the importance of the Mac User set. They need things to look pertty to keep interested.
D'oh! I can't seem to talk to the mod_
[ Parent ]

well.... then you've never seen the default (none / 1) (#52)
by Del Griffith on Mon Nov 16, 2009 at 05:51:51 PM EST

scoop look.  It makes k5 look like GOLD...

So if I were to launch this thing into the world, would you rather I spend a boatload of time making it look 'nice' or just launch it and see where it goes, fixing stuff (like the cancel button) whenever I get around to it...?

-------
I...I like me. My wife likes me. My customers like me. Because I'm the real article. What you see is what you get. - Me


[ Parent ]

Well, the thing is (none / 0) (#55)
by Korean Loller Blader on Mon Nov 16, 2009 at 08:44:06 PM EST

if you had even a few minutes, you could fix the cancel bug. Rusty buses the excuse of his kid or kid or whatever, but really.....
D'oh! I can't seem to talk to the mod_
[ Parent ]
someone please set up a K5 w/admins, (none / 1) (#36)
by N0574 on Mon Nov 16, 2009 at 06:45:39 AM EST

free signups, and a working Archive search. I want to see this thing working at full capacity again.

- NCCTG N0574 CANCER PROTOCOL
well it can be done now.... (none / 1) (#38)
by Del Griffith on Mon Nov 16, 2009 at 06:58:46 AM EST

but the real question is, would anyone do it?

And no doubt the moment you opened it up, would you advertise it here?

I've thought about it once, but I don't know if I could be bothered with it's fallout...

At best it'd end up like HUSI, and that place fucking is worse then what happened to k5..  And Vlad's site... yuck.

-------
I...I like me. My wife likes me. My customers like me. Because I'm the real article. What you see is what you get. - Me


[ Parent ]

not sure about HuSi, but (none / 0) (#39)
by N0574 on Mon Nov 16, 2009 at 07:17:53 AM EST

it seems their problem is anal-affective mods, excessive banination, friends-for-all faggitry, etc., no? Rusty's rules are good, the way the site looks is fine, and the principle is not flawed--it's the application of it that's the problem. (Or its/his lack of application, I suppose you could say).  

So sure, why not advertise for "K6" here? If you want a functional site like this, naturally you need a user base like this one. Most of us are disappointed with the way the place has become since $5, and I doubt anyone ever believed good FP articles would draw in (paying) fresh blood...

And that's the problem--the FP is hardly ever updated, the user base has dwindled to almost nothing, and because it's dwindled to teh nothing the FP never gets updated w/100+ comment articles people are talking about. Pretty obvious vicious circle, with almost all the content is coming from the ghetto--even the FP articles.

- NCCTG N0574 CANCER PROTOCOL
[ Parent ]

How does free speech rate in .tw? (none / 1) (#40)
by Del Griffith on Mon Nov 16, 2009 at 07:23:27 AM EST

you could always look for hosting there... I guess I could help you set it up.... if you can find some Debian thing.....

As you can see it wasn't that involved to setup.

I think the one major failing of k5 was the ability for people to 0 comments & hide other peoples stuff... And the abuse that came with it... I think an excessive mod bombing led to the $5 which kind of killed it off.

The real 'trick' would be attracting writers.....  I guess you could always vanity press a 'best of' book with the FP stuff every year.... Although I don't know who would be buying that from k5...

-------
I...I like me. My wife likes me. My customers like me. Because I'm the real article. What you see is what you get. - Me


[ Parent ]

0 modbombing campaigns (none / 0) (#41)
by N0574 on Mon Nov 16, 2009 at 07:32:31 AM EST

yeah, that's a stupid feature. CTS talked about setting up his own site specifically without this feature/problem. Maybe he'd be willing to set up K6--I haven't the time right now.

Why don't you do it from work? A noble side project, no?

- NCCTG N0574 CANCER PROTOCOL
[ Parent ]

with a work ip address? (none / 0) (#42)
by Del Griffith on Mon Nov 16, 2009 at 07:33:46 AM EST

I'm sure besides the hacking, people would submit complaints, get the reverse, then start trying to phone me @ work & shit.......

-------
I...I like me. My wife likes me. My customers like me. Because I'm the real article. What you see is what you get. - Me


[ Parent ]

thought you were self-employed (none / 0) (#43)
by N0574 on Mon Nov 16, 2009 at 07:37:37 AM EST

guess that wouldn't work. When superdiva was running scoop on psych-e.org I think she had all sorts of problems...was hoping she'd weigh in on this.

- NCCTG N0574 CANCER PROTOCOL
[ Parent ]
I used to be but (none / 1) (#44)
by Del Griffith on Mon Nov 16, 2009 at 07:41:04 AM EST

the health insurance shit got me trapped up so I took an offer with a company I did a lot of work for...

-------
I...I like me. My wife likes me. My customers like me. Because I'm the real article. What you see is what you get. - Me


[ Parent ]

Another question would be: (none / 0) (#45)
by Del Griffith on Mon Nov 16, 2009 at 08:41:00 AM EST

How would you handle the whole Crawford thing?

would it have been reasonable to step in & silence him when he went unhinged?

Was it better to let him go until the threats poured in?

Would you instate him on your 'new' site?  What if he or others start with essays on why JOHN DOE is an ignorant mother fucker?

....

No doubt these 'issues' would be tested immediately.

-------
I...I like me. My wife likes me. My customers like me. Because I'm the real article. What you see is what you get. - Me


[ Parent ]

Please make Husi 2.0 so we can go there and (none / 0) (#46)
by Korean Loller Blader on Mon Nov 16, 2009 at 02:32:58 PM EST

make dupes and bug the shit out of each other and generally have a good time. Because, if you weren't an old-timey jerk thinking of the good 'ol days of BBS in 2004, then K5 was a hella-fun place to be.

Let's not try to re-create that, but let's do something fun where we can have dupes and be like furries but online.
D'oh! I can't seem to talk to the mod_

What about that Vlad spork fest? (none / 0) (#47)
by Del Griffith on Mon Nov 16, 2009 at 04:08:02 PM EST

have you managed to get any dupes on that one?

Its frozen in time which is weird.... Maybe he's dead.

IF someone were to create a site, and god help them mention it here, I imagine that everyone would be going nuts for 30 seconds page widening, posting ascii porn, getting banned, crashing the server etc, then they'd come right back here..

The only 'bonus' yeah would be a possible end to the $5 wall....

-------
I...I like me. My wife likes me. My customers like me. Because I'm the real article. What you see is what you get. - Me


[ Parent ]

Well, you'd have to think it out and make some (none / 1) (#48)
by Korean Loller Blader on Mon Nov 16, 2009 at 05:03:05 PM EST

strange rules to give the place a different feel, but K5 REALLY is dying. It's been suffocated and the fundamental thing it functioned as has been killed: intelligent trolling.

It started off as an old-guy computer wanker site, but it quickly adapted to what the internet was doing currently. However, it has not been able to keep up because of the $5 wall and I suspect that Rusty makes very little money from it, so he could care less.

Yes, I know, that's a surprise.

The problem is that Rusty is not a good Simon Le Vey type. He's a Flanders type. He doesn't want to seem uncool because he was a teenager during the hey-day of 1980's teen movies. It might make him seem uncultured in whatever weird culture of nerd the internet smart guy has produced. You know the type: have to brew their own beer, grow their own veggies, make everything because they are Makers. Idiots, in short.

So, you should do your own and put some spin on it. I can mod since I like pointlessly killing off idiot users and shaping a community and I have the time. Also, I know how to attract users, so there we be.

Make it you have to and they will cum.
D'oh! I can't seem to talk to the mod_
[ Parent ]

OH yeah... time_idx ... (none / 0) (#53)
by Del Griffith on Mon Nov 16, 2009 at 08:28:34 PM EST

DROP TABLE IF EXISTS `stories`;
CREATE TABLE `stories` (
  `sid` varchar(20) NOT NULL default '',
  `tid` varchar(20) NOT NULL default '',
  `aid` int(11) NOT NULL default '0',
  `title` varchar(100) default NULL,
  `dept` varchar(100) default NULL,
  `time` datetime NOT NULL default '0000-00-00 00:00:00',
  `introtext` text,
  `bodytext` text,
  `writestatus` int(1) NOT NULL default '0',
  `hits` int(1) NOT NULL default '0',
  `section` varchar(30) NOT NULL default '',
  `displaystatus` int(1) NOT NULL default '0',
  `commentstatus` int(1) default NULL,
  `totalvotes` int(11) NOT NULL default '0',
  `score` int(11) NOT NULL default '0',
  `rating` int(11) NOT NULL default '0',
  `attached_poll` varchar(20) default NULL,
  `sent_email` int(1) NOT NULL default '0',
  `edit_category` tinyint(1) NOT NULL default '0',
  PRIMARY KEY  (`sid`),
  KEY `section_idx` (`section`,`displaystatus`),
  KEY `displaystatus_idx` (`displaystatus`),
  KEY `time_idx` (`time`),
  FULLTEXT KEY `storysearch_idx` (`title`,`introtext`,`bodytext`)
) TYPE=MyISAM;

-------
I...I like me. My wife likes me. My customers like me. Because I'm the real article. What you see is what you get. - Me


You may want to setup a crontab... (none / 0) (#56)
by Del Griffith on Tue Nov 17, 2009 at 09:17:30 AM EST

I run a crontab like this every day:

MAILTO=YOUEREMAIL@DOMAIN.com
# m h  dom mon dow   command
0 0 * * *  /root/backup_mysql.sh >> /root/backup_mysql.log 2>&1

Which in turn runs this... make sure you've chmod +x the dammed thing!

#!/bin/sh
#
# backup_mysql.sh
#
# get the date & time
date=`date -Iseconds`
#
mysqldump -u root -pYOURSQLPASS  scoop > /var/backups/backup-$date.sql
#
tar -cf - $HOME/readme.txt /etc/apache2 /usr/src/scoop* /var/backups/backup-$date.sql | gzip > /var/backups/scoop-backup-$date.tar.gz
rm -rf /var/backups/backup-$date.sql
#
#Let's email the backup since at the moment it's 1MB compressed...
#Later this will want to become some other method of moving it offset.
uuencode /var/backups/scoop-backup-$date.tar.gz scoop-backup-$date.tar.gz > /tmp/x.uue
mail -s 'daily backup' YOUREMAIL@DOMAIN.com < /tmp/x.uue
rm -rf /tmp/x.uue

make sure you've installed the sharutils for uuencode!

-------
I...I like me. My wife likes me. My customers like me. Because I'm the real article. What you see is what you get. - Me


Scoop blows (none / 1) (#57)
by debacle on Tue Nov 17, 2009 at 10:22:24 AM EST

It's an outdated piece of crap.

It tastes sweet.
more modern Debian distro (none / 0) (#58)
by iggymanz on Tue Dec 22, 2009 at 12:06:03 AM EST

funny Ubuntu has scoop in the Dapper universe,   july 13, 2005.  As a hint to fledgling writers of blog articles, had  I not bothered to read the fine print at the bottom of Kuro5hin at some time long past I would never have known what the hell scoop was.  

it doesn't matter that much.... (none / 0) (#59)
by Del Griffith on Tue Jan 19, 2010 at 01:19:17 AM EST

but I found the mis direction to some dead virgin scoop was far more fun.

-------
I...I like me. My wife likes me. My customers like me. Because I'm the real article. What you see is what you get. - Me


[ Parent ]

JESUS (none / 0) (#60)
by The Hanged Man on Thu Jan 28, 2010 at 05:16:54 PM EST


-------------

Dificile est saturam non scribere - Juvenal
Installing scoop on "modern" debian systems | 60 comments (56 topical, 4 editorial, 0 hidden)
Display: Sort:

kuro5hin.org

[XML]
All trademarks and copyrights on this page are owned by their respective companies. The Rest 2000 - Present Kuro5hin.org Inc.
See our legalese page for copyright policies. Please also read our Privacy Policy.
Kuro5hin.org is powered by Free Software, including Apache, Perl, and Linux, The Scoop Engine that runs this site is freely available, under the terms of the GPL.
Need some help? Email help@kuro5hin.org.
My heart's the long stairs.

Powered by Scoop create account | help/FAQ | mission | links | search | IRC | YOU choose the stories!