#author("2017-03-28T20:15:58+09:00","default:wikiwriter","wikiwriter") &tag(Debian/Apache); *目次 [#mb992374] #contents *関連ページ [#cbf8af7c] *参考情報 [#ucc8cc4b] -[[Debian Jessie に apache2 を入れてみた - 残しときます(自分用):http://namotch.hatenablog.com/entry/2015/06/08/074935]] *インストール [#vc0fb0ae] -以下のコマンドでインストールできる。Debian 8ではapache 2.4がインストールされる。 sudo aptitude install apache2 *設定 [#qe22ffd5] **サイトごとの設定ファイルの作成 [#qfc29213] -/etc/apache2/site-availableにサイトごとの設定ファイルを作成する。ドメイン名.confという名前 cd /etc/apache2/site-available cp 000-default.conf srcw.net.conf a2ensite # srcw.netを有効化 a2dissite # 000-defaultを無効化