Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added info on filling in identity key files

...

  1. checkout web code somewhere under the web root of your web server:
    Code Block
    svn co https://svn.apache.org/repos/asf/incubator/vcl/trunk/web/ vcl
    
  2. modify vcl/.ht-inc/secrets.php
    • set $vclhost, $vcldb, $vclusername, and $vclpassword to match your database setup
    • create random passwords for $mcryptkey, $mcryptiv, and $pemkey - $mcryptiv must be 8 hex characters
  3. run the genkeys.sh script from within vcl/.ht-inc and give it $pemkey from secrets.php as the passphrase (3 times, copy/paste is a good idea here)
  4. modify vcl/.ht-inc/conf.php to match your site - COOKIEDOMAIN needs to be the domain name your web server is using, or left blank if you are accessing it by IP only
  5. *NOTICE* JpGraph 2.x is no longer available. JpGraph 3.x is released under a dual license. QPL 1.0 (Qt Free Licensee). Free for non-commercial, open-source or educational use (JpGraph Professional License for commercial use). If you are planning to use this for commercial use and don't want to pay for JpGraph, you can safely skip this step with the only side effect of not being able to display a few graphs on the statistics page.
    Download JpGraph from http://www.aditus.nu/jpgraph/jpdownload.php
    • For PHP5, download the 3.x series, extract it, and copy the src directory from it to vcl/.ht-inc/jpgraph
  6. download version 0.4.0 of Dojo Toolkit: http://download.dojotoolkit.org/release-0.4.0/dojo-0.4.0-ajax.tar.gz
    • extract it under the vcl directory and rename "dojo-0.4.0-ajax" to "dojoAjax"
  7. download version 1.1.0 of Dojo Toolkit: http://download.dojotoolkit.org/release-1.1.0/dojo-release-1.1.0.tar.gz
    • extract it under the vcl directory and rename "dojo-release-1.1.0" to "dojo"
  8. go into the themes directory (vcl/themes) and run "./copydojocss.sh default" to copy parts of dojo's css into the "default" theme
  9. if you want to be able to edit any of the documentation that comes bundled with the vcl web code, download fckeditor from http://www.fckeditor.net/download (most people can skip this step)
    • extract it under the vcl directory
  10. open a browser and open the testsetup.php page
  11. debug any issues reported by testsetup.php
  12. now, open the index.php page in your browser
  13. select Local Account and use 'admin' as the user and 'adminVc1passw0rd' as the password
  14. click the "Management Nodes" link
  15. enter the hostname and IP of your management node
  16. click Add
  17. fill in "Install Path" - this is parent directory under which image files will be stored
  18. enter "/etc/vcl/vcl.key" for "End Node SSH Identity Key Files"
  19. click "Confirm Management Node"
  20. click Submit
  21. click the "Management Nodes" link
  22. select "Edit Management Node Grouping"
  23. click Submit
  24. select the checkbox for your management node
  25. click Submit
  26. click "Manage Computers"
  27. select the "Add Single Computer" radio button
  28. click the Submit
  29. fill in Hostname, IP Address, owner (admin@Local), RAM, Proc Speed, Network Speed, select "blade" for Type, select "xCAT 1.x Provisioning" for "Provisioning Engine", and click the checkbox under "allcomputers", and "newimages"
        Note: if using using vmware, select "virtualmachine" for Type and "VMWare Server Provisioning" for "Provisioning Engine"
  30. click Confirm Computer
  31. click Submit (don't worry about the fact that the computer you just added isn't listed after clicking Submit)
  32. after you've configured your image library and your management node has started checking in, you should be able to make a reservation

...