[[
メモ
]]
めでぃあきすらぼ
現在位置:
めでぃあきすらぼ
»
plesk
»
メモ
文書の表示
最近の変更
索引
ログイン
この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。
====== メモ ====== <note warning> ここに書かれている内容は**Parallelsが正式に保証・公開していない**情報が多くあります。 参考にして作業をされる場合は自己責任でお願いします。 </note> ===== MySQLへの接続 ===== Pleskを使ってる限りSSHなどでコンソールに接続して設定をいじる事はないし、phpMyAdminも使えるから必要無いのかもしれないが… 独自PHPなんかでPleskのデータベースにアクセスしてデータを抜いちゃったりしたいなぁ~って場合は以下のファイルを確認 <note tip>cat /etc/psa/.pas.shadow</note> そんな訳で接続するには mysql -u admin -p `cat /etc/psa/.psa.shadow` もし、うまく接続出来ない場合は-Dオプションで**psa**(データベース名)を指定して試してみよう。 ===== CentOS6.7にPlesk12.5.30をインストールしたらDovecotが起動しない ===== 必ずコケるかと言うとそうではない なので、Pleskが悪い訳じゃないのだけど、IPv6を無効にしてるとlisten出来なくて落ちるようだ <code> # /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 </code> こんな感じのエラーがでる。なので、dovecot.confを修正する。 <code> vi /etc/dovecot/dovecot.conf listen = * </code> この1行を追加するだけで良いはず ===== CentOS7でproftpdの接続が遅い場合 ===== proftpdはIP逆引きとかで接続がすごい遅い場合があるようなんだけど、Pleskではその対応は既にしてある。 こういうやつね。 IdentLookups off UseReverseDNS off 設定するのは/etc/proftpd.confにですよw それでも接続が遅い場合、タイムアウトを26秒くらいにすれば繋がるんだけど、あまりにも遅すぎる(--;) イロイロと試した結果、proftpd.confに以下の1行を追加する。 UseIPv6 off んでもって、xinetdを再起動する systemctl restart xinetd Pleskを使ってて遅いって感じる人は少ないのだろうか?googleで検索してもこんな情報を書いてるサイトが無かった。
plesk/memo.txt · 最終更新: 2016/02/17 14:00 by miyako
文書の表示
以前のリビジョン
Media Manager
文書の先頭へ