Jump to content

Linux server.


Recommended Posts

I creating mta server on Linux Debian 5.0 VPS hosting. I using programs WinSCP and putty. When I run server using program putty

./mta-server

what write to close putty program but not shut down server becouse when I close putty program server turns off.

Link to comment
I creating mta server on Linux Debian 5.0 VPS hosting. I using programs WinSCP and putty. When I run server using program putty
./mta-server

what write to close putty program but not shut down server becouse when I close putty program server turns off.

screen -A -m -d -S mta ./mta-server

(use this ONCE!, nothing will shop up, but the server will be running)

Link to comment

You need to install screen, I'm sure it's in local repositories already, so use whatever command you use to install applications (sudo apt-get install screen, or if I remember correctly Debian used su instead of sudo to run commands with root permissions)

Link to comment
  • Discord Moderators
Linux Debian 5.0

I have one identical, the following did what I needed

apt-get install screen

screen -S mta-server

if 'screen' package cannot be found, you might wanna change sources.list or try apt-get update.

then when you want to resume console, simply screen -r mta-server and it will resume.

Link to comment
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...