Debian GNU Linux/3.1 sarge/AMD64環境にFlash Communication Serverをインストール のバックアップ(No.4)


Debian/AMD64環境にFlash Communication Serverをインストール

chroot i386 sarge環境を構築する。

  • Debian/chroot i386 sarge環境を構築?


chroot i386 sarge環境にfcsをインストールする。

  • 以下を実行後、fcsをインストールする。
    chroot /var/chroot/ia32 


  • Debian/Flash Communication Serverをインストール?


  • chroot i386 sarge環境を抜ける。
    exit


AMD64環境の設定をする。

  • 以下を実行する。uid/gidはchroot i386 sarge環境と合わせる必要がある。
    groupadd macromedia
    useradd -g macromedia -d /usr/local/fcs -s /bin/bash fcs


  • /etc/init.d/fcsを作成する。
    #!/bin/sh
    chroot /var/chroot/ia32 /etc/init.d/fcs $*


  • 以下を実行する。
    chmod +x /etc/init.d/fcs
    update-rc.d fcs defaults 99 01