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 Thu 21 Aug 2014, 06:12
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 1 of 2 [22 Posts]   Goto page: 1, 2 Next
Author Message
puppymartin


Joined: 29 Mar 2009
Posts: 207
Location: The Netherlands

PostPosted: Tue 31 Aug 2010, 19:04    Post subject:  Monkey webserver
Subject description: Very small webserver (58Kb pet) + LAMP-pets
 

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/
monkey-0.9.3.1.pet
Description  Made in LuPu 5.1 - works in most versions (I think)
pet

 Download 
Filename  monkey-0.9.3.1.pet 
Filesize  57.29 KB 
Downloaded  884 Time(s) 

Last edited by puppymartin on Thu 02 Sep 2010, 04:50; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website 
puppymartin


Joined: 29 Mar 2009
Posts: 207
Location: The Netherlands

PostPosted: Tue 31 Aug 2010, 19:34    Post subject:  

PHP

Install php-4.3.7.pet

Change the Monkey config (/etc/monkey/monkey.conf):
Add this after "AddScript", line 123

Code:

AddScript application/x-httpd-php /opt/php/bin/php php
AddScript application/x-httpd-php /opt/php/bin/php php3

Stop and start the server and go to the php-test:
http://localhost/php/index.php
php-4.3.7.pet
Description 
pet

 Download 
Filename  php-4.3.7.pet 
Filesize  1.97 MB 
Downloaded  802 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
puppymartin


Joined: 29 Mar 2009
Posts: 207
Location: The Netherlands

PostPosted: Thu 02 Sep 2010, 04:47    Post subject:  

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.

Back to top
View user's profile Send private message Visit poster's website 
sc0ttman


Joined: 16 Sep 2009
Posts: 2376
Location: UK

PostPosted: Thu 02 Sep 2010, 08:43    Post subject:  

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)...
_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
puppymartin


Joined: 29 Mar 2009
Posts: 207
Location: The Netherlands

PostPosted: Fri 03 Sep 2010, 08:32    Post subject:  

sc0ttman 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)...

New: Mini LAMP puplet - ISO 39 Mb
http://murga-linux.com/puppy/viewtopic.php?p=447696 Very Happy
Back to top
View user's profile Send private message Visit poster's website 
sc0ttman


Joined: 16 Sep 2009
Posts: 2376
Location: UK

PostPosted: Fri 03 Sep 2010, 09:14    Post subject:  

puppymartin wrote:
sc0ttman 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)...

New: Mini LAMP puplet - ISO 39 Mb
http://murga-linux.com/puppy/viewtopic.php?p=447696 Very Happy

haha.. yeah, something like that would be nice... Embarassed

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: Fri 03 Sep 2010, 09:21    Post subject:  

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


Joined: 16 Sep 2009
Posts: 2376
Location: UK

PostPosted: Fri 03 Sep 2010, 10:06    Post subject:  

vovchik wrote:
Dear sc0ttman,

Just for consistency's sake with user themes, I would change all icon= to stock= in the gtkdialog scripts.

Errrrrrr..... I didn't make this one!! Are you referring to something else I made?
If so, wanna post it there? (sorry puppymartin for the hijack - great work, once again!)

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: Fri 03 Sep 2010, 10:34    Post subject:  

Dear sc0ttman,

It may be the wrong thread, but I think I had Advert-Blocker in mind. Sorry...

With kind regards,
vovchik
Back to top
View user's profile Send private message 
paulhomebus


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

PostPosted: Mon 06 Sep 2010, 19:00    Post subject:  

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
Back to top
View user's profile Send private message Visit poster's website AIM Address 
puppymartin


Joined: 29 Mar 2009
Posts: 207
Location: The Netherlands

PostPosted: Mon 06 Sep 2010, 19:05    Post subject:  

paulhomebus wrote:
What is the standard login outta the box for this?
(- I assumed it was --- Server: puppypc ---- Login: nobody---- password: woof)

user: "root"
password: ""

Check the "Help" for mysql after first boot.
When it runs, mysql.sock is in /tmp.

Succes.
Back to top
View user's profile Send private message Visit poster's website 
paulhomebus


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

PostPosted: Mon 06 Sep 2010, 20:47    Post subject:  

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...

Code:
/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


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!)
Back to top
View user's profile Send private message Visit poster's website AIM Address 
paulhomebus


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

PostPosted: Mon 06 Sep 2010, 22:37    Post subject:  

Think I have found what was my problem....

I had a /etc/mysql/my.cnf
& mysql default to this one first before using /etc/my.cnf

I complete removed /etc/mysql
and the --skip-bdb error has gone.

Thanks Paul
Back to top
View user's profile Send private message Visit poster's website AIM Address 
chrisadam23
Guest


PostPosted: Mon 13 Sep 2010, 05:08    Post subject: 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.
Back to top
hailpuppy

Joined: 28 Oct 2009
Posts: 73

PostPosted: Tue 14 Sep 2010, 17:25    Post subject:  

Quote:

paulhomebus wrote:
What is the standard login outta the box for this?
(- I assumed it was --- Server: puppypc ---- Login: nobody---- password: woof)

user: "root"
password: ""


This is not clear. Got PHP to work but not this.
Please tell the following
Server:
user:
password:
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [22 Posts]   Goto page: 1, 2 Next
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.0846s ][ Queries: 13 (0.0047s) ][ GZIP on ]