diff --git a/manuel_question1.md b/manuel_question1.md new file mode 100644 index 0000000..34745ce --- /dev/null +++ b/manuel_question1.md @@ -0,0 +1 @@ +An effective DevOps workflow involves planning, coding, testing, deploying, and monitoring. Developers use tools like Git and project management platforms for coding and planning. Continuous Integration (CI) servers automatically test code changes, while Continuous Delivery (CD) automates deployment to testing environments using tools like Docker. Deployment to production is managed by automation scripts and tools like Ansible or Kubernetes. Continuous monitoring of performance and feedback loops drive iterative improvements, ensuring efficient and reliable software delivery. \ No newline at end of file diff --git a/manuel_question2.md b/manuel_question2.md new file mode 100644 index 0000000..3fa438c --- /dev/null +++ b/manuel_question2.md @@ -0,0 +1,18 @@ +FROM centos:7 + +RUN yum update -y && \ + yum install -y mysql-server && \ + yum clean all + +RUN systemctl enable mysqld.service + +RUN systemctl start mysqld && \ + mysql -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 'your_password';" && \ + mysql -e "CREATE DATABASE your_database;" && \ + mysql -e "GRANT ALL PRIVILEGES ON your_database.* TO 'your_user'@'localhost' IDENTIFIED BY 'your_password';" && \ + mysql -e "FLUSH PRIVILEGES;" && \ + systemctl stop mysqld + +EXPOSE 3306 + +CMD ["mysqld_safe"] \ No newline at end of file diff --git a/manuel_question3.md b/manuel_question3.md new file mode 100644 index 0000000..a23b070 --- /dev/null +++ b/manuel_question3.md @@ -0,0 +1,9 @@ +Advantages of Docker: +1. Docker containers run consistently on any system with Docker, regardless of the underlying operating system. This makes applications easy to move between development, testing, and production environments. +2. Each Docker container runs in isolation, with its own processes and file system. This prevents conflicts between applications and ensures consistent behavior. +3. Docker allows building and deployment of applications quickly and easily. Changes can be packaged in containers and deployed to production with minimal downtime. + +Benefits of DevOps Framework: +1. DevOps breaks down silos between development and operations teams, fostering better communication and collaboration. +2. By automating tasks and streamlining processes, DevOps enables faster and more frequent application releases. +3. DevOps practices like continuous integration and continuous delivery (CI/CD) help identify and fix bugs earlier, leading to higher quality applications. \ No newline at end of file