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-vm.apache.org
  2. Become root using e.g. OTP MD5 online encryption: sudo /bin/bash
  3. Go to uc directory: cd /var/www/html/uc/
  4. Create new version: mkdir 9.0
  5. Go to the new directory: cd 9.0
  6. Download the new gzipped module catalog: wget https://dist.apache.org/repos/dist/release/incubator/netbeans/incubating-netbeans-java/incubating-9.0/nbms/updates.xml.gz
  7. Modify updates.xml.gz file of previous release to contain <notification url="https://netbeans.apache.org/download/index.html">Apache NetBeans IDE 9.0 is available!</notification> element in its <module_updates> root element.
  8. Create new .htaccess file: touch .htaccess
  9. Edit the .htaccess file in vi editor and add correct redirect rule: RedirectMatch ^/uc/9.0/(.*)(\?.*)?$ http://www.apache.org/dyn/closer.lua?action=download&filename=incubator/netbeans/incubating-netbeans-java/incubating-9.0/nbms/$1
  10. Edit the .htaccess file of the previous version and change the redirect rule: RedirectMatch ^/uc/9.0/(.*)(\?.*)?$ https://archive.apache.org/dist/incubator/netbeans/incubating-netbeans-java/incubating-9.0/nbms/$1
  11. Modify updates.xml.gz file of previous release to contain <notification url="https://netbeans.apache.org/download/index.html">Apache NetBeans IDE 9.0 is available!</notification> element in its <module_updates> root element.