Monkey webserver
- puppymartin
- Posts: 207
- Joined: Sun 29 Mar 2009, 18:59
- Location: The Netherlands
- Contact:
Monkey webserver
Monkey webserver 0.9.3.1
Very small with support for PERL-scripts (in /cgi-bin) + PHP (see second post) + MySQL (see third post)
I also made a starter/stopper (Menu -> Network):
Put your files in:
/root/monkey_webserver/www
Log files
/root/monkey_webserver/log
cgi-bin
/root/monkey_webserver/cgi-bin
(test: http://localhost/cgi-bin/test.pl)
More about Monkey:
http://www.monkey-project.com/
Very small with support for PERL-scripts (in /cgi-bin) + PHP (see second post) + MySQL (see third post)
I also made a starter/stopper (Menu -> Network):
Put your files in:
/root/monkey_webserver/www
Log files
/root/monkey_webserver/log
cgi-bin
/root/monkey_webserver/cgi-bin
(test: http://localhost/cgi-bin/test.pl)
More about Monkey:
http://www.monkey-project.com/
- Attachments
-
- monkey-0.9.3.1.pet
- Made in LuPu 5.1 - works in most versions (I think)
- (57.29 KiB) Downloaded 1449 times
Last edited by puppymartin on Thu 02 Sep 2010, 08:50, edited 3 times in total.
- puppymartin
- Posts: 207
- Joined: Sun 29 Mar 2009, 18:59
- Location: The Netherlands
- Contact:
PHP
Install php-4.3.7.pet
Change the Monkey config (/etc/monkey/monkey.conf):
Add this after "AddScript", line 123
Stop and start the server and go to the php-test:
http://localhost/php/index.php
Install php-4.3.7.pet
Change the Monkey config (/etc/monkey/monkey.conf):
Add this after "AddScript", line 123
Code: Select all
AddScript application/x-httpd-php /opt/php/bin/php php
AddScript application/x-httpd-php /opt/php/bin/php php3
http://localhost/php/index.php
- puppymartin
- Posts: 207
- Joined: Sun 29 Mar 2009, 18:59
- Location: The Netherlands
- Contact:
MYSQL and PHPMYADMIN clone
Add Mysql:
http://www.browserlinux.com/software/mysql-3.23.49.pet (6 Mb)
This pet also contains a small PhpMyAdmin clone to edit or view database tables:
http://localhost/php/adminer.php (Only Firefox or Chrome, not Netsurf)
http://www.adminer.org/
And a new starter:
Install all the pets (Monkey, PHP and MySQL) and you have a very light LAMP-server.
The versions are not very "new" but I use it for testing my sites.
Add Mysql:
http://www.browserlinux.com/software/mysql-3.23.49.pet (6 Mb)
This pet also contains a small PhpMyAdmin clone to edit or view database tables:
http://localhost/php/adminer.php (Only Firefox or Chrome, not Netsurf)
http://www.adminer.org/
And a new starter:
Install all the pets (Monkey, PHP and MySQL) and you have a very light LAMP-server.
The versions are not very "new" but I use it for testing my sites.
Awesome stuff.. Can't wait to test it, maybe ideal for a custom, tiny ISO which is used soley for web dev (for bloggers and so on)...
[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]
- puppymartin
- Posts: 207
- Joined: Sun 29 Mar 2009, 18:59
- Location: The Netherlands
- Contact:
New: Mini LAMP puplet - ISO 39 Mbsc0ttman wrote:Awesome stuff.. Can't wait to test it, maybe ideal for a custom, tiny ISO which is used soley for web dev (for bloggers and so on)...
http://murga-linux.com/puppy/viewtopic.php?p=447696
haha.. yeah, something like that would be nice...puppymartin wrote:New: Mini LAMP puplet - ISO 39 Mbsc0ttman wrote:Awesome stuff.. Can't wait to test it, maybe ideal for a custom, tiny ISO which is used soley for web dev (for bloggers and so on)...
http://murga-linux.com/puppy/viewtopic.php?p=447696
[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]
Dear sc0ttman,
Just for consistency's sake with user themes, I would change all icon= to stock= in the gtkdialog scripts. Doesn't cost anything and makes the apps look like they belong to the system under which they are running. I would do that as a RULE. And I like your apps - so, thanks.
With kind regards,
vovchik
Just for consistency's sake with user themes, I would change all icon= to stock= in the gtkdialog scripts. Doesn't cost anything and makes the apps look like they belong to the system under which they are running. I would do that as a RULE. And I like your apps - so, thanks.
With kind regards,
vovchik
Errrrrrr..... I didn't make this one!! Are you referring to something else I made?vovchik wrote:Dear sc0ttman,
Just for consistency's sake with user themes, I would change all icon= to stock= in the gtkdialog scripts.
If so, wanna post it there? (sorry puppymartin for the hijack - great work, once again!)
[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]
- paulhomebus
- Posts: 120
- Joined: Thu 21 Jan 2010, 23:23
- Location: New Zealand
- Contact:
Hi puppymartin,
I'm having problems getting mysql adminer working...
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.
I aslo can't see mysql started - where is the mysql.sock file, do have to run mysql_install_db - can I create it manually?
# ps au | grep mysql
root 3810 0.0 0.1 2064 700 pts/1 S+ 10:59 0:00 grep mysql
Confused noob,
Paul
I'm having problems getting mysql adminer working...
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.
I aslo can't see mysql started - where is the mysql.sock file, do have to run mysql_install_db - can I create it manually?
# ps au | grep mysql
root 3810 0.0 0.1 2064 700 pts/1 S+ 10:59 0:00 grep mysql
Confused noob,
Paul
- puppymartin
- Posts: 207
- Joined: Sun 29 Mar 2009, 18:59
- Location: The Netherlands
- Contact:
- paulhomebus
- Posts: 120
- Joined: Thu 21 Jan 2010, 23:23
- Location: New Zealand
- Contact:
My setup is just not working...
mysql --help gives me...
auto-rehash FALSE
character-sets-dir (No default value)
column-type-info FALSE
comments FALSE
compress FALSE
debug-check FALSE
debug-info FALSE
database (No default value)
default-character-set latin1
delimiter ;
vertical FALSE
force FALSE
named-commands FALSE
local-infile FALSE
no-beep FALSE
host (No default value)
html FALSE
xml FALSE
line-numbers TRUE
unbuffered FALSE
column-names TRUE
sigint-ignore FALSE
port 3306
prompt mysql>
quick FALSE
raw FALSE
reconnect TRUE
socket /var/run/mysqld/mysqld.sock
table FALSE
user (No default value)
safe-updates FALSE
i-am-a-dummy FALSE
connect_timeout 0
max_allowed_packet 16777216
net_buffer_length 16384
select_limit 1000
max_join_size 1000000
secure-auth FALSE
show-warnings FALSE
The socket is definitely not defined as /tmp/mysql.sock
Still confused.
Still not working.
Tho I have tried to...
1. copy table from working 421 monkey server setup to Lupu...
2. chown -R /var/lib/mysql nobody + chgrp -R /var/lib/mysql nobody
3. copy puppypc.err to /var/lib/mysql
4. move /usr/local/lib/mysql to /usr/lib
error message I am now getting is...
Sorry for the hassle, but I really, really would like to get this working on Lucid 5.1.
EDIT: I am stuck on the error: /usr/local/libexec/mysqld: unknown option '--skip-bdb' (EVEN tho I have skip-db turned off in my.cnf, I don't understand why this is so difficult!)
mysql --help gives me...
auto-rehash FALSE
character-sets-dir (No default value)
column-type-info FALSE
comments FALSE
compress FALSE
debug-check FALSE
debug-info FALSE
database (No default value)
default-character-set latin1
delimiter ;
vertical FALSE
force FALSE
named-commands FALSE
local-infile FALSE
no-beep FALSE
host (No default value)
html FALSE
xml FALSE
line-numbers TRUE
unbuffered FALSE
column-names TRUE
sigint-ignore FALSE
port 3306
prompt mysql>
quick FALSE
raw FALSE
reconnect TRUE
socket /var/run/mysqld/mysqld.sock
table FALSE
user (No default value)
safe-updates FALSE
i-am-a-dummy FALSE
connect_timeout 0
max_allowed_packet 16777216
net_buffer_length 16384
select_limit 1000
max_join_size 1000000
secure-auth FALSE
show-warnings FALSE
The socket is definitely not defined as /tmp/mysql.sock
Still confused.
Still not working.
Tho I have tried to...
1. copy table from working 421 monkey server setup to Lupu...
2. chown -R /var/lib/mysql nobody + chgrp -R /var/lib/mysql nobody
3. copy puppypc.err to /var/lib/mysql
4. move /usr/local/lib/mysql to /usr/lib
error message I am now getting is...
Code: Select all
/usr/local/libexec/mysqld: Table 'mysql.plugin' doesn't exist
100907 12:35:03 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
100907 12:35:03 InnoDB: Started; log sequence number 0 46409
100907 12:35:03 [ERROR] /usr/local/libexec/mysqld: unknown option '--skip-bdb'
100907 12:35:03 [ERROR] Aborting
100907 12:35:03 InnoDB: Starting shutdown...
100907 12:35:04 InnoDB: Shutdown completed; log sequence number 0 46409
100907 12:35:04 [Note] /usr/local/libexec/mysqld: Shutdown complete
100907 12:35:04 mysqld_safe mysqld from pid file /usr/local/var/mysql.pid ended
EDIT: I am stuck on the error: /usr/local/libexec/mysqld: unknown option '--skip-bdb' (EVEN tho I have skip-db turned off in my.cnf, I don't understand why this is so difficult!)
- paulhomebus
- Posts: 120
- Joined: Thu 21 Jan 2010, 23:23
- Location: New Zealand
- Contact:
Monkey web server
Monkey HTTP Daemon is a very fast and lightweight Web server just for Linux written in the C programming language,and is licensed as free software under the GNU General Public License.
This is an open source project based on HTTP/1.1. The objective is to develop a fast, efficient, small and easy to configure web server.
This is an open source project based on HTTP/1.1. The objective is to develop a fast, efficient, small and easy to configure web server.
- paulhomebus
- Posts: 120
- Joined: Thu 21 Jan 2010, 23:23
- Location: New Zealand
- Contact:
I gave up trying to get it to work, and installed XAMPP instead...
http://murga-linux.com/puppy/viewtopic.php?t=59846
http://murga-linux.com/puppy/viewtopic.php?t=59846
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.