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.

14 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

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

When studying Linux servers, you may learn each technology individually, but

  • How are DNS and web servers actually connected?

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

  • How do you deploy JSP services on Tomcat?

  • How does a Java Spring application connect to a web server?

You may have questions like these.

In this course, you will build a server yourself 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 and entering commands, this hands-on course focuses on directly verifying the role of each service and how they connect with one another.

Recommended for those who...

Those building a Linux server for the first time

Recommended for those who know the basic Linux commands but are unsure how to actually set up server services.

In a Rocky Linux 9 environment, you can learn the basic workflow of server operation by installing and configuring a server yourself.

Those who want to properly understand DNS and web servers

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

Rather than simply learning that DNS converts domain names into IP addresses, you will examine how 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. Directly connect everything from DNS to the web application

Rather than learning each server technology separately, you will learn by connecting them as 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, Practical Course Focused on Building Everything Yourself

Servers are difficult to learn through theory alone.

In this course, you will set up a Rocky Linux 9 virtual machine and build each server one by one by running commands directly.

Installation → Configuration → Service startup → Firewall configuration → Connection testing → Troubleshooting

By repeating this process, you will learn the workflow of actual server administration tasks.


3. Build an 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 database-driven dynamic web service is structured, rather than just 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 apache-tomcat-based web application services, 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 setup in which external requests are forwarded to the Spring application using the Apache web server's Reverse Proxy.

This confirms that Apache can serve not only as a web server providing 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 processes of the named service.

Practice configuring Tomcat Manager and deploying a JSP web application.

Apache web server architecture and request processing flow

You will learn the following content.

1. Preparing the Server Practice Environment

Before building the server in earnest, prepare the entire practice environment.

  • Basic Concepts of IDCs and Servers

  • Understanding the Virtualization Environment

  • Configuring a VMware-Based Practice Environment

  • Installing Rocky Linux 9

  • Network Configuration

  • Configure 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

  • BIND Installation and Service Management

  • Configure /etc/named.conf

  • DNS Firewall Configuration

  • Writing a zone file

  • A, NS, MX, and PTR records

  • Forward and reverse queries

  • 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

  • Managing the Apache Service

  • 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

  • Apache and PHP Integration

  • PHP Installation and Configuration

  • MariaDB Installation and Configuration

  • Create 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

  • Role of Tomcat

  • Configure the Java runtime environment

  • Installing Tomcat and Running the Service

  • Deploying a JSP Application

  • Deploy 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 - Utilizing Various Web Services

After learning the basic course content, additional hands-on exercises are also provided to help you build various web applications directly on a server.

  • Installing GNUBoard (Coming soon)

  • Installing WordPress (To be added)

  • Installing Oracle SQL Developer (coming soon)

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


After completing the course,

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

  • Server Environment Configuration Based on Rocky Linux 9

  • Building DNS Primary/Secondary Servers

  • Writing DNS zone files

  • Registering and querying multiple domains

  • Build an Apache web server

  • VirtualHost configuration

  • APM web service setup

  • Build a Tomcat-based JSP service

  • JSP and Oracle DBMS Integration

  • Running a Java Spring application

  • Integrating Apache Reverse Proxy 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 have a basic understanding of the web, including 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 process of developing the application source code is not included in the course.

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

  • Some additional hands-on practice lectures 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 the perspective of an actual service,

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

You will be able to understand the overall structure.

Beyond simply installing servers, 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

  • Practice is conducted on 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 course provides the configuration files, commands, and hands-on examples used in the lectures.

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

Prerequisites and Notes

  • Knowing basic Linux commands will be helpful for 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 version, 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.

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

127

Learners

3

Reviews

5

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

38 lectures ∙ (9hr 23min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

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

Similar courses

Explore other courses in the same field!

Limited time deal

$13.20

50%

$26.40