CHANGING DEFAULT PORT IN SSH AND PORT FORWARDING

  Step1: edit /etc/ssh/sshd_config file Step2: Allow custom port in selinux semanage port -a -t ssh_port_t -p tcp #PORTNUMBER Step3: Allow custom port in firewall firewall-cmd –add-port=2222/tcp –permanent firewall-cmd –reload Step4: restart or reload sshd services systemctl reload sshd PORT FORWARDING USING FIREWALLD firewall-cmd –add-forward-port=port=22:proto=tcp:toport=2222 […]

Read more

Installing CentOS/Rhel 6 through vnc

Installing CentOS/Rhel 6 through vnc To install rhel/centos through vnc viewer, we need to pass few parameters at the booting menu by pressing Tab key or Esc. If there is no dhcp configured,  provide a static IP and gateway also give vnc  to activate vnc while […]

Read more

Interview Questions for Linux

INTERVIEW QUESTIONS FOR LINUX WITH ANSWERS Linux FAQS Explain the booting process in linux •The system BIOS checks the system and launches the first stage boot loader on the MBR of the primary hard disk. •The Frist stage boot loader loads itself into memory and […]

Read more