azurehpc/scripts/setupbeeond.sh

22 строки
747 B
Bash
Исходник Обычный вид История

2019-07-20 17:15:29 +03:00
#!/bin/bash
# this script needs to run without sudo
# - the keys from the user are used for the root user
2019-12-12 16:59:24 +03:00
sudo wget -O /etc/yum.repos.d/beegfs-rhel7.repo https://www.beegfs.io/release/beegfs_7_1/dists/beegfs-rhel7.repo
2019-07-20 17:15:29 +03:00
sudo rpm --import https://www.beegfs.io/release/latest-stable/gpg/RPM-GPG-KEY-beegfs
sudo yum install -y epel-release
sudo yum install -y psmisc libbeegfs-ib beeond pdsh
sudo sed -i 's/^buildArgs=-j8/buildArgs=-j8 BEEGFS_OPENTK_IBVERBS=1 OFED_INCLUDE_PATH=\/usr\/src\/ofa_kernel\/default\/include/g' /etc/beegfs/beegfs-client-autobuild.conf
sudo /etc/init.d/beegfs-client rebuild
sudo cp -r $HOME/.ssh /root/.
sudo mkdir /mnt/resource/beeond
sudo chmod 777 /mnt/resource/beeond
sudo mkdir /beeond
sudo chmod 777 /beeond