- projekt należy sklonować na swoim koncie na serwerze xor
git clone https://gitlab.com/mariusz.jarocki/pus2021.git
- polecenie
make
stworzy plik wykonywalny serweradist/server
- serwer uruchamiamy poleceniem
dist/server port
gdzie port jest liczbą całkowitą większą od 1024, nieużytą w tym momencie przez innego użytkownika celem uniknięcia konfliktów, możemy przyjąć konwencję 1 miesiąc_urodzenia dzień_urodzenia czyli dla urodzonego 24 marca: 10324 - uruchomiony serwer wyświetli prompt w postaci znaku % ; można go zakończyć naciskając Ctrl+D
- klienta javowego kompilować nie trzeba, bo w aktualnej postaci jest on skompilowany w katalogu
javaclient/dist
; gdyby potrzeba go było skompilować ponownie, należy wydać poleceniemake javaclient
- plik
client.jar
należy ściągnąć do środowiska lokalnego wraz z plikiemclient.properties.example
- należy zmienić nazwę pliku
client.properties.example
naclient.properties
i zmienić odpowiednio jego zawartość tak, aby łączył się z odpowiednim serwerem (host:
) i portem (port:
) - uwaga: spoza sieci lokalnej nie połączycie się z portami xora poza 22 (ssh); aby połączyć się ze swoim serwerem pracującym na porcie powiedzmy 10324 należy zestawić tunel ssh poleceniem
ssh -L 10324:localhost:10324 [email protected]
i w plikuclient.properties
użyć jako host wartościlocalhost
programowaniesieciowe's Introduction
programowaniesieciowe's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.