Some usefull Plesk-Ngnix-Apache-PHP-Ubuntu configuration Commands

Plesk:

Logfiles
/usr/local/psa/var/log
/opt/psa/admin/logs
/var/log/sw-cp-server/error_log
/usr/local/psa/admin/logs/panel.log
/usr/local/psa/admin/logs/httpsd_access_log
/var/log/psa-horde/psa-horde.log
/usr/local/psa/var/modules/watchdog/log/monit.log
/usr/local/psa/var/log/xferlog

Plesk Update / Autoinstaller
/usr/local/psa/admin/sbin/autoinstaller
oder
plesk installer

Welche Plesk Version ist im Einsatz ?
cat /usr/local/psa/version

Plesk Panel starten / stoppen
/etc/init.d/psa start
/etc/init.d/psa stop

Sofortiges Upgrade durchführen:
/usr/local/psa/admin/sbin/autoinstaller --select-release-current --upgrade-installed-components

MySQL Konsole öffnen
mysql -uadmin -p$(cat /etc/psa/.psa.shadow)

Plesk Webserver Konfig neu erstellen:
/usr/local/psa/admin/bin/httpdmng --reconfigure-all

Email Konten und die dazugehörigen Passwörter auflisten:
/usr/local/psa/admin/sbin/mail_auth_view

Globale php.ini:
/usr/local/psa/admin/conf/php.ini

ifixit –> Plesk Bootsrtapper:
Wenn gar nichts mehr geht das probieren.
/usr/local/psa/bootstrapper/pp17.0.17-bootstrapper/bootstrapper.sh repair

Nginx directives:
Wordpress Rewrite
location ~ /$ {
index index.php index.cgi index.pl index.html index.xhtml index.htm index.shtml;
try_files $uri $uri/ /index.php?$args;
}

Owncloud:
client_body_in_file_only clean;
client_body_buffer_size 32K;

# set max upload size
client_max_body_size 4000M;

sendfile on;
send_timeout 600s;

Posted in Linux ( Ubuntu ), Plesk, Webserver.

Leave a Reply