FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Docker commands
How-ToDevOps

Docker commands

via Dev.to Tutorialmethew smith21h ago

A practical, terminal-focused guide covering everything you need to know about web server deployment, Docker containers, GitHub-based hosting, and Bash automation. 📌 Table of Contents Hosting Apache2 — Traditional Way Hosting Nginx — Traditional Way Multiple Static Sites — Virtual Hosts & Server Blocks Hosting via Docker Clone from GitHub & Host via Docker Bash Scripting — Automate Everything Docker Cheatsheet Key Concepts & Golden Rules 1. Hosting Apache2 — Traditional Way Install Apache2 sudo apt update sudo apt install apache2 -y Start, Enable & Check Status sudo systemctl start apache2 sudo systemctl enable apache2 # auto-start on reboot sudo systemctl status apache2 # check if running Web Root — where your files go /var/www/html/ Deploy your page echo "<h1>My Apache Site</h1>" | sudo tee /var/www/html/index.html Fix Permissions (always do this!) sudo chown -R www-data:www-data /var/www/html/ sudo chmod -R 755 /var/www/html/ Test config & Reload sudo apache2ctl -t # test for syntax

Continue reading on Dev.to Tutorial

Opens in a new tab

Read Full Article
3 views

Related Articles

Code Is Culture: Why the Language We Build With Matters
How-To

Code Is Culture: Why the Language We Build With Matters

Medium Programming • 1d ago

How To Implement Validation With MediatR And FluentValidation
How-To

How To Implement Validation With MediatR And FluentValidation

Medium Programming • 1d ago

As people look for ways to make new friends, here are the apps promising to help
How-To

As people look for ways to make new friends, here are the apps promising to help

TechCrunch • 1d ago

Why You Should Use Pydantic Settings instead of os.getenv() for Environment Variables
How-To

Why You Should Use Pydantic Settings instead of os.getenv() for Environment Variables

Medium Programming • 1d ago

Fine-Tuning OpenClaw Tutorial: How to Go from Install to Multi-Agent in a Single Evening
How-To

Fine-Tuning OpenClaw Tutorial: How to Go from Install to Multi-Agent in a Single Evening

Medium Programming • 1d ago

Discover More Articles