-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automate blobfuse2 setup for new VM #1575
base: blobfuse/2.4.1
Are you sure you want to change the base?
Changes from all commits
765b968
4282d3c
d90d5ad
7436c93
af11a81
1d62c4d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# This setup script can be used to install all the dependencies required to clone and run the project on Ubuntu machines | ||
|
||
!/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 | ||
|
||
# Open the file /etc/fuse.conf and uncomment the line user_allow_other | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You can also add how to install Blobfuse2 which includes configuring the apt repository. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes we shall also add step here to enlist microsoft linux repo for ubuntu and may be install blobfuse2 latest version as part of this as well. This will help you setup syslog filters so that logs can be directed to syslog in a separate file. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also, if we can add steps to install secpack that would be great. |
||
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 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can move this script to the
setup
directory