Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added information on how to update the Update Center redirect

...

$ svn commit -m "<commitmessage>" dev/incubator/netbeans/release/incubator/netbeans/

6. Updating redirect for NetBeans Distribution Update Center

Once release is synchronized across all download mirrors it is necessary to update redirect for release modules to final location:

  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.  Create new .htaccess file: touch .htaccess
  8.  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