I have shut down my linux web server using ssh command
~# shutdown -h now
how can i restart the server again. i am trying out different things but they are not helping. How to restart using ssh.
reboot
or if you want to restart just apache then
/etc/init.d/apache2 restart
and if you want to shutdown then instead of shutdown -h now
you can simply use poweroff
You have powered off the machine, you can't restart it from SSH. unless it supports Wake from Lan.
If you want to only restart your web server use
apachectl restart
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With