トップ 差分 一覧 ソース 検索 ヘルプ PDF RSS ログイン

FreeBSDのインストール

FreeBSDインストール

【関連リンク】
私家版FreeBSD 4.9-Releaseインストールマニュアル
FreeBSD4.X/5.X インストール

telnetとftpdを使えるようにする /etc/inetd.conf

ftp	stream	tcp	nowait	root	/usr/libexec/ftpd	ftpd -l
#ftp	stream	tcp6	nowait	root	/usr/libexec/ftpd	ftpd -l
telnet	stream	tcp	nowait	root	/usr/libexec/telnetd	telnetd
#telnet	stream	tcp6	nowait	root	/usr/libexec/telnetd	telnetd

/etc/rc.conf

# -- sysinstall generated deltas -- # Fri Aug 13 19:51:51 2004
# Created: Fri Aug 13 19:51:51 2004
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter="192.168.0.1"
hostname="FreeBSD.yamagata.com"
ifconfig_fxp0="inet 192.168.0.10  netmask 255.255.255.0"
kern_securelevel_enable="NO"
linux_enable="YES"
nfs_reserved_port_only="YES"
sendmail_enable="YES"
sshd_enable="YES"
usbd_enable="YES"

portsでWebminのインストール

# cd /usr/ports/sysutils/webmin
# make clean
# make install clean

Webmin起動

/usr/local/etc/webmin/start

Webminのファイルマネージャ 文字化け解消

/usr/local/lib/webmin/file/lang/ja_JP.eucをダウンロードし,Shift_JISに変換してアップロードする。~
Vine Linuxだとパスはこれ→/usr/libexec/webmin/file/lang/ja_JP.euc
Debianだと /usr/share/webmin-1.250/file/lang/ja_jp.euc

【関連リンク】
portsでお気軽にインストール
FreeBSD4.4 + Webmin-0.87_3
old-fashioned Weblog Stage 3
FreeBSD への インストール 例
FreeBSDメモみたいなページ
FreeBSD,Ports関連の設定
プライベートネットから ports を使う
proxy 経由で ports をインストールしたい

samba(日本語版)のインストール

# ccd /usr/ports/japanese/samba
# make clean
# make install clean

sambaのインストール

# cd /usr/ports/net/samba
# make clean
# make install clean

sambaをスタートアップ時に起動(/etc/rc.local)

/usr/local/sbin/smbd -D
/usr/local/sbin/nmbd -D

sambaの文字化け問題解消のために /usr/local/etc/smb.conf

[grobal]
# for Japanese Users
client code page=932
coding system=SJIS

【関連リンク】
SAMBA を動かしてファイルサーバ
smb.conf の文字コード
smb.confの設定
日本語の扱い
FreeBSDにsamba3.0.4、日本語ファイル名がうまく使えない

apacheのインストール

# cd /usr/ports/www/apache13-modssl
# make clean
# make install clean

apacheの起動

/usr/local/sbin/httpd

CGIの設定

/usr/local/www/dataでCGIを実行できるようにする。(/usr/local/etc/apache/httpd.confの設定)

<Directory /usr/local/www/data>
Options ExecCGI Includes
AddHandler cgi-script .cgi .pl
</directory> 

phpのインストール

# cd /usr/ports/www/mod_php4
# make clean
# make install clean

httpd.conf に以下の行を追加

AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps

【関連リンク】
Apache2 with PHP4 on FreeBSD
PHPのインストール
PHPのインストール
PHP4の導入

Image Magickのインストール

# cd /usr/ports/graphics/ImageMagick
# make clean
# make install clean

Open SSLのインストール

# cd /usr/ports/security/openssl
# make clean
# make install clean

PSコマンド

ps aux

【関連リンク】
プロセスの概念とその基本操作


【最終更新時間:2006年01月01日 00時36分21秒】
 [カテゴリ:FreeBSD]