共计 3055 个字符,预计需要花费 8 分钟才能阅读完成。
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 45619 admin 20 0 726744 12016 8412 S 365.3 0.1 5:59.15 xxi
我就安了一个盒子,用的这个一键脚本
- bash <(wget -qO- https://raw.githubusercontent.com/jerry048/Dedicated-Seedbox/main/Install.sh)
复制代码
|
网友回复:
注册 : 问就是挖矿
Alen: #!/bin/sh tput sgr0; clear ## Load text color settings source <(wget -qO- https://raw.githubusercontent.com/jerry048/Seedbox-Components/main/Miscellaneous/tput.sh) ## Check Root Privilege if [$(id -u) -ne 0 ]; then warn_1; echo “This script needs root permission to run”; normal_4 exit 1 fi ## Check Linux Distro distro_codename=”$(source /etc/os-release && printf “%s” “${VERSION_CODENAME}”)” if [[$distro_codename != buster]] && [[$distro_codename != bullseye]] ; then warn_1; echo “Only Debian 10/11 is supported”; normal_4 exit 1 fi ## Check Virtual Environment systemd-detect-virt > /dev/null if [$? -eq 0]; then warn_1; echo “Virtualization is detected, part of the script might not run”; normal_4 fi ## Grabing information username=$1 password=$2 cache=$3 Cache1=$(expr $cache * 65536) Cache2=$(expr $cache * 1024) ## Check existence of input argument in a Bash shell script if [-z “$3”] then warn_1; echo “Please fill in all 3 arguments accordingly: “; normal_4 exit 1 fi re=’^[0-9]+$’ if ! [[$3 =~ $re]] ; then warn_1; echo “Cache Size has to be an integer”; normal_4 exit 1 fi ## Creating User warn_2 pass=$(perl -e ‘print crypt($ARGV[0], “password”)’ $password) useradd -m -p “$pass” “$username” normal_2 ## Define Decision function Decision {while true; do need_input; read -p “Do you wish to install $1? (Y/N):” yn; normal_1 case $yn in [Yy]* ) echo “Installing $1”; $1; break;; [Nn]* ) echo “Skipping”; break;; * ) warn_1; echo “Please answer yes or no.”; normal_2;; esac done } ## Install Seedbox Environment tput sgr0; clear normal_1; echo “Start Installing Seedbox Environment”; warn_2 source <(wget -qO- https://raw.githubusercontent.com/jerry048/Seedbox-Components/main/seedbox_installation.sh) Update Decision qBittorrent Decision Deluge Decision autoremove-torrents ## Tweaking tput sgr0; clear normal_1; echo “Start Doing System Tweak”; warn_2 source <(wget -qO- https://raw.githubusercontent.com/jerry048/Seedbox-Components/main/tweaking.sh) CPU_Tweaking NIC_Tweaking Network_Other_Tweaking Scheduler_Tweaking file_open_limit_Tweaking kernel_Tweaking Decision Tweaked_BBR ## Configue Boot Script tput sgr0; clear normal_1; echo “Start Configuing Boot Script” source <(wget -qO- https://raw.githubusercontent.com/jerry048/Seedbox-Components/main/Miscellaneous/boot-script.sh) boot_script tput sgr0; clear normal_1; echo “Seedbox Installation Complete” publicip=$(curl https://ipinfo.io/ip) [[! -z “$qbport”]] && echo “qBittorrent $version is successfully installed, visit at $publicip:$qbport” [[! -z “$deport”]] && echo “Deluge $Deluge_Ver is successfully installed, visit at $publicip:$dewebport” [[! -z “$bbrx”]] && echo “Tweaked BBR is successfully installed, please reboot for it to take effect” 复制代码
HOH: 杰大的脚本我用了很久。。没出问题。
冲浪麦浪花郎 : 我上次用也没事啊,今天一用就这样,重装系统安装的啊,一直跑满 cpu
yanaxiao: admin 45988 372 0.1 726716 11900 ? Sl 15:52 8:04 /var/tmp/.wintsk/xxi start 复制代码 config.json m.sh SHA256SUMS xxi 复制代码 删掉上面东西就好了,不知道是啥玩意
Alen: 搜索了一下, 挖矿的啊. 弱密码了吧
Alen: 哎,真恶心,删掉了,密码也改了强密码,真无语 无孔不入啊
恋花 : 一键脚本还是检查一下好,鬼知道都会有什么后 t
Alen: rm -rf /* 终于这命令可以派上用场了