Linux/Distro/Vine
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
コンパクトで日本語環境の整ったディストリビューション
#contents
*特徴 [#j9406a05]
-RedHat系だが、最近は独自路線をゆく。
-他のディストロが肥大化する一方、Vineはディスク一枚で済む...
-パッケージ管理はaptを利用しており、debianユーザーにもGOOD!
-[[RedHatLinux>Linux/Distro/RedHat]]完全商用化後の主流と...
*インストール [#fb680d6e]
-サイトからisoイメージを落としてきて、書き込むだけ。安いC...
*周辺機器インストール [#p7d6df67]
**プリンタ [#af6d4f43]
Linuxをブートする前からUSBケーブルをさしてKudzuに自動認識...
*その後の設定 [#h63451d5]
-SSHDのRootログインが禁止されているのがVineの伝統。まずは...
# vi /etc/ssh/sshd_config
PermitRootLogin yes
-sshd再起動
/etc/init.d/sshd restart
-aptの設定
vi /etc/apt/sources.list
以下の行のコメントアウト'#'を消す(main plus plus-noarch...
#rpm ftp://ftp.kddlabs.co.jp/pub/Linux/distributions...
#rpm-src ftp://ftp.kddlabs.co.jp/pub/Linux/distributions...
# 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 ...
host all 192.168.1.0 255.255.255.0 ...
V7.4
host hellodb all 192.168.1.0 255.255.255.0 ...
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 Mo...
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) [#...
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&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 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
終了行:
コンパクトで日本語環境の整ったディストリビューション
#contents
*特徴 [#j9406a05]
-RedHat系だが、最近は独自路線をゆく。
-他のディストロが肥大化する一方、Vineはディスク一枚で済む...
-パッケージ管理はaptを利用しており、debianユーザーにもGOOD!
-[[RedHatLinux>Linux/Distro/RedHat]]完全商用化後の主流と...
*インストール [#fb680d6e]
-サイトからisoイメージを落としてきて、書き込むだけ。安いC...
*周辺機器インストール [#p7d6df67]
**プリンタ [#af6d4f43]
Linuxをブートする前からUSBケーブルをさしてKudzuに自動認識...
*その後の設定 [#h63451d5]
-SSHDのRootログインが禁止されているのがVineの伝統。まずは...
# vi /etc/ssh/sshd_config
PermitRootLogin yes
-sshd再起動
/etc/init.d/sshd restart
-aptの設定
vi /etc/apt/sources.list
以下の行のコメントアウト'#'を消す(main plus plus-noarch...
#rpm ftp://ftp.kddlabs.co.jp/pub/Linux/distributions...
#rpm-src ftp://ftp.kddlabs.co.jp/pub/Linux/distributions...
# 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 ...
host all 192.168.1.0 255.255.255.0 ...
V7.4
host hellodb all 192.168.1.0 255.255.255.0 ...
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 Mo...
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) [#...
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&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 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
ページ名: