Author: admin

How to setup FTP in Linux based server

Login to the server as root and install vsftpd with yum install vsftpd ftp -y Use vi editor to open /etc/vsftpd/vsftpd.conf [vi /etc/vsftpd/vsftpd.conf] and add/change following options: anonymous_enable=NO ascii_upload_enable=YES ascii_download_enable=YES use_localtime=YES Enable and start the vsftpd service. systemctl enable vsftpd systemctl start vsftpd Allow the ftp service and port 21 via firewall. firewall-cmd --permanent --add-port=21/tcp …

Read more

How to change the port of discovery container

Use podman to create new network podman network create Check under /etc/cni/net.d/ you will find file /etc/cni/net.d/cni-podman-2.conflist In your favorite file editor open /usr/share/containers/libpod.conf Change line cni_default_network = "podman" in configuration file /usr/share/containers/libpod.conf to cni_default_network = "cni-podman2" Reboot server Restart container with podman start discovery dsc-db Check the network status. A new network cni-podman2 will be …

Read more

How to configure a bonding device in a Linux server

Multiple bonding modes in a Linux operating system are given below: balance-alb (fault tolerance and load balancing) balance-tlb (fault tolerance and load balancing) active-backup (fault tolerance) broadcast (fault tolerance) balance-rr (fault tolerance and load balancing) 802.3ad (fault tolerance and load balancing) balance-xor (fault tolerance and load balancing) We will use Network Manager CLI to add …

Read more

Kickstart fails to form boot partition [Not enough space in filesystems for the current software selection]

The kickstart automatic installation of the Linux operating system fails but the normal install is successful. To resolve this issue follow the steps given below: Add clearpart --all --drives=${devname} --initlabel in kickstart disk section. This will delete partition table of disk. If the above option does not resolve the issue add zerombr option above clearpart …

Read more

How to enable audit for file on nfs server?

Add -w /NFS-MOUNT/ -p wa -k NFS-MOUNT line at the end of file /etc/audit/audit.rules [root@COMPUTE ~]# cat /etc/audit/audit.rules ## This file is automatically generated from /etc/audit/rules.d -D -b 8192 -f 1 -w /NFS-MOUNT/ -p wa -k NFS-MOUNT Execute the following command to restart auditd service service auditd restart

Read more

SELinux prevents /usr/lib/cups/daemon/cups-lpd from read access on the sock_file cups.sock in Linux server

In spite of /usr/lib/cups/daemon/cups-lpd denial to read access sock_file cups.sock, cups-lpd will successfully migrate print jobs received via LPD to the local CUPS server. You can either ignore this issue or create a custom SELinux policy module. The steps to create a custom SELinux policy module are listed below: yum -y install setools-console yum-utils policycoreutils-devel …

Read more

IPv6 communication do not occur while interface is in firewalld drop zone

IPv6 requires ICMPv6 neighbour solicitation and neighbour advertisement packets to create IPv6 connectivity. These packets are used to resolve IPv6 addresses to link-layer (ethernet). Add new icmptypes for neighbour solicitation and neighbour advertisement firewall-cmd --permanent --new-icmptype=neighbour-solicitation firewall-cmd --permanent --new-icmptype=neighbour-advertisement Remove destination IPv4 firewall-cmd --permanent --icmptype=neighbour-solicitation --remove-destination=ipv4 firewall-cmd --permanent --icmptype=neighbour-advertisement --remove-destination=ipv4 Attach icmptypes to the –zone=drop …

Read more