ffmpegが動くdebian9
code:setup.sh
set -eu
apt update
apt install -y ffmpeg htop rclone python3 pip tmux
ln -sf /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
code:user.sh
echo "set -g prefix C-s" > .tmux.conf
mkdir -p .config/rclone
code:run.sh
set -eu
sudo apt update
sudo apt install -y --no-install-recommends ffmpeg htop rclone python3 pip tmux curl unzip
echo "set -g prefix C-s" > .tmux.conf
mkdir -p .config/rclone
sudo ln -sf /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
code:sh
curl https://scrapbox.io/api/code/ci7lus/ffmpeg%E3%81%8C%E5%8B%95%E3%81%8Fdebian9/run.sh | sh
一部の環境(indigoとか)だとsnapが入ってて不要なことがある、1GBぐらい空く
code:removesnap.sh
sudo apt purge snapd
sudo journalctl --vacuum-time=3d
deno+ffmpeg編成
code:deno_ffmpeg.sh
set -eu
mkdir -p .config/rclone
sudo ln -sf /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
sudo apt update
sudo apt install -y --no-install-recommends ffmpeg htop rclone tmux curl unzip direnv
curl -fsSL https://deno.land/x/install/install.sh | sh
echo "export DENO_INSTALL=\"$HOME/.deno\"" >> ~/.bash_profile
echo 'export PATH="$DENO_INSTALL/bin:$HOME/go/bin:$PATH"' >> ~/.bash_profile
echo 'alias ll="ls -lah"' >> ~/.bash_profile
echo 'eval "$(direnv hook bash)"' >> ~/.bash_profile
hoge
code:deno_ffmpeg_a.sh
set -eu
mkdir -p .config/rclone
sudo ln -sf /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
sudo apt update
sudo apt install -y --no-install-recommends htop rclone tmux curl unzip direnv
curl -fsSL https://deno.land/x/install/install.sh | sh
echo "export DENO_INSTALL=\"$HOME/.deno\"" >> ~/.bash_profile
echo 'export PATH="$DENO_INSTALL/bin:$HOME/go/bin:$PATH"' >> ~/.bash_profile
echo 'alias ll="ls -lah"' >> ~/.bash_profile
echo 'eval "$(direnv hook bash)"' >> ~/.bash_profile
ffmpegが動くRHEL7