Skip to content
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

Open
wants to merge 47 commits into
base: ubuntu14.04/v1.1
Choose a base branch
from
Open

Non root install #6

wants to merge 47 commits into from

Conversation

mr-c
Copy link

@mr-c mr-c commented Nov 4, 2014

PR so @mr-c can follow along


First, check out the source repository and grab the (...large) initial data
sets::

echo "export PATH=${PATH}:~/bin" >> ~/.bashrc
Copy link
Author

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

*Add virtualenv for non-root easyinstall

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::
Copy link
Author

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
@@ -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
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@themangoemoji themangoemoji force-pushed the non-root-install branch 2 times, most recently from b39db89 to 331bb8d Compare January 27, 2015 18:42
* into apt-get lines

Conflicts:
	pipeline/pipeline-notes.rst
cp aragorn /usr/local/bin

cd /mnt
cd ${HOME}/bin
Copy link
Author

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}

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?

Copy link
Author

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

easy_install -U setuptools
pip install khmer==1.1
echo 'export PATH=${PATH}:${HOME}/bin' >> ${HOME}/.bashrc
source ${HOME}/.bashrc

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

Copy link
Author

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}

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.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coo'.

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
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants