[[
インストール
]]
Fool For the City
現在位置:
なみかわみやこの技術メモwikiです。
»
linux
»
ml
»
インストール
文書の表示
以前のリビジョン
最近の変更
索引
ログイン
この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。
===== インストール ===== 現時点ではfml バージョン8は正式リリースされていない(2011.2.23) ベータ版ではあるが、ほぼRCと言われているfml-7.98.15-20100306.tar.gzをダウンロードする <code> # wget ftp://ftp.fml.org/pub/fml8/fml-7.98.15-20100306.tar.gz </code> インストールはfmlユーザを作成して、configureしてmake installするだけらしい <code> # groupadd fml # useradd -m -g fml fml # chmod 755 /home/fml # tar zxvf fml-7.98.15-20100306.tar.gz # cd fml-7.98.15-20100306 # ./configure # make install </code> configureのオプションは次の通り <code> `configure' configures this package to adapt to many kinds of systems. Usage: ./configure [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print `checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for `--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or `..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [/usr/local] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, `make install' will install all the files in `/usr/local/bin', `/usr/local/lib' etc. You can specify an installation prefix other than `/usr/local' using `--prefix', for instance `--prefix=$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --without-warning run perl as perl without -w --with-fmlconfdir=DIR use DIR instead of SYSCONFDIR/fml --with-mlspooldir=DIR use DIR instead of /var/spool/ml --with-fml-owner=USER use USER instead of fml --with-fml-group=GROUP use GROUP instead of fml --with-default-domain=DOMAIN use DOMAIN as the default ML domain --with-default-hostname=HOSTNAME use HOSTNAME as the default hostname --without-mime-component-filter disable mime_component_filter --with-group-writable-fmlconfdir=DIR instead of \$fmlconfdir/config.gw --with-ml-home-prefix-map=PATH use PATH as primary_ml_home_prefix_map --with-group-writable-ml-home-prefix-map </code> ===== メーリングリスト作成 ===== ==== バーチャルドメインの場合 ==== デフォルトドメイン以外でメーリングリストを作成する場合は利用するドメインを追加しておく必要がある <code> rootで作業 # makefml newdomain mediakisslab.net /var/spool/mediakisslab.net フォルトドメインは/var/spool/mlがスプールフォルダになってると思われる # su fml # makefml newfl admin@mediakisslab.net </code> ==== インストールされるCGIにアクセスしてみる ==== apacheが必要なんでとりあえずyumでインストールする <code> # yum -y install httpd </code> コンフィグファイルを作成 <code> # vi /etc/httpd/conf.d/fml.conf Alias /fml/ /home/fml/public_html/cgi-bin/fml/ <Directory /home/fml/public_html/cgi-bin/fml/> Options +ExecCGI AddHandler cgi-script .cgi AllowOverride All Order allow,deny Allow from all </Directory> </code> apacheを起動 <code> # service httpd start </code> なんかベーシック認証がかかってるが、htpasswdの指定が無いのでちゃんと指定してやる。 ※今回はテストだったのでhtaccessを一時的に無効化して確認した <code> # cd /home/fml/public_html/cgi-bin/fml # mv .htaccess htaccess.org </code> いよいよ、サイトにアクセス!! <code> http://ドメイン/fml/メーリングリストドメイン/ml-admin/admin/config.cgi </code> ありゃ? 真っ白で何も表示されないぞ ログを確認してみると・・・ <code> Use of uninitialized value in join or string at /usr/lib/perl5/5.8.8/File/Spec/Unix.pm line 81. </code> ってな事が(--;) 原因不明で現在ここまで(汗
linux/ml/fml8.txt · 最終更新: 2011/02/23 08:21 by miyako
文書の表示
以前のリビジョン
文書の先頭へ