Monkey webserver
- paulhomebus
- Posts: 120
- Joined: Thu 21 Jan 2010, 23:23
- Location: New Zealand
- Contact:
Too bad it wouldn't work in older puppy versionsDescription Made in LuPu 5.1 - works in most versions (I think)
does anyone know of a webserver (that supports php )that works on 2.6.18.1?Regarding to the software required to run Monkey successfully, you will need a Linux environment with Kernel version 2.6.29 (at least)....
Thank you.
-
- Posts: 4
- Joined: Thu 20 Jan 2011, 11:16
mysql password
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.
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.
gracias;
tips:
create BD: world
import bd
backup all BD:
drop BD
Seguridad
ES: crear un nuevo usuario con todos los privilegios
EN: create a new user with all privileges
ES: luego
EN: then
ES: para mayor seguridad
EN: for safety
Mirror lamp
tips:
create BD: world
Code: Select all
mysqladmin create word
import bd
Code: Select all
mysql world < my_backup_tables.sql
Code: Select all
tar cvpzf ~/all_BD-$(date +%d-%m-%y).sql.tgz /usr/local/var/*
Code: Select all
mysqladmin -u root -p drop name_BD
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
EN: for safety
Mirror lamp
Last edited by mama21mama on Wed 02 Feb 2011, 05:59, edited 4 times in total.
- KusaNoKaito
- Posts: 99
- Joined: Fri 19 Feb 2010, 22:52
- Location: Florida
- Contact:
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:
2. My '/etc/monkey/monkey.conf' file:
3. And here is (part of) my PPLOG config in '/root/webserver/cgi-bin/pup_pplog.pl':
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:
Help please!
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
Code: Select all
Server_root /root/webserver/www
..
Server_ScriptAlias /cgi-bin/ /root/webserver/cgi-bin
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]