803e0e65cf
* Fix spelling * Fix shellcheck-identified warnings in shell scripts
24 lines
635 B
Bash
Executable File
24 lines
635 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
# Install fuse
|
|
wget https://github.com/libfuse/libfuse/archive/master.zip
|
|
unzip master.zip
|
|
cd libfuse-master
|
|
mkdir build
|
|
cd build
|
|
meson ..
|
|
ninja
|
|
sudo ninja install
|
|
test -e /usr/local/lib/pkgconfig || sudo mkdir /usr/local/lib/pkgconfig
|
|
sudo mv /usr/local/lib/*/pkgconfig/* /usr/local/lib/pkgconfig/
|
|
printf '%s\n' /usr/local/lib/*-linux-gnu | sudo tee /etc/ld.so.conf.d/usrlocal.conf
|
|
sudo ldconfig
|
|
|
|
# Setup ssh
|
|
ssh-keygen -b 1024 -t rsa -f ~/.ssh/id_rsa -P ''
|
|
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
|
|
chmod 600 ~/.ssh/authorized_keys
|
|
ssh -o "StrictHostKeyChecking=no" localhost echo "SSH connection succeeded"
|