$
Linux Practice
Practice
Tutorials
English
한국어
日本語
中文
terminal
Welcome to Linux Practice Terminal!
Type "help" to see available commands.
user
@linux:
~
$
Project: Web Server Setup
Reset Lesson
Build a web server directory structure using mkdir -p, echo, and cat.
Step 1
Create the project root with a public directory.
Type: mkdir -p webserver/public
mkdir -p webserver/public
Step 2
Create css and images subdirectories inside public.
Step 3
Create an HTML file with a welcome heading.
Step 4
Create a CSS stylesheet.
Step 5
Create a config directory for server settings.
Step 6
Create a server config file with a PORT setting.
Step 7
Append a HOST setting to the config file.
Step 8
Verify the HTML file contents.
Step 9
Verify the config file has both settings.