七牛上传
#!/usr/bin/env python # -*- coding:utf-8 -*- impor… 继续阅读 七牛上传
#!/usr/bin/env python # -*- coding:utf-8 -*- impor… 继续阅读 七牛上传
重装python的distribution: 下载 distribution : https://p… 继续阅读 pkg_resources.DistributiionNotDound: The pip==7.1.0 distribution was not found and is required by the application
主页https://wkhtmltopdf.org/ 1.wget https://github.c… 继续阅读 HTML转pdf插件wkhtmltopdf
vim /etc/ssh/sshd_config 找到并用#注释掉这行:PermitRootLogi… 继续阅读 ubuntu允许root登录
echo “new_password” | passwd –stdin root echo “ro… 继续阅读 批量改密码
1.主库锁表 flush tables with read lock; show master st… 继续阅读 mysql快速重建主从
com.sun.org.apache.xerces.internal.impl.io.Malform… 继续阅读 Invalid byte 3 of 3-byte UTF-8 sequence
#包下载 https://files.pythonhosted.org/packages/4d/de… 继续阅读 手动离线安装ansible
下载工具官网 https://aria2.github.io/ #repo信息 http://rep… 继续阅读 aria2下载工具
May 3 14:01:30 localhost sshd[22672]: Authenticati… 继续阅读 Authentication refused: bad ownership or modes for directory /root
https://tuxera.com/opensource/ntfs-3g_ntfsprogs-20… 继续阅读 ntfs-3g挂载ntfs分区
需要修改两处注册表,分别是HKEY_LOCAL_MACHINE\SYSTEM\CurrentCont… 继续阅读 远程桌面rdp改端口
用mount命令挂载: #sudo apt-get install smbfs #老版本 mount… 继续阅读 linux挂载samba
tee指令会从标准输入设备读取数据,将其内容输出到标准输出设备,同时保存成文件。 Usage: te… 继续阅读 tee命令-把数据重定向到给定文件和屏幕上
修改/etc/yum.repos.d/epel.repo,将gpgcheck=1改为0 或者直接从r… 继续阅读 GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
yum groupinstall Development Tools -y yum install … 继续阅读 centos6快速安装wine-3.5
#!/usr/bin/python #coding=utf-8 import sys reload(… 继续阅读 导出mongo为txt文件
yum install -y epel-release yum install -y docker-… 继续阅读 centos6.5快速安装docker
-bash: warning: setlocale: LC_CTYPE: cannot change… 继续阅读 -bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8): No such file or directory
https://www.joedog.org/ yum install -y siege [root… 继续阅读 Siege压测工具