Lompat ke konten Lompat ke sidebar Lompat ke footer

√ Bagaimana Cara Menginstal Apache HTTPD di MacOS melalui Homebrew?

Ruang Service.ComBagaimana Cara Menginstal Apache HTTPD di MacOS melalui Homebrew? - Berikut adalah daftar langkah-langkah untuk menginstal Apache httpd di MacOS .

Bagaimana Cara Menginstal Apache HTTPD di MacOS melalui Homebrew?

Jika Anda memiliki pertanyaan di bawah ini maka Anda berada di tempat yang tepat:
  • Bagaimana cara menginstal Apache di Mac saya?
  • Menginstal & Mengonfigurasi Apache di macOS
  • Bagaimana Cara Menginstal Apache di MacOS?
berikut langkah demi langkah yang sudah kita bantu rangkum dari berbagai sumber:

Cara Menginstal Apache HTTPD di MacOS
Cara Menginstal Apache HTTPD di MacOS


Langkah 1

Instal Homebrew di Macbook Anda . Silakan ikuti tutorial ini sepenuhnya.

Silahkan cek Tutorialnya

Langkah ke 2

Instal httpd menggunakan perintah di bawah ini.
bash-3.2$ brew install httpd 
Berikut Log nya jika kalian Sukses 

bash-3.2$ brew install httpd
Running `brew update --preinstall`...
==> Downloading https://ghcr.io/v2/homebrew/core/pcre/manifests/8.45
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/pcre/blobs/sha256:5e5cc7a5bf8bb6488ec57d4263bf6b0bc89e93252a0a2460f846de29373162d8
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:5e5cc7a5bf8bb6488ec57d4263bf6b0bc89e93252a0a2460f846de29373162d8?se=2
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/httpd/manifests/2.4.52
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/httpd/blobs/sha256:6a35059e2c3f69635ac6035c0a638030a1038cc62e648604ab53b4a280a88ba8
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:6a35059e2c3f69635ac6035c0a638030a1038cc62e648604ab53b4a280a88ba8?se=2
######################################################################## 100.0%
==> Installing dependencies for httpd: pcre
==> Installing httpd dependency: pcre
==> Pouring pcre--8.45.monterey.bottle.tar.gz
🍺  /usr/local/Cellar/pcre/8.45: 204 files, 5.7MB
==> Installing httpd
==> Pouring httpd--2.4.52.monterey.bottle.tar.gz
==> Caveats
DocumentRoot is /usr/local/var/www.
 
The default ports have been set in /usr/local/etc/httpd/httpd.conf to 8080 and in
/usr/local/etc/httpd/extra/httpd-ssl.conf to 8443 so that httpd can run without sudo.
 
To restart httpd after an upgrade:
  brew services restart httpd
Or, if you don't want/need a background service you can just run:
  /usr/local/opt/httpd/bin/httpd -D FOREGROUND
==> Summary
🍺  /usr/local/Cellar/httpd/2.4.52: 1,662 files, 31.7MB
==> Running `brew cleanup httpd`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
Removing: /Users/app/Library/Caches/Homebrew/httpd--2.4.46.tar.bz2... (6.9MB)
==> No outdated dependents to upgrade!
==> Checking for dependents of upgraded formulae...
Disable this behaviour by setting HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Reinstalling 1 dependent with broken linkage from source:
httpd
==> Caveats
==> httpd
DocumentRoot is /usr/local/var/www.
 
The default ports have been set in /usr/local/etc/httpd/httpd.conf to 8080 and in
/usr/local/etc/httpd/extra/httpd-ssl.conf to 8443 so that httpd can run without sudo.
 
To restart httpd after an upgrade:
  brew services restart httpd
Or, if you don't want/need a background service you can just run:
  /usr/local/opt/httpd/bin/httpd -D FOREGROUND

Dan Anda sudah siap.

Bagaimana Memulai / Menghentikan server Apache httpd?

bash-3.2$ brew services start httpd
==> Successfully started `httpd` (label: homebrew.mxcl.httpd)
 
bash-3.2$ 
bash-3.2$ brew services stop httpd
Stopping `httpd`... (might take a while)
==> Successfully stopped `httpd` (label: homebrew.mxcl.httpd)

Beri tahu saya jika Anda menghadapi masalah saat menginstal Apache di MacOS .

Penutup

Demikianlah tutorial Bagaimana Cara Menginstal Apache HTTPD di MacOS melalui Homebrew, semoga bermanfaat, jangan lupa Bookmark Website kita agar selalu mendapatkan berita terkini.
Ruang Service
Ruang Service Situs website Informasi, Tutorial, Android, Komputer, jasa dan seputar blogger lainya.

Posting Komentar untuk "√ Bagaimana Cara Menginstal Apache HTTPD di MacOS melalui Homebrew?"