合集-shell脚本

摘要:getInfo.sh脚本为获取服务器数据: 点击查看代码 ``` #!/bin/sh ################################## ##get the infomation for server ## ################################## df 阅读全文
posted @ 2023-07-03 18:27 小尾巴想看雪 阅读(40) 评论(0) 推荐(0) 编辑
摘要:本内容只是自己无聊时候的不成熟的写法,放到现在肯定不会这样子复杂的写法,权当娱乐 目录结构: oracle_isntall --config config.yml template_config.yml --install --oracle oracle_install.sh template_or 阅读全文
posted @ 2023-07-03 18:41 小尾巴想看雪 阅读(149) 评论(0) 推荐(0) 编辑
摘要:shell脚本内容为: 点击查看代码 #!/bin/bash export LANG=en_US.UTF-8 export NLS_LANG="AMERICAN_AMERICA.AL32UTF8" source /etc/profile source /root/.bash_profile HOME 阅读全文
posted @ 2023-07-04 16:48 小尾巴想看雪 阅读(123) 评论(0) 推荐(0) 编辑
摘要:采集容器日志的shell脚本内容为: 点击查看代码 ``` #!/bin/bash export LANG=zh_CN.gb18030 . ~/.bash_profile #日志放置目录 log_path=/aa/bb/cc/dd/ee todaydate=$(date +%Y%m%d) nowda 阅读全文
posted @ 2023-07-04 16:46 小尾巴想看雪 阅读(77) 评论(0) 推荐(0) 编辑
摘要:shell脚本内容为,其中的python脚本在python合集内可以找到相关内容: 点击查看代码 ``` #!/bin/sh APPS_HOME=/aa/bb/cc/dd/ee/apps RELEASE_HOME=/aa/bb/cc/dd/ee/weiba-release if [ $(ls ./ 阅读全文
posted @ 2023-07-04 16:42 小尾巴想看雪 阅读(69) 评论(0) 推荐(0) 编辑
摘要:程序作用: 1.初始化操作系统 2.安装dm数据库软件 3.初始化实例 4.配置参数 5.删除实例 6.删除数据库软件 整个安装程序的目录结构如下: ![image](https://img2023.cnblogs.com/blog/1575377/202307/1575377-2023070318 阅读全文
posted @ 2023-07-03 18:50 小尾巴想看雪 阅读(116) 评论(0) 推荐(0) 编辑
摘要:tomcat日志切割: 点击查看代码 ``` #!/bin/bash ###################################### ##weibaxiao 用户tomcat日志切割######## ###################################### LOG_ 阅读全文
posted @ 2023-07-04 16:54 小尾巴想看雪 阅读(13) 评论(0) 推荐(0) 编辑