RedHat 7/8 – How to install sosreport tools

If you log case to RedHat support before, sosreport is not a new term for your guys. Sosreport is a command line tools that allow you to collect configuration details, system information and diagnostic information from a Red Hat Enterprise Linux system. This information is stored in a single compressed file in the /var/tmp directory, and the file can be sent to a support representative to assist in troubleshooting a problem.

Sosreport tools is not install by default. Before you run the tools, you have to install the sos package.

Continue reading

Windows Server 2016: How to enable flash in IE

Some when you work with legacy system such as vcenter 6.0, you need to have flash player to run the application.

In Windows Server 2016, flash player already included in Internet Explorer, but it not enable by default. If you wish to use the flash player, you may enable it by enter following command in command line

dism /online /add-package /packagepath:”C:\Windows\servicing\Packages\Adobe-Flash-For-Windows-Package~31bf3856ad364e35~amd64~~10.0.14393.0.mum”

Once done, close the Internet Explorer and open it again. Now you should able to use flash. 🙂

How to manage Firewall on RHEL 7/8

In RHEL 7, a new firewall solution called Firewalld was introduced. Iptables serive no longer offer in RHEL 8

Firewalld is a dynamic firewall manager which used the iptables command to configure netfilter directly, as an improved alternative to the iptables service.

Firewalld Default Zone

  • drop: All incoming packets are dropped and there is no reply
  • block: Reject incoming traffic
  • public: Represents public, untrusted networks. You don’t trust other computers but may allow selected incoming connections on a case-by-case basis. This is the default zone for all the newly created network interface.
  • external: External networks in the event that you are using the firewall as your gateway. It is configured for NAT masquerading so that your internal network remains private but reachable.
  • internal: The other side of the external zone, used for the internal network. Computer on same network are trusted, and only selected incoming connections are accepted.
  • dmz: Used in DMZ zone. Only selected incoming connections are allowed.
  • work: Used for work machines. Most compute on the same network are trusted, and only selected incoming connections are accepted.
  • home: A home environment. It generally implies that you trust most of the other computers and that a few more services will be accepted.
  • trusted: All network connection are accepted
Continue reading