SlideShare a Scribd company logo
repositor.io
Simple Repository Management
Jürgen Brunk
München, 03/2015
repositor.io 2
1. Was ist repositor.io ?
2. Praxis
3. Installation
4. Configuration
5. Command Line Options
6. CentOS Repository
7. Debian Repository
8. Ubuntu Repository
9. RHEL Repository
10.Custom Repository
11.Docker private Registry
12.Links
Agenda
Was ist
repositor.io ?
repositor.io 4
Was ist repositor.io ?
schlankes Management Tool zum Aufbau
eines lokalen Linux Repository Mirrors
spiegelt Online Repos um nicht jedes Mal ein
Installations-Paket downloaden zu müssen
Unterstützt YUM und APT Repos
(RHEL, Fedora, CentOS, Debian, Ubuntu)
Bereitstellen von Errata Informationen
repositor.io 5
Was ist repositor.io ?
Erstellen von eigenen Custom Repositories
Betrieb einer privaten Docker Registry
Einfache plain ASCII Config Datei
(/etc/rex/repositorio.conf)
Built-in Webserver (empfohlen: externer
Webserver für Linux Repositories)
Von jan.gehring@inovex.de in Perl entwickelt
repositor.io 6
What you see is what you get
Fragen soweit ?
Praxis
Installation
repositor.io 10
Installation
# wget -O - http://get.repositor.io/ | bash *)
Der Installer Script wurde getestet unter:
● CentOS 6 + 7
● Debian 7
● Ubuntu 12.04 + 14.04
*)
dient auch als Update Befehl
Configuration
repositor.io 12
Configuration
/etc/rex/repositorio.conf:
RepositoryRoot = /var/www/repo/
<Log4perl>
config = /etc/rex/log4perl.conf ← Loglevel
</Log4perl>
<Repository repo-name>
url = http://remote-mirror.org/debian/
local = repo-name/debian
type = Apt|Yum
arch = amd64[,...]
dist = wheezy
components = main[,...]
</Repository>
Command Line
Options
repositor.io 14
Command Line Options
# repositorio
------------------------------------------------------------------
--mirror mirror a configured repository (needs --repo)
--tag=tagname tag a repository (needs --repo)
--repo=reponame the name of the repository to use
--update-metadata update the metadata of a repository
--update-files download files even if they are already...
--init initialize an empty repository
--add-file=file add a file to a repository (needs --repo)
--remove-file=file remove a file from a repository (needs --repo)
--list list known repositories
--server start a server for file delivery
--update-errata updates the errata database for a repo...
--errata query errata for a package (needs --repo,
--package, --version, --arch)
--package=pkg for which package the errata should be queries
--version=ver for which version of a package the errata...
--arch=arch for which architecture of a package the...
--help display this help message
CentOS
Repository
repositor.io 16
Centos Repository
/etc/rex/repositorio.conf:
<Repository centos-6-x86-64>
url =
http://ftp.hosteurope.de/mirror/centos.org/6/
os/x86_64/
local = centos-6-x86-
64/CentOS/6/os/x86_64/
type = Yum
images = true
</Repository>
# repositorio --repo centos-6-x86-64 –mirror
URL → http://myserver/repo/head/centos-6-x86-64/...
Debian
Repository
repositor.io 18
Debian Repository
/etc/rex/repositorio.conf:
<Repository debian-wheezy>
url =
http://ftp2.de.debian.org/debian/
local = debian-wheezy/debian
type = Apt
arch = amd64,i386,all
dist = wheezy
components = main,non-free,contrib
images = true
</Repository>
# repositorio --repo debian-wheezy --mirror
Ubuntu
Repository
repositor.io 20
Ubuntu Repository
/etc/rex/repositorio.conf:
<Repository ubuntu-precise-amd64-main>
url =
http://de.archive.ubuntu.com/ubuntu/
local = ubuntu-precise-amd64-
main/ubuntu
type = Apt
arch = amd64
dist = precise
component = main
</Repository>
# repositorio --repo ubuntu-precise-amd64-main --mirror
RHEL
Repository
repositor.io 22
RHEL Repository
/etc/rex/repositorio.conf:
<Repository rhel-6-x86-64>
url =
https://cdn.redhat.com/content/dist/rhel/server/6/6Ser
ver/x86_64/os/
local = rhel-6-x86-64/rhel/server/6Server/x86_64/os
type = Yum
key =
/etc/rex/ssl/db15c9814abada2a014ab335f6fe3f8c.pem
cert =
/etc/rex/ssl/db15c9814abada2a014ab335f6fe3f8c.pem
ca = /etc/rhsm/ca/redhat-uep.pem
</Repository>
Must register to RHN before, see http://repositor.io/#mirror_redhat_enterprise
# repositorio --repo rhel-6-x86-64 --mirror
Custom
Repository
repositor.io 24
Custom Repository
/etc/rex/repositorio.conf:
<Repository custom-repo>
local = custom-repo/debian
type = Apt
arch = amd64
dist = wheezy
component = custom
</Repository>
# repositorio --repo custom-repo --init
# repositorio --repo custom-repo --add-file foo-1.0.deb
Docker private
Registry
repositor.io 26
Docker private Registry
Setup
/etc/rex/repositorio.conf:
<Repository docker>
local = docker
type = Docker
</Repository>
# repositorio --repo docker --init
# repositorio –repo docker --server prefork
repositor.io 27
Docker private Registry
Docker Sample Container
# docker run -d -p 3000:3000 
--name repositorio-docker 
jbrunk/repositorio-docker
https://registry.hub.docker.com/u/jbrunk/repositorio-docker/
repositor.io 28
Docker private Registry
Usage
# docker login -e some@mail.tld -p password 
-u user myserver:3000
# docker pull debian
# docker tag debian myserver:3000/debian
# docker push myserver:3000/debian
# docker pull myserver:3000/debian
Noch Fragen ?
repositor.io 30
Links
Links:
repositor.io Website:
http://repositor.io
Github:
https://github.com/RexOps/repositorio
Docker Test Container:
https://registry.hub.docker.com/u/jbrunk/repositorio-docker/
31
Vielen Dank !
Kontakt
Jürgen Brunk
Systems Engineer
inovex GmbH
Office München
Valentin-Linhof Str. 2
D-81829 München
Mobil: 0173 3181 003
Mail: juergen.brunk@inovex.de

More Related Content

What's hot (20)

PDF
Docker e postgresql
Fernando Ike
 
TXT
Network
puneethpun7
 
PDF
Open-E DSS V6 MPIO with ESXi 4.x
open-e
 
PDF
How to install OpenStack MITAKA --allinone - cheat sheet -
Naoto MATSUMOTO
 
PDF
Aloofix Numbers
Kevin Johnson
 
PDF
Madagascar2011 - 04 - Présentation configuration pratical work
otb
 
PDF
ClickHouse column-oriented database Install memo
Naoto MATSUMOTO
 
PDF
Web Server Free Bsd
Kwanchai Charoennet
 
PDF
MariaDB ColumnStore column-oriented database Install memo
Naoto MATSUMOTO
 
PDF
MQTTS mosquitto - cheat sheet -
Naoto MATSUMOTO
 
PDF
How to twist a IPv6 over Bluetooth (6lowpan)
Naoto MATSUMOTO
 
PDF
SwiftyGPIO
CocoaHeads France
 
PDF
Aloofix
Kevin Johnson
 
PDF
懷舊半殘的Win98體驗
Yuan Chiu
 
PDF
Booting directly opensuse iso file by grub2 @ openSUSE Asia Summit2015
Kentaro Hatori
 
PPTX
Confraria Security & IT - Lisbon Set 29, 2011
ricardomcm
 
KEY
zhng your vim
Calvin Cheng
 
PDF
WHEN FILE ENCRYPTION HELPS PASSWORD CRACKING
Positive Hack Days
 
PDF
FD.io VPP 18.07 with Ubuntu 16.04.5 LTS (not support Ubuntu 1804)
Naoto MATSUMOTO
 
PDF
Authen Free Bsd6 2
Kwanchai Charoennet
 
Docker e postgresql
Fernando Ike
 
Network
puneethpun7
 
Open-E DSS V6 MPIO with ESXi 4.x
open-e
 
How to install OpenStack MITAKA --allinone - cheat sheet -
Naoto MATSUMOTO
 
Aloofix Numbers
Kevin Johnson
 
Madagascar2011 - 04 - Présentation configuration pratical work
otb
 
ClickHouse column-oriented database Install memo
Naoto MATSUMOTO
 
Web Server Free Bsd
Kwanchai Charoennet
 
MariaDB ColumnStore column-oriented database Install memo
Naoto MATSUMOTO
 
MQTTS mosquitto - cheat sheet -
Naoto MATSUMOTO
 
How to twist a IPv6 over Bluetooth (6lowpan)
Naoto MATSUMOTO
 
SwiftyGPIO
CocoaHeads France
 
Aloofix
Kevin Johnson
 
懷舊半殘的Win98體驗
Yuan Chiu
 
Booting directly opensuse iso file by grub2 @ openSUSE Asia Summit2015
Kentaro Hatori
 
Confraria Security & IT - Lisbon Set 29, 2011
ricardomcm
 
zhng your vim
Calvin Cheng
 
WHEN FILE ENCRYPTION HELPS PASSWORD CRACKING
Positive Hack Days
 
FD.io VPP 18.07 with Ubuntu 16.04.5 LTS (not support Ubuntu 1804)
Naoto MATSUMOTO
 
Authen Free Bsd6 2
Kwanchai Charoennet
 

Similar to repositor.io - Simple Repository Management (17)

PPTX
Linux System Administration
Jayant Dalvi
 
PDF
12 yum
Aprende Viendo
 
PDF
package mangement
ARYA TM
 
KEY
Deploying and maintaining your software with RPM/APT
Joshua Thijssen
 
PPTX
6 - Package Management in Red Hat
Shafaan Khaliq Bhatti
 
PPTX
RPM (LINUX)
Raghu nath
 
PDF
A Journey to Boot Linux on Raspberry Pi
Jian-Hong Pan
 
PPTX
(Practical) linux 104
Arie Bregman
 
PPT
101 2.5 use rpm and yum package management
Acácio Oliveira
 
PPT
101 2.5 use rpm and yum package management
Acácio Oliveira
 
PPT
101 2.5 use rpm and yum package management
Acácio Oliveira
 
PPTX
Software management in linux
nejadmand
 
PDF
linux installation.pdf
MuhammadShoaibHussai2
 
KEY
Pinto+Stratopan+Love
Jeffrey Ryan Thalhammer
 
PPT
2.5 use rpm and yum package management
Acácio Oliveira
 
PPTX
RPM (Red Hat Package Manager)
skalaivanibutp
 
Linux System Administration
Jayant Dalvi
 
package mangement
ARYA TM
 
Deploying and maintaining your software with RPM/APT
Joshua Thijssen
 
6 - Package Management in Red Hat
Shafaan Khaliq Bhatti
 
RPM (LINUX)
Raghu nath
 
A Journey to Boot Linux on Raspberry Pi
Jian-Hong Pan
 
(Practical) linux 104
Arie Bregman
 
101 2.5 use rpm and yum package management
Acácio Oliveira
 
101 2.5 use rpm and yum package management
Acácio Oliveira
 
101 2.5 use rpm and yum package management
Acácio Oliveira
 
Software management in linux
nejadmand
 
linux installation.pdf
MuhammadShoaibHussai2
 
Pinto+Stratopan+Love
Jeffrey Ryan Thalhammer
 
2.5 use rpm and yum package management
Acácio Oliveira
 
RPM (Red Hat Package Manager)
skalaivanibutp
 
Ad

More from inovex GmbH (20)

PDF
lldb – Debugger auf Abwegen
inovex GmbH
 
PDF
Are you sure about that?! Uncertainty Quantification in AI
inovex GmbH
 
PDF
Why natural language is next step in the AI evolution
inovex GmbH
 
PDF
WWDC 2019 Recap
inovex GmbH
 
PDF
Network Policies
inovex GmbH
 
PDF
Interpretable Machine Learning
inovex GmbH
 
PDF
Jenkins X – CI/CD in wolkigen Umgebungen
inovex GmbH
 
PDF
AI auf Edge-Geraeten
inovex GmbH
 
PDF
Prometheus on Kubernetes
inovex GmbH
 
PDF
Deep Learning for Recommender Systems
inovex GmbH
 
PDF
Azure IoT Edge
inovex GmbH
 
PDF
Representation Learning von Zeitreihen
inovex GmbH
 
PDF
Talk to me – Chatbots und digitale Assistenten
inovex GmbH
 
PDF
Künstlich intelligent?
inovex GmbH
 
PDF
Dev + Ops = Go
inovex GmbH
 
PDF
Das Android Open Source Project
inovex GmbH
 
PDF
Machine Learning Interpretability
inovex GmbH
 
PDF
Performance evaluation of GANs in a semisupervised OCR use case
inovex GmbH
 
PDF
People & Products – Lessons learned from the daily IT madness
inovex GmbH
 
PDF
Infrastructure as (real) Code – Manage your K8s resources with Pulumi
inovex GmbH
 
lldb – Debugger auf Abwegen
inovex GmbH
 
Are you sure about that?! Uncertainty Quantification in AI
inovex GmbH
 
Why natural language is next step in the AI evolution
inovex GmbH
 
WWDC 2019 Recap
inovex GmbH
 
Network Policies
inovex GmbH
 
Interpretable Machine Learning
inovex GmbH
 
Jenkins X – CI/CD in wolkigen Umgebungen
inovex GmbH
 
AI auf Edge-Geraeten
inovex GmbH
 
Prometheus on Kubernetes
inovex GmbH
 
Deep Learning for Recommender Systems
inovex GmbH
 
Azure IoT Edge
inovex GmbH
 
Representation Learning von Zeitreihen
inovex GmbH
 
Talk to me – Chatbots und digitale Assistenten
inovex GmbH
 
Künstlich intelligent?
inovex GmbH
 
Dev + Ops = Go
inovex GmbH
 
Das Android Open Source Project
inovex GmbH
 
Machine Learning Interpretability
inovex GmbH
 
Performance evaluation of GANs in a semisupervised OCR use case
inovex GmbH
 
People & Products – Lessons learned from the daily IT madness
inovex GmbH
 
Infrastructure as (real) Code – Manage your K8s resources with Pulumi
inovex GmbH
 
Ad

Recently uploaded (20)

PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
introduction to computer hardware and sofeware
chauhanshraddha2007
 
PDF
Market Insight : ETH Dominance Returns
CIFDAQ
 
PPTX
Farrell_Programming Logic and Design slides_10e_ch02_PowerPoint.pptx
bashnahara11
 
PPTX
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PDF
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
PDF
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
PPTX
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
The Future of Artificial Intelligence (AI)
Mukul
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
introduction to computer hardware and sofeware
chauhanshraddha2007
 
Market Insight : ETH Dominance Returns
CIFDAQ
 
Farrell_Programming Logic and Design slides_10e_ch02_PowerPoint.pptx
bashnahara11
 
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 

repositor.io - Simple Repository Management