UJP - 技術情報2 : HomeBrew/ApacheHttp24Install をテンプレートにして作成
Life is fun and easy!
不正IP報告数
Okan Sensor
Home
Information
Service
Tech(Free)
Tech(Member)
Blog
FAQ
メイン
ホーム
お知らせ
技術新着情報
組織
サービス
技術情報2
新規ページ作成
最新ページ一覧
全ページ一覧
ヘルプ
技術情報1
技術情報
ブログ
RSSサイト更新
旧ブログ
FAQ
画像ファイル管理
ログイン
ユーザー名:
パスワード:
パスワード再発行手続き
|
無料会員入会手続へ...
ブログ カテゴリ一覧
雑記
(237)
投資で凍死
(271)
時事
(506)
テレビ・ドラマ
(419)
映画
(915)
007シリーズ
(33)
刑事コロンボ
(62)
災害
(212)
スキルチャージ
(49)
放送大学
(23)
Python
(10)
検定・試験
(32)
セキュリティ
(5)
ニュース・徒然
(325)
脆弱性情報/注意喚起
(110)
スパム・フィッシング
(634)
攻撃/ブルートフォース
(24)
ツール
(130)
事故・事件
(104)
文献・統計・参考資料
(128)
ベンダ・サービス
(3)
事故被害者記録
(46)
あとで確認
(1)
システム障害事故
(55)
サイト構築
(74)
Apple
(18)
MacBook Pro
(0)
2011 13inch
(31)
2007 15inch
(1)
2008 17inch
(20)
2015 15inch
(6)
Mac Pro 2013
(10)
Apple Watch
(84)
mac mini
(0)
2018
(1)
2011 server
(4)
2010 server
(5)
2014
(15)
2010
(36)
2005
(8)
MacBook
(0)
2017 12inch
(11)
2008 late
(45)
MacBook Air
(0)
2011 13inch/BCP
(9)
2013 13inch/US
(5)
2011 11inch
(31)
2011 13inch
(8)
Macソフト
(134)
Mac周辺機器
(36)
PowerBook
(5)
iPod touch/iOS
(59)
iPhone
(172)
iPad
(76)
ガジェット
(116)
fire tv
(1)
文房具
(19)
HUAWEI Watch FIT
(10)
カメラ/デジカメ
(40)
タイムラプス
(6)
ネットワーク機器
(17)
ネットワークケーブル
(4)
ネットワークその他
(8)
ネットワークスピード
(14)
YAMAHA/ヤマハ
(1)
FWX120
(2)
RTX1200
(14)
RTX1100/RTX1000
(10)
RT107e
(2)
NETGEAR WAC510
(11)
NERGEAR Orbi
(1)
Panasonic MNOseries
(3)
マウス&キーボード
(58)
AV機器・レグザ
(99)
電球
(11)
ハウツー
(105)
GPS/地図
(70)
ビジネス
(169)
新規ビジネス
(19)
お仕事
(63)
ケータイビジネス
(41)
PC
(11)
Raspberry Pi
(58)
ML110 G5
(20)
LIFEBOOK
(11)
Surface
(50)
ThinkPad R61
(5)
CF-LX4
(9)
CF-RZ6
(7)
DynabookPT45
(8)
PN-ZP30
(5)
EndeavorTN40
(4)
Intel NUC6CAYS
(2)
モバイル
(16)
ケータイスマホ機種
(34)
スマホアプリ
(73)
データ通信・契約
(79)
EMONSTER
(5)
IDEOS
(12)
Galaxy Note
(39)
Windows Phone
(20)
Nexus
(22)
コンピュータ
(11)
Windows
(90)
サーバソフト
(32)
Db2
(16)
クライアントソフト
(76)
インターネット
(69)
Google
(119)
ネットサービス
(157)
ハードウェア
(19)
プリンタ
(9)
ストレージ
(5)
ディスプレイ
(11)
情報システム
(95)
趣味
(3)
ポケモンGO
(640)
寝台特急カシオペア/カシオペア紀行
(34)
TOKYO2020
(85)
雑草対策
(27)
食べた
(209)
たべた(駅弁)
(30)
飲んだ
(33)
調理した
(24)
ラーメン・麺類
(202)
鉄道
(237)
農園
(168)
アクアリウム
(160)
ホテル・旅館
(44)
書評
(42)
演劇
(22)
車・バイク
(76)
自然・星
(37)
散策・近代建築
(18)
神社・寺
(50)
高層ビル
(24)
現代建築
(15)
建築物
(6)
観光・名所
(88)
イベント
(73)
散策:城
(34)
ディズニー
(24)
モーターショー
(16)
鳥
(9)
美術館
(28)
コンサート/ライブ
(72)
船
(3)
スポーツ
(120)
音楽
(76)
ミニカー
(4)
Nゲージダイキャスト
(8)
Nゲージ
(0)
サマリ
(6)
ピンバッチ
(3)
サイト運営
(39)
人生
(68)
監視/防犯/みまもり/遠隔
(93)
お金の話
(94)
体・病気
(118)
相続・土地売買
(17)
コンテンツ更新情報
(2)
HomeBrewでApache HTTPD Serverをインストール
をテンプレートにして作成
技術情報2
HomeBrew/ApacheHttp24Install をテンプレートにして作成
開始行:
*HomeBrewでApache HTTPD Serverをインストール
**はじめに
Apache HTTTPD Server(apache2)はデフォルトのbrewのリポジ...
**brewでモジュールを検索
apacheを探してみる.
MBA2014:~ ujpadmin$ 🆑brew search apache
apache-activemq apache-flink apache-s...
apache-archiva apache-fop apachetop
apache-brooklyn-cli apache-forrest homebrew...
apache-drill apache-opennlp homebrew...
Caskroom/cask/apache-couchdb Caskroom...
MBA2014:~ ujpadmin$
Apacheプロジェクトのいろいろなものは出てくるが,httpdが...
MBA2014:~ ujpadmin$ 🆑brew search httpd
darkhttpd libmicrohttpd lig...
homebrew/apache/httpd22 homebrew/apache/httpd24🈁 ho...
MBA2014:~ ujpadmin$
見つかった.詳細情報を取得してみる.
MBA2014:~ ujpadmin$ 🆑brew info homebrew/apache/httpd24
Error: No available formula with the name "homebrew/apac...
Please tap it and then try again: brew tap homebrew/apache
MBA2014:~ ujpadmin$
brew tapでリポジトリを増やせと言われている.
**brew tapでリポジトリを増やす
そのままbrew tapを実行するとリポジトリが表示される.
MBA2014:~ ujpadmin$ 🆑brew tap
caskroom/cask
homebrew/apache
homebrew/core
homebrew/services
homebrew/versions
homebrew/x11
MBA2014:~ ujpadmin$
今回は,apacheを追加する.
MBA2014:~ ujpadmin$ 🆑brew tap homebrew/apache
==> Tapping homebrew/apache
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-...
remote: Counting objects: 15, done.
remote: Compressing objects: 100% (15/15), done.
remote: Total 15 (delta 6), reused 3 (delta 0), pack-reu...
Unpacking objects: 100% (15/15), done.
Checking connectivity... done.
Tapped 11 formulae (49 files, 80.5K)
MBA2014:~ ujpadmin$
追加した後,再度apacheのモジュールを検索.
A0146:~ ujpadmin$ 🆑brew search apache
apache-activemq homebrew...
apache-archiva homebrew...
apache-brooklyn-cli homebrew...
apache-drill homebrew...
apache-flink homebrew...
apache-fop homebrew...
apache-forrest homebrew...
apache-opennlp homebrew...
apache-spark homebrew...
apachetop homebrew...
homebrew/apache/ab homebrew...
homebrew/apache/httpd22
homebrew/apacheで色々と増えた.
今回は,この中からhttpd24(Apache httpd 2.4系)をインスト...
**Apache httpdのインストール
まずはインストールする情報を取得.
MBA2014:~ ujpadmin$ 🆑brew info homebrew/apache/httpd24
homebrew/apache/httpd24: stable 2.4.18 (bottled)
HTTP server
https://httpd.apache.org/
Conflicts with: homebrew/apache/httpd22
Not installed
From: https://github.com/Homebrew/homebrew-apache/blob/m...
==> Dependencies
Required: openssl ✔, pcre ✔, homebrew/dupes/zlib ✘, apr-...
==> Options
--with-http2
Build and enable the HTTP/2 shared Module
--with-ldap
Include support for LDAP
--with-mpm-event
Use the Event Multi-Processing Module instead of Prefork
--with-mpm-worker
Use the Worker Multi-Processing Module instead of Prefork
--with-privileged-ports
Use the default ports 80 and 443 (which require root pri...
==> Caveats
To have launchd start homebrew/apache/httpd24 now and re...
brew services start homebrew/apache/httpd24
Or, if you don't want/need a background service you can ...
apachectl start
MBA2014:~ ujpadmin$
依存しているzlibとapr-utilが入ってない模様.
インストールを実行.
MBA2014:~ ujpadmin$ 🆑brew install homebrew/apache/httpd24
==> Installing httpd24 from homebrew/apache
==> Tapping homebrew/dupes
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-...
remote: Counting objects: 42, done.
remote: Compressing objects: 100% (42/42), done.
remote: Total 42 (delta 0), reused 5 (delta 0), pack-reu...
Unpacking objects: 100% (42/42), done.
Checking connectivity... done.
Tapped 38 formulae (103 files, 119.8K)
==> Installing dependencies for homebrew/apache/httpd24:...
==> Installing homebrew/apache/httpd24 dependency: homeb...
==> Downloading https://homebrew.bintray.com/bottles-dup...
########################################################...
==> Pouring zlib-1.2.8.yosemite.bottle.1.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlink...
OS X already provides this software and installing anoth...
parallel can cause all kinds of trouble.
Generally there are no consequences of this for you. If ...
own software and it requires this formula, you'll need t...
build variables:
LDFLAGS: -L/usr/local/opt/zlib/lib
CPPFLAGS: -I/usr/local/opt/zlib/include
==> Summary
🍺 /usr/local/Cellar/zlib/1.2.8: 11 files, 357.9K
==> Installing homebrew/apache/httpd24 dependency: apr
==> Downloading https://homebrew.bintray.com/bottles/apr...
########################################################...
==> Pouring apr-1.5.2.yosemite.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlink...
Apple's CLT package contains apr.
==> Summary
🍺 /usr/local/Cellar/apr/1.5.2: 56 files, 1.2M
==> Installing homebrew/apache/httpd24 dependency: apr-u...
==> Downloading https://homebrew.bintray.com/bottles/apr...
########################################################...
==> Pouring apr-util-1.5.4_1.yosemite.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlink...
Apple's CLT package contains apr.
==> Summary
🍺 /usr/local/Cellar/apr-util/1.5.4_1: 50 files, 684.6K
==> Installing homebrew/apache/httpd24
==> Downloading https://homebrew.bintray.com/bottles-apa...
########################################################...
==> Pouring httpd24-2.4.18.yosemite.bottle.tar.gz
==> Caveats
To have launchd start homebrew/apache/httpd24 now and re...
brew services start homebrew/apache/httpd24🈁
Or, if you don't want/need a background service you can ...
apachectl start
==> Summary
🍺 /usr/local/Cellar/httpd24/2.4.18: 209 files, 4.2M
MBA2014:~ ujpadmin$
以下のコマンドでOS起動時に実行されるよう設定できる.
launchd start homebrew/apache/httpd24 now and restart
brew services start homebrew/apache/httpd24
**Apacheを起動する
apachectlのパスを確認
MBA2014:~ ujpadmin$ 🆑which apachectl
/usr/local/bin/apachectl
MBA2014:~ ujpadmin$
動かしてみる.
MBA2014:~ ujpadmin$ 🆑apachectl start
AH00558: httpd: Could not reliably determine the server'...
Set the 'ServerName' directive globally to suppress this...
MBA2014:~ ujpadmin$
さすがに動かない.ServerNameが設定されてないため.
プログラムは以下のようにインストールされている.
MBA2014:~ ujpadmin$ 🆑brew list httpd24
/usr/local/Cellar/httpd24/2.4.18/bin/ab
/usr/local/Cellar/httpd24/2.4.18/bin/apachectl
/usr/local/Cellar/httpd24/2.4.18/bin/apxs
/usr/local/Cellar/httpd24/2.4.18/bin/checkgid
/usr/local/Cellar/httpd24/2.4.18/bin/dbmmanage
/usr/local/Cellar/httpd24/2.4.18/bin/fcgistarter
/usr/local/Cellar/httpd24/2.4.18/bin/htcacheclean
/usr/local/Cellar/httpd24/2.4.18/bin/htdbm
/usr/local/Cellar/httpd24/2.4.18/bin/htdigest
/usr/local/Cellar/httpd24/2.4.18/bin/htpasswd
/usr/local/Cellar/httpd24/2.4.18/bin/httpd
/usr/local/Cellar/httpd24/2.4.18/bin/httxt2dbm
/usr/local/Cellar/httpd24/2.4.18/bin/logresolve
/usr/local/Cellar/httpd24/2.4.18/bin/rotatelogs
/usr/local/Cellar/httpd24/2.4.18/bin/suexec
/usr/local/Cellar/httpd24/2.4.18/build/ (9 files)
/usr/local/Cellar/httpd24/2.4.18/homebrew.mxcl.httpd24.p...
/usr/local/Cellar/httpd24/2.4.18/include/httpd/ (62 files)
/usr/local/Cellar/httpd24/2.4.18/libexec/ (103 files)
/usr/local/Cellar/httpd24/2.4.18/share/man/ (14 files)
MBA2014:~ ujpadmin$
**httpd.confの確認
以下のディレクトリに保管されている.
MBA2014:~ ujpadmin$ 🆑ls -la /usr/local/etc/apache2/2.4/
total 96
drwxr-xr-x 9 ujpadmin admin 306 7 7 11:20 .
drwxr-xr-x 3 ujpadmin admin 102 7 7 11:20 ..
-rw-r--r-- 1 ujpadmin admin 1111 7 7 11:20 envvars
-rw-r--r-- 1 ujpadmin admin 1111 7 7 11:20 envvars-std
drwxr-xr-x 14 ujpadmin admin 476 7 7 11:20 extra
-rw-r--r-- 1 ujpadmin admin 19371 7 7 11:20 httpd.conf
-rw-r--r-- 1 ujpadmin admin 13077 7 7 11:20 magic
-rw-r--r-- 1 ujpadmin admin 53011 7 7 11:20 mime.types
drwxr-xr-x 4 ujpadmin admin 136 7 7 11:20 original
MBA2014:~ ujpadmin$
終了行:
*HomeBrewでApache HTTPD Serverをインストール
**はじめに
Apache HTTTPD Server(apache2)はデフォルトのbrewのリポジ...
**brewでモジュールを検索
apacheを探してみる.
MBA2014:~ ujpadmin$ 🆑brew search apache
apache-activemq apache-flink apache-s...
apache-archiva apache-fop apachetop
apache-brooklyn-cli apache-forrest homebrew...
apache-drill apache-opennlp homebrew...
Caskroom/cask/apache-couchdb Caskroom...
MBA2014:~ ujpadmin$
Apacheプロジェクトのいろいろなものは出てくるが,httpdが...
MBA2014:~ ujpadmin$ 🆑brew search httpd
darkhttpd libmicrohttpd lig...
homebrew/apache/httpd22 homebrew/apache/httpd24🈁 ho...
MBA2014:~ ujpadmin$
見つかった.詳細情報を取得してみる.
MBA2014:~ ujpadmin$ 🆑brew info homebrew/apache/httpd24
Error: No available formula with the name "homebrew/apac...
Please tap it and then try again: brew tap homebrew/apache
MBA2014:~ ujpadmin$
brew tapでリポジトリを増やせと言われている.
**brew tapでリポジトリを増やす
そのままbrew tapを実行するとリポジトリが表示される.
MBA2014:~ ujpadmin$ 🆑brew tap
caskroom/cask
homebrew/apache
homebrew/core
homebrew/services
homebrew/versions
homebrew/x11
MBA2014:~ ujpadmin$
今回は,apacheを追加する.
MBA2014:~ ujpadmin$ 🆑brew tap homebrew/apache
==> Tapping homebrew/apache
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-...
remote: Counting objects: 15, done.
remote: Compressing objects: 100% (15/15), done.
remote: Total 15 (delta 6), reused 3 (delta 0), pack-reu...
Unpacking objects: 100% (15/15), done.
Checking connectivity... done.
Tapped 11 formulae (49 files, 80.5K)
MBA2014:~ ujpadmin$
追加した後,再度apacheのモジュールを検索.
A0146:~ ujpadmin$ 🆑brew search apache
apache-activemq homebrew...
apache-archiva homebrew...
apache-brooklyn-cli homebrew...
apache-drill homebrew...
apache-flink homebrew...
apache-fop homebrew...
apache-forrest homebrew...
apache-opennlp homebrew...
apache-spark homebrew...
apachetop homebrew...
homebrew/apache/ab homebrew...
homebrew/apache/httpd22
homebrew/apacheで色々と増えた.
今回は,この中からhttpd24(Apache httpd 2.4系)をインスト...
**Apache httpdのインストール
まずはインストールする情報を取得.
MBA2014:~ ujpadmin$ 🆑brew info homebrew/apache/httpd24
homebrew/apache/httpd24: stable 2.4.18 (bottled)
HTTP server
https://httpd.apache.org/
Conflicts with: homebrew/apache/httpd22
Not installed
From: https://github.com/Homebrew/homebrew-apache/blob/m...
==> Dependencies
Required: openssl ✔, pcre ✔, homebrew/dupes/zlib ✘, apr-...
==> Options
--with-http2
Build and enable the HTTP/2 shared Module
--with-ldap
Include support for LDAP
--with-mpm-event
Use the Event Multi-Processing Module instead of Prefork
--with-mpm-worker
Use the Worker Multi-Processing Module instead of Prefork
--with-privileged-ports
Use the default ports 80 and 443 (which require root pri...
==> Caveats
To have launchd start homebrew/apache/httpd24 now and re...
brew services start homebrew/apache/httpd24
Or, if you don't want/need a background service you can ...
apachectl start
MBA2014:~ ujpadmin$
依存しているzlibとapr-utilが入ってない模様.
インストールを実行.
MBA2014:~ ujpadmin$ 🆑brew install homebrew/apache/httpd24
==> Installing httpd24 from homebrew/apache
==> Tapping homebrew/dupes
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-...
remote: Counting objects: 42, done.
remote: Compressing objects: 100% (42/42), done.
remote: Total 42 (delta 0), reused 5 (delta 0), pack-reu...
Unpacking objects: 100% (42/42), done.
Checking connectivity... done.
Tapped 38 formulae (103 files, 119.8K)
==> Installing dependencies for homebrew/apache/httpd24:...
==> Installing homebrew/apache/httpd24 dependency: homeb...
==> Downloading https://homebrew.bintray.com/bottles-dup...
########################################################...
==> Pouring zlib-1.2.8.yosemite.bottle.1.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlink...
OS X already provides this software and installing anoth...
parallel can cause all kinds of trouble.
Generally there are no consequences of this for you. If ...
own software and it requires this formula, you'll need t...
build variables:
LDFLAGS: -L/usr/local/opt/zlib/lib
CPPFLAGS: -I/usr/local/opt/zlib/include
==> Summary
🍺 /usr/local/Cellar/zlib/1.2.8: 11 files, 357.9K
==> Installing homebrew/apache/httpd24 dependency: apr
==> Downloading https://homebrew.bintray.com/bottles/apr...
########################################################...
==> Pouring apr-1.5.2.yosemite.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlink...
Apple's CLT package contains apr.
==> Summary
🍺 /usr/local/Cellar/apr/1.5.2: 56 files, 1.2M
==> Installing homebrew/apache/httpd24 dependency: apr-u...
==> Downloading https://homebrew.bintray.com/bottles/apr...
########################################################...
==> Pouring apr-util-1.5.4_1.yosemite.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlink...
Apple's CLT package contains apr.
==> Summary
🍺 /usr/local/Cellar/apr-util/1.5.4_1: 50 files, 684.6K
==> Installing homebrew/apache/httpd24
==> Downloading https://homebrew.bintray.com/bottles-apa...
########################################################...
==> Pouring httpd24-2.4.18.yosemite.bottle.tar.gz
==> Caveats
To have launchd start homebrew/apache/httpd24 now and re...
brew services start homebrew/apache/httpd24🈁
Or, if you don't want/need a background service you can ...
apachectl start
==> Summary
🍺 /usr/local/Cellar/httpd24/2.4.18: 209 files, 4.2M
MBA2014:~ ujpadmin$
以下のコマンドでOS起動時に実行されるよう設定できる.
launchd start homebrew/apache/httpd24 now and restart
brew services start homebrew/apache/httpd24
**Apacheを起動する
apachectlのパスを確認
MBA2014:~ ujpadmin$ 🆑which apachectl
/usr/local/bin/apachectl
MBA2014:~ ujpadmin$
動かしてみる.
MBA2014:~ ujpadmin$ 🆑apachectl start
AH00558: httpd: Could not reliably determine the server'...
Set the 'ServerName' directive globally to suppress this...
MBA2014:~ ujpadmin$
さすがに動かない.ServerNameが設定されてないため.
プログラムは以下のようにインストールされている.
MBA2014:~ ujpadmin$ 🆑brew list httpd24
/usr/local/Cellar/httpd24/2.4.18/bin/ab
/usr/local/Cellar/httpd24/2.4.18/bin/apachectl
/usr/local/Cellar/httpd24/2.4.18/bin/apxs
/usr/local/Cellar/httpd24/2.4.18/bin/checkgid
/usr/local/Cellar/httpd24/2.4.18/bin/dbmmanage
/usr/local/Cellar/httpd24/2.4.18/bin/fcgistarter
/usr/local/Cellar/httpd24/2.4.18/bin/htcacheclean
/usr/local/Cellar/httpd24/2.4.18/bin/htdbm
/usr/local/Cellar/httpd24/2.4.18/bin/htdigest
/usr/local/Cellar/httpd24/2.4.18/bin/htpasswd
/usr/local/Cellar/httpd24/2.4.18/bin/httpd
/usr/local/Cellar/httpd24/2.4.18/bin/httxt2dbm
/usr/local/Cellar/httpd24/2.4.18/bin/logresolve
/usr/local/Cellar/httpd24/2.4.18/bin/rotatelogs
/usr/local/Cellar/httpd24/2.4.18/bin/suexec
/usr/local/Cellar/httpd24/2.4.18/build/ (9 files)
/usr/local/Cellar/httpd24/2.4.18/homebrew.mxcl.httpd24.p...
/usr/local/Cellar/httpd24/2.4.18/include/httpd/ (62 files)
/usr/local/Cellar/httpd24/2.4.18/libexec/ (103 files)
/usr/local/Cellar/httpd24/2.4.18/share/man/ (14 files)
MBA2014:~ ujpadmin$
**httpd.confの確認
以下のディレクトリに保管されている.
MBA2014:~ ujpadmin$ 🆑ls -la /usr/local/etc/apache2/2.4/
total 96
drwxr-xr-x 9 ujpadmin admin 306 7 7 11:20 .
drwxr-xr-x 3 ujpadmin admin 102 7 7 11:20 ..
-rw-r--r-- 1 ujpadmin admin 1111 7 7 11:20 envvars
-rw-r--r-- 1 ujpadmin admin 1111 7 7 11:20 envvars-std
drwxr-xr-x 14 ujpadmin admin 476 7 7 11:20 extra
-rw-r--r-- 1 ujpadmin admin 19371 7 7 11:20 httpd.conf
-rw-r--r-- 1 ujpadmin admin 13077 7 7 11:20 magic
-rw-r--r-- 1 ujpadmin admin 53011 7 7 11:20 mime.types
drwxr-xr-x 4 ujpadmin admin 136 7 7 11:20 original
MBA2014:~ ujpadmin$
ページ名:
Counter: 0, today: 0, yesterday: 0
広告スペース
検索用語を入力
検索フォームを送信
Web
www.ujp.jp