上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 68 下一页
摘要: 由于该文件不是压缩文件,所以会报这个错误。 使用下面的命令,查看文件格式 阅读全文
posted @ 2019-02-16 22:03 anobscureretreat 阅读(821) 评论(0) 推荐(0)
摘要: 下载python3.7.2源码 下载完后对压缩包解压缩 进入解压缩完后的文件夹: 配置(需要加上--with-ssl,不然pip不能安装相关函数库,python3.7.2 pip 出现locations that require TLS/SSL异常处理方法) 编译 安装 遇到以下报错: zipimp 阅读全文
posted @ 2019-02-16 16:56 anobscureretreat 阅读(336) 评论(0) 推荐(0)
摘要: 一般位于3.7以上版本编译安装时出错 缺少依赖包libffi-devel 在安装3.7以上版本时,需要一个新的libffi-devel包做依赖 解决方法: 阅读全文
posted @ 2019-02-16 16:54 anobscureretreat 阅读(14875) 评论(0) 推荐(0)
摘要: centos7安装python3.7.2时,报错,解决如下 参考: https://blog.csdn.net/u014749862/article/details/54430022 https://www.cnblogs.com/kaid/p/7639107.html 阅读全文
posted @ 2019-02-16 16:53 anobscureretreat 阅读(2208) 评论(0) 推荐(0)
摘要: https://www.python.org/ftp/python/ 阅读全文
posted @ 2019-02-16 16:12 anobscureretreat 阅读(161) 评论(0) 推荐(0)
摘要: 在主机上,从 Workstation Pro 菜单栏中选择虚拟机 > 安装 VMware Tools 创建装载点目录 装载 CD-ROM 驱动器 进入驱动器 把安装包拷贝到家目录 解压 执行安装 可能会提示:/usr/bin/perl:bad interpreter:No such file or 阅读全文
posted @ 2019-02-16 16:03 anobscureretreat 阅读(245) 评论(0) 推荐(0)
摘要: 官网:http://www.cpan.org/src/ 参考: https://blog.csdn.net/zhang6622056/article/details/52594242 阅读全文
posted @ 2019-02-16 15:47 anobscureretreat 阅读(3042) 评论(0) 推荐(0)
摘要: 在CentOS 7下更改yum源与更新系统。 [1] 首先备份/etc/yum.repos.d/CentOS-Base.repo cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup [2] 进入y 阅读全文
posted @ 2019-02-16 15:20 anobscureretreat 阅读(407) 评论(0) 推荐(0)
摘要: 可能会提示:Cannot find a valid baseurl for repo: base/7/x86_6 这是因为没有网! 参考: https://blog.csdn.net/Hello_World_QWP/article/details/82624715 阅读全文
posted @ 2019-02-16 15:00 anobscureretreat 阅读(2065) 评论(0) 推荐(0)
摘要: yum -y install wget 阅读全文
posted @ 2019-02-16 14:37 anobscureretreat 阅读(1326) 评论(0) 推荐(0)
摘要: 安装centos7后发现不能上网, 将ONBOOT=no改为ONBOOT=yes 然后重启网络服务 再次测试 就可以ping通了! 参考: https://www.cnblogs.com/linnuo/p/6257204.html 阅读全文
posted @ 2019-02-16 14:34 anobscureretreat 阅读(437) 评论(0) 推荐(0)
摘要: import subprocess p_restart=subprocess.Popen(['/bin/sh','/etc/init.d/xxx_service','reboot']) 阅读全文
posted @ 2019-02-15 18:35 anobscureretreat 阅读(1885) 评论(0) 推荐(0)
摘要: MongoDB支持许多数据类型。 其中一些是 - 字符串 - 这是用于存储数据的最常用的数据类型。MongoDB中的字符串必须为UTF-8。 整型 - 此类型用于存储数值。 整数可以是32位或64位,具体取决于服务器。 布尔类型 - 此类型用于存储布尔值(true / false)值。 双精度浮点数 阅读全文
posted @ 2019-02-15 17:08 anobscureretreat 阅读(191) 评论(0) 推荐(0)
摘要: mongoDB有不同的认证机制,3.0版本以后采用的是'MONGODB-CR', 之前的版本采用的是'MONGODB-CR'。 所以,以我的版本情况,显然应该用'SCRAM-SHA-1' 阅读全文
posted @ 2019-02-15 16:36 anobscureretreat 阅读(3948) 评论(0) 推荐(0)
摘要: 参考: https://www.jianshu.com/p/7437666f93e5 https://blog.csdn.net/zaishijizhidian/article/details/80075800 https://www.cnblogs.com/dplearning/p/5127869 阅读全文
posted @ 2019-02-15 16:34 anobscureretreat 阅读(8666) 评论(0) 推荐(1)
摘要: 数据库操作权限 启动客户端: 查看一下用户表有没有数据 查看用户 MongoDB创建数据库管理员用户 输出 重启MongoDB服务并加上--auth参数 查看用户,会报错 此时需要认证 查看用户,就可以看到了 建立普通帐号 用户user 输出 查看用户 用户user1 接下来,为指定数据库创建一般用 阅读全文
posted @ 2019-02-15 16:06 anobscureretreat 阅读(6983) 评论(0) 推荐(1)
摘要: 无密码无认证下连接 输出: 阅读全文
posted @ 2019-02-15 14:53 anobscureretreat 阅读(2069) 评论(0) 推荐(0)
摘要: document.querySelector(".TRS_Editor").childNodes[6].childNodes[0].childNodes[0] document.querySelector("img[style]") 阅读全文
posted @ 2019-02-14 23:14 anobscureretreat 阅读(133) 评论(0) 推荐(0)
摘要: 1、String 操作 redis中的String在在内存中按照一个name对应一个value来存储 set() mset() get(name) 获取值 mget(keys, *args) getset(name, value) getrange(key, start, end) setrange 阅读全文
posted @ 2019-02-14 17:03 anobscureretreat 阅读(194) 评论(0) 推荐(0)
摘要: redis是一个key-value存储系统。和Memcached类似,它支持存储的value类型相对更多,包括string(字符串)、list(链表)、set(集合)、zset(sorted set --有序集合)和hash(哈希类型)。这些数据类型都支持push/pop、add/remove及取交 阅读全文
posted @ 2019-02-14 11:01 anobscureretreat 阅读(142) 评论(0) 推荐(0)
摘要: 出现类似PHP Warning: Module * already loaded in Unknown on line 0,一般是可能因为升级php导致的组件重复加载,解决就是 1.vi /etc/php.ini 2.将 extension = *.so去除掉即可 阅读全文
posted @ 2019-02-13 17:41 anobscureretreat 阅读(1863) 评论(0) 推荐(0)
摘要: 1. 可以用上面的三个命令检查一下是不是已经安装过memcache了 2,yum search memcached //检查有没有安装包,有了可以执行第三部3,yum -y install memcached4,yum -y install php-pecl-memcache //memcache关 阅读全文
posted @ 2019-02-13 17:10 anobscureretreat 阅读(369) 评论(0) 推荐(0)
摘要: 一个一个卸载 阅读全文
posted @ 2019-02-13 17:02 anobscureretreat 阅读(4012) 评论(0) 推荐(0)
摘要: 1.在http://libevent.org/ 下载libevent-2.0.22-stable.tar.gz 2.tar -zxvf libevent-2.0.22-stable.tar.gz 3.cd libevent-2.0.22-stable 4./configure --prefix=/u 阅读全文
posted @ 2019-02-13 16:21 anobscureretreat 阅读(304) 评论(0) 推荐(0)
摘要: 1.安装webtatic-release 如果提示错误:error: Failed dependencies:epel-release >= 7 is needed by webtatic-release-7-3.noarch需要先安装epel-release。 通过命令: 成功安装。 2.安装PH 阅读全文
posted @ 2019-02-13 14:43 anobscureretreat 阅读(320) 评论(0) 推荐(0)
摘要: 在官网下载安装包: 或者通过wget下载 然后下载到本地,解压 将解压出的文件夹移动到/usr/local/下并且重命名为mongodb 创建文件夹data 创建文件logs 进入/usr/local/mongodb/bin目录下,启动mongodb服务 进入/usr/local/mongodb/b 阅读全文
posted @ 2019-02-13 13:28 anobscureretreat 阅读(945) 评论(0) 推荐(0)
摘要: 安装redis 下载fedora的epel仓库 安装redis数据库 启动redis 显示redis运行状态 至此已经安装完毕。 # 停止redis # 查看redis进程 #设置redis为开机自动启动 #进入redis服务 # 列出所有key keys * #防火墙开放相应端口 #防火墙开放相应 阅读全文
posted @ 2019-02-12 17:49 anobscureretreat 阅读(897) 评论(0) 推荐(0)
摘要: [root@xxx ~]# firewall-cmd --state not running 阅读全文
posted @ 2019-02-12 16:57 anobscureretreat 阅读(247) 评论(0) 推荐(0)
摘要: 执行安装命令 需要连接互联网,然后执行 更新软件包 执行 后如下图所示,我们输入y 确认安装并使用空间 接下来会执行完成,我们可以看到包括redis的版本信息等,执行 可以查看redis服务的状态为running,说明安装完成系统自动启动了服务 配置redis服务 3.1开启远程连接 找到/etc/ 阅读全文
posted @ 2019-02-12 16:05 anobscureretreat 阅读(178) 评论(0) 推荐(0)
摘要: obstacle 障碍层 inflation 膨胀层 ultrasonic 超声层 prohibition 禁行线层 footprint 足迹 geometry 几何学 polygon 多边形 阅读全文
posted @ 2019-02-12 10:57 anobscureretreat 阅读(139) 评论(0) 推荐(0)
摘要: 输出 阅读全文
posted @ 2019-02-12 10:53 anobscureretreat 阅读(652) 评论(0) 推荐(0)
摘要: 输出 阅读全文
posted @ 2019-02-12 10:29 anobscureretreat 阅读(1596) 评论(0) 推荐(0)
摘要: import requests from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains from selenium import webdriver from selenium.webdriver.chrome.options import Option... 阅读全文
posted @ 2019-02-11 21:13 anobscureretreat 阅读(676) 评论(0) 推荐(0)
摘要: headers = { 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', 'Accept-Encoding': 'gzip, deflate', 'Accept-Language': 'zh-CN,zh;q=0.9', ... 阅读全文
posted @ 2019-02-11 21:11 anobscureretreat 阅读(582) 评论(0) 推荐(0)
摘要: from selenium import webdriver from selenium.common.exceptions import NoSuchElementException from selenium.webdriver.common.by import By from selenium.webdriver.common.action_chains import ActionCh... 阅读全文
posted @ 2019-02-11 21:08 anobscureretreat 阅读(4563) 评论(0) 推荐(0)
摘要: from pymouse import PyMouse mouse = PyMouse() mouse.click(220,330) 阅读全文
posted @ 2019-02-11 21:02 anobscureretreat 阅读(1040) 评论(0) 推荐(0)
摘要: 输出 阅读全文
posted @ 2019-02-11 20:59 anobscureretreat 阅读(612) 评论(5) 推荐(0)
摘要: js触发按钮点击事件 备注: 1.btnObj.click()是真正地用程序去点击按钮,触发了按钮的onclick()事件,按钮不隐藏的时候是可以调用的按钮隐藏之后就不行了,设定隐藏不要使用Visiable属性,使用style.display=none2.btnObj.onclick()只是简单地调 阅读全文
posted @ 2019-02-11 20:50 anobscureretreat 阅读(25622) 评论(0) 推荐(1)
摘要: 鼠标经过事件 密码: 阅读全文
posted @ 2019-02-11 20:43 anobscureretreat 阅读(4890) 评论(0) 推荐(0)
摘要: # -*- coding:UTF-8 -*- #!/user/bin/env python ''' Created on 2010-9-1 @author: chenzehe ''' import win32com.client from time import sleep loginurl='http://passport.cnblogs.com/login.aspx' loginoutu... 阅读全文
posted @ 2019-02-11 20:39 anobscureretreat 阅读(1026) 评论(0) 推荐(0)
上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 68 下一页