Changes between Version 7 and Version 8 of GpoLab/MyplcPackageInstallationTips


Ignore:
Timestamp:
08/30/11 16:16:11 (13 years ago)
Author:
agember@cs.wisc.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GpoLab/MyplcPackageInstallationTips

    v7 v8  
    8989}}}
    9090This might allow your nodes to get public repositories, but no one has tried it.
     91
     92==== Patch yum PHP files (for fc12 nodes) ====
     93
     94The above patching method only works temporarily, until the MyPLC controller restores the files to their original.  For a permanent solution, you will need to modify some PHP scripts that the MyPLC controller uses to configure yum on the nodes. 
     95
     96In `/var/www/html/yum/yum.php` on the MyPLC controller, comment out the existing assignment to the `fcdistro` variable and add the following line beneath it:
     97{{{
     98$fcdistro=f12;
     99}}}
     100
     101In `/var/www/html/yum/myplc.repo.php` on the MyPLC controller, comment out the existing assignment to the `nodefamily` variable and add the following line beneath it:
     102{{{
     103$nodefamily='planetlab-f12-i386';
     104}}}
     105Also, comment out the existing assignment to the `topurl` variable and add the following line beneath it:
     106{{{
     107$topurl="https://$PLC_BOOT_HOST" . "/install-rpms/" . $nodefamily;
     108}}}
     109Lastly, add the following line after the the `gpgcheck=$gpgcheck` line:
     110{{{
     111sslverify=0
     112}}}
    91113
    92114=== Try configuring yum without noderepo ===