inflearn logo

Hands-on Practice Building a DNS Server and Apache Web Server with Rocky Linux 9

Through step-by-step hands-on exercises, learn the entire web service deployment process in a Rocky Linux 9 environment, starting with setting up a DNS server, configuring an Apache web server, building an APM (Apache, PHP, and MariaDB) environment, and installing Gnuboard and WordPress. The course also covers the principles behind each configuration and troubleshooting methods to help develop practical skills.

47 learners are taking this course

Level Basic

Course period Unlimited

WordPress
WordPress
Linux
Linux
apm
apm
apache-tomcat
apache-tomcat
domains
domains
WordPress
WordPress
Linux
Linux
apm
apm
apache-tomcat
apache-tomcat
domains
domains

What you will gain after the course

  • Building and Integrating a Rocky Linux 9-Based DNS Server and Apache Web Server

  • APM Environment Setup and Virtual Host Configuration Using Apache, PHP, and MariaDB

  • Implementation of Gnuboard and WordPress CMS installation and database integration

Hands-on Practice Building a DNS Server and Apache Web Server with Rocky Linux 9

This is a hands-on Linux server course where you will build everything yourself, from DNS servers and Apache web servers to APM environments, Tomcat-based JSP applications, and Java Spring-based web services.

As you study Linux servers, you may learn each technology individually, but

  • How do DNS and web servers actually connect?

  • How do Apache, PHP, and MariaDB work together?

  • How do you deploy JSP services on Tomcat?

  • How do Java Spring applications connect to web servers?

You may have questions like these.

In this course, you will build a server directly in a Rocky Linux 9 environment and learn step by step the entire flow of web service infrastructure, from DNS → Apache → APM → Tomcat/JSP → Java Spring
.

Rather than simply following along by entering commands, this hands-on course focuses on directly examining the role of each service and how they connect with one another.

Recommended for those who fit the following descriptions

Those who are building a Linux server for the first time

Recommended for those who know the basic Linux commands but aren’t sure how to actually set up server services.

You can learn the basic flow of server operation by directly installing and configuring a server in a Rocky Linux 9 environment.

Those who want to properly understand DNS and web servers

From the basic concepts of DNS to building a DNS server, registering domains, forward and reverse lookups, and connecting it to an Apache web server, you will practice everything hands-on.

Rather than simply learning the concept that DNS converts domain names into IP addresses, you will examine the process by which an actual web service connects.

Those who want to experience PHP, JSP, and Java Spring web service environments

We do not cover just one web technology.

  • APM-based PHP service

  • Tomcat-based JSP service

  • Java Spring-based web services

By building each one, you will understand how the web server, WAS, application, and database connect to one another.

Features of This Course

1. Connect everything directly from DNS to the web application

Rather than learning each server technology separately, you will learn them by connecting them into a single web service infrastructure.

The overall service flow is as follows.

User → DNS → Apache → PHP / JSP / Java Spring → Database

Register multiple domains in DNS, connect them to the Apache web server, and then progressively expand to PHP, JSP, and Java Spring applications.


2. A Hands-On, Practice-Focused Course on Building It Yourself

Servers are difficult to learn through theory alone.

In this course, you will set up a Rocky Linux 9 virtual machine and build the server step by step by executing commands yourself.

Installation → Configuration → Service Execution → Firewall Configuration → Connection Testing → Troubleshooting

By repeating this process, you become familiar with the workflow of actual server administration tasks.


3. Build the APM Environment Yourself

Build an APM environment integrating Apache, PHP, and MariaDB yourself.

Run a PHP web application and connect it to MariaDB to see how a dynamic, database-driven web service is configured, rather than a simple static web page.


4. Building a Tomcat-Based JSP Service

Install Tomcat, a Java-based web application server, and deploy a JSP application.

Set up the Java runtime environment and practice the structure of web application services based on apache-tomcat, the WAR file deployment process, and database integration.


5. Building a Java Spring-Based Web Service

After running an application developed with Java Spring, you will practice a structure that uses the Apache web server’s Reverse Proxy to forward external requests to the Spring application.

Through this, we confirm that Apache can serve not only as a web server that simply provides static web pages, but also as a Reverse Proxy that forwards requests to internal applications.


After configuring the DNS server, check the running status and process of the named service.

Practice configuring Tomcat Manager and deploying a JSP web application.

Apache web server architecture and request processing flow

What you’ll learn

1. Preparing the Server Practice Environment

Before building the server in earnest, we will prepare the entire hands-on environment.

  • Basic Concepts of Data Centers and Servers

  • Understanding Virtualized Environments

  • Configuring a VMware-Based Practice Environment

  • Installing Rocky Linux 9

  • Network Configuration

  • Configuring the Hostname and IP Address

  • Server updates and basic package installation


2. Building a DNS Server

Build an actual DNS server using BIND.

  • Concept and Role of DNS

  • DNS Resolution Process

  • Primary / Secondary DNS Servers

  • Installing BIND and Managing the Service

  • Configure /etc/named.conf

  • DNS firewall configuration

  • Creating a zone file

  • A, NS, MX, and PTR records

  • Forward and reverse lookups

  • nslookup

  • dig

  • Registering and managing multiple domains

  • Connecting the DNS Server and Apache Web Server


3. Building an Apache Web Server

Install Apache HTTP Server on Rocky Linux 9 and configure an actual web service.

  • Structure and Role of the Apache Web Server

  • Install the httpd package

  • Apache Service Management

  • httpd.conf Structure

  • ServerRoot

  • DocumentRoot

  • Listen

  • Directory

  • DirectoryIndex

  • Options

  • AllowOverride

  • Require

  • Files

  • Access Log / Error Log

  • Configuration file syntax check

  • Restart / Reload

  • VirtualHost

  • Web Service Using a Domain


4. Building an APM Web Service

Configure a dynamic web service by integrating Apache, PHP, and MariaDB.

  • Understanding the APM Environment

  • Integrating Apache and PHP

  • PHP Installation and Configuration

  • MariaDB Installation and Configuration

  • Creating a database

  • Create a database user

  • PHP and MariaDB Integration

  • Running a web application

  • Understanding the Apache → PHP → MariaDB service flow


5. Building a Tomcat-Based JSP Service

Install Tomcat and deploy a JSP web application.

  • Difference Between a Web Server and a WAS

  • The Role of Tomcat

  • Configuring the Java Runtime Environment

  • Tomcat Installation and Service Execution

  • Deploying a JSP Application

  • Deploying a WAR File

  • Tomcat Manager

  • JSP and Oracle DBMS Integration

  • Understanding the Structure of Tomcat-Based Web Services


6. Building a Java Spring-Based Web Service

Run a Java Spring application on a Rocky Linux server and integrate it with Apache.

  • Java Spring-based web service architecture

  • Running a Spring Boot application

  • Spring service port configuration

  • Internal service configuration based on 127.0.0.1

  • Restricting direct external access to the Spring service port

  • Apache Reverse Proxy Configuration

  • ProxyPass

  • ProxyPassReverse

  • Services based on the /board and /jumsu paths

  • Integrating a Java Spring Application with a Database

  • Understanding the Apache → Java Spring → Database service flow


Additional Practice - Using Various Web Services

After completing the core course, you can also practice setting up various web applications directly on a server.

  • Installing GNUBoard

  • Installing WordPress

  • Installing Oracle SQL Developer (coming soon)

※ Some additional hands-on practice lectures are currently being edited and will be updated sequentially.


After completing the course,

After completing all the lectures, you will be able to perform the following tasks yourself.

  • Rocky Linux 9-based server environment setup

  • Building DNS Primary / Secondary Servers

  • Writing DNS zone files

  • Registering and querying multiple domains

  • Building an Apache web server

  • VirtualHost configuration

  • Building an APM web service

  • Build a Tomcat-based JSP service

  • JSP and Oracle DBMS Integration

  • Running a Java Spring application

  • Apache Reverse Proxy Integration with Java Spring

  • Understanding the roles of web servers, WAS, applications, and databases

  • Basic troubleshooting using service status, firewalls, networks, and logs


Notes Before Taking the Course

  • Basic experience using Linux commands will be helpful for learning.

  • It would be helpful to be familiar with basic web concepts such as HTTP, domains, and IP addresses.

  • Experience using text editors such as vi and vim is recommended.

  • PHP, JSP, and Java Spring practice applications are provided, but the application source code development process is not included in the course.

  • Depending on the practice environment or package versions, some content shown in the lectures and provided PDF documents may differ from the actual environment.

  • Some additional hands-on lessons are currently being edited and will be updated sequentially.


After completing the course,

Technologies that initially appeared separate will become connected into a single service flow.

DNS server → Apache web server → APM environment → Tomcat-based JSP → Java Spring-based web service

And from an actual service perspective,

User → DNS → Apache → PHP / JSP / Java Spring → Database

You will be able to understand the overall structure.

Beyond simply installing a server, the core of this course is to build and understand firsthand the entire flow of a Linux-based web service infrastructure, from DNS through the web server, WAS, application, and database.


Practice Environment

  • The hands-on exercises use Rocky Linux 9.

  • We recommend a PC environment that can run VMware virtual machines.

  • An internet connection is required for the hands-on exercises.

Learning Materials

  • The configuration files, commands, and hands-on examples used in the course are provided.

  • The necessary content is explained step by step in the lecture videos.

Prerequisites and Notes

  • Knowing the basic Linux commands will help with learning.

  • The process proceeds step by step, starting with installation, so even beginners can follow along.

  • PHP, JSP, and Java Spring practice applications are provided, but the source code development process is not included in the course.

  • Depending on the practice environment or package versions, some content on the course screen and in the provided PDF documents may differ from the actual environment.

  • Some additional hands-on lessons are currently being edited and will be updated sequentially.

Recommended for
these people

Who is this course right for?

  • For beginner developers and system administrators who are setting up a web server in a Linux environment for the first time

  • Learners who want to understand the integration principles of DNS, Apache, PHP, and MariaDB through hands-on practice

  • Practitioners who want to operate websites based on GNUBoard or WordPress themselves

Need to know before starting?

  • Basic experience using Linux commands and an understanding of the terminal environment would be helpful.

  • Understanding basic web concepts such as HTTP, domains, and IP addresses will help with learning.

  • Experience editing configuration files using text editors such as vi or vim is preferred.

Hello
This is linuxmasternet

Career Verified

171

Learners

4

Reviews

7

Answers

5.0

Rating

3

Courses

[Career History]

  • (Current) CEO of Linux Master Net

  • Received the KISA (Korea Internet & Security Agency) President’s Award in 2014

  • Conducted penetration testing and vulnerability assessments of information systems for the Supreme Prosecutors' Office, Allianz Life Insurance, and Dongbu Securities

  • (Former) Korea Information and Communications Promotion Association Expert Committee Member (Linux Master)

  • (Former) Mentor for the University Student Information Security Association (SUA)

  • (Former) Head of the Education Team, Korea Hacking and Security Association

     

     

[Teaching History]

  • KISA (Korea Internet & Security Agency) Linux Security Lecture

  • Information security lectures at Seoul Hyundai Vocational School, KH Information Education Institute, and Korea IT Academy

  • Special lectures on information security at Korea Information and Communication Polytechnic College, Chonnam National University, Woosuk University, and Hoseo University

  • Ministry of Culture, Sports and Tourism, National Information Society Agency, and many others: Special lectures on personal information protection and information security

  • Numerous personal information and information security special lectures for POSCO A&C, Ilsan Paik Hospital, Hyundai Department Store, Hyundai HDS, and many others

  • Special lectures on information security for the Navy, the National Election Commission, and many others

  • Since first learning Linux in 1995, I have provided hands-on, practice-oriented lectures based on experience operating and securing Linux servers, as well as network experience.

More

Curriculum

All

63 lectures ∙ (13hr 8min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

Not enough reviews.
Please write a valuable review that helps everyone!

linuxmasternet's other courses

Check out other courses by the instructor!

Similar courses

Explore other courses in the same field!

25% off for new members

$16.40

25%

$26.40