
Shell
实用脚本集合。
sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config |
curl -fsSL https://get.docker.com | bash -s docker |
yum install -y wget && wget -O install.sh http://v7.hostcli.com/install/install_6.0.sh && sh install.sh |
wget -O install.sh http://v7.hostcli.com/install/install-ubuntu_6.0.sh && bash install.sh |
bash <(curl -Lso- https://git.io/kernel.sh) |
docker exec -it qinglong bash |
systemctl stop firewalld |
wget https://www.moerats.com/usr/shell/swap.sh && bash swap.sh |
dd if=/dev/zero of=/swapfile count=4096 bs=1M |
ip=$(curl -s http://myip.ipip.net) |
wget --no-check-certificate https://raw.github.com/Lozy/danted/master/install.sh -O install.sh |
ifconfig eth0:1 10.0.0.5 up |
LANG=en_US.UTF-8 |
curl https://raw.githubusercontent.com/zhucaidan/mtr_trace/main/mtr_trace.sh|bash |
wget -O speedtest-cli https://raw.githubusercontent.com/wejudging/shell/main/speedtest.py |
ssh-keygen -t rsa -b 4096 -C "Deploy Key" -f github-deploy-key -N "" |
当前目录生成两个文件:
https://img.shields.io/badge/XXX-YYY-f38020?logo=cloudflare&logoColor=f38020&labelColor=282d33 |
cd /Users/weijiajin/Documents/wejudging.github.io/themes/stellar |
git clone https://github.com/binary-husky/gpt_academic.git # 下载项目 |