| | 36 | |
| | 37 | |
| | 38 | Setting up the planet node as Apache servers: |
| | 39 | |
| | 40 | You might need to configure Apache server for the Planet Lab nodes. This can be done as follows |
| | 41 | |
| | 42 | 1. ssh to the appropriate planet lab node from the grid console |
| | 43 | |
| | 44 | ssh -v -l orbit_pkamat pli1.pa-3.hpl.hp.com |
| | 45 | |
| | 46 | 2. Check if httpd is already installed using the following command |
| | 47 | |
| | 48 | rpm -q httpd |
| | 49 | |
| | 50 | 3. If not installed use yum to install it as follows |
| | 51 | |
| | 52 | sudo yum update |
| | 53 | sudo yum -y install httpd |
| | 54 | |
| | 55 | 4. Then configure the Apache server using httpd.conf. Search for Listen. The default port would be given as 80. Change this to 8080 as port 80 cannot be used. |
| | 56 | |
| | 57 | Listen 80 |
| | 58 | Listen 8080 |
| | 59 | |
| | 60 | The httpd.conf resides in /etc/httpd/conf/httpd.conf |
| | 61 | |
| | 62 | |
| | 63 | |
| | 64 | 5 |