update the referenced urls
This commit is contained in:
parent
3adf24fe46
commit
88acd8c3c0
|
|
@ -196,6 +196,6 @@ For more information see the [available Command Line Tools](https://h2database.c
|
|||
|
||||
## Reference
|
||||
|
||||
* [How to reset a forgotten admin password in Nexus 3.x](https://support.sonatype.com/hc/en-us/articles/213467158-How-to-reset-a-forgotten-admin-password-in-Nexus-3-x)
|
||||
* [Backup and Restore](https://help.sonatype.com/repomanager3/backup-and-restore)
|
||||
* [Upgrading](https://help.sonatype.com/repomanager3/upgrading)
|
||||
* [How to reset a forgotten admin password in Nexus 3.x](https://support.sonatype.com/hc/en-us/articles/213467158-How-to-reset-a-forgotten-admin-password-in-Sonatype-Nexus-Repository-3)
|
||||
* [Backup and Restore](https://help.sonatype.com/en/backup-and-restore.html)
|
||||
* [Upgrading](https://help.sonatype.com/en/upgrade-nexus-repository.html)
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ popd
|
|||
|
||||
|
||||
# install and configure nginx to proxy to nexus.
|
||||
# see https://help.sonatype.com/repomanager3/planning-your-implementation/run-behind-a-reverse-proxy
|
||||
# see https://help.sonatype.com/en/run-behind-a-reverse-proxy.html
|
||||
apt-get install -y --no-install-recommends nginx
|
||||
wget -qO /etc/ssl/certs/dhparam.pem https://ssl-config.mozilla.org/ffdhe2048.txt
|
||||
sed -i -E 's/^(\s*)((ssl_protocols|ssl_ciphers|ssl_prefer_server_ciphers)\s)/\1# \2/' /etc/nginx/nginx.conf
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ config_authentication='nexus'
|
|||
|
||||
|
||||
# install java.
|
||||
# see https://help.sonatype.com/repomanager3/product-information/system-requirements#SystemRequirements-Java
|
||||
# see https://help.sonatype.com/en/sonatype-nexus-repository-system-requirements.html#SystemRequirements-Java
|
||||
apt-get install -y openjdk-17-jre-headless
|
||||
apt-get install -y gnupg
|
||||
|
||||
|
|
@ -32,9 +32,9 @@ install -d -o root -g nexus -m 750 /opt/nexus
|
|||
# download and install nexus.
|
||||
pushd /opt/nexus
|
||||
# see https://www.sonatype.com/download-oss-sonatype
|
||||
# see https://help.sonatype.com/repomanager3/product-information/download/download-archives---repository-manager-3
|
||||
# see https://help.sonatype.com/repomanager3/product-information/release-notes
|
||||
# see https://help.sonatype.com/repomanager3
|
||||
# see https://help.sonatype.com/en/download-archives---repository-manager-3.html
|
||||
# see https://help.sonatype.com/en/release-notes.html
|
||||
# see https://help.sonatype.com/en/sonatype-nexus-repository.html
|
||||
nexus_version=3.83.2-01
|
||||
nexus_home=/opt/nexus/nexus-$nexus_version
|
||||
nexus_tarball=nexus-$nexus_version-linux-x86_64.tar.gz
|
||||
|
|
@ -115,7 +115,7 @@ wget -qO- https://$nexus_domain/service/extdirect/poll/rapture_State_get | jq .d
|
|||
|
||||
# generate a gpg key for the apt-hosted repository.
|
||||
# see https://www.gnupg.org/documentation//manuals/gnupg/Unattended-GPG-key-generation.html
|
||||
# see https://help.sonatype.com/repomanager3/formats/apt-repositories
|
||||
# see https://help.sonatype.com/en/apt-repositories.html
|
||||
# see https://wiki.archlinux.org/index.php/GnuPG#Unattended_passphrase
|
||||
export GNUPGHOME="$(mktemp -d)"
|
||||
cat >"$GNUPGHOME/apt-hosted-gpg-batch" <<EOF
|
||||
|
|
@ -206,7 +206,7 @@ EOF
|
|||
|
||||
|
||||
# create the apt-hosted apt repository.
|
||||
# see https://help.sonatype.com/repomanager3/formats/apt-repositories
|
||||
# see https://help.sonatype.com/en/apt-repositories.html
|
||||
http \
|
||||
--check-status \
|
||||
--auth "$api_auth" \
|
||||
|
|
@ -236,7 +236,7 @@ EOF
|
|||
|
||||
|
||||
# create the npm-hosted npm repository.
|
||||
# see https://help.sonatype.com/display/NXRM3/Node+Packaged+Modules+and+npm+Registries
|
||||
# see https://help.sonatype.com/en/npm-registry.html
|
||||
http \
|
||||
--check-status \
|
||||
--auth "$api_auth" \
|
||||
|
|
@ -259,7 +259,7 @@ EOF
|
|||
|
||||
|
||||
# create the npmjs.org-proxy npm proxy repository.
|
||||
# see https://help.sonatype.com/display/NXRM3/Node+Packaged+Modules+and+npm+Registries
|
||||
# see https://help.sonatype.com/en/npm-registry.html
|
||||
http \
|
||||
--check-status \
|
||||
--auth "$api_auth" \
|
||||
|
|
@ -292,7 +292,7 @@ EOF
|
|||
|
||||
|
||||
# create the npm-group npm group repository.
|
||||
# see https://help.sonatype.com/display/NXRM3/Node+Packaged+Modules+and+npm+Registries
|
||||
# see https://help.sonatype.com/en/npm-registry.html
|
||||
http \
|
||||
--check-status \
|
||||
--auth "$api_auth" \
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ debuild -i -us -uc -b
|
|||
popd
|
||||
|
||||
# upload.
|
||||
# see https://help.sonatype.com/repomanager3/formats/apt-repositories
|
||||
# see https://help.sonatype.com/en/apt-repositories.html
|
||||
apt-get install -y curl
|
||||
curl \
|
||||
--fail \
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ mkdir -p tmp/use-npm-repository && cd tmp/use-npm-repository
|
|||
|
||||
#
|
||||
# test the npm repositories.
|
||||
# see https://help.sonatype.com/display/NXRM3/Node+Packaged+Modules+and+npm+Registries
|
||||
# see https://help.sonatype.com/en/npm-registry.html
|
||||
# see https://docs.npmjs.com/private-modules/ci-server-config
|
||||
# see https://docs.npmjs.com/cli/adduser
|
||||
|
||||
|
|
|
|||
|
|
@ -31,8 +31,7 @@ mkdir -p tmp/use-nuget-repository && cd tmp/use-nuget-repository
|
|||
|
||||
#
|
||||
# test the NuGet repository.
|
||||
# see https://help.sonatype.com/repomanager3/formats/nuget-repositories
|
||||
# see https://help.sonatype.com/repomanager3/formats/nuget-repositories/grouping-nuget-repositories
|
||||
# see https://help.sonatype.com/en/nuget-repositories.html
|
||||
|
||||
# install the dotnet sdk.
|
||||
if ! which dotnet; then
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ set +x && source .venv/bin/activate && set -x
|
|||
|
||||
# create the hello_world package.
|
||||
# see https://packaging.python.org/en/latest/tutorials/packaging-projects/
|
||||
# see https://help.sonatype.com/repomanager3/nexus-repository-administration/formats/pypi-repositories
|
||||
# see https://help.sonatype.com/en/pypi-repositories.html
|
||||
# NB requirements.txt was created as:
|
||||
# python3 -m pip install build twine
|
||||
# python3 -m pip freeze >requirements.txt
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ Set-Location tmp/use-npm-repository
|
|||
|
||||
#
|
||||
# test the npm repositories.
|
||||
# see https://help.sonatype.com/display/NXRM3/Node+Packaged+Modules+and+npm+Registries
|
||||
# see https://help.sonatype.com/en/npm-registry.html
|
||||
# see https://docs.npmjs.com/private-modules/ci-server-config
|
||||
# see https://docs.npmjs.com/cli/adduser
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue