忍者ブログ
管理人がつれづれに書き散らかしたあれこれ
[1295]  [1294]  [1293]  [1292]  [1291]  [1290]  [1289]  [1288]  [1287]  [1286]  [1285

[PR]

×

[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。

Webサーバを動かす

サーバ設定二日目.
一応前回やったことはBlogに書き起こしてはあるのだけど,なにせ2年も前の話.
書き方もかなりざっくりしているのでわからないことは一から調べなおし.

で.
まずはwebminからIPを固定してみたのだが,どうもaptが通らなくなるので取りやめ.
何か困ることがあるわけではないので.

お次はApacheの設定.
例によってこちらを参考にして進める.

#vi /etc/apache2/sites-available/default

設定を以下のとおり修正

訂正:192.168.0.0じゃなくて192.168.1.0

この状態で出るエラーは↓のとおりで,PerlのRubyも動いていない.
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Apache/2.2.16 (Debian) Server at 192.168.0.6 Port 80


つーことで,次はCGIが動くようにする,がタスクだね.


シンボリックリンク張った
root@debian:/usr/local/bin# ls -l
合計 0
lrwxrwxrwx 1 root staff 13 2011-05-29 12:43 perl -> /usr/bin/perl
lrwxrwxrwx 1 root staff 13 2011-05-29 13:08 ruby -> /usr/bin/ruby
root@debian:/usr/local/bin#
PR

お名前
タイトル
文字色
URL
コメント
パスワード   Vodafone絵文字 i-mode絵文字 Ezweb絵文字
非公開コメント
この記事にトラックバックする:

忍者ブログ [PR]

graphics by アンの小箱 * designed by Anne