PPxPのインストール



ppxpのインストール

  • ここでは、ports「ja-ppxp-0.99120923」によりインストールします。依存関係にあるいくつかのプログラムのインストールを含めて30分程度かかりました。

    %cd /usr/ports/japanese/ppxp
    %su
    # make install
    >> ppxp-0.99120923.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
    >> Attempting to fetch from http://www.dsl.gr.jp/~manabe/PPxP/packages/.
    Receiving ppxp-0.99120923.tar.gz (402035 bytes): 100%
    402035 bytes transferred in 52.6 seconds (7.46 kBps)
    ===>  Extracting for ja-ppxp-0.99120923
    >> Checksum OK for ppxp-0.99120923.tar.gz.
    ===>   ja-ppxp-0.99120923 depends on executable: wish8.0jp - not found
    ===>    Verifying install for wish8.0jp in /usr/ports/japanese/tk80
    >> tk8.0.5.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
    >> Attempting to fetch from ftp://ftp.scriptics.com/pub/tcl/tcl8_0/.
    Receiving tk8.0.5.tar.gz (2033223 bytes): 100%
    2033223 bytes transferred in 271.0 seconds (7.33 kBps)
      .
      .(途中省略:依存関係にあるプログラムのダウンロード等あり)
      .
          This port has installed the following binaries which execute with
          increased privileges.
    540101  288 -rwsr-xr-x    1 root             wheel              135680   6/21 06:58 /usr/local/sbin/ppxpd
    
          If there are vulnerabilities in these programs there may be a security
          risk to the system. FreeBSD makes no guarantee about the security of
          ports included in the Ports Collection. Please type 'make deinstall'
          to deinstall the port if this is a concern.
    
          For more information, and contact details about the security
          status of this software, see the following webpage: 
    http://www.dsl.gr.jp/~manabe/PPxP/
    



パーミッションの変更等

  • TAとの接続にCOM1ポートを使う場合、デバイスは「dev/cuaa0」になります。このデバイスはデフォルトでは一般ユーザから使えません。ここでは使い勝手を考えて一般ユーザから使える様にします。

  • まず、「/dev/cuaa0」のパーミッションと、ロックファイルが作成される「/var/spool/lock」ディレクトリのパーミッションを確認します。dialerグループが使える事が判りました。

    %ls -l /dev/cuaa0
    crw-rw----  1 uucp  dialer   28, 128   6/23 17:24 /dev/cuaa0
    %ls -ld /var/spool/lock
    drwxrwxr-x  2 uucp  dialer  512   6/23 17:23 /var/spool/lock
    

  • そこで、dialerグループにユーザを追加します。ここではviを起動し、/etc/groupファイルを編集する事にします。

    %su
    # vi /etc/group   <--viを起動し/etc/groupを編集
    

    【/etc/group】
    (前後省略)
    dialer:*:68:hnakamur   <--ユーザ(hnakamur)を追加
    



PPxPへもどる


Copyright (c) 2001 Hiroshi Nakamura. All rights reserved.