WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TC installed  (Read 862 times)

Offline Yleisajattelija

  • Full Member
  • ***
  • Posts: 172
TC installed
« on: October 09, 2022, 11:49:17 PM »
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)?

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14096
Re: TC installed
« Reply #1 on: October 10, 2022, 02: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: 172
Re: TC installed
« Reply #2 on: October 11, 2022, 10:25:52 PM »
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 11, 2022, 10:46:15 PM by Yleisajattelija »

Offline patrikg

  • Hero Member
  • *****
  • Posts: 515
Re: TC installed
« Reply #3 on: October 11, 2022, 10:55:06 PM »
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: 172
Re: TC installed
« Reply #4 on: October 11, 2022, 11:28:27 PM »
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: 172
Re: TC installed
« Reply #5 on: October 12, 2022, 12: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, 12:22:47 AM by Yleisajattelija »

Offline gadget42

  • Sr. Member
  • ****
  • Posts: 451
Re: TC installed
« Reply #6 on: October 12, 2022, 01: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: 172
Re: TC installed
« Reply #7 on: October 12, 2022, 01: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: 10432
Re: TC installed
« Reply #8 on: October 12, 2022, 06:08:09 AM »
Hi gadget42
... shouldn't that be "installed" and not "istalled"? ...
And now it's fixed. :)

Offline Yleisajattelija

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

Third?

Offline patrikg

  • Hero Member
  • *****
  • Posts: 515
Re: TC installed
« Reply #10 on: February 01, 2023, 09:29:08 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/
« Last Edit: February 01, 2023, 09:31:27 AM by patrikg »

Offline Yleisajattelija

  • Full Member
  • ***
  • Posts: 172
Re: TC installed
« Reply #11 on: February 01, 2023, 11:43:12 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/

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: 172
Re: TC installed
« Reply #12 on: Today at 03: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

  • Hero Member
  • *****
  • Posts: 515
Re: TC installed
« Reply #13 on: Today at 09:34:55 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.
« Last Edit: Today at 09:37:40 AM by patrikg »