ljhvs @Wiki
Vine3.2における設定
最終更新:
Bot(ページ名リンク)
-
view
■apt-get install php5 php5-apache php5-pear
パッケージリストを読みこんでいます... 完了
依存情報ツリーを作成しています... 完了
以下のパッケージが新たにインストールされます:
php5 php5-apache php5-pear
アップグレード: 0 個, 新規インストール: 3 個, 削除: 0 個, 保留: 0 個
5019kB のアーカイブを取得する必要があります。
展開後に 11.3MB のディスク容量が追加消費されます。
取得:1 http://updates.vinelinux.org 3.2/i386/plus php5-pear 5.0.5-0vl4 [196kB]
取得:2 http://updates.vinelinux.org 3.2/i386/plus php5 5.0.5-0vl4 [2533kB]
取得:3 http://updates.vinelinux.org 3.2/i386/plus php5-apache 5.0.5-0vl4 [2289kB]
5019kB を 3s 秒で取得しました (1436kB/s)
変更を適用しています...
準備中... ########################################### [100%]
1:php5-pear ########################################### [ 33%]
2:php5 ########################################### [ 66%]
3:php5-apache ########################################### [100%]
完了
パッケージリストを読みこんでいます... 完了
依存情報ツリーを作成しています... 完了
以下のパッケージが新たにインストールされます:
php5 php5-apache php5-pear
アップグレード: 0 個, 新規インストール: 3 個, 削除: 0 個, 保留: 0 個
5019kB のアーカイブを取得する必要があります。
展開後に 11.3MB のディスク容量が追加消費されます。
取得:1 http://updates.vinelinux.org 3.2/i386/plus php5-pear 5.0.5-0vl4 [196kB]
取得:2 http://updates.vinelinux.org 3.2/i386/plus php5 5.0.5-0vl4 [2533kB]
取得:3 http://updates.vinelinux.org 3.2/i386/plus php5-apache 5.0.5-0vl4 [2289kB]
5019kB を 3s 秒で取得しました (1436kB/s)
変更を適用しています...
準備中... ########################################### [100%]
1:php5-pear ########################################### [ 33%]
2:php5 ########################################### [ 66%]
3:php5-apache ########################################### [100%]
完了
■MySQLのインストール
# apt-get install mysql #mysqlをインストール
# apt-get install mysql-client #mysql-clientも必要だったのでさらにインストール
以下blogをmovable typeで行うために必要なものをインストールしました。blogをやりたい方はインストールしてください。
# apt-get install MySQL-Max
# apt-get install MySQL-shared perl-DBD-MySQL
http://www.jitaku-server.net/mt_mysql.html
# apt-get install mysql-client #mysql-clientも必要だったのでさらにインストール
以下blogをmovable typeで行うために必要なものをインストールしました。blogをやりたい方はインストールしてください。
# apt-get install MySQL-Max
# apt-get install MySQL-shared perl-DBD-MySQL
http://www.jitaku-server.net/mt_mysql.html
■postgresql のインストール
ここをみろ!!!
http://iserlone.minidns.net/programs/tisystem/install_vine31_php4.htm
$ apt-get update
$ apt-get upgrade ← 必須ではありませんが、やっておくべきでしょう。
$ apt-get install postgresql
$ apt-get install postgresql-server
ここをみろ!!!
http://iserlone.minidns.net/programs/tisystem/install_vine31_php4.htm
$ apt-get update
$ apt-get upgrade ← 必須ではありませんが、やっておくべきでしょう。
$ apt-get install postgresql
$ apt-get install postgresql-server
■php,SQLがうまく動作するようにhttp.confの設定
#この部分は要編集
!!
http://httpd.apache.org/docs/2.1/ja/mod/core.html
Apache コア機能
AcceptFilter ディレクティブ
説明: プロトコルを Listen しているソケットの最適化を設定する
構文: AcceptFilter protocol accept_filter
コンテキスト: サーバ設定ファイル
http://httpd.apache.org/docs/2.1/ja/mod/core.html
Apache コア機能
AcceptFilter ディレクティブ
説明: プロトコルを Listen しているソケットの最適化を設定する
構文: AcceptFilter protocol accept_filter
コンテキスト: サーバ設定ファイル
AcceptPathInfo ディレクティブ
説明: 後に続くパス名情報を受け付けるリソースの指定
構文: AcceptPathInfo On|Off|Default
デフォルト: AcceptPathInfo Default
コンテキスト: サーバ設定ファイル, バーチャルホスト, ディレクトリ, .htaccess
上書き: FileInfo
説明: 後に続くパス名情報を受け付けるリソースの指定
構文: AcceptPathInfo On|Off|Default
デフォルト: AcceptPathInfo Default
コンテキスト: サーバ設定ファイル, バーチャルホスト, ディレクトリ, .htaccess
上書き: FileInfo
AccessFileName ディレクティブ
説明: 分散設定ファイルの名前
構文: AccessFileName filename [filename] ...
デフォルト: AccessFileName .htaccess
コンテキスト: サーバ設定ファイル, バーチャルホスト
説明: 分散設定ファイルの名前
構文: AccessFileName filename [filename] ...
デフォルト: AccessFileName .htaccess
コンテキスト: サーバ設定ファイル, バーチャルホスト
リクエストを処理するとき、サーバはディレクトリに 対して分散設定ファイルが有効になっていれば、
そのドキュメントへの パス上にある全てのディレクトリから、ここで指定された名前の一覧の中で
最初に見つかったファイルをそれぞれ設定ファイルとして読み込みます。
そのドキュメントへの パス上にある全てのディレクトリから、ここで指定された名前の一覧の中で
最初に見つかったファイルをそれぞれ設定ファイルとして読み込みます。
AddDefaultCharset ディレクティブ
説明: レスポンスのコンテントタイプが text/plain あるいは text/html の場合に追加するデフォルトの charset パラメータ
構文: AddDefaultCharset On|Off|charset
デフォルト: AddDefaultCharset Off
コンテキスト: サーバ設定ファイル, バーチャルホスト, ディレクトリ, .htaccess
上書き: FileInfo
説明: レスポンスのコンテントタイプが text/plain あるいは text/html の場合に追加するデフォルトの charset パラメータ
構文: AddDefaultCharset On|Off|charset
デフォルト: AddDefaultCharset Off
コンテキスト: サーバ設定ファイル, バーチャルホスト, ディレクトリ, .htaccess
上書き: FileInfo
1:まずapacheの最低限の設定
Fedra Core3 AddDefaultCharset off
#vi
Fedra Core3 AddDefaultCharset off
/etc/httpd/conf.d/contents.conf
Alias /xoops /home/hogehoge/contents/xoops
Alias /ppBlog /home/hogehoge/contents/ppBlog
Alias /xoops /home/hogehoge/contents/xoops
Alias /ppBlog /home/hogehoge/contents/ppBlog
# /etc/rc.d/rc3.d/S85httpd stop | start
# su hogehoge
# mkdir -p ~/content/{xoops,ppBlog}
# su hogehoge
# mkdir -p ~/content/{xoops,ppBlog}
以下続く