
linux
hlgwx
不积跬步无以至千里;
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Linux 下各个目录的作用及内容
https://www.cnblogs.com/sytfyf/p/6364691.html原创 2020-01-19 17:38:41 · 204 阅读 · 0 评论 -
解决redis连接错误:MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persi
MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report er...原创 2020-01-16 14:45:25 · 624 阅读 · 0 评论 -
Linux流量监控工具 - iftop (最全面的iftop教程)
https://www.vpser.net/manage/iftop.html原创 2020-01-03 16:56:31 · 285 阅读 · 0 评论 -
kerberods挖矿病毒查杀及分析(crontab 挖矿 curl -fsSL https://pastebin.com/raw)
https://blog.youkuaiyun.com/u010457406/article/details/89328869原创 2019-12-03 11:23:24 · 3389 阅读 · 0 评论 -
shell 脚本 对Python脚本批处理
https://www.jianshu.com/p/0f72afb513ab原创 2019-11-23 11:05:14 · 382 阅读 · 0 评论 -
linux 访问 链接地址
curlhttp://127.0.0.1:5000/red_num/9/sum_money/10/lei_sum/4/lei_num/9原创 2019-03-01 13:50:47 · 4071 阅读 · 0 评论 -
windows 安装虚拟机,及centos
虚拟机:https://zhuanlan.zhihu.com/p/41940739centos 官网下载linuxhttps://blog.youkuaiyun.com/yang5726685/article/details/78635388转载 2019-04-13 23:23:12 · 169 阅读 · 0 评论 -
Python windows linux 多进程
#!/usr/bin/python3#coding: utf-8from websocket import create_connectionimport gzipimport timeimport jsonimport redisfrom multiprocessing import Pooldef getdata(currsname): print(currsn...原创 2019-05-13 21:21:41 · 510 阅读 · 0 评论 -
Python 多线程
https://www.cnblogs.com/chengd/articles/7770898.html原创 2019-08-21 14:05:16 · 135 阅读 · 0 评论 -
linux 根据文件名称 杀死正在运行的脚本
ps -ef | grep 文件名 | grep -v grep | cut -c 9-15 | xargs kill -s 9原创 2019-08-12 19:58:21 · 489 阅读 · 0 评论 -
linux 安装Python3 及 pip3
https://www.cnblogs.com/kimyeee/p/7250560.html转载 2019-01-03 20:20:14 · 182 阅读 · 0 评论 -
linux 编辑c文件并运行
vim hello.c输入以下代码#include <stdio.h> int main(void) { printf(“hello world!!”); return 0; }:wq 保存退出;生成hello可执行文件$ gcc hello.c –o hello运行可执行文件./hello成功查看运行结果...原创 2018-05-23 10:52:40 · 3051 阅读 · 0 评论 -
linux 基本操作
vim下u 撤销上一步的操作Ctrl+r 恢复上一步被撤销的操作rm filenamerm -rf foldername-r 就是向下递归,不管有多少级目录,一并删除-f 就是直接强行删除,不作任何提示的意思...原创 2018-05-23 10:58:11 · 158 阅读 · 0 评论 -
python调用.os文件方法
cstudy/aa.ospystudy/ts.pyaa.c-->aa.o-->aa.soaa.c内容为:#include "stdio.h"void display(char* msg){ printf("%s\n",msg);}int add(int a,int b){ return a+b;}ts.py内容为:#!/usr/bin/pyt...原创 2018-05-23 11:43:04 · 1692 阅读 · 0 评论 -
makeFile文件作用是什么
其作用如下: makefile关系到了整个工程的编译规则。一个工程中的源文件不计数,其按类型、功能、模块分别放在若干个目录中,makefile定义了一系列的规则来指定,哪些文件需要先编译,哪些文件需要后编译,哪些文件需要重新编译,甚至于进行更复杂的功能操作,因为makefile就像一个Shell脚本一样,其中也可以执行操作系统的命令。 makefile带来的好处就是——“自动化编...原创 2018-05-23 14:21:07 · 4607 阅读 · 0 评论 -
Linux 目录及目录下所有文件 拥有者及所属群组改变;
例如Linux系统下有www账户,用chown -R命令,-R参数代表把该目录下包括子目录的拥有者(owner)都改变。1、使用ls –l来查询文件目录的拥有者,如下图:2、使用chown可以修改权限:12chown -R www /alidata/www/phpwind/#即可将目录/alidata/www/phpwind下的所有文件和目录的拥有者都修改为www账户。...转载 2018-05-23 15:22:26 · 3664 阅读 · 0 评论 -
Ubuntu 16.04 python2.7和OpenCV安装
我的电脑装的是Ubuntu 16.04,python 2.7和OpenCV 3.2.0 。1. 首先更新相关的package:[plain] view plain copysudo apt-get update [plain] view plain copysudo apt-get install build-essential cmake git libgtk2.0-dev pkg-confi...转载 2018-05-25 16:30:10 · 3080 阅读 · 0 评论 -
linux c++ helloworld 编写 编译 运行
编写:vim hello.cpp#include <iostream>using namespace std;int main(){ cout << "Hello World!" << endl; return 0;}:wq编译:g++ hello.cpp -o hello运行:./hello结果输出:Hello World!...原创 2018-05-23 16:46:50 · 3342 阅读 · 0 评论 -
linux下python程序内切换到某目录下执行某程序;
天天原创 2018-05-24 10:26:14 · 7535 阅读 · 0 评论 -
putty 远程连接ubuntu 本地显示图片
环境准备:putty+xming远程登录Ubuntu16.04图形界面操作方法:【实用手记】linux下命令行查看图片感谢两位的总结!转载 2018-06-07 10:46:05 · 2092 阅读 · 0 评论 -
linux ubuntu16.04 opencv 读取,显示,保存图片
import numpy as npimport cv2img=cv2.imread(r'./tu/a.jpg')cv2.imshow('image',img)k=cv2.waitKey(0)&0xFFif k==27: cv2.destoryAllWindows()elif k==ord('s'): cv2.imwrite('a1.jpg',img) cv2.dest...原创 2018-06-08 11:29:34 · 5382 阅读 · 0 评论 -
pip install matplotlib 报错
信息为:Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/pyparsing.pyc'Consider using the `--user` option or check the permissio...原创 2018-06-08 12:42:49 · 10697 阅读 · 2 评论