Pleskを使ってる限りSSHなどでコンソールに接続して設定をいじる事はないし、phpMyAdminも使えるから必要無いのかもしれないが…
独自PHPなんかでPleskのデータベースにアクセスしてデータを抜いちゃったりしたいなぁ~って場合は以下のファイルを確認
そんな訳で接続するには
mysql -u admin -p `cat /etc/psa/.psa.shadow`
もし、うまく接続出来ない場合は-Dオプションでpsa(データベース名)を指定して試してみよう。
必ずコケるかと言うとそうではない
なので、Pleskが悪い訳じゃないのだけど、IPv6を無効にしてるとlisten出来なくて落ちるようだ
# /etc/init.d/dovecot start Dovecot Imap を起動中: Error: socket() failed: Address family not supported by protocol Error: service(managesieve-login): listen(::, 4190) failed: Address family not supported by protocol Error: socket() failed: Address family not supported by protocol Error: service(pop3-login): listen(::, 110) failed: Address family not supported by protocol Error: socket() failed: Address family not supported by protocol Error: service(pop3-login): listen(::, 995) failed: Address family not supported by protocol Error: socket() failed: Address family not supported by protocol Error: service(imap-login): listen(::, 143) failed: Address family not supported by protocol Error: socket() failed: Address family not supported by protocol Error: service(imap-login): listen(::, 993) failed: Address family not supported by protocol Fatal: Failed to start listeners
こんな感じのエラーがでる。なので、dovecot.confを修正する。
vi /etc/dovecot/dovecot.conf listen = *
この1行を追加するだけで良いはず
proftpdはIP逆引きとかで接続がすごい遅い場合があるようなんだけど、Pleskではその対応は既にしてある。
こういうやつね。 IdentLookups off UseReverseDNS off
設定するのは/etc/proftpd.confにですよw
それでも接続が遅い場合、タイムアウトを26秒くらいにすれば繋がるんだけど、あまりにも遅すぎる(--;)
イロイロと試した結果、proftpd.confに以下の1行を追加する。
UseIPv6 off
んでもって、xinetdを再起動する
systemctl restart xinetd
Pleskを使ってて遅いって感じる人は少ないのだろうか?googleで検索してもこんな情報を書いてるサイトが無かった。