SSH Befehle

1
Jul

Restart Apache

Wie kann ich starten / stoppen oder starten Sie Apache web sever via SSH (Secure Shell) unter Linux oder UNIX-Betriebssystemen?

/etc/init.d/apache2 restart
/etc/init.d/apache2 stop
/etc/init.d/apache2 start
# CentOS 
service httpd restart
service httpd stop
service httpd start

Parallels Plesk

 /etc/rc.d/init.d/psa stopall
 /etc/rc.d/init.d/psa start 

 

Mysql Server

/etc/init.d/mysqld start
/etc/init.d/mysqld stop
/etc/init.d/mysqld restart
# CentOS
service mysqld start
service mysqld stop
service mysqld restart