First install the FTP service program: yuminstall-yvsftpd & nbsp; (only part of the screenshot) and then start ftp, set ftp to automatically start servicevsftpdstartchkconfigvsftpdon, and create the install folder under the ftp pub folder (this folder can be named arbitrarily) and
First install the FTP service program:
Yum install-y vsftpd (partial only)
Start ftp and set ftp to automatic startup.
Service vsftpd start
Chkconfig vsftpd on
Create the install folder under the ftp pub folder (this folder can be named as needed)
Enter the package directory and test the package to the install directory created above.
Directory where cd/package is stored
Cp-a./var/ftp/pub/install
Copy the group file to any Directory (I am using the tmp directory)
Cp/var/ftp/pub/repodata/xxxx. xml/tmp
Delete the repodata folder and content under install
Rm-f-r repodata/(I have already installed the directory)
Install createrepo first
Then run createrepo-g/tmp/xxxx. xml/vat/ftp/pub/install /.