centos7 yum升级openssl到最新版本
yum -y install epel-release
yum -y install openssl11 openssl11-devel
mv /usr/bin/openssl...
yum -y install epel-release
yum -y install openssl11 openssl11-devel
mv /usr/bin/openssl...
#!/bin/env bash export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin clear # 检查是否 root 用户 if [ $(id -u) != "0" ]; then echo "Error: You must be root to run this sc...
标签: centos 安装 shell install 一键 docker centos7 docker-compose
#!/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...
#add tomcat ptah export CATALINA_HOME=/data/tomcat export CATALINA_BASE=/data/tomcat #add tomcat pid CATALINA_PID="$CATALINA_BASE/tomcat.pid...
#!/bin/sh PATH=/bin:/sbin:/usr/bin:/usr/sbin:/opt/bin:/opt/sbin:~/bin export PATH # Check the network status NET_NUM=`ping -c 4 www.baidu.com |awk '/pac...