-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non root install #6
base: ubuntu14.04/v1.1
Are you sure you want to change the base?
Conversation
|
||
First, check out the source repository and grab the (...large) initial data | ||
sets:: | ||
|
||
echo "export PATH=${PATH}:~/bin" >> ~/.bashrc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and run it right here as well
export PATH=${PATH}:~/bin
564a7a7
to
32f3fa6
Compare
32f3fa6
to
5e8fbd9
Compare
e240cd0
to
65e1574
Compare
…norm into non-root-install
65e1574
to
92bda18
Compare
*Add virtualenv for non-root easyinstall
435f4df
to
3d15fcf
Compare
|
||
sudo su | ||
If you are running on RackSpace, we will need to add extra space for data by formating and mounting a drive. | ||
Formating/Mounting Drive:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're using a '15 GB I/O v1' flavor Rackspace cloud server
*Add virtualenv for non-root easyinstall
3d15fcf
to
74bf7d9
Compare
@@ -6,41 +6,41 @@ cd /mnt | |||
curl -O ftp://selab.janelia.org/pub/software/hmmer3/3.1b1/hmmer-3.1b1.tar.gz | |||
tar xzf hmmer-3.1b1.tar.gz | |||
cd hmmer-3.1b1/ | |||
./configure --prefix=/usr && make && make install | |||
./configure --prefix=${HOME} && make && make install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
b39db89
to
331bb8d
Compare
* into apt-get lines Conflicts: pipeline/pipeline-notes.rst
331bb8d
to
b66eae0
Compare
cp aragorn /usr/local/bin | ||
|
||
cd /mnt | ||
cd ${HOME}/bin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
source downloads should go into ${HOME}/src/${NAME}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mr-c
should be cd ${HOME}/src/prodigal?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First line should be set -e
3df86b8
to
f525527
Compare
easy_install -U setuptools | ||
pip install khmer==1.1 | ||
echo 'export PATH=${PATH}:${HOME}/bin' >> ${HOME}/.bashrc | ||
source ${HOME}/.bashrc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mr-c when I execute this source, the virtualenv is no longer activated. Is this a problem, so long as I repeat the step on line 93 (non root)? If I can grant non-root the right permissions I should be able to move the khmer out of root
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The simplest thing to do would be to move lines 82-83 prior to lines 76
Then we want to set the user directory to the home path, and grant permissions to the user:: | ||
|
||
HOME=/home/<your_user_name> | ||
chown -R <your_user_name> ${HOME} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to use the recursive flag so that this would apply to all subdirectories.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coo'.
b3d4a27
to
83267f2
Compare
Next, we are going to set the instance up with many of the software | ||
packages we will need:: | ||
We will also want to link /mnt/bin directory to our home/bin directory:: | ||
sudo ln -s /mnt/bin ${HOME}/bin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When EC2 is available again, please test this out. Where does /mnt/bin/
come from?
668ea13
to
081d1e7
Compare
aaa2bee
to
d5dcf9e
Compare
PR so @mr-c can follow along