°Ô½Ã¹° 259°Ç
   
[RHEL7.6] subscription µî·ÏÈÄ repository ±¸¼º [ repo / yum / ]
±Û¾´ÀÌ : theko ³¯Â¥ : 2019-07-09 (È­) 15:03 Á¶È¸ : 1771
[root@localhost ~]# subscription-manager register  --auto-attach
Registering to: subscription.rhsm.redhat.com:443/subscription
Username: duckho.lee0@rockplace.co.kr
Password:
The system has been registered with ID: 50095a24-bf19-42db-885a-9ecc1ff9f07c
The registered system name is: localhost.localdomain
[root@localhost ~]#



[root@localhost rhel7]# mkdir /root/rhel7
[root@localhost rhel7]# cd /root/rhel7
[root@localhost rhel7]# reposync .
// ÆÄÀÏ´Ù¿î·Îµå

# createrepo  rhel-7-server-rpms/
Spawning worker 0 with 24397 pkgs
Workers Finished
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete
[root@localhost rhel7]#





½ºÅ©¸³Æ®
#!/bin/bash
for repo in \
   rhel-7-server-rpms \
   rhel-7-server-extras-rpms \
   rhel-7-server-ansible-2.6-rpms \
   rhel-7-server-ose-3.11-rpms
do
   reposync --gpgcheck -lmn --repoid=${repo} --download_path=/repos
   sleep 5
   createrepo -v /repos/${repo} -o /repos/${repo}
done





theko 2023-03-22 (¼ö) 21:12
# subscription-manager refresh # subscription-manager list --available --all # subscription-manager attach --pool=<POOL_ID>
À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com