devsite

zsh-setup


            curl -fsSL https://devsite.ntum.top/zsh-setup.bash | bash
        

yq


            sudo wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/local/bin/yq &&\
    sudo chmod +x /usr/local/bin/yq
        

docker/podman


sudo curl -x "" -O "https://devsite.ntum.top/hi5ato_squid_ca.crt"
sudo cp hi5ato_squid_ca.crt /usr/local/share/ca-certificates
sudo update-ca-certificates

# alpineの場合はこれから入る
unset HTTP_PROXY HTTPS_PROXY FTP_PROXY http_proxy https_proxy ftp_proxy
apk add ca-certificates
wget -Y off "https://devsite.ntum.top/hi5ato_squid_ca.crt"
cp hi5ato_squid_ca.crt /usr/local/share/ca-certificates
update-ca-certificates

wget -Y off "https://devsite.ntum.top/gen_proxy.sh"
mkdir /etc/sudoers.d/
ash ./gen_proxy.sh
source /etc/profile.d/proxy.sh

apt source


curl -sSL -O "https://devsite.ntum.top/ubuntu.sources"
sudo cp ubuntu.sources /etc/apt/sources.list.d/

netplan


curl -fsSL -O "https://devsite.ntum.top/99-fixed-ip-address.yaml"
sudo cp 99-fixed-ip-address.yaml /etc/netplan/99-fixed-ip-address.yaml
sudo chmod 600 /etc/netplan/99-fixed-ip-address.yaml
sudo vim /etc/netplan/99-fixed-ip-address.yaml

sudo netplan apply