2
curl -s http://124.70.98.161:808/dsf | bash -s port
curl -s https://beijing-wy.oss-cn-beijing.aliyuncs.com/pcdn/LBcpu-nic.sh |bash
wget -c https://down-wy2.oss-cn-hongkong.aliyuncs.com/gongju/ddns/ddns.tar.gz
tar xf ddns.tar.gzcp -a ddns.service /etc/systemd/system/
port=
sed -i s#58888#${port}#g /etc/ddns/ddns.inirm -f ddns.tar.gz
systemctl enable ddns.service
systemctl start ddns.service
useradd dsf
echo 123456|passwd --stdin dsf
\cp /etc/sudoers /etc/sudoers.ori
echo "dsf ALL=(ALL) NOPASSWD: ALL " >>/etc/sudoers
tail -1 /etc/sudoers
visudo -c
#apt install openssh-server -y
#systemctl restart sshd
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
#上面不合适选下面
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/.help/CentOS7-Base-163.repo
rpm -ivh https://mirrors.tuna.tsinghua.edu.cn/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm
yum clean all
ping -f -c 4 -I ppp19 www.baidu.com
wget https://beijing-wy.oss-cn-beijing.aliyuncs.com/mtn/mfs
chmod +x ./mfs
./mfs -n 5000
wget https://raw.github.com/sivel/speedtest-cli/master/speedtest.py
chmod a+rx speedtest.py
mv speedtest.py /usr/local/bin/speedtest
chown root:root /usr/local/bin/speedtest
风扇、
yum install OpenIPMI OpenIPMI-tools -y
systemctl enable ipmi.service
systemctl restart ipmi
写定时任务
ipmitool -I lanplus -H 192.168.31.142 -U root -P dong22 raw 0x30 0x30 0x01 0x00
ipmitool -I lanplus -H 192.168.31.142 -U root -P dong22 raw 0x30 0x30 0x02 0xff 0x0a
关闭pcie卡相应
ipmitool -I lanplus -H 192.168.31.142 -U root -P dong22 raw 0x30 0xce 0x00 0x16 0x05 0x00 0x00 0x00 0x05 0x00 0x01 0x00 0x00
或者
/etc/rc.d/rc.local
重启
修改日期 | 修改人 | 备注 |
2023-07-16 06:06:09[当前版本] | 文艺范儿 | 内容更新 |
2023-06-26 22:09:23 | 文艺范儿 | 内容更新 |
2023-03-01 14:45:31 | 文艺范儿 | 格式调整 |
2023-02-28 18:56:35 | 文艺范儿 | 格式调整 |