Answer the question
In order to leave comments, you need to log in
How to download RHEL 8 x86_64/i386 repository to local repository?
I need to upload a RHEL 8 repository to a local server so that users can access it
yum install httpd -y
sudo sed -i "s/Options Indexes FollowSymLinks/Options Indexes Includes/" /etc/httpd/conf/httpd.conf
systemctl enable httpd --now
yum install createrepo -y
yum install yum-utils -y
mkdir /var/www/html/repo
cd /var/www/html/repo
sudo dnf reposync --gpgcheck -l --repoid=openstack-16-tools-for-rhel-8-x86_64-debug-rpms--download_path=/home/repository/RHEL8/x86_64 --downloadcomps --download-metadata
dnf reposync: error: unrecognized arguments: -l
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question