Mustafa Hakan

- Graduated from Electronic Engineering in 2005. - 11 years experience in Network, Field Operation, Display Technologies, Customer Management, Corporate Sales in different companies. - 6 years experience as sole trader about machine manufacturing, estate marketing, textile import-export. - Currently working as a Dev Ops engineer - Always training and self development. - Mentor and team leading

Installation of a WordPress Page and a Database with Docker-Compose Using Secrets

This article will explain how to create a WordPress page and database with Docker-Compose using the secret file. First of all, you do not need to know everything; Google and documentation pages will be enough. So, let’s go to https://docs.docker.com/compose/ and learn what docker-compose is and see all the details here.“Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application’s services. Then, with a single command, you create and start all the services from your configuration.”As you see from the documentation above, we will use a YAML file, and we can install multi containers thanks to docker-compose.After understanding the definition, we are going to investigate how to run a WordPress with docker....

Creating Adding And Authorizing Users and Groups For ssh Connection With Ansible

I will explain how to create users and groups, add users to the groups, and finally how to ssh to a server with an Ansible playbook that is all in a playbook file. Let’s get dirty our hands. Step-1: Install Ansible to Controller Machine First of all, we need to install Ansible on our controller machine. Let us check the operating system of the machine. We need this information because we have to use the correct commands for the operating system. For instance, you cannot use Amazon Linux commands for Ubuntu operating system. You can use the commands below to see which operating system you’re using. cat /etc/os-release hostnamectl By the way, please mind if you work on the cloud, you need to connect to the controller server via ssh as below: ssh -i <~/.ssh/your_pem_file>...