背景 nginx 在音视频服务也有比较强大的功能,下面给出配置步骤。 前提:根据 软件运行环境,确保搭建好了有关支持环境 参考: 步骤 1.下载第三方扩展模块 "nginx rtmp module" 2.编译安装nginx nginx 添加模块都是需要重新配置编译的编译 bash 3.修改nginx ...
分类:
其他好文 时间:
2020-01-08 10:59:46
阅读次数:
158
1、创建脚本 # vi /etc/init.d/nginx #!/bin/bash # nginx Startup script for the Nginx HTTP Server # it is v.0.0.2 version. # chkconfig: - 85 15 # description ...
分类:
其他好文 时间:
2020-01-08 10:50:04
阅读次数:
70
建议git本身日常的代码提交工作建议使用命令行,涉及修改对比等再用图形化工具 1、打开git 命令行工具 在pull下来的git工程目录,右键git Bash Here 2、打开git TortoiseGit 的差异对比 在pull下来的git工程目录,右键TortoiseGit --差异对比(英文 ...
分类:
其他好文 时间:
2020-01-08 10:47:54
阅读次数:
73
打开git bash 连接ansible服务器,然后进入deploy用户 #ssh root@192.168.96.188 进入python3.6虚拟环境 #su - deploy #source .py3-a2.5-env/bin/activate 加载ansible 2.5版本 #source ...
分类:
其他好文 时间:
2020-01-08 10:45:09
阅读次数:
143
原因之一:可能后台进程已经存在了,需要杀掉进程 ps -ef| grep java|grep xx 其中xx为项目名称,这样可以快速找到当前在weblogic容器里面的项目进程是否存在 如果存在,找到进程号并杀掉该进程 kill -9 psid ...
分类:
Web程序 时间:
2020-01-08 10:21:10
阅读次数:
78
函数库: !/bin/bash 函数库的作用:在写一个大型脚本时候, 有些代码可以被多个脚本重复使用进行封装 function add { echo " " } function reduce{ echo " " } function multiple{ echo " " } function di ...
分类:
系统相关 时间:
2020-01-08 00:51:55
阅读次数:
119
如何将本地项目push到GitHub上? GitHub新建一个 repostory 找到URL 例如:https://github.com/hoo334/test.git 找到项目文件夹 右键git bash here git init git add . git commit -m "提交信息" ...
分类:
Web程序 时间:
2020-01-08 00:50:41
阅读次数:
89
shell-流程控制 for语句 数字循环1 #!/bin/bash for((i=1;i<=3;i++)); do echo ${i} done 数字循环2 #!/bin/bash for i in $(seq 1 3); do echo ${i} done 数字循环3 #!/bin/bash f ...
分类:
系统相关 时间:
2020-01-08 00:37:51
阅读次数:
93
首选区分内置命令和外置命令: 内置命令:shell程序自带的命令,系统内核一启动就可以使用的命令 外置命令:在系统PATH变量路径下的命令 如何查看一个命令是内置命令还是外置命令: type -a cd hash -r 清除缓存列表 命令执行流程总结:当我们执行一个命令的时候,流程如下 1:检查命令 ...
分类:
系统相关 时间:
2020-01-08 00:18:01
阅读次数:
92
进入docker交互式环境:docker exec -it ***** bash 安装jupyter: 安装python dev包 : apt-get install python-dev 安装jupyter : pip install jupyter [若pip没安装好,需要安装sudo apt ...
分类:
其他好文 时间:
2020-01-07 22:57:20
阅读次数:
353