I would like to install a web server with a database on a Raspberry Pi (little computer). The computer has only 1GB RAM.
I want to know what is the best combination: Linux distribution and web server and DBMS to run the local server with multiple users with minimal latency, I will use PHP on the server. And what are the best settings for good performance and to not have bugs (memory usage, disable plugin, disable service, etc)?
I thought a light Debian , a lighttpd server and SQLite for the database. Is this is a good solution?
答案 0 :(得分:2)
我认为Lighttpd
+ SQLite
是一个很好的选择。对于Linux发行版,Debian很好,但你也可以查看CentOS或Tiny Core Linux之类的东西,虽然我不确定它与Pi的兼容性。显然,Raspbian
如果你想在制作中使用它并获得更稳定的表现,你可以再获得一些Pi并在cluster中设置它们。