Skip to content

Commit

Permalink
setup blobfuse in new vm
Browse files Browse the repository at this point in the history
  • Loading branch information
ashruti-msft committed Nov 22, 2024
1 parent 4282d3c commit d90d5ad
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 46 deletions.
51 changes: 18 additions & 33 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -1,40 +1,25 @@
#!/bin/bash
!/bin/bash

# Run the go_installer script with the parent directory as an argument
# ./go_installer.sh ../
# echo "Installed go"
# go version
# sudo apt update -y
# sudo apt install openssh-server -y
# sudo apt install net-tools -y
# sudo apt install git -y
# sudo apt install gcc -y
# sudo apt install libfuse-dev -y
# sudo apt install fuse -y
# sudo apt install fuse3 -y
# sudo apt install libfuse3-dev -y
# echo "Installed all dependencies" -y
Run the go_installer script with the parent directory as an argument
./go_installer.sh ../
echo "Installed go"
go version
sudo apt update -y
sudo apt install openssh-server -y
sudo apt install net-tools -y
sudo apt install git -y
sudo apt install gcc -y
sudo apt install libfuse-dev -y
sudo apt install fuse -y
sudo apt install fuse3 -y
sudo apt install libfuse3-dev -y
echo "Installed all dependencies" -y

# # Open the file /etc/fuse.conf and uncomment the line user_allow_other
# sudo sed -i 's/#user_allow_other/user_allow_other/' /etc/fuse.conf
# echo "Uncommented user_allow_other in /etc/fuse.conf"
# Open the file /etc/fuse.conf and uncomment the line user_allow_other
sudo sed -i 's/#user_allow_other/user_allow_other/' /etc/fuse.conf
echo "Uncommented user_allow_other in /etc/fuse.conf"

# For not entering password every time on running sudo command, add this line at the end of the
# /etc/sudoers file,
# <user_name> ALL=(ALL:ALL) NOPASSWD:ALL

mkdir ~/mntdir ~/tempcache
chmod 777 ~/mntdir ~/tempcache
echo "Created directories mntdir and tempcache"

cat <<EOL > ./fio_temp.cfg
[global]
ioengine=sync
size=10GB
bs=16M
rw=read
filename=~/mntdir/new10
numjobs=8
[job]
name=seq_read
EOL
13 changes: 0 additions & 13 deletions test.sh

This file was deleted.

0 comments on commit d90d5ad

Please sign in to comment.