Project

General

Profile

How to install and configure repository iabsis repositories » History » Version 1

Olivier Bitsch, 04/30/2020 10:37 AM

1 1 Olivier Bitsch
# How to install and configure repository iabsis repositories
2
3
We built an automated system in order to automatically create packages and publish them into a private repository.
4
5
## Repository configuration for Ubuntu/Debian
6
7
* Install https support for apt with `apt-get install apt-transport-https`
8
* Configure the repository in the sources.list file `deb [trusted=yes] https://projects.iabsis.com/repository/<name-of-projet>/debian <debian_version> main`
9
* Optionally configure the line source : `deb-src [trusted=yes] https://projects.iabsis.com/repository/<name-of-projet>/debian <debian_version> main`
10
11
> debian_version is the version configured into `debian/changelog` file.
12
> name-of-project is simply the system project name.
13
14
* Because all repositories requires a password, create a file called `/etc/apt/auth.conf` and paste the content
15
16
```
17
machine projects.iabsis.com
18
login <your redmine username>
19
password <your redmine password>
20
```
21
22
Limit the access to the file with:
23
24
    chmod 600 /etc/apt/auth.conf
25
26
27
## Repository configuration for CentOS/Redhat
28
29
* Create a new file under the folder /etc/yum/repos.d/iabsis.repo
30
* Paste the following content.
31
32
```
33
[iabsis-repo]
34
enabled=1
35
priority=1
36
name=Iabsis Projects Repository
37
baseurl=https://projects.iabsis.com/repository/<name-of-projet>/redhat
38
gpgcheck=0
39
```