Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: Franxoois on October 19, 2013, 07:32:58 PM
-
Hello,
I developed on Raspberry applications using apache/php/mysql , java/rxtx, hostapd. I used raspbian. I spend lots of time triming down the size of the system and making the system read only. I still have issues with data corruptions and the enormous size of the system
The needs are not that important. I already have been replaced java by python during the last months. Sqlite would be a lighter alternative.
I tried TC and was really impress. TC seems to be way better solution. I installed pyserial.
I did'nt find apache ou php in the repo. Would it be there soon ? Is there already light alternative for apache ? Maybe also an alternative for php ?
-
Hi
I will see whether APACHE and PHP can be added to the repo in the next days. As a lite WEB server I advice mongoose. It is a feature reach prog supporting CGI ehich may be useful. SQLITE is in the repo and MariaDB will come.
-
I have Apache 2.4.6 running, need few days to test and pack properly into a .tcz
-
I noticed the advice to try mongoose and thought I'd take a look at it. In hunting around for the online docs, I found that the licensing of mongoose was changed a few weeks ago. That won't retroactively affect the mongoose extension currently in the repository, but anyone making an update will want to bear that in mind.
-
Thanks for noting the change. However at http://code.google.com/p/mongoose/ is stated:
Mongoose is licensed under the terms of GNU GPL v.2 license.
Previously it was MIT. I don't think that it has an influence on mongoose.tcz
-
Hi
I will see whether APACHE and PHP can be added to the repo in the next days. As a lite WEB server I advice mongoose. It is a feature reach prog supporting CGI ehich may be useful. SQLITE is in the repo and MariaDB will come.
Thanks for your advice. I will take a look at mongoose, maybe with LUA instead of php
-
For any non-trivial script, writing it in C or C++ will have lower size than in a scripting language, when you include the scripting runtime's size.
The C libs are also needed for the system, but PHP/Lua/etc only for your script; so if size is the goal, don't use a scripting lang.
-
Hi Franxoois,
if your looking for a light-weight web-server, you might take a look at
http://monkey-project.com
regards xyz-worx
-
I've compiled lighttpd on the pi and that comes in at around 1Mb, I needed php as well, which comes in at a lot more: 8Mb.