Monkey webserver

Browsers, email, chat, etc.
Message
Author
User avatar
paulhomebus
Posts: 120
Joined: Thu 21 Jan 2010, 23:23
Location: New Zealand
Contact:

#16 Post by paulhomebus »

I gave up trying to get it to work, and installed XAMPP instead...

http://murga-linux.com/puppy/viewtopic.php?t=59846

EZ4arabs
Posts: 82
Joined: Wed 19 Jul 2006, 09:18

#17 Post by EZ4arabs »

Description Made in LuPu 5.1 - works in most versions (I think)
Too bad it wouldn't work in older puppy versions
Regarding to the software required to run Monkey successfully, you will need a Linux environment with Kernel version 2.6.29 (at least)....
does anyone know of a webserver (that supports php )that works on 2.6.18.1?
Thank you.

shopno11

#18 Post by shopno11 »

What is the standard login outta the box for this?
(- I assumed it was --- Server: puppypc ---- Login: nobody---- password: woof)
But that doesn't work.

laredmemata
Posts: 4
Joined: Thu 20 Jan 2011, 11:16

mysql password

#19 Post by laredmemata »

I had the same trouble. My monkey and php works properly, but i was no able to connect with mysql.
So I eliminate the old password and put another one.
The whole thing comes from this page: http://www.debian-administration.org/articles/442

The mysqld_safe is in /usr/local/bin/mysqld_safe, and so do mysql.
The password must be written within the "'".
Now I have a light lampp.
say I will put woof as password for root.
stop your mysql. I do this from menu->netword->monkey webserver
open a console. menu->utility->urxvt terminal emulator
write in it:
/usr/local/bin/mysqld_safe --skip-grant-tables &
this put a background process, i think.
then write:
mysql --user=root mysql
this calls mysql for the user root in the database mysql, where are the passwords.
now write:
update user set Password=PASSWORD('woof') WHERE User='root';
this overwrite the password for root, and makes it woof.
now write :
exit
it is done. Now you have a root user with woof as password.... but inaccesible for php. (it works from console, not from the server).

Perhaps a lampp from apachefriends is a ugly but straight solution. I continue tryng.

-as you can see, I'm not english native speaker. Sorry.

mama21mama

#20 Post by mama21mama »

gracias;

tips:

create BD: world

Code: Select all

mysqladmin create word

import bd

Code: Select all

mysql world < my_backup_tables.sql
backup all BD:

Code: Select all

tar cvpzf ~/all_BD-$(date +%d-%m-%y).sql.tgz /usr/local/var/*
drop BD

Code: Select all

mysqladmin -u root -p drop name_BD 
Seguridad

ES: crear un nuevo usuario con todos los privilegios
EN: create a new user with all privileges

ES: luego
EN: then

Code: Select all

#mysqladmin password newpass
ES: para mayor seguridad
EN: for safety


Mirror lamp
Last edited by mama21mama on Wed 02 Feb 2011, 05:59, edited 4 times in total.

User avatar
KusaNoKaito
Posts: 99
Joined: Fri 19 Feb 2010, 22:52
Location: Florida
Contact:

#21 Post by KusaNoKaito »

This is a great web server! works right after install and little configuration is necessary in puppy 5.1.

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#22 Post by sc0ttman »

Here's how to make PPLOG work with monkey.
I thought I would post this, after attempting it myself.

Using PPLOG setup as described below, I can edit a blog at:
http://localhost/cgi-bin/pup_pplog.pl

Here's my setup:

1. My Monkey setup has the following file and folder layout:

Code: Select all

/root/webserver
/root/webserver/cgi-bin   <-- my default cgi bin (containing the main pup_pplog.pl script)
/root/webserver/www    <--- my web home dir
/root/webserver/www/blog    <---  the place where I have my other PPLOG files
2. My '/etc/monkey/monkey.conf' file:

Code: Select all

Server_root /root/webserver/www
..
Server_ScriptAlias /cgi-bin/ /root/webserver/cgi-bin
3. And here is (part of) my PPLOG config in '/root/webserver/cgi-bin/pup_pplog.pl':

Code: Select all

our $config_smiliesFolder = '/root/webserver/www/blog/smilies';
our $config_smiliesFolderName = 'smilies';
our $config_postsDatabaseFolder = '/root/webserver/www/blog/posts';
our $config_commentsDatabaseFolder = '/root/webserver/www/blog/comments';
our $config_currentStyleFolder = '/blog';	

BUT.... Grrrrr.....
It MOSTLY works fine, but I still cannot get images to work in PPLOG (smilies or reddit)!!!

EDIT AGAIN:: It has stopped displaying anything at all, giving an error when run in the terminal:

Code: Select all

Can't locate CGI .. blah.. @INC.. blah


Help please!
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

Post Reply