Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 30 Sep 2014, 11:57
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Monkey webserver
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [22 Posts]   Goto page: Previous 1, 2
Author Message
paulhomebus


Joined: 21 Jan 2010
Posts: 120
Location: New Zealand

PostPosted: Mon 04 Oct 2010, 18:34    Post subject:  

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

http://murga-linux.com/puppy/viewtopic.php?t=59846
Back to top
View user's profile Send private message Visit poster's website AIM Address 
EZ4arabs

Joined: 19 Jul 2006
Posts: 84

PostPosted: Wed 20 Oct 2010, 05:35    Post subject:  

Quote:
Description Made in LuPu 5.1 - works in most versions (I think)

Too bad it wouldn't work in older puppy versions
Quote:

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.
Back to top
View user's profile Send private message 
shopno11
Guest


PostPosted: Thu 02 Dec 2010, 16:53    Post subject:  

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.
Back to top
laredmemata

Joined: 20 Jan 2011
Posts: 4

PostPosted: Thu 20 Jan 2011, 07:38    Post subject:  mysql password
Subject description: the mysql password was missed
 

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.
Back to top
View user's profile Send private message 
mama21mama

Joined: 03 Apr 2010
Posts: 526
Location: Lincoln, Buenos Aires, Argentina

PostPosted: Tue 01 Feb 2011, 09:28    Post subject:  

gracias;

tips:

create BD: world

Code:

mysqladmin create word



import bd


Code:
mysql world < my_backup_tables.sql


backup all BD:

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


drop BD

Code:
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:
#mysqladmin password newpass


ES: para mayor seguridad
EN: for safety


Mirror lamp

Last edited by mama21mama on Wed 02 Feb 2011, 01:59; edited 4 times in total
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger 
KusaNoKaito


Joined: 19 Feb 2010
Posts: 99
Location: Florida

PostPosted: Tue 01 Feb 2011, 20:34    Post subject:  

This is a great web server! works right after install and little configuration is necessary in puppy 5.1.
_________________
Puppy Packages
My Website
Back to top
View user's profile Send private message Visit poster's website 
sc0ttman


Joined: 16 Sep 2009
Posts: 2376
Location: UK

PostPosted: Mon 21 Feb 2011, 18:10    Post subject:    

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:
/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:
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:
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:
Can't locate CGI .. blah.. @INC.. blah




Help please!

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [22 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0659s ][ Queries: 12 (0.0047s) ][ GZIP on ]