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


=debian= AMD64環境にFlash Communication Serverをインストール

Debian GNU Linux 3.1 sarge - AMD64環境にFlash Communication Serverをインストール

chroot i386 sarge環境を構築する。

 =debian= chroot i386 sarge環境を構築?

chroot i386 sarge環境を構築する。


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

 以下を実行後、fcsをインストールする。

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

  • 以下を実行後、fcsをインストールする。
    chroot /var/chroot/ia32 
 =debian= Flash Communication Serverをインストール?

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


fcsの自動起動を設定する。

 /etc/init.d/fcsに以下を定義する。

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
    
    ln -s /var/chroot/ia32/usr/local/fcs /usr/local
    ln -s /var/chroot/ia32/etc/macromedia /etc