centos初始化脚本 添加IP.主机名.挂载/dev/sdb1磁盘 #!/bin/bash # ip=$ hostname=$ if [ -z $ip ] || [ -z $hostname ]; then echo " " echo "Sorry, IP or host is null" echo "# The format : bash set.sh ip hostname" echo "# For example: bash s…
初始化数据库报错: sh: ./bin/my_print_defaults: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录FATAL ERROR: Neither host 'kvm' nor 'localhost' could be looked up with./bin/resolveipPlease configure the 'hostname' command to return a correcthostname.If you…