homebrew

HomebrewでMemcachedのインストール

インストール $ brew install memcached ==> Installing memcached dependency: libevent ==> Downloading https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz ##############################################################…

SnowLeopardにhomebrewで、MySQLにmysqlftppc mecab pluginをICU対応で入れようとして頓挫した話

MySQL、mecabのインストールまでは、macportsからHomebrewに乗り換えてMySQL5.1をインストールするまでの流れ 参照 mysqlftppc mecab pluginって何? MySQLでFULLTEXTインデックスをパースする時に、mecabを使うようにするプラグイン SourceForge.net: Mecab-…

Homebrewで入れたMySQL5.1でutf-8を使えるようにする設定

クライアント、サーバ側それぞれをutf8にする 方法 ~/.my.cnf にクライアント側の設定を追加 [client] default-character-set = utf8 /usr/local/var/mysql/my.cnf にサーバ側の設定を追加 [mysqld] character-set-server=utf8 サーバの再起動 mysql.server …

Homebrewで入れたMySQL5.1を停止できない件の対策

現象 MySQLを停止しようとするとエラーがでる $ mysql.server stop Shutting down MySQL ....... ERROR! Manager of pid-file quit without updating file. ERROR! Failed to stop running server, so refusing to try to start. 原因 Homebrewで作られたmys…

macportsからHomebrewに乗り換えてMySQL5.1をインストールするまでの流れ

macportsで入れたアプリをlaunchctlからアンロードする $ sudo launchctl list | grep port 79 - org.macports.mysql5 80 - org.macports.apache2 macportsで作られたplistは以下のディレクトリにある /opt/local/etc/LaunchDaemons アンロード $ sudo launc…