Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • main
  • master
  • 2023
  • ci_2025
  • review_2025
5 results

Target

Select target project
  • can/unix-command-line
  • gdurif/unix-command-line_dev
2 results
Select Git revision
  • main
  • master
  • quarto-refactor
3 results
Show changes
# IFB Bioinformatics environment
export IFB_MAIN=/ifb
export IFB_BIN=$IFB_MAIN/bin
export IFB_DATADIR=$IFB_MAIN/data
export PATH=$PATH:$IFB_BIN
sudo useradd -m -s /bin/bash -g users -G adm,docker,dialout,cdrom,floppy,audio,dip,video,plugdev,netdev $1
sudo cp /etc/skel/.* /home/$1
sudo passwd $1 << EOF
$1
$1
EOF
# scp -i ~/.ssh/id_ifb ssh_session_init.sh ssh_session_adduser.sh 2020_participants_mail.txt ubuntu@134.158.247.127:
# ssh -i ~/.ssh/id_ifb ubuntu@134.158.247.127
# bash ssh_session_init.sh 2020_participants_mail.txt
cat $1 | sed -e "s/@[^,]*[,]*//g" | tr ' ' '\n' | awk '{system("bash ssh_session_adduser.sh "$0)}'
sudo sed -i 's|PasswordAuthentication no|PasswordAuthentication yes|' /etc/ssh/sshd_config
sudo systemctl restart sshd
- hosts: all
tasks:
- name: Delete buggy OpenSSL python package
ansible.builtin.file:
path: /usr/lib/python3/dist-packages/OpenSSL
state: absent
- name: Reinstall pyopenssl
ansible.builtin.pip:
executable: pip3
name: pyopenssl
state: forcereinstall
- name: Update the system
apt:
upgrade: dist
......@@ -8,51 +19,9 @@
- name: Install requirements
apt:
name:
- autofs
- fail2ban
- python3-pip
- nfs-common
- jq
- openssl
- shellinabox
state: latest
- name: Remove old Docker version
apt:
name:
- docker
- docker-engine
- docker.io
- containerd
- runc
state: absent
- name: Install Docker deps
apt:
name:
- apt-transport-https
- ca-certificates
- curl
- gnupg-agent
- software-properties-common
state: latest
- name: Add Docker’s official GPG key
apt_key:
url: https://download.docker.com/linux/{{ ansible_distribution | lower }}/gpg
state: present
- name: Add Docker's repository into sources list
apt_repository:
repo: deb [arch=amd64] https://download.docker.com/linux/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} stable
state: present
- name: Install Docker engine community
apt:
name:
- docker-ce
- docker-ce-cli
- containerd.io
- stress
state: latest
- name: Configure shell in a box
......@@ -60,16 +29,6 @@
- name: Configure network
shell: iptables -t filter -A INPUT -p tcp --dport 443 -j ACCEPT && iptables -t filter -A OUTPUT -p tcp --dport 443 -j ACCEPT && iptables-save
sudo systemctl restart shellinabox
- name: Enable services
systemd:
name: "{{ item }}"
enabled: yes
state: started
loop:
- docker
- fail2ban
- name: Restart services
systemd:
......@@ -78,34 +37,3 @@ sudo systemctl restart shellinabox
state: restarted
loop:
- shellinabox
- name: Update pip
pip:
name:
- pip
executable: pip3
state: latest
- name: Install docker-compose
pip:
name:
- docker-compose
executable: pip3
state: latest
- name: Install Miniconda
script: miniconda-install.sh
- name: Copy IFB profile
copy:
src: profile_ifb.sh
dest: /etc/profile.d/ifb.sh
owner: root
mode: '0644'
- name: Create IFB root dir and bin
shell: . /etc/profile.d/ifb.sh && mkdir -p $IFB_BIN
- name: Create IFB data dir
shell: . /etc/profile.d/ifb.sh && mkdir -p $IFB_DATADIR
Dear all,
We will start the Unix / command line training course next week, in a 1h / week format every Tuesday between 13h and 14h next week (the 29/09).
The training course will be 100% on videoconference, you will need.
—A modern browser to connect to the videoconference (and a microphone and/or a fast keyboard)
—A modern browser to do the practicals
The objectives of this training course are the following:
—Overcoming your fear of command-line interfaces
—Basic knowledge on operating systems
—Files and folders manipulation
—Text data manipulation
—Processes control
—Pipping (chaining of tools)
—Networking
—Virtualization
If you already choose the Tuesday in the previous poll, you are considered as registered. For the other, we have 7 places left, so you can register with the following form:
https://evento.renater.fr/survey/unix-command-line-training-course-weh6plht
I will send this email to the other labs of the SFR Biosciences bioscience this afternoon if there are still some place left.
Best,
-------------------------------------------------------------------------------
Dear all,
We will start the Unix / command line training course next week, in a 1h / week format every Tuesday between 13h and 14h next week (the 29/09).
The training course will be 100% on videoconference, you will need.
—A modern browser to connect to the videoconference (and a microphone and/or a fast keyboard)
—A modern browser to do the practicals
The objectives of this training course are the following:
—Overcoming your fear of command-line interfaces
—Basic knowledge on operating systems
—Files and folders manipulation
—Text data manipulation
—Processes control
—Pipping (chaining of tools)
—Networking
—Virtualization
If you already choose the Tuesday in the previous poll, you are considered as registered. For the other, we have 4 places left, so you can register with the following form:
https://evento.renater.fr/survey/unix-command-line-training-course-weh6plht
I will send this email to the other labs of the SFR Biosciences bioscience this afternoon if there are still some place left.
Best,
-------------------------------------------------------------------------------
Dear all,
You registered on the Unix / command line training course.
To follow the first session of this course you will need to log on the entVisio service.
https://ent-services.ens-lyon.fr/entVisio/index.php
To the LBMC_bioinfo channel with the password biocomputing
We will start tomorrow (29/09) at 1 p.m., don’t forget your microphone and headphone if you share your office !
Best,
File added
File added
This diff is collapsed.
This diff is collapsed.