Enable SSL/TLS for vsftpd to use Secure FTP(SFTP) connections in RHEL/Centos

### Create self-signed certificate. [root@testos ~]# cd /etc/pki/tls/certs[root@testos certs]# openssl req -x509 -nodes -newkey rsa:2048 -keyout vsftpd.pem -out vsftpd.pem -days 365Generating a 2048 bit RSA private key……++++++…….++++++ writing new private key to ‘/etc/pki/tls/certs/vsftpd.pem’ You are about to be asked to enter information that will be incorporatedinto your certificate request.What you are about to enter is … Read more

Install and configure vsftpd to configure FTP Server in RHEL/Centos

### Configure Vsftpd [root@testos ~]# yum -y install vsftpd ### Edit/Update vsftpd Configuration file [root@testos ~]# vi /etc/vsftpd/vsftpd.conf # line 12: no anonymous anonymous_enable=NO # line 82,83: uncomment ( allow ascii mode ) ascii_upload_enable=YES ascii_download_enable=YES # line 100, 101: uncomment ( enable chroot ) chroot_local_user=YES chroot_list_enable=YES # line 103: uncomment ( specify chroot list ) … Read more

Install and Configure Cacti Network Graphing Tool on RedHat / CentOS

Cacti is a network graphing tool similar to MRTG. How do I install and configure common options to collect SNMP data and various other data (such as system load, network link status, hard disk space, logged in users etc) into an RRD? From the official project site: Cacti is a complete frontend to RRDTool, it … Read more