Click name ↑ to return to homepage
chmod 400 ~/.ssh/aws.pem
ssh -i aws.pem ec2-user@ec2-0-00-111-222.ap-southeast-2.compute.amazonaws.com
ls
to see filessudo yum update
open connection
ec2-0-00-111-222.ap-southeast-2.compute.amazonaws.com
ec2-user
Connect
In terminal, touch newfile.txt
In Cyberduck, refresh. Can now see newfile.txt
curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
sh Miniconda3-latest-Linux-x86_64.sh
conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
conda install seqkit
wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u141-b15/336fa29ff2bb4ef291e347e091f7f4a7/jdk-8u141-linux-x64.rpm
sudo yum install -y jdk-8u141-linux-x64.rpm
java -version
curl -s https://get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
nextflow run main.nf
sudo yum install docker
sudo service docker start
sudo usermod -a -G docker ec2-user
docker info
nextflow run main.nf -with-docker pegi3s/seqkit
*** don’t forget to go back to the AWS dashboard and stop or terminate instance **