[root@RAID ~]# hostname RAID [root@RAID ~]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 RAID [root@RAID ~]# cat /etc/sysconfig/network NETWORKING=yes HOSTNAME=RAID [root@RAID ~]# nano /etc/hosts [root@RAID ~]# nano /etc/sysconfig/network [root@RAID ~]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain … Continue reading hostname
Day: April 29, 2016
How To Disable FIREWALLD In rhel-7 And Enable IPTABLES
[root@server ~]# cat /etc/system-release Red Hat Enterprise Linux Server release 7.1 (Maipo) [root@server ~]# systemctl status firewalld firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled) Active: active (running) since Mon 2016-03-28 10:06:01 PDT; 52min ago Main PID: 873 (firewalld) CGroup: /system.slice/firewalld.service └─873 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid Mar 28 10:06:01 server.puppet.in systemd[1]: … Continue reading How To Disable FIREWALLD In rhel-7 And Enable IPTABLES
FTP,SFTP,FTPS,TFTP
Difference between ftp,sftp,ftps,tftp FTP, FTPS and SFTP are the most widely used file transfer protocols in the industry today. All 3 of them are different in terms of the data exchange process, security provisions and firewall considerations. Let’s discuss how these are different so it’s easier for you to select the right protocol based your … Continue reading FTP,SFTP,FTPS,TFTP
top,htop
Top Command Top Command: As a Linux system administrator, top command is a frequently used command and our daily tasks we used multiple times this commands to view resource utilization by processes on server. This command helps us to find which process is utilizing what resources of system. Result Row #1: Row 1 results … Continue reading top,htop
GRUB WITH PASSWORD
How to Protect GRUB with Password STEP 1: Create a password for GRUB, be a root user and open command prompt, type below command. When prompted type grub password twice and press enter. This will return MD5 hash password. Please copy or note it down. [root@localhost ~]# grub-md5-crypt Password: Retype password: $1$/98ml$JGwe1sR.R9o37DoFIMwHP0 Step 2: Now … Continue reading GRUB WITH PASSWORD
TCP WRAPPERS
Linux access control using TCP WRAPPERS Maintaining a good access control list is a nice practice, that must be adopted by any Linux system administrator. This can be achieved with the help of multiple tools. An additional layer of security after your firewall and before your service daemon is a good approach, because even if … Continue reading TCP WRAPPERS
Shell
shell A Unix shell is a command-line interpreter or shell that provides a traditional Unix-like command line user interface. Users direct the operation of the computer by entering commands as text for a command line interpreter to execute, or by creating text scripts of one or more such commands. Users typically interact with a Unix … Continue reading Shell
mailq
[mshaik@omd ~]$ mailq | grep -c "^[A-F0-9]" 2019 flushing the mailque [mshaik@omd ~]$ sudo postfix flush [mshaik@omd ~]$ mailq | grep -c "^[A-F0-9]" 0
HOW DO I CHANGING RUN LEVELS 3 TO 5?
How do I changing run levels 3 to 5? Default run level is defined in /etc/inittab file. In order to change Linux runlevel from 3 to 5, you need to modify this file. Please follow the instructions outlined below: 1) Login as root user 2) Open /etc/inittab file using vi text editor or gedit GUI … Continue reading HOW DO I CHANGING RUN LEVELS 3 TO 5?
WHAT IS MAXIMUM PARTITION SIZE SUPPORTED BY LINUX?
What is Maximum Partition size supported by Linux? A file system is a method for storing and organizing computer files and the data they contain to make it easy to find and access them. Some time it is necessary to know maximum file and partition size. Currently the most commonly used Linux file systems are … Continue reading WHAT IS MAXIMUM PARTITION SIZE SUPPORTED BY LINUX?
