Sftp configuration in redhat linux 73/31/2024 ![]() This command will remove the default repo file or keep file as ~]# rm -fr ~]# mv /etc//packagekit-media.repo /etc//įor installing rpm package using yum command need to create new repo file with proper ~]# vim /etc//yum.repoĭatabase create using createrepo ~]# createrepo –database /var/ftp/pub/Packages/ To copy the all rpm Packages to pub directory with parent ~]# cd /run/media/root/RHEL-7.0\ ~]# cp -pfrv Packages/ /var/ftp/pub/ To enable the firewall need to allow the ftp ~]# firewall-cmd – -permanent – ~]# firewall-cmd – -reload Enable is used for automatically start any service after booting the ~]# systemctl start ~]# systemctl enable vsftpd Now, need to start and enable the vsftpd service. ![]() Warning: createrepo-0.9.: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY Warning: vsftpd-3.0.86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY We install thease package directly from media disk or iso image using rpm ~]# rpm -ivh vsftpd-3.0.86_64.rpm This command will enter the all rpm packages directory from media DVD or local disk iso ~]# cd /run/media/root/RHEL-7.0\ Server.x86_64/Packages/įor installing yum server we need to install two rpm packages named vsftpd and createrepo. ![]() To show the mounted DVD or ISO image of ~]# df -h ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |