Go to advanced search

by lightnin
Wed Jun 20, 2012 5:01 pm
Forum: Networking and servers
Topic: Django on the Raspberry pi
Replies: 20
Views: 34059

Re: Django on the Raspberry pi

... - as they are a bit more light weight? Probably your major criteria should be ease of use, if you hope to make it easy for lots of people to setup webservers on their pis. Perhaps that's another reason to use a different webserver.
by Rasathus
Wed Jun 20, 2012 12:16 pm
Forum: Python
Topic: Web Sever side scripting Python + GPIO
Replies: 39
Views: 69211

Re: Web Sever side scripting Python + GPIO

If you're concerned about it being vulnerable, why not run a python server behind a firewall, then utilize PHP running on a real webserver to contact the python server. If your going to write a tutorial around the concept, you probably don't want to require additional hardware, over and ...
by gordon@drogon.net
Wed Jun 20, 2012 7:05 am
Forum: HATs and other add-ons
Topic: I/O Board with php control
Replies: 12
Views: 9031

Re: I/O Board with php control

... that is capable of interacting with the real world. Of course you can always interface via C/Python command line if you wanted to. But by using a webserver, you can write a really funky HTML5 GUI which could then run on a mobile/tablet/desktop from in your home, or anywhere on the internet. It's ...
by Jamesc359
Tue Jun 19, 2012 10:31 pm
Forum: Python
Topic: Web Sever side scripting Python + GPIO
Replies: 39
Views: 69211

Re: Web Sever side scripting Python + GPIO

If you're concerned about it being vulnerable, why not run a python server behind a firewall, then utilize PHP running on a real webserver to contact the python server.
by Rasathus
Tue Jun 19, 2012 8:47 pm
Forum: Python
Topic: Web Sever side scripting Python + GPIO
Replies: 39
Views: 69211

Re: Web Sever side scripting Python + GPIO

... this point it will start listening on port 5000 for connections ie. http://<ipAddress>:5000 WARNING :- This effectively means your pi is running a webserver as root, leaving it rather vulnerable, do not put this on a hostile network ( The Internet )
by SteTommo
Tue Jun 19, 2012 7:49 pm
Forum: HATs and other add-ons
Topic: I/O Board with php control
Replies: 12
Views: 9031

I/O Board with php control

... that is capable of interacting with the real world. Of course you can always interface via C/Python command line if you wanted to. But by using a webserver, you can write a really funky HTML5 GUI which could then run on a mobile/tablet/desktop from in your home, or anywhere on the internet. It's ...
by ghans
Tue Jun 19, 2012 1:14 pm
Forum: Python
Topic: Web Sever side scripting Python + GPIO
Replies: 39
Views: 69211

Re: Web Sever side scripting Python + GPIO

Some suggestions to avoid exec() : 1. Do it all python. Most Webserver CGI modules allow to use any scripting language. 2. Use a shared file between the Phyton part and the PHP part. (check via looping in background) 3. Use a shared database between the ...
by Killerbee
Tue Jun 19, 2012 8:23 am
Forum: Networking and servers
Topic: Dropbox-like filecloud
Replies: 25
Views: 22121

Re: Dropbox-like filecloud

Hello Guys

What kind of webserver are u using with owncloud on your PI? I used lighthttpd and it's not so snappy :(
Browsing folders takes a 6~10 seconds. FastCGI processes pushing my CPU to 100%
I am using raspbian.

Any suggestions?

KB
by plugwash
Mon Jun 18, 2012 5:54 pm
Forum: Raspberry Pi OS
Topic: packages you want to see in raspbian
Replies: 133
Views: 41910

Re: packages you want to see in raspbian

thttpd small webserver, perfect for a Pi. Depends on your definition of "perfect", I heard nginx is the best performing on the Pi though probablly not the smallest. thttpd was removed from debian for being "RC-buggy for nearly a ...
by HansH
Mon Jun 18, 2012 3:55 pm
Forum: Raspberry Pi OS
Topic: packages you want to see in raspbian
Replies: 133
Views: 41910

Re: packages you want to see in raspbian

thttpd small webserver, perfect for a Pi.

I currently have compiled the sourcecode because it wasn't in the repository.
Had to make a minor adjustment in an include file in order to get it compiled correctly....
(can't remember it, but if needed I can find out)
by Max
Mon Jun 18, 2012 9:57 am
Forum: Media centres
Topic: OpenArena package
Replies: 49
Views: 29472

Re: OpenArena package

... repository, but would want to be able to rebuild the deb myself (at least in principle). There is a source tarball in the /dl/source folder on my webserver. Be aware that it's a bit of a quick hack, and not that pretty. Did the following steps: diff'ed the ioquake code from rPi github with vanilla ...
by wallacebiy
Sun Jun 17, 2012 10:55 pm
Forum: Other
Topic: Haiku ? A good fit ?
Replies: 1
Views: 3076

Haiku ? A good fit ?

... PIII 350mhz Gateway I had at the time, and really knocked the socks off windows at the time for audio recording on that machine, and setting up a webserver was a snap ) and have downloaded Haiku VM's a few times since to see how they're progressing . It's never been a serious consideration for ...
by fmcastle
Sat Jun 16, 2012 11:35 pm
Forum: General discussion
Topic: Pi web server
Replies: 29
Views: 12116

Re: Pi web server

... domain running and just added a sub-domain A-Record for my Raspberry Pi Server. I decided to setup a proxy pass in apache on my main Apache webserver to proxy requests for http://myrpi.oralis-tek.com to my Apache instance running on my Raspberry Pi. Feel free to hit it up to see how well ...
by extravagoose
Sat Jun 16, 2012 8:42 pm
Forum: General discussion
Topic: A few options for a RasPi webserver
Replies: 5
Views: 2519

Re: A few options for a RasPi webserver

How about setting up a swap file? This may help with the memory constraints... Indeed, it would help a little. The problem is that a swap file is not recommended on an SD card because it causes wear (which shortens the life span of the card significantly) and because the SD card is seriously slow. ...
by empire
Sat Jun 16, 2012 7:24 pm
Forum: General discussion
Topic: A few options for a RasPi webserver
Replies: 5
Views: 2519

Re: A few options for a RasPi webserver

extravagoose wrote:How about setting up a swap file? This may help with the memory constraints...
Indeed, it would help a little. The problem is that a swap file is not recommended on an SD card because it causes wear (which shortens the life span of the card significantly) and because the SD card is seriously slow.
by extravagoose
Sat Jun 16, 2012 5:02 pm
Forum: General discussion
Topic: A few options for a RasPi webserver
Replies: 5
Views: 2519

Re: A few options for a RasPi webserver

How about setting up a swap file? This may help with the memory constraints...
by MrBunsy
Sat Jun 16, 2012 2:14 pm
Forum: General discussion
Topic: A few options for a RasPi webserver
Replies: 5
Views: 2519

Re: A few options for a RasPi webserver

I'm happily running my website on a Pi at the moment. MySQL is sluggish compared with on a more powerful machine, but it's quite usable (most of my mysql speed problems are my old bad code). PHPMyAdmin is slow to import and export, but it does work. I can't notice any difference between static files...
by alexeames
Sat Jun 16, 2012 1:38 pm
Forum: General discussion
Topic: A few options for a RasPi webserver
Replies: 5
Views: 2519

Re: A few options for a RasPi webserver

Nice blog article. How well does this cut down server work though? You didn't say much about that. It's not important, I'm just curious. Probably be alright for a simple wordpress site, less sure about lots of locally hosted video streaming though. :lol:
by mshadel
Sat Jun 16, 2012 1:55 am
Forum: General discussion
Topic: A few options for a RasPi webserver
Replies: 5
Views: 2519

A few options for a RasPi webserver

I've spent the last few days researching and playing around with different options for a webserver running on the Raspberry Pi. My goal has been to get a WordPress site running well in the memory-constrained RasPi environment. Ultimately I decided not to run a RasPi ...
by sraue
Thu Jun 14, 2012 11:01 pm
Forum: Media centres
Topic: OpenELEC Testbuilds
Replies: 765
Views: 255806

Re: OpenELEC Testbuilds

The issue with images and the vertical black bar on right hand side also seems to be present with cover art (it's easier to see by enabling the webserver and pointing a browser at the R-Pi, then clicking on Movies in the browser). check /usr/share/xbmc/system/advancedsettings.xml which contains ...
by milhouse
Thu Jun 14, 2012 10:55 pm
Forum: Media centres
Topic: OpenELEC Testbuilds
Replies: 765
Views: 255806

Re: OpenELEC Testbuilds

The issue with images and the vertical black bar on right hand side also seems to be present with cover art (it's easier to see by enabling the webserver and pointing a browser at the R-Pi, then clicking on Movies in the browser). Example attached, notice the 10 pixel wide black bar on the right ...
by Christoph
Thu Jun 14, 2012 10:43 pm
Forum: Networking and servers
Topic: Raspi is also good for boring server work
Replies: 17
Views: 13538

Raspi is also good for boring server work

... I consider myself still a Linux beginner, so it's kind of cool that its working fine. I simply use the Raspi as a private server for - an apache Webserver for a private wiki (dokuwiki) and a database for my electronic bits and pieces - a svn server - sharing an external drive over the lan (so ...
by dktucson
Wed Jun 13, 2012 3:59 am
Forum: General discussion
Topic: I have no idea how to use this thing!
Replies: 26
Views: 12680

Re: I have no idea how to use this thing!

And yes I just got apache configured..so I have me a webserver and IRC server for $35 USD... :twisted: :twisted:
by sjfaustino
Tue Jun 12, 2012 11:41 pm
Forum: Debian
Topic: Help test the next Debian image (wheezy)
Replies: 443
Views: 146861

Re: Help test the next Debian image (wheezy)

Just did a webserver installation of lighttpd+PHP+mySQL and seems to be working fine.
Will do some stress testing with it tomorrow.

Total memory occupied=2136+5268+7496=14900 bytes
Less than 15MB for the equivalent of a LAMPP installation is _very_ good :)
by gordon@drogon.net
Mon Jun 11, 2012 12:46 pm
Forum: Automation, sensing and robotics
Topic: Switching an appliance on and off
Replies: 33
Views: 34529

Re: Switching an appliance on and off

... I could use the Pi as a switch to on/off an standard 240volt appliance? I'm pretty sure I could write the script and control it with an installed webserver but the electronics part would be far beyond me. It wouldn't need to be wired directly to the appliance, just switching on and off at the ...

Go to advanced search