| Author |
Message |
paulhomebus

Joined: 21 Jan 2010 Posts: 120 Location: New Zealand
|
Posted: 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
|
|
 |
EZ4arabs
Joined: 19 Jul 2006 Posts: 84
|
Posted: 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
|
|
 |
shopno11
Guest
|
Posted: 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
|
Posted: 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
|
|
 |
mama21mama

Joined: 03 Apr 2010 Posts: 439 Location: Lincoln, Buenos Aires, Argentina
|
Posted: 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
_________________
Mi Blog:. http://blog.mamalibre.com.ar/
Last edited by mama21mama on Wed 02 Feb 2011, 01:59; edited 4 times in total
|
|
Back to top
|
|
 |
KusaNoKaito

Joined: 19 Feb 2010 Posts: 98 Location: Florida
|
Posted: 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
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2174 Location: UK
|
Posted: 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
|
|
 |
|