M
M
multick2015-07-14 15:05:36
linux
multick, 2015-07-14 15:05:36

How to reboot server via ssh?

Good day community.
When the web server is restarted via putty, the rebot command does not raise the muscle. When rebooting through the panel, everything works fine.
Actually the question is how to properly restart the web server via ssh so that all services will probably work.
Please send commands for ubuntu and debian (if they are different)

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Azazel PW, 2015-07-14
@multick

reboot
shutdown -r now
In order to see the autoload list
apt-get install sysv-rc-conf
sysv-rc-conf --list
You can do it in a simpler way, but it will graphically show what starts at what moment :)
Well, on any firefighter, enable MySQL to autoload in Debian/Ubuntu
update-rc.d mysqld defaults

S
Sergey, 2015-07-14
@edinorog

doesn't go up because you didn't make it go up. what's the reboot

S
Sergey Zelensky, 2015-07-14
@SergeyZelensky-Rostov

restart httpd

P
polozad, 2015-07-16
@polozad

Well, at least specify the version of ubuntu. SystemV and systemd are different, you don’t have a corny muscle auto-restart there. And reboot is a restart of the entire system, in fact, not a web server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question