Send only Postfix SMTP

Find inet_interfaces parameter and change it to loopback-only. With that parameter, Postfix will not listen for any connections. vi /etc/postfix/ Change the following : inet_interfaces = loopback-only

Centos what firewall is running

Firewalld is the default firewall manager on CentOS sudo systemctl status firewalld # firewall-cmd –get-zones block dmz drop external home internal nm-shared public trusted work # firewall-cmd –get-default-zone public # firewall-cmd –get-active-zones public interfaces: eth1 eth0 # firewall-cmd –list-all public (active) target: default icmp-block-inversion: no interfaces: eth0 eth1 sources: services: cockpit dhcpv6-client http https ssh ports: … Read more

Ubuntu uninstall AMD drivers

$ /usr/bin/amdgpu-pro-uninstall bash: /usr/bin/amdgpu-pro-uninstall: No such file or directory $ /usr/bin/amdgpu-uninstall bash: /usr/bin/amdgpu-uninstall: No such file or directory   dpkg: error processing archive /var/opt/amdgpu-pro-local/./amdgpu-dkms-firmware_5.9.10.69-1234664_all.deb (–unpack): trying to overwrite ‘/usr/share/doc/amdgpu-dkms-firmware/LICENSE’, which is also in package rock-dkms-firmware 1:4.1-26 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing: /var/opt/amdgpu-pro-local/./amdgpu-dkms-firmware_5.9.10.69-1234664_all.deb E: Sub-process /usr/bin/dpkg … Read more