• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 574
  • 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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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