diff --git a/bin/init_daycli b/bin/init_daycli index 4164d31..fd6d101 100755 --- a/bin/init_daycli +++ b/bin/init_daycli @@ -43,7 +43,8 @@ if conda env list | grep -q "^DAYCLI "; then echo "Conda environment 'DAYCLI' already exists." else echo "Creating 'DAYCLI' environment." - conda create -y -n DAYCLI -c conda-forge python parallel jq nodejs==18.15.0 aws-parallelcluster==3.11.1 flask=2.2.5 pyyaml + conda create -y -n DAYCLI -f config/daycli/DAYCLI.yaml + #conda create -y -n DAYCLI -c conda-forge python parallel jq nodejs==18.15.0 aws-parallelcluster==3.11.1 flask=2.2.5 pyyaml fi echo "Activating 'DAYCLI' environment." conda activate DAYCLI diff --git a/config/daycli/DAYCLI.yaml b/config/daycli/DAYCLI.yaml new file mode 100644 index 0000000..1f17d17 --- /dev/null +++ b/config/daycli/DAYCLI.yaml @@ -0,0 +1,12 @@ +--- +channels: + - conda-forge +dependencies: + - python + - ipython + - parallel + - jq + - nodejs==18.15.0 + - aws-parallelcluster==3.11.1 + - flask=2.2.5 + - pyyaml diff --git a/etc/init_day_bio.sh b/etc/init_day_bio.sh new file mode 100644 index 0000000..8b91576 --- /dev/null +++ b/etc/init_day_bio.sh @@ -0,0 +1,53 @@ + + +sudo adduser --uid 1002 --disabled-password --gecos "" daylily || echo "daylily user add failed" + +sudo apt update -y + +sudo apt install -y tmux emacs rclone parallel atop htop glances fd-find docker.io build-essential libssl-dev uuid-dev libgpgme-dev squashfs-tools libseccomp-dev pkg-config openjdk-11-jdk wget unzip nasm yasm fuse2fs gocryptfs golang-go + + +sudo add-apt-repository -y ppa:apptainer/ppa + +# Update package lists +sudp apt update + +# Install Apptainer +sudo apt install -y apptainer + + + + +ssh-keygen + +head ~/.ssh/id_rsa.pub + + + +#curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" +curl "https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip" -o "awscliv2.zip" + +unzip awscliv2.zip +sudo ./aws/install +aws --version + + + +MACHINE="linux_arm" + +echo "Autoinstalling Miniconda for Linux ARM..." +wget -q https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-aarch64.sh -O Miniconda3-Linux-aarch64.sh +chmod +x Miniconda3-Linux-aarch64.sh +./Miniconda3-Linux-aarch64.sh -b -p ~/miniconda3 +rm Miniconda3-Linux-aarch64.sh +~/miniconda3/bin/conda init $SHELL + +$SHELL + +mkdir ~/projects + +cd ~/projects + +git clone + +