• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 577
  • Last Modified:

Rebooting a Linux server from putty

Hi,

Im trying to reboot my linux server from a localhost using putty. Can anyone tell how or the command to do this?

Thanks
Suzy
0
fyness
Asked:
fyness
  • 2
  • 2
1 Solution
 
JohnK813Commented:
First, do an

su

to switch to root.  It'll ask you for a password.

Then, for most flavors (you'll probably have to check), you can just give the command

reboot

However, your putty session will get disconnected as the server is going down.
0
 
fynessAuthor Commented:
thanks
0
 
fynessAuthor Commented:
Do you by any chance know how to get tomcat back up? I want to go to ..server:8080/manager/html for tomcat and its not recognising the server
0
 
JohnK813Commented:
Basically, you need Tomcat to start automatically on boot.  I think you can do this by adding a line to /etc/init.d, but I'm really not sure.  But, if you post a new question here, I'm sure someone will know the answer rather quickly.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now