摘要: 主配置文件: 网站配置文件: 阅读全文
posted @ 2016-09-26 16:15 Python学习之路 阅读(9353) 评论(0) 推荐(0) 编辑
摘要: 1.查看软件包是否安装 [root@localhost ~]# rpm -qa|grep mail mailx-12.5-12.el7_0.x86_64 javamail-1.4.6-8.el7.noarch mailcap-2.1.41-2.el7.noarch libreport-plugin- 阅读全文
posted @ 2016-09-26 16:14 Python学习之路 阅读(2506) 评论(0) 推荐(0) 编辑
摘要: 查看防火墙状态 systemctl status firewalld.service 启动firewall systemctl stop firewalld.service 停止firewall systemctl stop firewalld.service 重新启动服务 systemctl re 阅读全文
posted @ 2016-09-26 16:00 Python学习之路 阅读(349) 评论(0) 推荐(0) 编辑
摘要: 编译 mysql5.6.22 出现以下错误提示: — Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH) CMake Error at cmake/readline.cmake:82 (MESSAGE): Curse 阅读全文
posted @ 2016-09-26 15:55 Python学习之路 阅读(7690) 评论(0) 推荐(1) 编辑
摘要: 在dz论坛中打开了QQ互联登录功能之后提示(1054) Unknown column conuintoken in field list 错误 我们看到sql 错误就是说没有conuintoken字了,这样我们解决办法只需要增加此字段即可。 在dz论坛中打开了QQ互联登录功能之后提示(1054) U 阅读全文
posted @ 2016-09-26 15:52 Python学习之路 阅读(497) 评论(0) 推荐(0) 编辑
摘要: 日志格式: 101.38.166.177 – – [10/Jun/2016:14:19:19 +0800] “POST /wp-admin/admin-ajax.php HTTP/1.1” 200 112 “http://www.ko178.cn/wp-admin/post.php?post=20& 阅读全文
posted @ 2016-09-26 15:47 Python学习之路 阅读(853) 评论(0) 推荐(0) 编辑
摘要: 01.查看IP cat access_log | awk ‘{print $1}’ 02.对IP排序 cat access_log | awk ‘{print $1}’ | sort 03.打印每一重复行出现的次数 cat access_log | awk ‘{print $1}’ | sort | 阅读全文
posted @ 2016-09-26 15:46 Python学习之路 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 1.实验环境: 2.安装、启动vsftpd,并设置开机启动 3.配置虚拟用户 阅读全文
posted @ 2016-09-26 15:45 Python学习之路 阅读(969) 评论(0) 推荐(0) 编辑
摘要: Linux系统: mkdir ~/.pip cat > ~/.pip/pip.conf << EOF [global] trusted-host=mirrors.aliyun.com index-url=https://mirrors.aliyun.com/pypi/simple/ EOF Wind 阅读全文
posted @ 2016-09-26 15:44 Python学习之路 阅读(32804) 评论(0) 推荐(2) 编辑
摘要: 一、集群 1、启动一个ceph进程 启动mon进程 [root@ceph-adm ~]#203.109 service ceph start mon.ceph-mon1 启动msd进程 [root@ceph-adm ~]#203.109 service ceph start mds.ceph-mds 阅读全文
posted @ 2016-09-26 15:42 Python学习之路 阅读(2850) 评论(0) 推荐(0) 编辑
摘要: 1.创建PV物理卷 [root@localhost ~]# pvcreate /dev/sda4 /dev/sda5 /dev/sda6 /dev/sda7 Physical volume “/dev/sda4” successfully created Physical volume “/dev/ 阅读全文
posted @ 2016-09-26 15:38 Python学习之路 阅读(230) 评论(0) 推荐(0) 编辑