Kako ponovno zaženem servis?

  Natisni
Potrebujete:
  1. SSH dostop
  2. SSH odjemalec (predlagamo putty)
Prijavite se na strežnik kot root in zaženite komando
/etc/init.d/servis restart (besedo servis zamenjajte s servisom, ki ga želite ponovno zagnati)

Najbolj pogosti:
  • /etc/init.d/mysqld restart - MySQL strežni
  • /etc/init.d/php-fpm restart - PHP FPM
  • /etc/init.d/apache2 restart - Apache (suse sistemi)
  • /etc/init.d/httpd restart - Apache (centos in ubuntu)
  • /etc/init.d/nginx restart - Nginx


47 od 107 people found this article useful.
Self-Hosted Help Desk Software by SupportPal.

Tag

Login

 
Forgot password?
Register now

Jezik