DEV Community

Cover image for Install Web Server Apache di Fedora 34
Naufal Adrianyah
Naufal Adrianyah

Posted on

1 1

Install Web Server Apache di Fedora 34

Hallo, hari ini aku baru saja install Fedora 34 di Laptopku untuk keperluan kantor. Sebenarnya perlunya CentOS tapi Fedora dan CentOS memiliki kesamaan package manager, yaitu RPM. Karena persamaan itu, kita nggak perlu khawatir untuk memakai Fedora.

Karena Laptop ini baru ku install Fedora, berarti aku harus mulai ulang konfigurasi servernya, mulai dari Web Server, NodeJS, Docker, dll. Untuk artikel ini, aku mau share tentang cara instalasi dan konfigurasi Apache2 "httpd" pada Fedora 34.

Instalasi HTTPD

  • Yang kita perlu lakukan adalah mendownload httpd-nya jika belum punya. Fedora 34 Workstation sudah mempunyai httpd, jadi anda bisa langsung ke point berikutnya
sudo dnf install httpd -y
Enter fullscreen mode Exit fullscreen mode
  • Setelah menginstall, anda perlu mengaktifkannya karena jika tidak anda tidak akan mendapatkan error.
sudo systemctl start httpd.service
Enter fullscreen mode Exit fullscreen mode

Contoh error saat belum menjalankan httpd:
Alt Text

Contoh saat berhasil menjalankan httpd:
Alt Text

Oke, itulah cara install Web Server di Fedora 34. Terima kasih

Sentry blog image

How to reduce TTFB

In the past few years in the web dev world, we’ve seen a significant push towards rendering our websites on the server. Doing so is better for SEO and performs better on low-powered devices, but one thing we had to sacrifice is TTFB.

In this article, we’ll see how we can identify what makes our TTFB high so we can fix it.

Read more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay