Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

can i use a raspberry pi web server

Asked Modified Viewed 8,617 times
K
kll
K
kll 10
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 14 threads in the forums
  • Started this discussions
asked
Junior Member

can i use a raspberry pi as web server to install php-fusion?
any test or info about that?
kll attached the following file:
rpi_uno.jpg [No information available / 85 Downloads]
0 replies

16 posts

P
PolarFox
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
answered
Veteran Member

Access granted!
0 replies
J
JoiNNN
J
JoiNNN 10
  • Veteran Member, joined since
  • Contributed 850 posts on the community forums.
  • Started 100 threads in the forums
answered
Veteran Member

As long as you can setup a webserver on the OS runnig on the device you can setup PHPFusion,
So you better search whether you can install a webserver on an OS compatible with it.
0 replies
K
kll
K
kll 10
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 14 threads in the forums
  • Started this discussions
answered
Junior Member

Quote

PolarFox wrote:

Access granted!


if this is an answer, what does it mean?

b.r.
Edited by kll on 12-01-2013 10:25,
0 replies
R
Rush_
R
Rush_ 10
  • Junior Member, joined since
  • Contributed 34 posts on the community forums.
  • Started 3 threads in the forums
answered
Junior Member

u can install unix* on it, so u can install lamp.
but too low perfomance will be i think)
0 replies
K
kll
K
kll 10
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 14 threads in the forums
  • Started this discussions
answered
Junior Member

speed might be one problem, a single proc. system 700MHz and 500MB RAM
but
i worry more about the SD card wear out /10000 block writes,
while the wheezy-raspbian OS use a small ramdisk for temp files
( because of that problem),
a CMS use only SQL db ( what will be on SD card), even for temp data??
so here the php-fusion related question,
- does every visitor of the site generate a write operation? could this be disabled?
or only if there is a LOGIN?,
or a blog / forum change?

because visits at mere html sites are read only operations,
and no problem for a SD card.

the possible usage might be unusual for a CMS,
- used per room and connected to a TV, so the word "HOME"page now make more sense
- for a house automation ( RPI and arduino )
- for bigger projects ( guesthouses/ hotels/ companies )
lets say one RPI and arduino per floor ...
- for internal LAN or via "noip" to WWW

like a DCS, Distributed Control System with network controllers
using a RPI and a arduino, 21£ each.

workblog http://kll.byethost7.com/kll_en7/news...eadmore=36
Edited by kll on 13-01-2013 12:42,
0 replies
A
Archer
A
Archer 9
  • Member, joined since
  • Contributed 115 posts on the community forums.
  • Started 7 threads in the forums
answered
Member

Any connection to the PI web server will create a I/O so the SD is not the best option.
0 replies
K
kll
K
kll 10
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 14 threads in the forums
  • Started this discussions
answered
Junior Member

Quote

Archer wrote:

Any connection to the PI web server will create a I/O so the SD is not the best option.


in that case apache would be installed wrong by RPI!

or did you mean any connection to php-fusion would generate a WRITE to SD card,
how to disable there?

do you know the exact linux command to check on the WRITES to DISK? i am new to this.

back to the speed question, i got PHP-fusion installed and run via router / 20m ethernet cable
and its very fast!! as i not use internet inbetween.

and in the linux window i see only small peaks on the cpu monitor when i call my php-fusion webpage via ethernet.

so i think for a inhouse job RPI is usable as cms webserver.
( would be nice if i get help with the php-fusion writes question )


but live data from the arduino in php-fusion will need some more work.
esp. if i want a historic database about the readings in a mysql db,
like min, max, avg of one hour ( to limit the SD writes )
and show the charts in php-fusion....
Edited by kll on 13-01-2013 12:45,
0 replies
A
Archer
A
Archer 9
  • Member, joined since
  • Contributed 115 posts on the community forums.
  • Started 7 threads in the forums
answered
Member

Anything would. Apache writes logs to the server, (SD card) PHPFusion adds things to the database. The database in on the SD card. Use a SSD.
Edited by Archer on 15-01-2013 14:58,
0 replies
K
kll
K
kll 10
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 14 threads in the forums
  • Started this discussions
answered
Junior Member

i found following path,
/run/apache2/ ramdisk
/run/lock/apache2/ ramdisk
both are empty anyhow,
pls tell me where to look
0 replies
A
Archer
A
Archer 9
  • Member, joined since
  • Contributed 115 posts on the community forums.
  • Started 7 threads in the forums
answered
Member

It writes things everywhere, Error_logs, access_log system files. everything
0 replies
K
kll
K
kll 10
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 14 threads in the forums
  • Started this discussions
answered
Junior Member

Quote

Archer wrote:

It writes things everywhere, Error_logs, access_log system files. everything


so instead of apache you would recommend what for RASPBERRY PI ??
0 replies
A
Archer
A
Archer 9
  • Member, joined since
  • Contributed 115 posts on the community forums.
  • Started 7 threads in the forums
answered
Member

Any server will write information to SD card.
0 replies
K
kll
K
kll 10
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 14 threads in the forums
  • Started this discussions
answered
Junior Member

update:
php-fusion on RASPBERRY PI webserver
show ARDUINO measurement data in panel
kll attached the following file:
phpfusion_arduinodata.jpg [No information available / 70 Downloads]
0 replies
J
JoiNNN
J
JoiNNN 10
  • Veteran Member, joined since
  • Contributed 850 posts on the community forums.
  • Started 100 threads in the forums
answered
Veteran Member

You can get an external HDD and use it instead of the card? Does the RPI boot from an ext. HDD, that would be great, although the HDD might be more expensive than the RPI.
0 replies
K
kll
K
kll 10
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 14 threads in the forums
  • Started this discussions
answered
Junior Member

i am new to this ( booted my RPI 15 days ago ),
but i read that boot from SD card only,
but ext HDD use for system possible, we test soon.

in a project with multiple RPI/ARDUINOs i would like
to use a central webserver with HDD,
what is collecting the arduino measuring data from each RPI (by ??? )
( RPI being then only web clients with SD card)

@Archer: the idea to use SSD instead of SD cards i not understand?
isn't both using NAND flash?
how many block writes are possible with SSD? is the 10000 correct with all SD?

but i remember, this forum is about php-fusion
there is a table xxx_ONLINE what contains the IP of a user calling php-fusion page,
thats the write to db at every call?
Edited by kll on 15-01-2013 19:32,
0 replies
A
Archer
A
Archer 9
  • Member, joined since
  • Contributed 115 posts on the community forums.
  • Started 7 threads in the forums
answered
Member

Yeah anything you run on it will write things. Apache will write a log every single time a user visits your site, any database driven site will write something every time a user visits the site. SSD's are better than SD cards. Even a USB drive is better.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 16 posts
  • Votes 0 votes
  • Topic users 5 members

5 participants

K
K
kll 10
  • Junior Member, joined since
  • Contributed 42 posts on the community forums.
  • Started 14 threads in the forums
  • Started this discussions
P
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
R
R
Rush_ 10
  • Junior Member, joined since
  • Contributed 34 posts on the community forums.
  • Started 3 threads in the forums
J
J
JoiNNN 10
  • Veteran Member, joined since
  • Contributed 850 posts on the community forums.
  • Started 100 threads in the forums
A
A
Archer 9
  • Member, joined since
  • Contributed 115 posts on the community forums.
  • Started 7 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet