[FreeBSD]
FreeBSDにおけるapacheのインストール手順。
#portinstallでapacheをインストール
#portinstallでSSLeayをインストール
#sslの秘密鍵と証明書を置くフォルダを作成
mkdir ssl.key ssl.crt
chmod 700 ssl.key ssl.crt
#秘密鍵を作成
#CSRを作成
-key /usr/local/etc/apache2/ssl.key/server.key \
-out /usr/local/etc/apache2/ssl.crt/server.csr
#You are about to be asked to enter information that will be incorporated
#into your certificate request.
#What you are about to enter is what is called a Distinguished Name or a DN.
#There are quite a few fields but you can leave some blank
#For some fields there will be a default value,
#If you enter '.', the field will be left blank.
#-----
#Country Name (2 letter code) [AU]:
#State or Province Name (full name) [Some-State]:
#Locality Name (eg, city) []:
#Organization Name (eg, company) [Internet Widgits Pty Ltd]:
#Organizational Unit Name (eg, section) []:
#Common Name (eg, YOUR name) []:
#Email Address []:
#
#Please enter the following 'extra' attributes
#to be sent with your certificate request
#A challenge password []:
#An optional company name []:
#証明書に署名
-out /usr/local/etc/apache2/ssl.crt/server.crt -req \
-signkey /usr/local/etc/apache2/ssl.key/server.key
#rc.confを編集
apache2_enable="YES" #追加
apache2ssl_enable="YES" #追加
#apacheの起動
portauditを無効にするには
newsyslog
ipfilterの設定確認
kldunload
portsnap - portsツリーの更新
qmailadminでメーリングリストの作成ができない
portaudit - 脆弱性のあるパッケージ一覧
portupgrade - パッケージのアップグレード
FreeBSDでsendmailが起動しない
.forwardからprocmailの呼び出し
User *** doesn't have a valid shell for mailing to programs
pwd_mkdb: warning, unknown root shell
日本語環境の設定
portinstall時のconfigureオプション
tcshの補完機能
tcshのプロンプト表示
perl-after-upgrade
ユーザの追加
/stand/sysinstall
rc.confのエラーで起動できない
qmail+vpopmail+qmailadminのインストール手順(FreeBSD)
グループの追加と削除
sockstat - オープン状態のソケット一覧を表示
FreeBSD - バーチャルインターフェースの設定
MRTGによるシステム監視
Sendmailがローカル以外の接続を受け付けない
webminのインストール
portinstall時のログ
FreeBSD - apacheのインストール
FreeBSD - portの検索(make search key)
FreeBSD - portsのアップデート
FreeBSD - SSHへのパスワードログインができない
FreeBSD - サービスの起動スクリプト
FreeBSD - qmailの起動スクリプト
FreeBSD - /etc/rc.conf
FreeBSDにおけるupdatedbコマンド
pkg_add - アプリケーションの追加
portsによるインストール
.inputrc - teratermで日本語入力ができない場合
FreeBSDでサーバのスペックを調べるには