Linux Tutorial

How To Configure Basic DNS in Linux Operating Systems?

How To Configure Basic DNS in Linux Operating Systems?

Fadıl

In today’s article, we will learn how to do Basic DNS Configuration (dnsmasq) in Linux Operating Systems. For us, “dnsmasq“, which we will use for name resolution in small-scale network structures, will analyze the records we enter in our server’s “/ etc / hosts” file without requiring a very large configuration. will provide the possibility.

Now we will see how this is done in 6 steps.

Step 1. We download and install the “dnsmasq” package from the “yum repository” defined in our operating system

How to Configure DNS and DHCP Server on Linux Operating Systems?

How to Configure DNS and DHCP Server on Linux Operating Systems?

Fadıl

What is DNS?

DNS (Domain Name System) An IP address is provided to go to every web address on the Internet. It is quite difficult and troublesome to keep the IP addresses of these web addresses one by one in our minds.
DNS comes into play here. It gives a name corresponding to the IP of each web address, so the names that are easier to replace than IP addresses are the name of the system that helps us keep in mind. For example techsoftcenter.com (IP value: 172.104.31.121)

How to Reset “root” Password on Linux Operating Systems?

How to Reset “root” Password on Linux Operating Systems?

Fadıl

In this article, we will see how to reset the root password of our Linux operating systems. This will be useful if we forget or do not know the password of our operating system.
Of course, we need to be physically next to our server for this process. That’s why we have to care about the physical security of my servers in order not to hack our servers.

  1. As a first step, if our system is on, we shut it down and when starting again we press any key of the keyboard and enter our boot options.

How to Close Centos Selinux?

How to Close Centos Selinux?

Fadıl

Hi;

Most of the time, when we set up a new Centos server, our panel and services will not work properly. This is due to the fact that the  selinux service is turned on, for this, the selinux must be off when we set from ssh to setenforce 0, the server becomes active again with the passive selinux reboot until the server is rebooted, so we must close the format we mentioned below.

Git: What are the Basic Commands and Uses?

Git: What are the Basic Commands and Uses?

Fadıl

It’s not like you don’t use SVN / Git systems anymore. In this article, we will see simple Git commands;

Git Create

The Git command is written and compiled briefly as the following command.

git init

When we initialize, the subdirectory structure for git in the folder is created.

Looking at the Situation

Looking at the state of our repository is often something we have to do. We give information about the repo and we understand what to do depending on the situation.