How to Enable TLS for VSFTPD on RHEL-Family Linux

How to Enable TLS for VSFTPD on RHEL-Family Linux

Linux
Applies to: RHEL-family Linux — RHEL 6–10 | Rocky Linux 8–10 | AlmaLinux 8–10 | CentOS 6–8 | CentOS Stream 8–10 Traditional FTP sends usernames, passwords, and file data without encryption. If you still need to run vsftpd, you can protect the connection with TLS and use FTPS instead of plain FTP. Current guidance: For new deployments, prefer SFTP over OpenSSH where possible. Red Hat has deprecated FTP client and server software, including vsftpd, in RHEL 10 and recommends moving new workflows to SFTP or WebDAV. FTPS and SFTP are different protocols. FTPS is FTP protected with TLS. SFTP is the SSH File Transfer Protocol and does not use vsftpd. In This Article 1. Install VSFTPD 2. Prepare the TLS Certificate 3. Configure VSFTPD for TLS 4. Restart VSFTPD 5.…
Read More
How to Configure a Secondary BIND DNS Server on RHEL-Family Linux

How to Configure a Secondary BIND DNS Server on RHEL-Family Linux

Linux
Applies to: RHEL-family Linux — RHEL 6–10 | Rocky Linux 8–10 | AlmaLinux 8–10 | CentOS 6–8 | CentOS Stream 8–10 A secondary BIND DNS server keeps an authoritative copy of a DNS zone by transferring it from the primary server. If the primary DNS server is unavailable, clients can still query the secondary server for the zone. The original version of this article used the older master/slave terminology. Current BIND documentation prefers primary/secondary, although the older configuration keywords are still supported and remain useful for compatibility with older RHEL releases. In This Article 1. Configure the Primary Server 2. Install BIND on the Secondary Server 3. Configure the Secondary Zone 4. Start BIND and Open the Firewall 5. Validate the Zone Transfer 6. Current BIND Terminology 7. Key Takeaways…
Read More
How to Manage Swap Partitions on RHEL, Rocky Linux, AlmaLinux, and CentOS

How to Manage Swap Partitions on RHEL, Rocky Linux, AlmaLinux, and CentOS

Linux
Applies to: RHEL-family Linux — RHEL 6–10 | Rocky Linux 8–10 | AlmaLinux 8–10 | CentOS 6–8 | CentOS Stream 8–10 Linux can use swap when physical memory is under pressure. Swap can be provided by a dedicated partition, an LVM logical volume, or a swap file. The original version of this article was written for RHEL 6 and CentOS 6. The same core swap-management commands are also used on current RHEL, Rocky Linux, AlmaLinux, and CentOS releases, so the procedure below has been updated while keeping the older versions in scope. In This Article 1. Check Current Swap Space 2. Create a Swap Partition 3. Initialize the Partition as Swap 4. Add the Swap Partition to /etc/fstab 5. Activate and Verify Swap 6. Key Takeaways 1. Check Current Swap…
Read More