Skip to content

This is a System Administration subject. You will discover Docker and you will set up your first web server.

Notifications You must be signed in to change notification settings

elianrc/ft_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ft server logo

🎯 Goal

  • This topic is intended to introduce you to system administration.
  • It will make you aware of the importance of using scripts to automate your tasks.
  • You will discover the "docker" technology and use it to install a complete web server.
  • This server will run multiples services: Wordpress, phpMyAdmin, and a SQL database.
  • Read the pdf HERE

🔧 Usage

# Build the image based on our Dockerfile
docker build -t [image name] [Dockerfile path]

# Create the container who execute a script on CMMD => setup_application.sh
docker run --name [container name] -it  -p 80:80 -p 443:443 [image name]

# Enter container's interactive mode
docker exec -it [container] /bin/bash

# Enable autoindex
docker exec -it [container] /bin/bash /tmp/autoindex/ai_on.sh

# Disable autoindex
docker exec -it [container] /bin/bash /tmp/autoindex/ai_off.sh

# Check old containers
docker ps -a

# Remove Containers
docker rm -f [container]

📚 Resources

A rich, deep research to understand all the services used is vital. With Docker is even easier and faster to explore practically!

  • Great starting place - LINK
  • Understand Virtualization and Containerization
  • Familiarize yourself with Docker enviroment - LINK
  • Explore LEMP stack implementation - LINK | LINK (there are differences in some commands from debian 9, 10, and buster)
  • MariaDB vs MySQL - LINK
  • Check your host ports - LINK
  • Install Wordpress along LEMP stack - LINK
  • NGINX configuration - LINK
  • Generate SSL key - LINK
  • SED command for autoindex - LINK

Repositories

✔️ Moulinette

result_by_mounlinette

SOLI DEO GLORIA

About

This is a System Administration subject. You will discover Docker and you will set up your first web server.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published