Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
windows:chocolatey:setup-self-hosted-choco-repo [2025/02/11 07:38] Zyzonixwindows:chocolatey:setup-self-hosted-choco-repo [2025/02/11 08:10] (current) – old revision restored (2025/02/11 08:09) Zyzonix
Line 51: Line 51:
 To make the proxy-repository and all local hosted packages available through one URL, add a ''nuget-group'' on the repository tab. Then add both ''nuget-proxy'' and ''nuget-hosted'' to the group. To make the proxy-repository and all local hosted packages available through one URL, add a ''nuget-group'' on the repository tab. Then add both ''nuget-proxy'' and ''nuget-hosted'' to the group.
  
-=== APT Repository ===+=== APT Repository (hosted) === 
 +  - Firstly create a GPG-Key for signing the release file:  
 +  - Therefore install ''gpg'' and generate a key with <code bash>gpg --gen-key</code>. Then export the key with to paste it under ''APT Settings'': <code bash>gpg --export-secret-key --armor <KEY-ID> > Key.gpg</code>    
 +  - If your key is password-secured enter the passphrase in the field below. 
 +  - Then add the name above e.g. ''apt'', and set the distribution e.g. to ''stable'' 
 +  - It's then recommended to upload the public-release-key to a RAW storage to make it easy to download. Therefore export the public key with: <code bash>gpg --armor --export <KEY-ID> > Key.gpg</code> 
 +  - Finally add the repo to APT: <code bash>echo "deb [signed-by=/usr/share/keyrings/your-repo.gpg] https://<your-repo>/repository/apt/ stable main" | sudo tee /etc/apt/sources.list.d/<your-repo>.list</code> 
 +  - And add the key: <code bash>curl -sS https://<your-repo>/repository/storage/ReleaseKey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/<your-repo>.gpg > /dev/null</code> 
 +  - Finished!
  
 ----- -----
  • windows/chocolatey/setup-self-hosted-choco-repo.1739255913.txt.gz
  • Last modified: 2025/02/11 07:38
  • by Zyzonix