2013-01-01から1ヶ月間の記事一覧

apache2にmod_rewriteの組み込み

Wordpressのパーマリンク設定をデフォルト以外に変更するにはこのモジュールが必要となります。 configureからやり直すのはつらいので、apxsで組み込みを行います。 sourceはmodules/mappersの中にあるのでこれをコンパイルします。 httpdをインストールした…

FreeBSD9.xにmysql5.0.xを導入

http://dev.mysql.com/downloads/mysql/5.0.html#downloads からsourceを取得。 5.5系とか5.6系などはcmakeとかよくわからないので検討事項にする… # tar zxvf mysql-5.0.96.tar.gz # cd mysql-5.0.96 # ./configure --prefix=/usr/local/mysql \ --enable-a…

apache2.2.x系 VirtualHost設定

apache2.2.x系ではhttpd.confではなくhttpd-vhosts.confに設定を行うようになっていた $ vi /usr/local/apache2/conf/httpd.conf # Virtual hosts #Include conf/extra/httpd-vhosts.conf下記のようにコメントアウトを解除 # Virtual hosts Include conf/ext…

FreeBSD9.xにSamba3.6.xをインストール

# wget ftp://ftp.samba.gr.jp/pub/samba/samba-3.6.10.tar.gz # tar zxvf samba-3.6.10.tar.gz # cd samba-3.6.10configureはどこに?? source3の中にあるらしい。 source4の中はsamba4のソースが試験的に入っている模様。 # cd source3 # ./configure # m…

FreeBSD9.x、mysql5.0.xにphpMyAdmin3.5.xを導入

# wget http://sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/3.5.5/phpMyAdmin-3.5.5-all-languages.tar.gz/download # mv download phpMyAdmin-3.5.5-all-languages.tar.gz # tar zxvf phpMyAdmin-3.5.5-all-languages.tar.gzこのファイルをWEBで…

myPhpAdmin 「#2002 MySQL サーバにログインできません」 エラーが出続ける

myPhpAdminをインストール完了 接続してユーザー/ログインを入力しましたが 「#2002 MySQL サーバにログインできません」サイトを漁るとphp.iniの mysql.default_socket = /var/lib/mysql/mysql.sock mysqli.default_socket = /var/lib/mysql/mysql.sockをき…

FreeBSD に wget1.14をインストール

以前wget1.12は実施 FreeBSDにwgetをinstall - miyokawa Note今回は FreeBSD9.1 にwget1.12をインストールしてみました。wget-1.14.tar.gzところがconfigureで # ./configure configure: error: --with-ssl was given, but GNUTLS is not available.と怒られ…

FreeBSD9.xにapache2.2.xをインストール

今回は FreeBSD9.1 apache2.2.23 の組み合わせを実施。インストールは # wget http://ftp.jaist.ac.jp/pub/apache//httpd/httpd-2.2.23.tar.gz # tar zxvf httpd-2.2.23.tar.gz # cd httpd-2.2.23 # ./configure # make # su $ make install起動したところで…

FreeBSD9.xにperl5.16.xのインストール

# wget http://www.cpan.org/src/5.0/perl-5.16.2.tar.gz # tar -xzf perl-5.16.2.tar.gz # cd perl-5.16.2 # ./Configure -des # make # make test # su $ make install $ exit # source ~/.cshrc # which perl /usr/bin/perl # perl -vThis is perl 5, ver…

FreeBSD9.xにPHP5.3.xをインストール

ファイルを入手する # wget http://jp1.php.net/get/php-5.3.20.tar.gz/from/this/mirror # mv mirror php-5.3.20.tar.gz # tar zxvf php-5.3.20.tar.gz # cd php-5.3.20configureをかける # ./configure --with-apxs2=/usr/local/apache2/bin/apxs --enable…