FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » FUDforum 3.0+ » FUDforum 2 CVS  () 2 Votes
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
FUDforum 2 CVS [message #1440] Sun, 14 April 2002 12:05 Go to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Here are the instruction how to get FUDforum 2 (Alpha) from CVS:

mkdir forum2
cd forum2
cvs -z9 -d :pserver:anonymous(at)asuka(dot)prohost(dot)org:/forum2 checkout .


This will fetch all of the forum's files.

To create an install script, you'll need to run the following commands:
./create_file_list install >> install.php


Now you can copy install.php into a web browseable dir & install the forum.

**note** if you've already downloaded the sources from the CVS once you can do the following:

cd forum2
rm install.php
cvs -z9 -d :pserver:anonymous(at)asuka(dot)prohost(dot)org:/forum2 update .


For singular file downloads Web CVS is avaliable at:
http://cvs.prohost.org/c/viewcvs.cgi/


FUDforum Core Developer

[Updated on: Thu, 06 June 2002 14:38]

Report message to a moderator

Re: FUDforum 2 CVS [message #1595 is a reply to message #1440] Fri, 19 April 2002 11:18 Go to previous messageGo to next message
basse is currently offline  basse   Finland
Messages: 164
Registered: March 2002
Location: Åbo, Finland
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
How do I update my local files? Can I use the same command or should I alter it in some way? I mean, there's no need to download the whole thing if one can simply download the diffs.

[Updated on: Fri, 19 April 2002 11:19]

Report message to a moderator

Re: FUDforum 2 CVS [message #1597 is a reply to message #1595] Fri, 19 April 2002 11:29 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Instead of the "checkout" command you use "update" command.

Ex:

vs -z9 -d Razzserver:anonymous(at)asuka(dot)prohost(dot)org:/forum2 update .


FUDforum Core Developer
icon6.gif  Re: FUDforum 2 CVS [message #1606 is a reply to message #1440] Fri, 19 April 2002 16:14 Go to previous messageGo to next message
Kerhold is currently offline  Kerhold   Poland
Messages: 18
Registered: April 2002
Location: Warsaw, Poland
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user

prottoss wrote on Sun, 14 April 2002 6:05 PM


To create an install script, you'll need to run the following commands:

cd src;
./create_file_list install >> install.php

Now you can copy install.php into a web browseable dir & install the forum.


Hmm. If I want to upgrade my forum files, I will have to install forum one more time. Am i right? And when I do 'update' from CVS, I have to create again 'install.php' and install forum? Or is it simpler way?


Common sense is not so common.
Re: FUDforum 2 CVS [message #1611 is a reply to message #1606] Fri, 19 April 2002 17:01 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
No Message Body

FUDforum Core Developer
Re: FUDforum 2 CVS [message #1623 is a reply to message #1606] Sat, 20 April 2002 01:57 Go to previous messageGo to next message
basse is currently offline  basse   Finland
Messages: 164
Registered: March 2002
Location: Åbo, Finland
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Kerhold wrote on Fri, 19 April 2002 11:14 PM


Hmm. If I want to upgrade my forum files, I will have to install forum one more time. Am i right? And when I do 'update' from CVS, I have to create again 'install.php' and install forum? Or is it simpler way?


Be careful, I was fooled by this a couple times before I got it right. Prottoss' instructions tells you to append the result of 'create_file_install install' to install.php. If you do this more than once on the same file you will end up with a very large install.php which always installs the first version you created, not the later versions.
Re: FUDforum 2 CVS [message #1629 is a reply to message #1623] Sat, 20 April 2002 11:16 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Very true...

To rebuild the install script you need to do:

rm install.php

cvs -z9 -d :pserver:anonymous(at)asuka(dot)prohost(dot)org:/forum2 update install.php

./create_file_list install >> install.php


FUDforum Core Developer

[Updated on: Sat, 20 April 2002 19:38]

Report message to a moderator

Re: FUDforum 2 CVS [message #1667 is a reply to message #1440] Sat, 20 April 2002 19:13 Go to previous messageGo to next message
JayЩ~ is currently offline  JayЩ~   United States
Messages: 37
Registered: April 2002
Location: Florida, USA
Karma: 0
Member
add to buddy list
ignore all messages by this user
I tried to create the install but just ended up with bash: ./create_file_list: bad interpreter: no such file or directory.

Did I do something wrong?


Picture the daffodil. And while you do that, I'll be over here going through your stuff.
Re: FUDforum 2 CVS [message #1668 is a reply to message #1667] Sat, 20 April 2002 19:14 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
In that case you need to edit the 1st line of the create_file_list script, and change the path of the php binary.

FUDforum Core Developer
Re: FUDforum 2 CVS [message #1676 is a reply to message #1668] Sat, 20 April 2002 19:33 Go to previous messageGo to next message
JayЩ~ is currently offline  JayЩ~   United States
Messages: 37
Registered: April 2002
Location: Florida, USA
Karma: 0
Member
add to buddy list
ignore all messages by this user
ok, in redhat php is located in /usr/bin

Seems un-standard.


Picture the daffodil. And while you do that, I'll be over here going through your stuff.
Re: FUDforum 2 CVS [message #1677 is a reply to message #1676] Sat, 20 April 2002 19:35 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
The default PHP installation puts its binary into /usr/local/bin/,
I dunno why r-hat decided to put it else where...


FUDforum Core Developer
Re: FUDforum 2 CVS [message #1679 is a reply to message #1676] Sat, 20 April 2002 19:37 Go to previous messageGo to next message
JayЩ~ is currently offline  JayЩ~   United States
Messages: 37
Registered: April 2002
Location: Florida, USA
Karma: 0
Member
add to buddy list
ignore all messages by this user
what I did was to edit the path to php. Then I stayed within the forum2 directory and did ./create_file_list install >> install.php and it all worked. If I cd to the src it wouldn't work.

Picture the daffodil. And while you do that, I'll be over here going through your stuff.
Re: FUDforum 2 CVS [message #1680 is a reply to message #1677] Sat, 20 April 2002 19:38 Go to previous messageGo to next message
JayЩ~ is currently offline  JayЩ~   United States
Messages: 37
Registered: April 2002
Location: Florida, USA
Karma: 0
Member
add to buddy list
ignore all messages by this user
prottoss wrote on Sat, 20 April 2002 7:35 PM

The default PHP installation puts its binary into /usr/local/bin/,
I dunno why r-hat decided to put it else where...


yeah, that would make more sense to me anyways to have it in /usr/local/bin.

Which Linux variant are you using?


Picture the daffodil. And while you do that, I'll be over here going through your stuff.
Re: FUDforum 2 CVS [message #1681 is a reply to message #1679] Sat, 20 April 2002 19:39 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
rgr, I will revise the CVS instructions

FUDforum Core Developer
Re: FUDforum 2 CVS [message #1682 is a reply to message #1681] Sat, 20 April 2002 19:44 Go to previous messageGo to next message
JayЩ~ is currently offline  JayЩ~   United States
Messages: 37
Registered: April 2002
Location: Florida, USA
Karma: 0
Member
add to buddy list
ignore all messages by this user
Now I'm in business. Took only 10 seconds.

Picture the daffodil. And while you do that, I'll be over here going through your stuff.
Re: FUDforum 2 CVS [message #1684 is a reply to message #1682] Sat, 20 April 2002 19:47 Go to previous messageGo to next message
JayЩ~ is currently offline  JayЩ~   United States
Messages: 37
Registered: April 2002
Location: Florida, USA
Karma: 0
Member
add to buddy list
ignore all messages by this user
if you use the domain socket for mysql in Redhat, it's located in :/var/lib/mysql/mysql.sock . Redhat keeps everything in a weird place.

Picture the daffodil. And while you do that, I'll be over here going through your stuff.
Re: FUDforum 2 CVS [message #1687 is a reply to message #1684] Sat, 20 April 2002 19:50 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
JayЩ~ wrote on Sat, 20 April 2002 7:47 PM

if you use the domain socket for mysql in Redhat, it's located in :/var/lib/mysql/mysql.sock . Redhat keeps everything in a weird place.


As long as you know where it is, it's all good Smile


FUDforum Core Developer
Re: FUDforum 2 CVS [message #1880 is a reply to message #1629] Tue, 23 April 2002 21:28 Go to previous messageGo to next message
mauftarkie   United States
Messages: 29
Registered: April 2002
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user

... and if you're like me, and don't have a separate PHP binary, here's a little Perl script that does the same thing.

Usage: in the forum2 CVS directory,
./create_file_list.pl install >> install.php

I actually copy install.php to install-cvs.php and append to that file, which I then move to the web directory where I install. YMMV.
Re: FUDforum 2 CVS [message #1881 is a reply to message #1880] Tue, 23 April 2002 21:37 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
One small note the script above requires
Digest/MD5.pm
MIME/Base64.pm


FUDforum Core Developer
Re: FUDforum 2 CVS [message #1882 is a reply to message #1881] Tue, 23 April 2002 21:59 Go to previous messageGo to next message
mauftarkie   United States
Messages: 29
Registered: April 2002
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user

Thank you. I meant to mention that. I swear I need a vacation.

Oh wait. I'm on vacation right now. <S> There's just no winning, is there?
Re: FUDforum 2 CVS [message #2325 is a reply to message #1440] Tue, 07 May 2002 15:28 Go to previous messageGo to next message
esm2002 is currently offline  esm2002   United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
well, i read all the posts here so I'll tackle the install later

but for now here is what I did...telnet into my site, created the directory forum2 and switched to that directory, ran the cvs commad to checkout the files...

Got the following error: cvs checkout: cannot find the password. cvs [checkout aborted]: use "cvs login" to login in first



Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
Re: FUDforum 2 CVS [message #2413 is a reply to message #2325] Wed, 08 May 2002 13:52 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Try using the command without the -d flag

If that does not work then do:

export CVSROOT=:pserver:anonymous(at)asuka(dot)prohost(dot)org/forum2
cvs login
[press enter when promted for password]
cvs checkout .


FUDforum Core Developer

[Updated on: Wed, 08 May 2002 13:52]

Report message to a moderator

Re: FUDforum 2 CVS [message #2461 is a reply to message #2413] Thu, 09 May 2002 03:12 Go to previous messageGo to next message
esm2002 is currently offline  esm2002   United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
nope

bash-2.02$ export CVSROOT=Razzserver:anonymous(at)asuka(dot)prohost(dot)org/forum2 cvs login
bash-2.02$ cvs checkout .
cvs checkout: missing hostname in CVSROOT: Razzserver:anonymous(at)asuka(dot)prohost(dot)org/
forum2
cvs [checkout aborted]: Bad CVSROOT.
bash-2.02$

I must have a screwy system!


Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
Re: FUDforum 2 CVS [message #2466 is a reply to message #2461] Thu, 09 May 2002 10:59 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Do:
cvs --version

Your cvs version is probably too old, if it less then version 1.11


FUDforum Core Developer
icon13.gif  Re: FUDforum 2 CVS [message #2475 is a reply to message #2466] Thu, 09 May 2002 16:57 Go to previous messageGo to next message
esm2002 is currently offline  esm2002   United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
1.10.3 Sad
bummer

I'll ask the host to upgrade

any other way?


Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
Re: FUDforum 2 CVS [message #2476 is a reply to message #2475] Thu, 09 May 2002 17:22 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
I'll see about setting up a utility that would generate CVS snapshots every 24 hours or so.

I'll look in to this tonight.


FUDforum Core Developer
Re: FUDforum 2 CVS [message #2477 is a reply to message #2475] Thu, 09 May 2002 17:24 Go to previous messageGo to next message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Why not installing CVS on ur local computer? There's no need to call it remotely. Just go to the Unix or Windows home of CVS install the proper version and u don't have any more problems with it. U can also write a shellscript for the commands, so u need not typing them each time u want to retrieve the latest files.
bye Ken
Re: FUDforum 2 CVS [message #2478 is a reply to message #2461] Thu, 09 May 2002 17:29 Go to previous messageGo to next message
hackie is currently offline  hackie   Canada
Messages: 177
Registered: January 2002
Karma: 0
Senior Member
Core Developer
add to buddy list
ignore all messages by this user

esm2002 wrote on Thu, 09 May 2002 3:12 AM

nope

bash-2.02$ export CVSROOT=:Pserver:anonymous(at)asuka(dot)prohost(dot)org/forum2 cvs login
bash-2.02$ cvs checkout .
cvs checkout: missing hostname in CVSROOT: :Pserver:anonymous(at)asuka(dot)prohost(dot)org/
forum2
cvs [checkout aborted]: Bad CVSROOT.
bash-2.02$

I must have a screwy system!


err... prottoss mistyped that! :) try this first

cvs -z3 -d :pserver:anonymous(at)asuka(dot)prohost(dot)org:/forum2 checkout .


cc intelligence.c -o intelligence
$ ./intelligence
Segmentation fault

[Updated on: Thu, 09 May 2002 17:31]

Report message to a moderator

Re: FUDforum 2 CVS [message #2497 is a reply to message #2478] Fri, 10 May 2002 03:53 Go to previous messageGo to next message
esm2002 is currently offline  esm2002   United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Got the following error: cvs checkout: cannot find the password. cvs [checkout aborted]: use "cvs login" to login in first


Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
Re: FUDforum 2 CVS [message #2498 is a reply to message #2478] Fri, 10 May 2002 04:04 Go to previous messageGo to next message
hackie is currently offline  hackie   Canada
Messages: 177
Registered: January 2002
Karma: 0
Senior Member
Core Developer
add to buddy list
ignore all messages by this user

hackie wrote on Thu, 09 May 2002 5:29 PM

esm2002 wrote on Thu, 09 May 2002 3:12 AM

nope

bash-2.02$ export CVSROOT=:Pserver:anonymous(at)asuka(dot)prohost(dot)org/forum2 cvs login
bash-2.02$ cvs checkout .
cvs checkout: missing hostname in CVSROOT: :Pserver:anonymous(at)asuka(dot)prohost(dot)org/
forum2
cvs [checkout aborted]: Bad CVSROOT.
bash-2.02$

I must have a screwy system!


err... prottoss mistyped that! :) try this first

cvs -z3 -d :pserver:anonymous(at)asuka(dot)prohost(dot)org:/forum2 checkout .



do this
touch ~/.cvspass
cvs -z3 -d :pserver:anonymous(at)asuka(dot)prohost(dot)org:/forum2 login
[press enter when it prompts for the password]
cvs -z3 -d :pserver:anonymous(at)asuka(dot)prohost(dot)org:/forum2 checkout .



cc intelligence.c -o intelligence
$ ./intelligence
Segmentation fault
Re: FUDforum 2 CVS [message #2499 is a reply to message #2498] Fri, 10 May 2002 04:53 Go to previous messageGo to next message
esm2002 is currently offline  esm2002   United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
getting close...
first I entered cd forum2 THEN entered your commands

after press pressing enter at the password prompt, I got

cvs [login aborted]: could not open /home/acct351/.cvspass: is a directory



Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
Re: FUDforum 2 CVS [message #2501 is a reply to message #2499] Fri, 10 May 2002 10:12 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Do:

touch /home/acct351/.cvspass


Then repeat the commands hackie has listed above.


FUDforum Core Developer
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: FUD is down
Next Topic: lib.js in adm 404 error
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Oct 18 12:51:11 EDT 2017

Total time taken to generate the page: 0.01115 seconds