Solved

Rebooting a Linux server from putty

Posted on 2004-08-10
4
539 Views
Last Modified: 2011-09-20
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
Comment
Question by:fyness
  • 2
  • 2
4 Comments
 
LVL 14

Accepted Solution

by:
JohnK813 earned 50 total points
ID: 11764095
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
 

Author Comment

by:fyness
ID: 11764132
thanks
0
 

Author Comment

by:fyness
ID: 11764149
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
 
LVL 14

Expert Comment

by:JohnK813
ID: 11764413
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now