WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TC installed  (Read 4895 times)

Offline Yleisajattelija

  • Full Member
  • ***
  • Posts: 192
TC installed
« on: October 10, 2022, 02:49:17 AM »
Rasperry Pi 3 Model B first installation with Tinycore, no problems (yet...).

Next server & embedded process applications.

I guess, TC has driver for that GPIO expansion unit?

https://datasheets.raspberrypi.com/rpi3/raspberry-pi-3-b-reduced-schematics.pdf

Is Apache server installation standard linux-implementation (or some TC spesific features)?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14823
Re: TC installed
« Reply #1 on: October 10, 2022, 05:39:30 AM »
I’ve never used gpio, but I assume it works - if you search this forum there was a recent chain of posts on the subject.

There’s an apache2.4 extension in the repo.

Offline Yleisajattelija

  • Full Member
  • ***
  • Posts: 192
Re: TC installed
« Reply #2 on: October 12, 2022, 01:25:52 AM »
I’ve never used gpio, but I assume it works - if you search this forum there was a recent chain of posts on the subject.

There’s an apache2.4 extension in the repo.

...or is  Lighttpd better? What is "TC-community recommendation"? (light, minimalistic, bugfree, efficient, pro, etc.... )

https://www.difference.wiki/apache-vs-lighttpd/

...is that "URL rewriting" issue real problem? Open-sofware licence issues are problem, for sure...
« Last Edit: October 12, 2022, 01:46:15 AM by Yleisajattelija »

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 715
Re: TC installed
« Reply #3 on: October 12, 2022, 01:55:06 AM »
When it comes to choose the right web server.
I choose the one that you don't mention, the nginx server.
That because it's more easy to compile.

I think also more easy to configure, with one config file.
And you also have test option to test the config file.

But what i think it's the lightest one is the busybox one.

But when i comes to speed I choose the nginx.
That have support for spawn babies (forks it self :) ), for more connection ready server.

Offline Yleisajattelija

  • Full Member
  • ***
  • Posts: 192
Re: TC installed
« Reply #4 on: October 12, 2022, 02:28:27 AM »
Compiling in one issue, (for security especially).

Busybox has chronical problem with missing documentation , I don't want to read source code for every command parameter.

...I will check that nginx, but for first look  I did'n like it, for some reasons.

Offline Yleisajattelija

  • Full Member
  • ***
  • Posts: 192
Re: TC installed
« Reply #5 on: October 12, 2022, 03:12:10 AM »
Lightppd an nginx both have BSD-licence (or is there some licence level difference?). What is exact problem with lightppd compilation?

Edit: Both are BSD 2-clause licenced (2-clause=FreeBSD, I think...).
« Last Edit: October 12, 2022, 03:22:47 AM by Yleisajattelija »

Online gadget42

  • Hero Member
  • *****
  • Posts: 801
Re: TC installed
« Reply #6 on: October 12, 2022, 04:05:48 AM »
in the subject...

shouldn't that be "installed" and not "istalled"?

cosmic bit-flip perhaps?
The fluctuation theorem has long been known for a sudden switch of the Hamiltonian of a classical system Z54 . For a quantum system with a Hamiltonian changing from... https://forum.tinycorelinux.net/index.php/topic,25972.msg166580.html#msg166580

Offline Yleisajattelija

  • Full Member
  • ***
  • Posts: 192
Re: TC installed
« Reply #7 on: October 12, 2022, 04:44:26 AM »
in the subject...

shouldn't that be "installed" and not "istalled"?

cosmic bit-flip perhaps?

...you said that, and "modify" button, too....

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11641
Re: TC installed
« Reply #8 on: October 12, 2022, 09:08:09 AM »
Hi gadget42
... shouldn't that be "installed" and not "istalled"? ...
And now it's fixed. :)

Offline Yleisajattelija

  • Full Member
  • ***
  • Posts: 192
Re: TC installed
« Reply #9 on: February 01, 2023, 06:42:10 AM »
 Seems to be serious security problems with both nginx and lighppd.

Third?

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 715
Re: TC installed
« Reply #10 on: February 01, 2023, 12:29:08 PM »
May I ask you what you are going to use for the web server.
What the purpose ?
If you just install python3, you could just spin up a very simple web server.

Code: (bash) [Select]
sudo python3 -m http.server 80
https://pythonbasics.org/webserver/
« Last Edit: February 01, 2023, 12:31:27 PM by patrikg »

Offline Yleisajattelija

  • Full Member
  • ***
  • Posts: 192
Re: TC installed
« Reply #11 on: February 02, 2023, 02:43:12 AM »
May I ask you what you are going to use for the web server.
What the purpose ?
If you just install python3, you could just spin up a very simple web server.

Code: (bash) [Select]
sudo python3 -m http.server 80
https://pythonbasics.org/webserver/

I need general purpose http-server module. it is one of the key elements of internet security. There should be some kind of international agreement for rules in internet traffic and security. Of course I can make secure http-server module myself, but it would be a problem, which I don't want be involved.

Offline Yleisajattelija

  • Full Member
  • ***
  • Posts: 192
Re: TC installed
« Reply #12 on: February 03, 2023, 06:45:03 AM »
May I ask you what you are going to use for the web server.
What the purpose ?
If you just install python3, you could just spin up a very simple web server.

Code: (bash) [Select]
sudo python3 -m http.server 80
https://pythonbasics.org/webserver/

Using python is very interesting idea. My programming skills are from "stoneage" twenty-five years ago (asm, C and Java), and I have not used python. it is very popular nowdays, and for obvious reasons (easy, matlab/C expansions and graphical libraries). As security point of view source code compressing and simplicity is important advantage vs, small interpreter weakness.

For tsis Rasberry pi case busybox is choosed (for practical reasons) at least while.

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 715
Re: TC installed
« Reply #13 on: February 03, 2023, 12:34:55 PM »
Seems to be serious security problems with both nginx and lighppd.

Third?

Maybe you should do it like the "new way" of doing more "secure" stuff, just bring in the small container and stuff it in there.
« Last Edit: February 03, 2023, 12:37:40 PM by patrikg »

Offline Yleisajattelija

  • Full Member
  • ***
  • Posts: 192
Re: TC installed
« Reply #14 on: March 07, 2023, 04:04:16 AM »
Seems to be serious security problems with both nginx and lighppd.

Third?

Maybe you should do it like the "new way" of doing more "secure" stuff, just bring in the small container and stuff it in there.

You probably mean this for "new way"

https://solutions-portal-cms-prod-bucket.s3.amazonaws.com/Altra_Max_Rev_A1_DS_v1_05_20220728_5bf985da35.pdf

For security point of view; question is (again) drivers on system space. ARM-processors have exellent IO-performance and integral MMU. I don't know exactly how MMU is working on these chips, but whole memory space is of course visible fo MMU.

Of course, there is "worm" inside SOC-secureboot, and maybe on silicon, too. So security analysis is not straightforvard.

Can we think chip to be secure in this case?

:-)