| |

VerySource

 Forgot password?
 Register
Search
View: 2113|Reply: 4

Using java on linux remote

[Copy link]

1

Threads

4

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-1-2 18:30:01
| Show all posts |Read mode
Configured the java environment of linux, and started the java program after remote login with putty
 
Use the command java Server.FileServer

 Close putty, the program is closed

Because this program is a service program listening on the port, it needs remote control to start

Ask a master, what should I do?
Reply

Use magic Report

0

Threads

23

Posts

15.00

Credits

Newbie

Rank: 1

Credits
15.00

 China

Post time: 2020-1-4 12:09:01
| Show all posts
You can try it like this
sh -c "java Server.Fileserver&"
Close putty
Reopen putty and connect
ps -aux | grep java to see if it is executing.
Reply

Use magic Report

1

Threads

4

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-1-6 14:09:02
| Show all posts
Still turned off
Reply

Use magic Report

1

Threads

4

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-1-6 14:15:01
| Show all posts
Successful, thank you, just forgot to add the&symbol
Reply

Use magic Report

1

Threads

4

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-1-6 14:18:01
| Show all posts
How do I turn off this service!
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list