Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Login to NetBeans virtual machine where redirect is configured: ssh <your_apache_id>@netbeans-vm1.apache.org
  2. Become root using e.g. OTP MD5 online encryption: sudo /bin/bash

    Code Block
    languagebash
    themeMidnight
    sudo /bin/bash
    cd /var/www/html/uc/
    mkdir 11.1
    cd 11.1/
    curl https://dist.apache.org/repos/dist/release/netbeans/netbeans/11.1/nbms/updates.xml.gz -o updates.xml.gz
    echo ' RedirectMatch ^/uc/11.1/(.*)(\?.*)?$ http://www.apache.org/dyn/closer.lua?action=download&filename=netbeans/netbeans/11.1/nbms/$1' > .htaccess
    # Update the previous version UC - need to keep LTS and non-LTS! 
    cd ../10.0/
    echo 'RedirectMatch ^/uc/10.0/(.*)(\?.*)?$ https://archive.apache.org/dist/incubator/netbeans/incubating-netbeans/incubating-10.0/nbms/$1' > .htaccess
    vim updates.xml.gz


  3. Modify updates.xml.gz file of previous release to contain: (how to handle LTS vs non-LTS?)

    Code Block
    languagexml
    themeMidnight
    <notification url="https://netbeans.apache.org/download/index.html">Apache NetBeans IDE 11.0 is available!</notification>

      element in its <module_updates> root element.

...