Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Updating Monkey, How easy is it?< Next Oldest | Next Newest >
libretto Offline





Group: Members
Posts: 336
Joined: Oct. 2003
Posted: Jan. 20 2005,13:15 QUOTE

Hi there,

I'm looking to update httpdMonkey to the latest version.

Am I correct in thinking that the source from the Monkey homepage has to be compiled ??? Also, with the present monkey install theres a directory re-routing in place (monkey -> monkey-0.8.2), how would I change this to point to the newer monkey directory ???

Cheers.


--------------
Small Radio,  Small Laptop, DSL Linux
Back to top
Profile PM WEB 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: Jan. 20 2005,16:22 QUOTE

libretto,

You need to be careful with the monkey web server because:

System->Daemons->Monkey Web Server->monkey stop

Did not shut down monkey in version 0.9.2 of dsl
.  So be careful if you think it's shut off but it's still on.  This isn't because of anything I did, I believe it's a flaw in the base dsl since it happens from a clean boot too.  You can see this by running

System->Daemons->Monkey Web Server->monkey start
System->Daemons->Monkey Web Server->monkey stop
ps -ax | grep monkey

Maybe they'll update DSL to the 0.9.0 monkey when they fix that.

I got the source from monkey to compile with the gcc1.dsl file.  That was easy: untar it, cd to the directory created, type ./configure and the type make
.  There were all kind of permissions that were different between /opt/monky-0.8.0 and the monkey-0.9.0 directories, I tried to catch them all but I think I may have missed some because although the executable ran,  I had no web service.

the link is created with the command

ln -s /opt/monkey-0.9.0 monkey

EDIT: made the error clearer in dsl 0.9.2
Back to top
Profile PM 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: Jan. 20 2005,21:43 QUOTE

libretto, it's possible.  Here's what I did:

Code Sample
tar -xzvf monkey-0.9.0.tar.gz
cp -rp  monkey-0.9.0 /opt
cd /opt/monkey-0.9.0/
./configure
make
chmod 777 ../monkey-0.9.0
chmod 775 bin
chmod 775 cgi-bin
chmod 775 conf
chmod 775 htdocs
chmod 775 lang
chmod 775 logs
chmod 775 src
chmod 775 bin/banana
chmod 664 conf/modules.conf
chmod 664 conf/monkey.*
chmod 664 htdocs/index.html
cd /opt
rm monkey
ln -s monkey-0.9.0 monkey
beaver /monkey/conf/monkey.conf

  change the port line from Port 2001 to Port 80
  change the PidFile to /tmp/monkey.pid

then load you favorite browser and go to 127.0.0.1

If you leave the port 2001, you can still use it, but you need to connect to that port instead of the default port 80.

EDIT: retroactivly changed my post to correct the mistake found by libretto
Back to top
Profile PM 
libretto Offline





Group: Members
Posts: 336
Joined: Oct. 2003
Posted: Jan. 21 2005,08:46 QUOTE

Thanks for the info Clacker! :D

I'll get round to updating monkey in the next few days.

[EDIT]Followed your guide to the letter, well almost, you'd put the symlink back to 0.8.2! :D no problem to change that! Again thanks for your help! :cool: [/EDIT]


--------------
Small Radio,  Small Laptop, DSL Linux
Back to top
Profile PM WEB 
3 replies since Jan. 20 2005,13:15 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Updating Monkey

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code