centos7 shell脚本一键安装python3.7或3.8
#!/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin export PATH # Check if user is root if [ $(i...
#!/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin export PATH # Check if user is root if [ $(i...
#!/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin export PATH # Check if user is root if [ $(id -u) != "0" ]; then echo "Error: You must be root to ru...
#!/bin/env bash PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin export PATH # Check if user is root if [ $(id -u) != "0" ]; then echo "Error: You must be root to run this sc...
FROM openjdk:11.0.4 EXPOSE 8080 RUN mkdir /download ENTRYPOINT ["java","-Duser.timezone=GMT+8","-Djava.security.egd=file:/dev/./urandom",...
apt-get install curl python-software-properties curl -sL https://deb.nodesource.com/setup_10.x | sudo bash -
apt-get install curl python-so...
#!/bin/bash today=$(date +%Y%m%d_%H%M%S) file=$today.sql.gz user=rocdk890 passwd=rocdk890 ldir=/data/sqlbak/ rdir=/ ip=47.92.x.x l...
#!/bin/bash # function RENMAE_NIC() { local _NICNAME=$(ip addr | grep "^2"|awk -F ": " '{print $2}') if [[ ${_NICNAME} != "eth0" ]];then echo -e "\e[40;31m The nic name is [\e[40;31m${_NICNAME}\e[4...