コンパクトで日本語環境の整ったディストリビューション

#contents

*特徴 [#j9406a05]

-RedHat系だが、最近は独自路線をゆく。
-他のディストロが肥大化する一方、Vineはディスク一枚で済むのでとってもコンパクト
-パッケージ管理はaptを利用しており、debianユーザーにもGOOD!
-[[RedHatLinux>Linux/Distro/RedHat]]完全商用化後の主流として2004/04より利用中

*インストール [#fb680d6e]

-サイトからisoイメージを落としてきて、書き込むだけ。安いCD-RWだとうまくブートしなかったことがあり、余計なトラブルを避けるために品質のよいCDを使いましょう!

*周辺機器インストール [#p7d6df67]

**プリンタ [#af6d4f43]

Linuxをブートする前からUSBケーブルをさしてKudzuに自動認識させる。その後システムのCUPS印刷マネージャーを選択してあとは新しいプリンタを追加。USBポートが複数ある場合は複数表示されている。見付からないとエラーが出た場合はもうひとつの選択肢で試してみること。

*その後の設定 [#h63451d5]

-SSHDのRootログインが禁止されているのがVineの伝統。まずはリモートからrootログイン可能にする。
 # vi /etc/ssh/sshd_config
 PermitRootLogin yes

-sshd再起動
 /etc/init.d/sshd restart

-aptの設定
 vi /etc/apt/sources.list
 以下の行のコメントアウト'#'を消す(main plus plus-noarchがPHP4に必須)
 #rpm     ftp://ftp.kddlabs.co.jp/pub/Linux/distributions/Vine/apt 2.6/$(ARCH) main plus plus-noarch
 #rpm-src ftp://ftp.kddlabs.co.jp/pub/Linux/distributions/Vine/apt 2.6/$(ARCH) main plus
 # apt-get update
 すべて外してもいいが、落ちてるところは時間の無駄なのでコメントアウトする。

**ApacheとPHP [#kf54fa8b]

 phpはhttpd.conf設定変更なしで使える
 pearを利用するには/etc/php.iniのinclude_pathを
 include_path = ".:/usr/share/php4-pear:/php/includes"
 として、apache再起動する。pearのライブラリは必要最小限なので各自インストールする。

**emacs [#m40b7794]

 V3.0で起動時にエラー
 emacs -no-site-file or /etc/emacs-21.3/site-start.d/を作成 

**mail [#c5919ced]

-[[UNIX/ServerSoft/Postfix]]


**IMAPとWebMail [#j144ce2c]

 http://milk-tea.s42.xrea.com/
 ここ参照

 main.cf
 home_mailbox=Maildir/
 #mail_spool_directory = /var/spool/mail

 rpm -Uvh courier-imap-2.1.2-0vl0.i386.rpm
 /etc/init.d/courier-imap start
 /etc/init.d/postfix restart
 
 chown -R apache:apache webmailer/

**データベース移行 [#oca4058e]
 su - postgres
 initdb
 すると下記confファイルが作成される。

 vi postgresql.conf
 tcpip_socket = true

 pg_hba.confもいじる(最後尾に以下を追加するだけ!)
 V7.2
 host       all         127.0.0.1     255.255.255.255    trust
 host       all         192.168.1.0   255.255.255.0      trust
 V7.4
 host    hellodb     all    192.168.1.0   255.255.255.0      trust

 createdb -E EUC_JP hellodb
 psql -e hellodb < /var/tmp/dbout.dat


 /usr/share/pgsqlにJDBCDriverがインストールされる。

**apache2 [#zc45dd06]

 Vine3.x系でPHPを利用するときは以下のようにする
 [crit] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe.  You need to recompile PHP.Pre-configuration failed

 cd /usr/sbin
 rm apache2
 ln -s /usr/sbin/apache2.prefork apache2
 
 UserDirとAddDefaultCharsetの修正

**PHP5 [#n28442c8]

 PEARのおき場所 /usr/share/php5-pear

**ホスト名変更(要再起動) [#s90547cd]

 vi /etc/sysconfig/network

**(古い情報)tomcat4.1.30とapache1.3.27の連携(V3もOK) [#h0f9a4ec]

 mod_jk2.soのコンパイル(現在不可能になった)

 httpd.confに以下を追加
 LoadModule jk2_module modules/mod_jk2.so
 AddModule mod_jk2.c

 confディレクトリにworkers2.properties作成
 [status:]
 [uri:/jkstatus/*]
 group=status:
 [shm:]
 disabled=1
 [channel.socket:]
 [ajp13:]
 [uri:/examples/*]
 [uri:/tool/*]


*nForce2マシンへインストール [#ld5e0503]
 GeForce4(Generic)選択
 laptopLCDを選択
 nvidiaのsrpmパッケージをインストール
 rpm --rebuild NVIDIA_nforce-1.0-0261.src.rpm
 netconfig
 service network start

*apt履歴 [#f1cb4a85]

**V2.6r4のapt履歴 [#xb66fc7a]
 apt-get update
 apt-get install w3m
 apt-get install wget
 apt-get install emacs
 apt-get install portmap
 apt-get install nfs-utils
 apt-get install apache
 apt-get install mod_ssl
 apt-get install cvs
 apt-get install php
 apt-get install php-pgsql
 apt-get install postgresql-server
 apt-get install postgresql-jdbc

**V3.0のapt履歴 [#a681e9bd]
 apt-get install apache
 apt-get install php-apache
 apt-get install php-pgsql
 apt-get install postgresql-server
 apt-get install wget
 apt-get install mod_ssl
 apt-get install gcc
 apt-get install samba
 apt-get install dhcp
 apt-get install nmap
 apt-get install bind
 apt-get install perl-DBD-Pg
 apt-get install perl-DBI
 apt-get install screen
 apt-get install nfs-utils

**V3.1 [#pf095659]
 apt-get install wget
 apt-get install openssl
 apt-get install openssl-devel
 apt-get install postgresql
 apt-get install postgresql-devel
 apt-get install libxml-devel
 apt-get install libxml2-devel

**V4.0 [#na6ba685]
 apt-get install php5-apache2
 apt-get install php5-pgsql
 apt-get install postgresql
 apt-get install postgresql-server
 apt-get install emacs
 apt-get install vsftpd
 apt-get install squid
 apt-get install samba
 apt-get install php5-pear

**V4.1 [#ie6a68e2]
**V4.1&4.2 [#ie6a68e2]

 apt-get install samba samba-client
 apt-get install php5-apache2
 apt-get install php5-pgsql
 apt-get install postgresql-server
 apt-get install php5-pdo
 apt-get install vsftpf
 apt-get install vsftpd
 apt-get install emacs
 apt-get install mailx
 apt-get install wol
 apt-get install ntp
 apt-get install php5-devel
 apt-get install php5-devel
 apt-get install gcc
 apt-get install make


#counter

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS