Kopia dystrybucyjna może zostać skonfigurowana jako serwer http lub jako udostępniony folder sieciowy.
A Mirror can be configured as an HTTP server, or as a shared network folder.
Na komputerze znajdującym się w sieci zamkniętej należy uruchomić serwer HTTP.
You need an HTTP server running on the machine in the closed network.
Nasze środowisko deweloperskie to przeważnie zbiór kooperujących ze sobą procesów (baza danych, serwer http, jakiś cache, itd...) - jak tę całą menażerię skonteneryzować?
Our developer environment is mostly a set of cooperative processes (the data base, http Server, some caches, etc...) - how to containerize this whole mess?
Należało się również spodziewać, że większość zadań będzie wielokontenerowa (najczęściej w tandemie baza danych + serwer http), wobec czego przydatne okazało się narzędzie Docker Compose.
Because most of the tasks may need more than one container (usually a tandem of database + http server), Docker Compose may be also useful.
Wbudowany serwer HTTP działa teraz w osobnym wątku.
The built-in HTTP server now runs in a separate thread.
Zewnętrzny serwer HTTP jest używany, a pliki nie są zsynchronizowane.
An external http server is being used and the files are not synchronized
Pomijając proces konwersji, żądanie przesłania danych z łącza szeregowego na serwer HTTP można zrealizować naprawdę szybko - wystarczy ustawić parametry.
Without considering the conversion process, the data request from the serial port to the HTTP server can be realized quickly, just by setting parameters.
Osoba atakująca może się jeszcze dowiedzieć, jakie oprogramowanie i wersje używasz innymi metodami, na przykład podczas oglądania pakietów z serwera http lub sprawdzania, czy urządzenie pokaże, że masz zainstalowany serwer HTTP i jego wersję.
An attacker can still learn what software and the versions you use by other means, for instance watching the packets from your http server or probing the machine will show that you have an http server installed and its version.
Stawiamy sobie serwer HTTP gdzie chcemy, tworzymy strony, które czytają dane z serwera, albo "coś wyświetlają".
We set up an HTTP server wherever we want, we create pages that read data from the server, or "display something".
Aby uruchomić serwer HTTP, będziesz musiał podać powyższy kod w pliku o nazwie" example.js" (bez cudzysłowów) i wykonać go za pomocą polecenia węzła z emulatora terminala
In order to run the HTTP server, you will have to the code above into a file called "example.js" (without quotes) and execute it with the node command from a terminal emulator
Postawmy krok 1 i 2 razem w pliku o nazwie main.js i uruchomić nasz serwer HTTP, jak pokazano poniżej
Let's put step 1 and 2 together in a file called main.js and start our HTTP server as shown below
Jeżeli któryś z nich ma duży rozmiar, lepiej załadować go na nasz serwer HTTP w skompresowanej postaci (gzip i bzip2 są preferowanymi formatami) i załączyć tylko ścieżkę i nazwę pliku do zgłoszenia błędu.
If some of them are quite big then it is better to upload them to our HTTP server in a compressed format (gzip and bzip2 preferred) and include only the path and file name in your bug report.
Jeśli korzystasz z wbudowanego serwera (httpserver jest ustawiony na 1 i httpdownloadurl jest pusty), upewnij się, że serwer HTTP jest dostępny (można sprawdzić dostęp za pomocą przeglądarki) dla każdego.
If you are running the built-in server (httpserver is set to 1 and httpdownloadurl is empty), make sure that your HTTP server is accessible (you can try to access it by using a browser) for everyone.