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 [2024/05/12 13:37] Zyzonixwindows:chocolatey:setup-self-hosted-choco-repo [2024/09/14 22:07] (current) Zyzonix
Line 2: Line 2:
  
 To host a local repository for [[https://chocolatey.org|Chocolatey]] either as server for self-hosted packages or as proxy server for any NuGet server/the official chocolatey repository server we use Solartype Nexus3: [[https://www.sonatype.com/products/sonatype-nexus-repository|sonatype.com - Nexus3]] To host a local repository for [[https://chocolatey.org|Chocolatey]] either as server for self-hosted packages or as proxy server for any NuGet server/the official chocolatey repository server we use Solartype Nexus3: [[https://www.sonatype.com/products/sonatype-nexus-repository|sonatype.com - Nexus3]]
 +
 +<WRAP center todo>
 +**Currently not working because of an missing Key-File from Sonatype, this guide is partially outdated. Newer versions require Java13 for running.** The only way to install ''sonatype-nexus-repository-manager'' is by downloading the .deb file manually from [[https://repo.sonatype.com/|repo.sonatype.com]].
 +</WRAP>
  
 <callout icon="true" type="warning">Therefore that ''Nexus3'' required ''Java **8**'' it's recommended to use a Ubuntu Server (in this case ''24'') because Ubuntu still serves Java 8 from the official repository which Debian doesn't.</callout> <callout icon="true" type="warning">Therefore that ''Nexus3'' required ''Java **8**'' it's recommended to use a Ubuntu Server (in this case ''24'') because Ubuntu still serves Java 8 from the official repository which Debian doesn't.</callout>
Line 58: Line 62:
 ==== Setup Repository ==== ==== Setup Repository ====
  
 +=== NuGet Proxy ===
 +To add a new NuGet (Chocolatey) repository proxy add a new ''nuget (proxy)''. To proxy the official Chocolatey repository add the following URL as URL: 
 +<code bash>https://community.chocolatey.org/api/v2/</code>
 +Finally save the proxy repository.
 +
 +=== NuGet Hosted ===
 +If the repository should also host packages locally add a new ''nuget (hosted)''
 +<panel><WRAP center todo>This section will be extended later.</WRAP></panel>
  
 +=== NuGet 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.
  
 +-----
 //Sourced from:// //Sourced from://
   * //[[https://github.com/sonatype-nexus-community/nexus-repository-installer|github.com/sonatype-nexus-community]]//   * //[[https://github.com/sonatype-nexus-community/nexus-repository-installer|github.com/sonatype-nexus-community]]//
  • windows/chocolatey/setup-self-hosted-choco-repo.1715513841.txt.gz
  • Last modified: 2024/05/12 13:37
  • by Zyzonix