{"id":18022,"date":"2022-07-18T21:22:14","date_gmt":"2022-07-18T19:22:14","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/?p=18022"},"modified":"2024-11-08T15:14:13","modified_gmt":"2024-11-08T14:14:13","slug":"setup-a-rocky-linux-repository-server","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/","title":{"rendered":"Setup a Rocky Linux Repository server"},"content":{"rendered":"\n<p>This Blog is about a setup of a Rocky Linux Repository server. <\/p>\n\n\n\n<p>Many people whould complain that it will be the same than RHEL 8, but is is not, there are some differencies between AlmaLinux, Rocky Linux, Oracle Linux and RHEL 8.<\/p>\n\n\n\n<p>Base is a Rocky Linux Linux 8.6 minimal installation.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;root@rockylinux-8-repo ~]# cat \/etc\/os-release \nNAME=\"Rocky Linux\"\nVERSION=\"8.6 (Green Obsidian)\"\nID=\"rocky\"\nID_LIKE=\"rhel centos fedora\"\nVERSION_ID=\"8.6\"\nPLATFORM_ID=\"platform:el8\"\nPRETTY_NAME=\"Rocky Linux 8.6 (Green Obsidian)\"\nANSI_COLOR=\"0;32\"\nCPE_NAME=\"cpe:\/o:rocky:rocky:8:GA\"\nHOME_URL=\"https:\/\/rockylinux.org\/\"\nBUG_REPORT_URL=\"https:\/\/bugs.rockylinux.org\/\"\nROCKY_SUPPORT_PRODUCT=\"Rocky Linux\"\nROCKY_SUPPORT_PRODUCT_VERSION=\"8\"\nREDHAT_SUPPORT_PRODUCT=\"Rocky Linux\"\nREDHAT_SUPPORT_PRODUCT_VERSION=\"8\"\n&#091;root@rockylinux-8-repo ~]# \n<\/code><\/pre>\n\n\n\n<p>The installation of EPEL is similar to AlmaLinux. in short words it is the same.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;root@rockylinux-8-repo ~]# dnf config-manager --set-enabled powertools\n&#091;root@rockylinux-8-repo ~]# dnf install epel-release<\/code><\/pre>\n\n\n\n<p>RPMFusion is exactly the same like on AlmaLinux.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;root@rockylinux-8-repo ~]# dnf install --nogpgcheck https:\/\/mirrors.rpmfusion.org\/free\/el\/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm https:\/\/mirrors.rpmfusion.org\/nonfree\/el\/rpmfusion-nonfree-release-$(rpm -E %rhel).noarch.rpm<\/code><\/pre>\n\n\n\n<p>Next step will be the installation of the required RPMs, I&#8217;m also using nginx to reuse as much as possible from my RHEL 8 Repository Blog. The subscription-manager package we will need to switch between different Rocky Linux 8 Releases we want to have on our own repo server.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;root@rockylinux-8-repo ~]# dnf install nginx yum-utils createrepo_c subscription-manager<\/code><\/pre>\n\n\n\n<p>Interesting is checking the active repositories.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;root@rockylinux-8-repo ~]# dnf repolist\nrepo id                                                                                                                        repo name\nappstream                                                                                                                      Rocky Linux 8 - AppStream\nbaseos                                                                                                                         Rocky Linux 8 - BaseOS\nepel                                                                                                                           Extra Packages for Enterprise Linux 8 - x86_64\nepel-modular                                                                                                                   Extra Packages for Enterprise Linux Modular 8 - x86_64\nextras                                                                                                                         Rocky Linux 8 - Extras\npowertools                                                                                                                     Rocky Linux 8 - PowerTools\nrpmfusion-free-updates                                                                                                         RPM Fusion for EL 8 - Free - Updates\nrpmfusion-nonfree-updates                                                                                                      RPM Fusion for EL 8 - Nonfree - Updates\n&#091;root@rockylinux-8-repo ~]# <\/code><\/pre>\n\n\n\n<p>It is one to one the same repo_id like on AlmaLinux, this make it easy, the script f\u00fcr synchronizing repositories will be identical.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;root@rockylinux-8-repo \/]# cat \/opt\/reposync\/reposync.sh \n# Rocky Linux $releasever - BaseOS\n\n\n################################################\n# Synchronisation of RockyLinux 8 Repositories #\n# By Karsten Lenz dbi-services sa 2022.06.29   #\n################################################\n\n#!\/bin\/bash\n\necho \"Synchronisation of RHEL Repositores\"\necho \"\"\n\n# Help\nfunction printHelp() {\n  printf \"Usage:\\n\"\n  printf \"${progName} &#091;OPTION]\\n\\n\"\n  printf \"Options:\\n\"\n  printf \"\\t -v &lt;RHEL Version&gt;\\t\\tRHEL Release (required)\\n\"\n  printf \"\\t -h &lt;Help&gt;\\t\\t\\tprints this help\\n\"\n}\n\n# Select Options\nwhile getopts v:h option 2&gt;\/dev\/null\ndo\n  case \"${option}\"\n  in\n  v) VERSION=${OPTARG};;\n  h) printHelp; exit 2;;\n  *) printf \"Unsupported option or parameter value missing '$*'\\n\";\n     printf \"Run ${progName} -h to print help\\n\"; exit 1;;\n  esac\ndone\n# Extract Major Release\nMAJOR=${VERSION:0:1}\n\n# Set RHEL RELEASE to sync\nprintf \"Set Release to sync\"\nsubscription-manager release --set=$VERSION &amp;&amp; rm -rf \/var\/cache\/dnf\n\n# SYNC BASE-OS, APPSTREAM, Codeready, EPEL and rpmfusion\nif &#091; $MAJOR == '8' ]\nthen\n    \tprintf \"Sync Base OS \"\n        reposync -p \/usr\/share\/nginx\/html\/$MAJOR\/$VERSION --download-metadata --newest-only --delete --repoid=baseos\n        printf \"Sync Appstream \"\n        reposync -p \/usr\/share\/nginx\/html\/$MAJOR\/$VERSION --download-metadata --newest-only --delete --repoid=appstream\n        printf \"Sync Extras \" \n        reposync -p \/usr\/share\/nginx\/html\/$MAJOR\/$VERSION --download-metadata --newest-only --delete --repoid=extras\n        printf \"Sync Powertools \" \n        reposync -p \/usr\/share\/nginx\/html\/$MAJOR\/$VERSION --download-metadata --newest-only --delete --repoid=powertools\n        printf \"Sync EPEL 8\"\n        reposync -p \/usr\/share\/nginx\/html\/$MAJOR --download-metadata --newest-only --delete --repoid=epel\n        printf \"Sync EPEL 8 Modular \"\n        reposync -p \/usr\/share\/nginx\/html\/$MAJOR --download-metadata --newest-only --delete --repoid=epel-modular\n        printf \"Sync rpmfusion-free \"\n        reposync -p \/usr\/share\/nginx\/html\/$MAJOR --download-metadata --newest-only --delete --repoid=rpmfusion-free-updates\n        printf \"Sync rpmfusion-nonfree \"\n        reposync -p \/usr\/share\/nginx\/html\/$MAJOR --download-metadata --newest-only --delete --repoid=rpmfusion-nonfree-updates\nfi\n\n&#091;root@rockylinux-8-repo \/]# <\/code><\/pre>\n\n\n\n<p>With this script it is possible to store different Rocky Linux 8 releases on one own Repository server with sh reposync -v 8.6 for release 8.6.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;root@rockylinux-8-repo 8]# du -sh *\n15G\t8.4\n15G\t8.5\n15G\t8.6\n13G\tepel\n1.1G\tepel-modular\n297M\trpmfusion-free-updates\n1.1G\trpmfusion-nonfree-updates\n&#091;root@rockylinux-8-repo 8]# <\/code><\/pre>\n\n\n\n<p>Now it is time to configure nginx, the configuration is similar to that one used for the RHEL 8 and AlmaLinux 8 Repository servers.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;root@rockylinux-8-repo \/]# cat \/etc\/nginx\/nginx.conf\n# For more information on configuration, see:\n#   * Official English Documentation: http:\/\/nginx.org\/en\/docs\/\n#   * Official Russian Documentation: http:\/\/nginx.org\/ru\/docs\/\n\nuser nginx;\nworker_processes auto;\nerror_log \/var\/log\/nginx\/error.log;\npid \/run\/nginx.pid;\n\n# Load dynamic modules. See \/usr\/share\/doc\/nginx\/README.dynamic.\ninclude \/usr\/share\/nginx\/modules\/*.conf;\n\nevents {\n    worker_connections 1024;\n}\n\nhttp {\n    log_format  main  '$remote_addr - $remote_user &#091;$time_local] \"$request\" '\n                      '$status $body_bytes_sent \"$http_referer\" '\n                      '\"$http_user_agent\" \"$http_x_forwarded_for\"';\n\n    access_log  \/var\/log\/nginx\/access.log  main;\n\n    sendfile            on;\n    tcp_nopush          on;\n    tcp_nodelay         on;\n    keepalive_timeout   65;\n    types_hash_max_size 2048;\n\n    include             \/etc\/nginx\/mime.types;\n    default_type        application\/octet-stream;\n\n    # Load modular configuration files from the \/etc\/nginx\/conf.d directory.\n    # See http:\/\/nginx.org\/en\/docs\/ngx_core_module.html#include\n    # for more information.\n    include \/etc\/nginx\/conf.d\/*.conf;\n\n    server {\n\tlisten       80 default_server;\n        listen       &#091;::]:80 default_server;\n        server_name  _;\n        root         \/usr\/share\/nginx\/html\/;\n\n        # Load configuration files for the default server block.\n        include \/etc\/nginx\/default.d\/*.conf;\n\n        location \/ {\n                allow all;\n                sendfile on;\n                sendfile_max_chunk 1m;\n                autoindex on;\n                autoindex_exact_size off;\n                autoindex_format html;\n                autoindex_localtime on;\n        }\n          error_page 404 \/404.html;\n            location = \/40x.html {\n        }\n\n          error_page 500 502 503 504 \/50x.html;\n            location = \/50x.html {\n        }\n    }\n\n#    server {\n#        listen       80 default_server;\n#        listen       &#091;::]:80 default_server;\n#        server_name  _;\n#        root         \/usr\/share\/nginx\/html;\n#\n#        # Load configuration files for the default server block.\n#        include \/etc\/nginx\/default.d\/*.conf;\n#\n#        location \/ {\n#        }\n#\n#        error_page 404 \/404.html;\n#            location = \/40x.html {\n#        }\n#\n#        error_page 500 502 503 504 \/50x.html;\n#            location = \/50x.html {\n#        }\n#    }\n#\n# Settings for a TLS enabled server.\n#\n#    server {\n#        listen       443 ssl http2 default_server;\n#        listen       &#091;::]:443 ssl http2 default_server;\n#        server_name  _;\n#        root         \/usr\/share\/nginx\/html;\n#\n#        ssl_certificate \"\/etc\/pki\/nginx\/server.crt\";\n#        ssl_certificate_key \"\/etc\/pki\/nginx\/private\/server.key\";\n#        ssl_session_cache shared:SSL:1m;\n#        ssl_session_timeout  10m;\n#        ssl_ciphers PROFILE=SYSTEM;\n#        ssl_prefer_server_ciphers on;\n#\n#        # Load configuration files for the default server block.\n#        include \/etc\/nginx\/default.d\/*.conf;\n#\n#        location \/ {\n#        }\n#\n#        error_page 404 \/404.html;\n#            location = \/40x.html {\n#        }\n#\n#        error_page 500 502 503 504 \/50x.html;\n#            location = \/50x.html {\n#        }\n#    }\n\n}\n<\/code><\/pre>\n\n\n\n<p>If SE Linux is set to enforcing we need to do some adaptations.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;root@rockylinux-8-repo \/]# getenforce\nEnforcing\n&#091;root@rockylinux-8-repo \/]# setfacl -R -m u:nginx:rwx \/usr\/share\/nginx\/html\/8\/\n&#091;root@rockylinux-8-repo \/]# chcon -Rt httpd_sys_content_t \/usr\/share\/nginx\/html\/8\/<\/code><\/pre>\n\n\n\n<p>The firewall need to be adapted for http and https if https is required, and restarting nginx.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#091;root@rockylinux-8-repo \/]# firewall-cmd --zone=public --permanent --add-service=http\nsuccess\n&#091;root@rockylinux-8-repo \/]# firewall-cmd --zone=public --permanent --add-service=https\nsuccess\n&#091;root@rockylinux-8-repo \/]# firewall-cmd --reload\nsuccess\n&#091;root@rockylinux-8-repo \/]# systemctl restart nginx<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"975\" height=\"309\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/07\/Bildschirmfoto-vom-2022-07-18-21-16-48.png\" alt=\"\" class=\"wp-image-18028\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/07\/Bildschirmfoto-vom-2022-07-18-21-16-48.png 975w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/07\/Bildschirmfoto-vom-2022-07-18-21-16-48-300x95.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/07\/Bildschirmfoto-vom-2022-07-18-21-16-48-768x243.png 768w\" sizes=\"auto, (max-width: 975px) 100vw, 975px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"515\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/07\/Bildschirmfoto-vom-2022-07-18-21-18-10-1024x515.png\" alt=\"\" class=\"wp-image-18029\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/07\/Bildschirmfoto-vom-2022-07-18-21-18-10-1024x515.png 1024w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/07\/Bildschirmfoto-vom-2022-07-18-21-18-10-300x151.png 300w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/07\/Bildschirmfoto-vom-2022-07-18-21-18-10-768x387.png 768w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/07\/Bildschirmfoto-vom-2022-07-18-21-18-10.png 1214w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The repository server is up and working.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This Blog is about a setup of a Rocky Linux Repository server. Many people whould complain that it will be the same than RHEL 8, but is is not, there are some differencies between AlmaLinux, Rocky Linux, Oracle Linux and RHEL 8. Base is a Rocky Linux Linux 8.6 minimal installation. The installation of EPEL [&hellip;]<\/p>\n","protected":false},"author":28,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[42],"tags":[2614,2616,2615],"type_dbi":[],"class_list":["post-18022","post","type-post","status-publish","format-standard","hentry","category-operating-systems","tag-red-hat-linux-8","tag-repository-server","tag-rocky-linux-8"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Setup a Rocky Linux Repository server - dbi Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Setup a Rocky Linux Repository server\" \/>\n<meta property=\"og:description\" content=\"This Blog is about a setup of a Rocky Linux Repository server. Many people whould complain that it will be the same than RHEL 8, but is is not, there are some differencies between AlmaLinux, Rocky Linux, Oracle Linux and RHEL 8. Base is a Rocky Linux Linux 8.6 minimal installation. The installation of EPEL [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-18T19:22:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-08T14:14:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/07\/Bildschirmfoto-vom-2022-07-18-21-16-48.png\" \/>\n\t<meta property=\"og:image:width\" content=\"975\" \/>\n\t<meta property=\"og:image:height\" content=\"309\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Open source Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Open source Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/\"},\"author\":{\"name\":\"Open source Team\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/59554f0d99383431eb6ed427e338952b\"},\"headline\":\"Setup a Rocky Linux Repository server\",\"datePublished\":\"2022-07-18T19:22:14+00:00\",\"dateModified\":\"2024-11-08T14:14:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/\"},\"wordCount\":238,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/07\/Bildschirmfoto-vom-2022-07-18-21-16-48.png\",\"keywords\":[\"Red Hat Linux 8\",\"Repository Server\",\"Rocky Linux 8\"],\"articleSection\":[\"Operating systems\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/\",\"name\":\"Setup a Rocky Linux Repository server - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/07\/Bildschirmfoto-vom-2022-07-18-21-16-48.png\",\"datePublished\":\"2022-07-18T19:22:14+00:00\",\"dateModified\":\"2024-11-08T14:14:13+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/59554f0d99383431eb6ed427e338952b\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/#primaryimage\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/07\/Bildschirmfoto-vom-2022-07-18-21-16-48.png\",\"contentUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/07\/Bildschirmfoto-vom-2022-07-18-21-16-48.png\",\"width\":975,\"height\":309},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Setup a Rocky Linux Repository server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/59554f0d99383431eb6ed427e338952b\",\"name\":\"Open source Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/eb4fb12e386e8c41fdef0733e8114594cf2653e4f55e9fa2161442b8eaf3f657?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/eb4fb12e386e8c41fdef0733e8114594cf2653e4f55e9fa2161442b8eaf3f657?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/eb4fb12e386e8c41fdef0733e8114594cf2653e4f55e9fa2161442b8eaf3f657?s=96&d=mm&r=g\",\"caption\":\"Open source Team\"},\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/open-source-team\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Setup a Rocky Linux Repository server - dbi Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/","og_locale":"en_US","og_type":"article","og_title":"Setup a Rocky Linux Repository server","og_description":"This Blog is about a setup of a Rocky Linux Repository server. Many people whould complain that it will be the same than RHEL 8, but is is not, there are some differencies between AlmaLinux, Rocky Linux, Oracle Linux and RHEL 8. Base is a Rocky Linux Linux 8.6 minimal installation. The installation of EPEL [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/","og_site_name":"dbi Blog","article_published_time":"2022-07-18T19:22:14+00:00","article_modified_time":"2024-11-08T14:14:13+00:00","og_image":[{"width":975,"height":309,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/07\/Bildschirmfoto-vom-2022-07-18-21-16-48.png","type":"image\/png"}],"author":"Open source Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Open source Team","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/"},"author":{"name":"Open source Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/59554f0d99383431eb6ed427e338952b"},"headline":"Setup a Rocky Linux Repository server","datePublished":"2022-07-18T19:22:14+00:00","dateModified":"2024-11-08T14:14:13+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/"},"wordCount":238,"commentCount":0,"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/07\/Bildschirmfoto-vom-2022-07-18-21-16-48.png","keywords":["Red Hat Linux 8","Repository Server","Rocky Linux 8"],"articleSection":["Operating systems"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/","url":"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/","name":"Setup a Rocky Linux Repository server - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/07\/Bildschirmfoto-vom-2022-07-18-21-16-48.png","datePublished":"2022-07-18T19:22:14+00:00","dateModified":"2024-11-08T14:14:13+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/59554f0d99383431eb6ed427e338952b"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/07\/Bildschirmfoto-vom-2022-07-18-21-16-48.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/07\/Bildschirmfoto-vom-2022-07-18-21-16-48.png","width":975,"height":309},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/setup-a-rocky-linux-repository-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Setup a Rocky Linux Repository server"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/59554f0d99383431eb6ed427e338952b","name":"Open source Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/eb4fb12e386e8c41fdef0733e8114594cf2653e4f55e9fa2161442b8eaf3f657?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/eb4fb12e386e8c41fdef0733e8114594cf2653e4f55e9fa2161442b8eaf3f657?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/eb4fb12e386e8c41fdef0733e8114594cf2653e4f55e9fa2161442b8eaf3f657?s=96&d=mm&r=g","caption":"Open source Team"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/open-source-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/18022","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/28"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=18022"}],"version-history":[{"count":8,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/18022\/revisions"}],"predecessor-version":[{"id":18105,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/18022\/revisions\/18105"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=18022"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=18022"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=18022"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=18022"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}