-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4282d3c
commit d90d5ad
Showing
2 changed files
with
18 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |