Posts

Showing posts from August, 2019

How to install caching only dns server on Rhel 8 / Centos 8

Image
How to install caching only DNS server in RedHat 8 / Centos 8 package name = bind service name = named port number = 53 rndc port = 953 rndc it uses only the loopback address, rndc is used to manage the name server. First install the required packages using yum or dnf: Yum install bind bind-utils -y Take the backup of named.conf before configuration: Cp -p /etc/named.conf /etc/named.conf.orig Information about bind “named” package: rpm -qi bind exploring files and directories of bind “named” server: rpm -ql bind Now configure dns server open the file “vim /etc/named.conf” and make changes: [root@itsummation ~]# vim /etc/named.conf // options {           listen-on port 53 { localhost ; 192.168.56.12; };                                                         listen-on-v6 port 53 { ::1; };         directory        "/var/named";          dump-file      "/var/named/data/cache_dump.db

Linux Basic Commands Part 2

Image
Linux command Line Create a file in linux # Touch # cat # > Output Redirection The '>' symbol is used for output (STDOUT) redirection Viewing File Contents and other commands Cat more tail head cp – Copy files and directories mv – Move/rename files and directories mkdir – Create directories rm – Remove files and directories ln – Create hard and symbolic links

Linux Basic Commands Part 1

Image
Linux basic command Line The first command is date. This command displays the current time and date. # date Second command is cal which, by default, displays a calendar of the current month. # cal To see the current amount of free space on your disk “The df command reports how much disk space we have” enter df Command: # df To check the information of disk usage of files and directories on a machine. du command reports how much disk space is being consumed by the files and folders. # du Check disk usage in Human Readable Format . # du -h display the amount of free memory, enter the free command. # free To change your working directory, enter cd command. # cd To display the current working directory, we use the pwd (print working directory) command. # pwd To list the files and directories in the current working directory enter ls Command. # ls We use ls -l for long listi

How to install Windows server 2019

Image

Kali Linux Terminal ��

Image

How to install Epel Repo in RedHat 8 / Centos 8

Image
How to install epel repository on Rhel 8.0 Install epel repository using this command: dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm OR YOU CAN USE YUM Yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm Verify the repository dnf repolist -v yum repo list rpm -ql epel-release List all packages available in epel repo dnf repository-packages epel list remove epel from system dnf remove epel-release yum remove epel-release Now you are done.

What is a Linux Shell ��

Image
What is Linux Shell? The shell is the program that acts as a user interface to send commands to the kernel.  The kernel then interprets the command and tells the CPU and other computer hardware how to carry out the particular task. Every time a user logs in, a shell is started. Several shells are available for Linux including: • BASH ( Bourne-Again Shell ) - Most common shell in Linux. It's Open Source. • CSH (C Shell) - The C shell's syntax and usage are very similar to the C programming language. • KSH (Korn Shell) - Created by David Korn at AT & T Bell Labs. The Korn Shell also was the base for the  POSIX Shell standard specifications. • TCSH - It is an enhanced but completely compatible version of the Berkeley UNIX C shell (CSH). • The Z shell (Zsh) is a Unix shell that can be used as an interactive login shell and as a command interpreter for shell scripting. Zsh is an extended Bourne shell with a large number of improvements,  including some fea

How To Install Kali Linux Step by Step ��

Image

Kali Linux Useful Links ��

Image
Download the file from here: https://drive.google.com/file/d/1rX-tI1LwlQwEkeBlRakYnNv5M2DJCN4b/view?usp=sharing

INTRODUCTION TO KALI LINUX ��

Image
Kali Linux Document download Link: https://drive.google.com/file/d/1rX-tI1LwlQwEkeBlRakYnNv5M2DJCN4b/view?usp=sharing

How To Add SWAP Space in Linux

Image
CONFIGURATION STEPS ARE: How to Add Swap Space on Linux Swap is a space on a disk that is used when the amount of physical RAM memory is full. When a Linux system runs out of RAM, inactive pages are moved from the RAM to the swap space. Swap space can take the form of either a dedicated swap partition or a swap file. In most cases when running Linux on a virtual machine a swap partition is not present so our only option is to create a swap file. 1: create a swap file Now we create a swap file called "swapfile.img" on root (/) directory using the “fallocate” command with the size of 1GB and you can adjust the size as per your needs after create verify swap file. # fallocate -l 1G /swapfile.img # ls -lh /swapfile.img 2: Enabling the Swap File enable the swap file and set the correct permissions on the file so that only the root user can access to the file. # chmod 600 / swapfile.img #   ls - lh /swapfile.img 3:

Change Windows 10 CMD like Linux Terminal

Image
Change your WINDOWS 10 CMD like Linux Terminal the steps are: change the command prompt settings. $q = (equal sign)  $$ $ (dollar sign) $t Current time $d Current date $p Current drive and path $v Windows version number $n Current drive $g > (greater than sign) $l < (less than sign) $b      b | (pipe) $a & (ampersand) $c ( (left parenthesis) $f ) (right parenthesis) $s space $m       Displays the remote name associated with the current drive letter $_      show the prompt on next line prompt with the computername and the current folder with greater then sign and space. PROMPT [$s%username%@%computername%$s]$s Restore the default prompt PROMPT $P$G set the prompt setting permanently SETX PROMPT $options