Posts

Showing posts from 2019

CentOS 8 installation | Installing CentOS 8

Image

How to recover Root password Rhel 8 / Centos 8

Image

aaPanel Hosting Control Panel installation on Rhel 7 Centos7

Image
How to install aaPanel Linux panel on RedHat 7 / centos 7 AaPanel is a Free and Open source Hosting Control Panel . aaPanel is a very simple hosting control panel that works on CentOS, Debian and Ubuntu. it’s possible to manage websites, databases and FTP accounts by default. A DNS Manager is also there, but only for CentOS 7. It also contains a mail server with a simple click. It offers various flavors of: nginx, Apache, MySQL, PHP Static/PHP-FPM (PHP 5-7+), Redis, Memcached, etc. no command line, using what you want by one-click. AaPanel official website. https://www.aapanel.com/ AaPanel Features official Link: https://www.aapanel.com/feature.html/ Operating System Support: Centos Ubuntu Debian Fedora Please make sure the OS that is PURE and CLEAN and never deploy any Apache/Nginx/php/MySQL before. System Memory : Minimum 128MB , Recommended 512MB or more Linux Panel requires system memory around 10MB.

How to install AnyDesk on Rhel 8 / Centos 8

Image
------------------------------------------------------ How to install anydesk on Rhel 8 / Centos 8 ------------------------------------------------------ ----------------------------------- Remote Desktop application ----------------------------------- ---------------------------- Download the package ---------------------------- wget https://download.anydesk.com/linux/rhel7/anydesk-5.1.2-1.el7.x86_64.rpm ----------------------------------------- Install using yum, dnf or rpm -ivh ----------------------------------------- yum localinstall /dir/anydesk-5.1.2-1.el7.x86_64.rpm dnf localinstall anydesk-5.1.2-1.el7.x86_64.rpm rpm -ivh package_name ------------------------- Remove the package ------------------------- rpm -e package_name now run the command anydesk on terminal that's it.

How to configure NTP server

Image
How to Install NTP Using Chrony in RHEL 8 NTP (Network Time Protocol) is a protocol which runs over port 123 UDP. NTP synchronize clients time and date with a master server. Chrony is a default NTP client as well as an NTP server on Red Hat Enterprise Linux 8. Service name = chronyd Install chrony on system # dnf install chrony -y # yum install chrony -y Now start the chronyd service, enable it to auto start at system boot and verify the running status: # systemctl start chronyd # systemctl status chronyd # systemctl enable chronyd Now Configure NTP Server Using Chrony: set up your RHEL 8 server a master NTP time server. Open the /etc/chrony.conf: # vim /etc/chrony.conf Now search for the “allow” configuration directive and uncomment it and set the network addresses from which the clients are allowed: #allow 192.168.0.0/16 now save and exit Restart the chronyd service # systemctl restart chronyd Now op

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

How To install Cockpit on Rhel 8 0 Linux Urdu/Hindi

Image
How to install cockpit in Rhel 8.0/CentOs8 What is Cockpit in Rhel 8.0? Cockpit is a web-based interface designed for managing and monitoring your local system, as well as Linux servers located in your network environment. Cockpit is an interactive server administration interface. Cockpit interacts directly with the operating system from a real Linux session in a browser. Cockpit installation on RHEL 8.0/Centos 8 # yum install cockpit Enable cockpit: # systemctl start cockpit.socket # systemctl enable cockpit.socket # systemctl status cockpit.socket Open the firewall if necessary: # firewall-cmd --add-service=cockpit # firewall-cmd --add-service=cockpit --permanent # firewall-cmd --reload web access https://SERVER_IP:9090 remove service from firewall # firewall-cmd --permanent --zone=public --remove-service=cockpit # firewall-cmd --runtime-to-permanent # firewall-cmd --reload Now you are done. so please feel free to share your queries we will reply as soon as possible.

How To install OpenStack on Ubuntu 18 04 Urdu/Hindi

Image
OpenStack Installation on Ubuntu 18.04 with DevStack installation of Openstack Cloud on Ubuntu 18.04 asimple Openstack Deployment for Learning, Testing and Development.in short DevStack is a collection of scripts which enables you to deploy a complete latest version of Openstack environment on virtual machine, personal laptop or a desktop. Openstack environment deployed by DevStack can also be used for demonstrations purpose. DevStack support Ubuntu Fedora CentOS RHEL Debian  OpenSUSE. For more Details please visit: https://docs.openstack.org/devstack/latest/ Minimum system Requirements Fresh installation of Ubuntu18.04 Minimum memory of 4 GB At least 2 vCPU Storage capacity of 20 GB Internet connection User with sudo Update Ubuntu system First, we have to update our ubuntu Linux # sudo apt-get update # sudo apt-get    -y upgrade # sudo apt-get    -y dist-upgrade Now reboot the system # sudo reboot Add Sta