This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
advanced-unix:capitole:capitol-03 [2016/05/10 12:55] razvan [Resurse utile] |
advanced-unix:capitole:capitol-03 [2016/05/10 13:07] (current) razvan [Folosirea supervisord] |
||
---|---|---|---|
Line 131: | Line 131: | ||
<note tip> | <note tip> | ||
- | Pentru a porni un server HTTP Python folosiți comanda<code> | + | Pentru pornirea ''tmux'' folosiți comanda |
+ | <code> | ||
+ | tmux | ||
+ | </code> | ||
+ | |||
+ | Pentru a deschide ecrane noi în ''tmux'' folosiți combinația de taste ''Ctrl+b'' și apoi separat ''c''. Pentru a tranzita între ferestre folosiți combinațiile de taste ''Ctrl+b'' urmat de ''n'' și ''Ctrl+b'' urmat de ''p''. Pentru a închide un ecran închideți shell-ul folosind ''Ctrl+d'' sau ''exit'' sau ''logout''. | ||
+ | |||
+ | Pentru a vă detașa de ''tmux'' folosiți combinația de taste ''Ctrl+b'' urmat de ''d''. Pentru a vă reatașa la ''tmux'' folosiți comanda<code> | ||
+ | tmux attach | ||
+ | </code> | ||
+ | </note> | ||
+ | |||
+ | <note tip> | ||
+ | Pentru a porni un server HTTP Python folosiți comanda | ||
+ | <code> | ||
python -m SimpleHTTPServer | python -m SimpleHTTPServer | ||
</code> | </code> | ||
Line 144: | Line 158: | ||
* https://www.digitalocean.com/community/tutorials/how-to-install-and-manage-supervisor-on-ubuntu-and-debian-vps | * https://www.digitalocean.com/community/tutorials/how-to-install-and-manage-supervisor-on-ubuntu-and-debian-vps | ||
* https://serversforhackers.com/monitoring-processes-with-supervisord | * https://serversforhackers.com/monitoring-processes-with-supervisord | ||
+ | |||
</note> | </note> |