From Genome Analysis Wiki
Jump to navigationJump to search
260 bytes added
, 11:19, 16 April 2013
Line 21: |
Line 21: |
| Be sure the zone is the same as the one for the instance you just launched/created. | | Be sure the zone is the same as the one for the instance you just launched/created. |
| The volume should be based on 'No Snapshot'. | | The volume should be based on 'No Snapshot'. |
− | Once it is created, attach it to the instance you have launched and mount it it /gotcloud | + | Once it is created, attach it to the instance you have launched and '''mount it it /gotcloud'''. |
| | | |
| '''Install the Software''' | | '''Install the Software''' |
Line 27: |
Line 27: |
| Follow the instructions to install a Debian package [[Pipeline Debian Package|debian package]] | | Follow the instructions to install a Debian package [[Pipeline Debian Package|debian package]] |
| Run the tests to be sure everything is OK. | | Run the tests to be sure everything is OK. |
| + | This installs files in /usr/local/gotcloud and these need to be copied to the snapshot disk. |
| + | |
| + | <code> |
| + | cd /gotcloud |
| + | rm -rf bin scripts test # Remove old GotCloud |
| + | sudo rsync -av /usr/local/gotcloud/* /gotcloud |
| + | </code> |
| | | |
| Even though the references are not part of the distribution, you cannot do anything useful | | Even though the references are not part of the distribution, you cannot do anything useful |
Line 36: |
Line 43: |
| cd /gotcloud | | cd /gotcloud |
| sudo tar xzf /mnt/hs37-db132.tar.gz | | sudo tar xzf /mnt/hs37-db132.tar.gz |
− | sudo chown -R ubuntu.ubuntu ref | + | sudo chown -R ubuntu.ubuntu gotcloud.ref |
− | sudo chmod 0755 ref | + | sudo chmod 0755 gotcloud.ref |
− | chmod 0644 ref/* | + | chmod 0644 gotcloud.ref/* |
| ls -la ref | | ls -la ref |
| sudo rm -f /mnt/hs37-db132.tar.gz # if no error | | sudo rm -f /mnt/hs37-db132.tar.gz # if no error |