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 31 Jul 2014, 13:40
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Webserverpuppy LAMP and XAMPP
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 9 [134 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9 Next
Author Message
prit1


Joined: 03 Jan 2008
Posts: 540
Location: Los Angeles

PostPosted: Fri 14 Aug 2009, 14:40    Post subject: Re: WebserverPuppy
Subject description: more findings about Hiawatha
 

efiguy wrote:
Hiawatha is a very complex webserver

I feel that Hiawatha is much simpler to setup than several other servers out there. Smile

efiguy wrote:
..update to 6.16 as it has an attack recognition capability.

Can you explain what this "attack recognition" capability is?

Puppymartin (who develops this puplet) or Growler (who creates the Hiawatha pet package) might package the latest version of Hiawatha sometime soon.

_________________
Macpup - The beauty of linux | Pritlog - Simple blog app
Back to top
View user's profile Send private message 
efiguy


Joined: 06 Sep 2006
Posts: 169

PostPosted: Fri 14 Aug 2009, 17:27    Post subject: WebserverPuppy
Subject description: Perception toward server security
 

Hello,

To try and answer your question, it is just my perception, but XP is modified in SP2-3 with TCP/IP modifications in timeouts, open numbers and damaged packet requests and some other reg issues that (to the uninited) seem to have a commonality of security implication with Hiawatha ideals. The * items might be fairly new to reg, don't really know.

What I presume as modified values in XP reg in an attempt to deal with TCP/IP stack attacks (List is incomplete) --
"UseDomainNameDevolution"=dword:00000001
* "EnableICMPRedirect"=dword:00000000
* "DeadGWDetectDefault"=dword:00000000
"DontAddDefaultGatewayDefault"=dword:00000000
"EnableSecurityFilters"=dword:00000000
"EnableDeadGWDetect "=dword:00000000
* "SynAttackProtect"=dword:00000002
* "TCPMaxHalfOpen"=dword:000001f4
* "TCPMaxHalfOpenRetired"=dword:00000190
* "TCPMaxPortsExhausted"=dword:00000005
* "TCPMaxDataRetransmissions"=dword:00000003
* "EnablePMTUDiscovery"=dword:00000000
"DisableIPsourceRouting"=dword:00000002
"NoNameReleaseOnDemand"=dword:00000001
"PerformRouterDiscovery"=dword:00000000

Also, notice in quote about client banning, plus some change log lists,
SocketSendTimeout option added, Prevention of cross-site request forgery.., CGI zombies, lead me to believe that security issues are being tided up.

Quotes from Hiawatha News --

"Yesterday, an interesting HTTP DoS tool has been released. The tool performs a Denial of Service attack on Apache (and some other) servers by exhausting available connections. While there are a lot of DoS tools available today, this one is particularly interesting because it holds the connection open while sending incomplete HTTP requests to the server." [sans.org]

- Slowloris HTTP DoS

I know for a long time that this vulnerability is present in Apache. It surprises me that nobody has implemented an exploit sooner. Another thing in Apache that bothers me: the runtime of a CGI. A CGI process can run forever under Apache. A single CGI script can DoS a webserver. A system administrator is needed to kill the script. And what about a client that keeps on guessing passwords for HTTP authentication?

These kind of Apache issues inspired me to create Hiawatha, with settings for maximum request sending time, maximum CGI run time, client banning, etc. Features that, in my opinion, every daemon should have.
-- End Quote

Hope you may concur,

Thanks
Back to top
View user's profile Send private message 
prit1


Joined: 03 Jan 2008
Posts: 540
Location: Los Angeles

PostPosted: Fri 14 Aug 2009, 17:53    Post subject:  

Hi efiguy,

All I knew from the Hiawatha changelog is that Hugo has introduced bug fixes in the last couple of releases after 6.14. I have installed and used Hiawatha 6.16 on Ubuntu and CentOS. If you wait a little you would definitely find 6.16 available for Puppy as a pet package.

_________________
Macpup - The beauty of linux | Pritlog - Simple blog app
Back to top
View user's profile Send private message 
efiguy


Joined: 06 Sep 2006
Posts: 169

PostPosted: Fri 14 Aug 2009, 18:20    Post subject: WebserverPuppy  

Hello Prit1,
Just to note, Hiawatha may be simple for some, but to a newbie it appears to have lots of adustments and thats not a bad thing, if defaults are well thought out, which I believe from reading the manual pages and FAQ Forum, that it will work perfect for me, especially after viewing your sample config.

And Oh So Cool about 6.16, I'm going ahead with present ISO package as a learning exercise, Thank you for your insight and answers.

efiguy
Back to top
View user's profile Send private message 
prit1


Joined: 03 Jan 2008
Posts: 540
Location: Los Angeles

PostPosted: Fri 14 Aug 2009, 18:36    Post subject:  

Feel free to post anything that comes up during your setup, we will try our best to help.
_________________
Macpup - The beauty of linux | Pritlog - Simple blog app
Back to top
View user's profile Send private message 
prit1


Joined: 03 Jan 2008
Posts: 540
Location: Los Angeles

PostPosted: Sat 15 Aug 2009, 20:55    Post subject:  

Hi efiguy,

You can get the LAMP package with the latest version of Hiawatha (6.16) from here:
http://www.murga-linux.com/puppy/viewtopic.php?p=332650#332650

_________________
Macpup - The beauty of linux | Pritlog - Simple blog app
Back to top
View user's profile Send private message 
efiguy


Joined: 06 Sep 2006
Posts: 169

PostPosted: Fri 21 Aug 2009, 21:35    Post subject: WebserverPuppy
Subject description: Not able to install to hard drive
 

Hi all,

Reference topics and previous posts involved:
1) http://www.murga-linux.com/puppy/viewtopic.php?t=43285&search_id=1682059013&start=30
2) http://www.murga-linux.com/puppy/viewtopic.php?t=29653&search_id=1524632913&start=150

Having a few problems:
a) getting the webserver control panel in place
b) Can't seem to get a system to boot from hard drive
c) Why does one puplet use " hda " and another " sda " for harddrive nomenclature?

Couldn't get Webserver (pup421k262516) Puppy to load to hard drive so investigated another puplet (LighthousePup-442-d.iso) to see if it would, and it didn't, but it sure was neat, I watched some Nasa ch2 TV on a streaming video, and it has dozens of packages all in the menu.
So thought, hmm! Load Hiawatha 6.16 into LightHouse and just boot with CD and run from HD disk. Picked up (Prit1's) Hiawatha pet and it loaded fine -- except one disclaimer message indicating " no menu available ".

Sure enough - refreshing menu and restarting JVM didn't help. --- Then the bulb lit, to start WebserverPuppy and transfer the menu control panel.

Long story short there are now 2 SFS + the saves on harddrv and both have updated each other and both have Hiawatha 6.16 and no control panel on either for 6.16.
I should be discouraged, but I'm not, you can't believe how resilient these puppy packages are to all this double file mixing, as they still open and packages continue working.

Yelpp!!!
But I really need some help to determine why the universal installers won't load to harddrive and why Hiawatha 6.16 doesn't show a Lamp control panel (Please view "HowTo" post)

Haven't any problem reformating the first partition -- one more time :)

Yelp yelp !!

Thanks for any suggestions
Back to top
View user's profile Send private message 
efiguy


Joined: 06 Sep 2006
Posts: 169

PostPosted: Mon 24 Aug 2009, 15:38    Post subject: Webserverpuppy
Subject description: my mistakes and final success
 

Hello Group,

I must (sheepishly) apoligize for my previous questions about menu's and Hiawatha 6.16, it seems, that while going through the config file --- the word Apache is everywhere, and I thought I had Hiawathia. After doing some back tracking with "browser now set to load images" for PuppyMartin post -- seems I mislabeled the disk or selected the wrong file -- got to solve the early AM insomnia another way!

-- 08-24-09 The Success --

Webpuppy server (Apache) partition sda1 -- Boot Success from drive

(webserverpuppyX1.iso) Puppy 97M

Webpuppy server (Hiawathia) partition sda4 -- Boot Success from drive

(webserverpuppy1.iso) Puppy 76M



- What transpired: (one Linux Newbie to others ;)
08-22-09

Booted = Ram only: (fat-free-3.01-xorg.iso) My download date 01-10-09

Gpartition 1st partition Format ext2 Boot

Try Uni Instl - failed - reboot Grub Error 15

* Used Ontrack Disk Manager - zero write total drive * Key To Solving _ Not Sure Why!

Boot CD V 301 as " puppy pfix=ram " ram only

Gpartition -- make " New " (GP decides to make Disc label MSDOS This is OK!) 1.25 G

ext2 and 512 M swapfile for main and swapfile -- made 5G of remaining drive a Fat32 partition Later will add fdisk logical drives Reboot

Boot CD 301 as " puppy pfix=ram " ram only

Ran Universal Installer

Followed screens -- Note that message text asks to add GRUB to MBR and this is quite late in install screens Don't miss small final screen as option is mostly hidden in 1024 xorg mode,

I Opted out of Floppy GRUB at this point

Don't save on Shutdown - reboot with CD empty

BOOT load top selection of GRUB blue screen

SUCCESS Boot HD with "fat-free-3.01-xorg.iso"

With V 301 operational - Boot WebserverPuppy (webserverpuppyX1.iso) " puppy pfix=ram " Ram Only

Start Universal Installer and install to sda1 -- It eventually asks to update or WIPE _ _ It will update but the GRUB install is different and for me it would not boot after the GRUB update

Ran install once more conditions - as above --

Choose to WIPE -- The GRUB install can become very circucular, a real point of another failure, especially as little distinction is given between Hard drive and Floppy install menu reset _ _ _ Just a novices opinion --

GRUB, with the correct menu choices will complete and the drive will boot
-- Boot Success from drive (webserverpuppyX1.iso) Puppy
(You don't want to know how many times it took me;)

Found my version problem as detailed above - Duh!!

Booted Ram only: "fat-free-3.01-xorg.iso"

Gpartition -- Resized 1st partion to 512M, from the new un-allocated area - created a partition labeled - sda4 Format ext2 roughly 509M Shutdown - Don't Save

* Boot the Hiawatha WebserverPuppy (webserverpuppy1.iso) Puppy 76M " puppy pfix=ram " Ram Only
( ! Note: I had problems with 2 different browsers downloading this file -- Would start fast and then fail, my solution was to Start manager download, but leave the save button unclicked, - the file now downloads slowly in the background - watch the disk light - when activity stops - Then Click the Save Button )

Start Universal Installer and install to sda4 --

You may try for a GRUB update at this point, however be prepared for a failure - I elected for a manual cut and paste with the 1st partition boot file.

GRUB
Modified 1st partition Boot menu config -- copy first menu display items lines and paste as next menu - changing sda1 to sda4 . (my drive setup - yours most likely will differ)

Thanks for all the ideas and help
Back to top
View user's profile Send private message 
efiguy


Joined: 06 Sep 2006
Posts: 169

PostPosted: Wed 26 Aug 2009, 10:12    Post subject: webserverpuppy
Subject description: Apache version
 

Hi Group,

Have tested Apache from htdocs with success
Now moving to source files from a Fat32 partition and am having problems with path configuration.

Does one have to use the Document root
Alias /webpath /mnt/sda2/web_7/files
at this point???

One of the items I noticed is puppy must be rebooted if I make a mistake in document path, even resorting to the previous good path will not work until reboot.

Since moving files to Fat partition it will never recognize that fat configuration -- for Pmount must be run after boot.

I cannot find any control or save mode to mount the Fat partition on Grub bootup

I've also asked for some file tools in beginers forum, and have read
http://www.troubleshooters.com/linux/grub/grub.htm#_Working_With_a_Fully_Installed_grub

Also has anyone experience with this windows driver?
http://www.fs-driver.org/

Forum
http://www.murga-linux.com/puppy/viewtopic.php?search_id=1496866315&t=45885

Open for suggestions

Thanks to all
Back to top
View user's profile Send private message 
Brdog


Joined: 26 Aug 2009
Posts: 3

PostPosted: Fri 28 Aug 2009, 05:07    Post subject: webserverpuppy
Subject description: syntax commans, capture error messages
 

Hello all
Nubie sinking, needs life preservr help, Plese

trying this too, error message flash on start servr!!
how can error messge be captured, or logged, or slowed down
as it las less thn quarter millsec on scren?

Allso how to mount more Fats partition on bootrup?

Please help with Apeche syntax for Document Root with Alias whem Fat partition holds html fls

Found this in Ubuntu
""
$ sudo mount /dev/sda1 /mnt
If you have /boot on a separate partition, that need's to be mounted aswell. For reference, /dev/sda2 will be used.

$ sudo mount /dev/sda2 /mnt/boot Make sure you don't mix these up, pay attention to the output of FDISK
""

not working in webserverpup , maybe close to rigt kinda syntax

Hav some Nubie lnks for trade Wink

http://www.gnu.org/software/grub/
http://www.linuxtopia.org/online_books/linux_beginner_books/
http://www.gnu.org/software/grub/
http://www.gnu.org/software/grub/manual/
https://wiki.ubuntu.com/Grub2
https://wiki.ubuntu.com/Grub2#User-defined Entries
http://www.justlinux.com/forum/showthread.php?threadid=143973
http://oss.sgi.com/LDP/HOWTO/Kernel-HOWTO/grubconf.html
http://www.tldp.org/HOWTO/Linux+Win9x+Grub-HOWTO/intro.html
http://linux.about.com/od/embedded/l/blnewbie_toc.htm
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10
Back to top
View user's profile Send private message 
efiguy


Joined: 06 Sep 2006
Posts: 169

PostPosted: Fri 28 Aug 2009, 14:35    Post subject: Webserverpuppy
Subject description: mount other partitions on boot solved
 

Hi Brdog,

In desperation - Searched for "Mount on boot" and found this link:
http://www.murga-linux.com/puppy/viewtopic.php?search_id=259106281&t=44662

It refers to AutoBoot
and - Much Thanks to DAVID S. - for his explanation and examples

For both Webserverpuppies I had to use the: fat-free-3.01-xorg.iso Booted as " puppy pfix=ram " which is ram only mode - to have Pfind and Permission controls available

I had to make a new directory " Startup " under ROOT and created a file named " mount " where duplicated David's guide syntax -- using my drives parameters
File named - mount contents as below
#!/bin/sh
mount -t vfat /dev/sda2 /mnt/sda2

Save file named - mount and make executable and searchable -- select - Startup and make executable and searchable

Follow David's guide for /etc/fstab I added under floppy line using spaces as to equal other column separations

/dev/sda2 /mnt/sda2 auto defaults 0 0

and then to /etc/rc.d/rc.local add line

mount /dev/sda2

Now persuing the Apache directory syntax


This worked first time for me, and I salute and thank you David, and others for posts on this topic
Back to top
View user's profile Send private message 
Wyk72


Joined: 01 Sep 2009
Posts: 5

PostPosted: Tue 01 Sep 2009, 09:06    Post subject: Wordpress problems
Subject description: Having troubles with wordpress install
 

Thanks for this wonderful puppy, it was just what I needed for some web development I am planning.

I intend to use wordpress, and the puppy has just what I need.

The problem is, I really can't make it work on this puppy, and that kills me, because it works on my horrible WinXP+XAMPP.

For the first (Hiawatha) distro, I get a "500-Internal server error" , nothing logged in /var/log. If I create the logging directory /var/log/hiawatha, I get logs for access , etc., but I get no errors. Stuck here.

For the second distro(Apache), I get Apache to show me the wordpress php configurator, but I get a "cannot connect to database" from wordpress all the time. Even edited the config by hand, same error. I'm sure I got mysql working correctly (I followed the "5 minutes install" for WP), and on the xp machine everything works well.

Can you give me a hand? I love this compact distribution, and it's blazingly fast on the ancient computer I plan to use for web serving.

I have little linux experience, but I worked as a FreeBSD admin before.
Back to top
View user's profile Send private message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Tue 01 Sep 2009, 09:48    Post subject:  

Eric wrote:
Any plans for adding Apache? I think this maybe of use for me to go portable.


I know it was a while ago, Eric, but this has just been posted, though it may not be quite what you had in mind.....

http://www.murga-linux.com/puppy/viewtopic.php?t=46120

It's all fun, though Wink

Aitch Smile
Back to top
View user's profile Send private message 
Wyk72


Joined: 01 Sep 2009
Posts: 5

PostPosted: Tue 01 Sep 2009, 11:58    Post subject:  

Quote:
I know it was a while ago, Eric, but this has just been posted, though it may not be quite what you had in mind.....


Tried this one, too (I'm using it right now on my laptop).

With wordpress I still get "cannot connect to database".

Really confused now - there's a place where I can find a log of what's going wrong?
Back to top
View user's profile Send private message 
efiguy


Joined: 06 Sep 2006
Posts: 169

PostPosted: Fri 11 Sep 2009, 18:29    Post subject: Webserverpuppy Hiawatha 6.14
Subject description: Startup Configuration files
 

Hello,
Would anyone have info on how to edit the Wigwam tests on reboot server startup. I am asking Hugo about Virtual IP hosts and there is supposed to be some tests in this startup file for Identical IP numbers and these tests need to be disabled, but I can't seem to find where they are located, as the files Wigwam and Hiawathia do not directly start the server, which seems only to respond to the menu control screen.

Hope this description makes some sense and someone can provide some insight to these control files.

Is it possible to update Puppy Hiawatha 6.14 to version 6.17.1?
If so, could you post the steps required.

Anyone know how to edit the Hiawatha / Wigwam configuration files?

Thank you
Jay
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 9 [134 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
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.1030s ][ Queries: 12 (0.0052s) ][ GZIP on ]