Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
vl-repos
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vaclab
vl-repos
Commits
6464bedd
Commit
6464bedd
authored
5 years ago
by
Rolf Niepraschk
Browse files
Options
Downloads
Patches
Plain Diff
Hinweise zum Ablauf
parent
943611bf
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+37
-1
37 additions, 1 deletion
README.md
with
37 additions
and
1 deletion
README.md
+
37
−
1
View file @
6464bedd
# vl-repos
Erzeugen einer Dateistruktur, die als Repositorien für openSUSE- und Ubuntu-Pakete dient.
\ No newline at end of file
Erzeugen einer Dateistruktur, die als Repositorien für openSUSE- und Ubuntu-Pakete dient.
## Notwendige Software
```
sudo zypper install createrepo reprepro
```
*
**createrepo:**
Erzeugung von rpm-Repositorien
*
**reprepro:**
Erzeugung von Ubuntu/Debian-Repositorien
## Ablauf
*
Kopieren von rpm-Archiven z.B. nach
`repos/openSUSE_Leap_15.1/x86_64/`
*
Kopieren von deb-Archiven z.B. nach
`repos/Ubuntu_18.04/`
*
Aufruf: make
Als Folge werden die notwendigen Strukturen unterhalb von
`repos/`
erzeugt und
sämtliche Dateien nach
`a73435:/srv/www/vhosts/sys/`
kopiert, sodass der
dortige Web-Server sie ausliefern kann. Es empfiehlt sich, passwortlose
Authentifizierung bezüglich
`root`
auf
`a73435`
zu vereinbaren.
## openSUSE-Repositorium auf Client-Rechnern bekannt machen
Beispiel:
```
zsudo ypper addrepo http://a73435.berlin.ptb.de:84/repos/openSUSE_Leap_15.1/vaclab.repo
## Ubuntu-Repositorium auf Client-Rechnern bekannt machen
Beispiel:
```
sudo echo 'deb [arch=amd64] http://a73435.berlin.ptb.de:84/repos/Ubuntu_18.04/ bionic main' >
\
/etc/apt/sources.list.d/vaclab.list
curl -L http://a73435.berlin.ptb.de:84/repos/Ubuntu_18.04/KEY.gpg | sudo apt-key add -
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment