sh

keepalived 发生异常进行主备切换的notify.sh脚本

###notify.sh #!/bin/sh #########DESC########## #keepalive切换告警提示# ####################### ## 配置文件和手机号码配置 config_file="/etc/keepalived/hostinfo.cfg" ale ......
脚本 keepalived notify sh

群晖安装ipkg时遇到:bootstrap.sh: line 55: /opt/bin/ipkg: No such file or directory的解决方法

引用:https://blog.csdn.net/qq_37946291/article/details/108421382 在安装ipkg时首先是遇到了提示需要删除:rm -rf /volume1/@optware 、rm -rf/usr/lib/ipkg 按照教程删除掉这两个路径之后,再次运行s ......
ipkg bootstrap directory 方法 file

paramiko遍历嵌套文件夹上传到linux服务器,并执行sh脚本

遍历本地嵌套文件夹获取文件,上传到远程linux服务器,上传文件过程中展示进度条,生成的程序运行日志按时间存放本地,双击exe即可运行 ......
脚本 文件夹 paramiko 服务器 文件

linux下sh脚本可以执行,但是放到crontab中执行无信息(crontab PATH信息与当前用户信息不一致)

创建Mysql备份脚本后,将sh文件加入crontab,命令未执行,日志信息未读取到Mysql库信息 #!/bin/bash DATE=$(date +%F_%H) HOST=127.0.0.1 USER=root PASS=123123 BACKUP_DIR=/root/tmp/ DB_LIST= ......
信息 crontab 脚本 用户 linux

Flink启动报错:/bin/config.sh: line 32: syntax error near unexpected token

flink启动报错 xxx@ssss:/xxx/flink-1.15.2/bin> sh start-cluster.sh /xxx/flink-1.15.2/bin/config.sh: line 32: syntax error near unexpected token `<' /xxx/fl ......
unexpected config syntax Flink error

jsonfilter 和 jshn.sh

jsonfilter 和 jshn.sh 来源 https://blog.csdn.net/weixin_39637151/article/details/110610608 OpenWRT下自带了两个处理JSON文件的工具。 工具一:/usr/bin/jsonfilter 运行/usr/bin/j ......
jsonfilter jshn sh

linux基础 -- /bin/sh -c参数

解决命令的权限问题,可以扩大权限的范围 可以看到向root权限文件test01.txt文件中写入内容时bash拒绝这么做,说是权限不够。这是因为重定向符号“>”和“>>”也是 bash 的命令。我们使用sudo只是让echo命令具有了root权限,但是没有让“>”和“>>”命令也具有root权限,所 ......
参数 基础 linux bin sh

gitea backup sh

#!/bin/bash # This script creates a .zip backup of gitea running inside docker and copies the backup file to the backup directory echo "Delete older b ......
backup gitea sh

Docker启动Tomcat失败提示Cannot find /usr/local/tomcat/bin/setclasspath.sh

docker启动tomcat失败,提示如下: [root@host66 ~]# docker run -it -p 8000:8080 tomcatCannot find /usr/local/tomcat/bin/setclasspath.shThis file is needed to run ......
setclasspath Docker Cannot Tomcat tomcat

npm err! command sh -c vue-cli-service serve

代码中给到的node_modules没法直接使用 从新install rm -rf node_modules npm install https://www.jianshu.com/p/9bc970082020 ......
vue-cli-service command service serve npm

【paddlespeech】win执行sh脚本

paddlespeech 1. 环境配置 按照:https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install_cn.md 问题 conda create -p 在桌面目录执行了conda create -p ......
paddlespeech 脚本 win

Linux|--sh脚本|--文件执行报错::Error response from daemon: invalid reference format

前言 由于Linux中的docker镜像和容器需要批量处理, 所以搞一个脚本,直接一下处理了, 1.我在Windows 10的本机电脑上新建了一个"test.sh"文件 2.将"test.sh"文件上传到Linux环境中 3.在Linux中执行"sh test.sh" 4.报错了... 第一次报错信 ......
脚本 reference response invalid 文件

docker启动失败 exec /xxx.sh: no such file or directory

正常编写的.sh文件拷贝到docker容器,启动时报错no such file or directory,大概率是格式问题 可以用notepad++转换成unix格式,在拷贝到linux环境 如果在linux环境下,我们可以用vi命令打开文件,再按组合建shift+:;(:;为字母L右边的按键) 在 ......
directory docker exec file such

常用的entrypoint.sh使用示例

python FastAPI 中可以使用的 entrypoint.sh 示例,其他语言写的代码也可以参考,思路类似。 #!/bin/bash set -e if [ ! -v PORT ]; then PORT="8000" fi if [ ! -v HOST ]; then HOST='0.0.0 ......
示例 entrypoint 常用 sh

临时上传服务器搭建 transfer.sh

https://github.com/dutchcoders/transfer.sh transfer.sh Easy and fast file sharing from the command-line. This code contains the server with everything ......
transfer 服务器 sh

为 Linux 下 .AppImage 运行文件快速生成桌面和任务栏图标 .sh 文件

I had a friend make an install sh file: It seems to work well and I get an icon added to my ubuntu left app shortcut bar. Here it is below. I will del ......
文件 图标 AppImage 桌面 任务
共106篇  :4/4页 首页上一页4下一页尾页