View previous topic :: View next topic |
Author |
Message |
epsilon_da n00b
Joined: 17 Jan 2006 Posts: 28
|
Posted: Tue Jan 17, 2006 10:45 pm Post subject: emerge terminates when sshclient is closed |
|
|
hi, im not sure if this is the right place to post this, but the installation process suport install via ssh, so:
when ever i am installing something via ssh using the client putty for windows and i give it a list of packages which will take lots and lots of time, i need to close the client to shutdown my computer, but when i do that, the emerging process closes too, so i need to have opened the client to successfully install anything.
i want to tell portage to emerge a list of package (or maybe update my world), close the client, and tomorrow open some log file, and check for errors or whatever.
thanks. |
|
Back to top |
|
|
think4urs11 Bodhisattva
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Tue Jan 17, 2006 11:02 pm Post subject: |
|
|
you want to read http://gentoo-wiki.com/TIP_Using_screen and (for the next time) use the power i need to know about gives _________________ Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself |
|
Back to top |
|
|
mmbrothers Apprentice
Joined: 24 Dec 2005 Posts: 224 Location: Boston
|
Posted: Tue Jan 17, 2006 11:03 pm Post subject: |
|
|
You could try screen or nohup.
Nohup is the more simple of the two approaches. It will simply allow you to disconnect while a process started with nohup continues to run. Read man nohup.
Screen is a complete terminal environment, it may be overkill for what you need but it is more flexible than nohup. It can keep history, allow you to reconnect to a session, and much more. Again, read man screen. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|