上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
摘要: 1. > strace -p pid //可以调试正在运行的进程状态 2. > ps aux|grep $进程名称 > ps -eo pid,tty,user,comm,lstart,etime | grep $进程名称 参数说明: pid:进程ID tty:终端 user: 用户 comm:进程名 阅读全文
posted @ 2019-08-14 14:33 cyqAkin 阅读(137) 评论(0) 推荐(0) 编辑
摘要: // linux系统 strace命令 常用来跟踪进程执行时的系统调用和所接收的信号 php-fpm 经常无法正常运行,导致nginx会报502 BadGateway 网关错误,这个时候服务器重启下 又可以继续使用了,问题跟踪↓↓↓↓↓↓↓↓ 开始: 1.尝试下根据 strace -p {php-f 阅读全文
posted @ 2019-08-02 11:46 cyqAkin 阅读(258) 评论(0) 推荐(0) 编辑
摘要: <?php $data = array( array( 'id' => 5698, 'first_name' => 'Bill', 'last_name' => 'Gates', ), array( 'id' => 4767, 'first_name' => 'Steve', 'last_name' 阅读全文
posted @ 2019-07-29 15:45 cyqAkin 阅读(123) 评论(0) 推荐(0) 编辑
摘要: kill -9 `ps -ef|grep '进程名称'| awk '{print $2}' //这里的print $2 代表只输出进程Pid , 然后用``反引号括起来, kill -9 `里面的所有进程` 阅读全文
posted @ 2019-07-25 10:00 cyqAkin 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 下载docker clickhouse包 > sudo docker pull yandex/clickhouse-client > sudo docker pull yandex/clickhouse-server 运行clickhouse-server容器 > sudo docker run - 阅读全文
posted @ 2019-06-17 18:47 cyqAkin 阅读(8278) 评论(0) 推荐(0) 编辑
摘要: 常用命令 镜像的导出导入 和 命名;这一步导出可以保存tar文件,作为离网的环境安装docker-compose docker save 镜像id > 文件名.tar docker load < 文件名.tar docker tag 镜像id 镜像名称:tag docker run -it --ne 阅读全文
posted @ 2019-05-17 11:12 cyqAkin 阅读(401) 评论(0) 推荐(0) 编辑
摘要: TF_TYPE="cpu" # Change to "gpu" for GPU support //设置环境变量 TARGET_DIRECTORY='/usr/local'//设置环境变量 wget https://storage.googleapis.com/tensorflow/libtenso 阅读全文
posted @ 2019-04-22 15:57 cyqAkin 阅读(904) 评论(0) 推荐(0) 编辑
摘要: 1.创建app.py项目文件,执行以下代码 2.创建文件 requirements.txt 安装python的依赖项 3.创建一个 Dockerfile 文件,写入 4.创建一个 docker-compose.yml 文件,写入 // 这边docker-compose 定义了两个服务 web -> 阅读全文
posted @ 2019-04-10 12:08 cyqAkin 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 1. http://download2.navicat.com/download/navicat100_mysql_en.tar.gz 2. tar -zxvf /home/rain/download/navicat8_mysql_en.tar.gz 3. ./start_navicat 连接上数据 阅读全文
posted @ 2019-04-09 15:07 cyqAkin 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 转发自:https://blog.csdn.net/money9sun/article/details/85099134 第一步:安装docker https://www.cnblogs.com/cyq632694540/p/10596276.html 第二步:检查mysql的镜像,并下载 # do 阅读全文
posted @ 2019-03-26 10:08 cyqAkin 阅读(156) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页