ansible
未读
ansible自动化 图形化工具---tower
一、环境 系统版本 root@template:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.7 L
shell
未读
shell 命令-脚本进阶实例
实时更新 正则匹配邮箱 ^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$ 游戏维护菜单 #!/bin/bash
conf=serverlist.xml
AreaList=`awk -F '"' '/<s/{p
shell
未读
shell 命令-脚本基础
#!/bin/sh # 在脚本第一行脚本头 # sh为当前系统默认shell,可指定为bash等shell
shopt # 显示和设置shell中的行为选项
sh -x
shell
未读
shell 命令-服务
/etc/init.d/sendmail start # 启动服务
/etc/init.d/sendmail stop # 关闭服务
/etc/init.d/sendmail status #
shell
未读
shell 命令-软件
rpm rpm -ivh lynx # rpm安装
rpm -e lynx # 卸载包
rpm -e lynx --nodeps # 强制卸载
rpm -qa # 查看所有安装的rpm包
rpm -qa | grep lynx