1 2 3 4 5 ··· 9 下一页
摘要: 打开virt manager ,界面显示方格乱码: 通过搜索 说要安装virt manager的字体 命令: yum install dejavu lgc sans fonts 结果安装之后,重新启动了virt manager 还是没有变化, 问了别人之后 只需在命令行里执行 重新打开之后就显示正常 阅读全文
posted @ 2017-08-29 19:27 aallennty 阅读(2524) 评论(0) 推荐(1)
摘要: – Could not find (the correct version of) boost. – MySQL currently requires boost_1_59_0 CMake Error at cmake/boost.cmake:81 (MESSAGE): You can downlo 阅读全文
posted @ 2017-04-12 15:15 aallennty 阅读(1224) 评论(0) 推荐(0)
摘要: #!/bin/bash #backup.sh #备份至/usr/local/backdir/ #标识 ServerFlag=137 #备份存放目录 BackupPath=/usr/local/backdir/ #要备份的目录 DBPath=/usr/local/tomcat/webapps Last 阅读全文
posted @ 2017-04-12 13:57 aallennty 阅读(284) 评论(0) 推荐(0)
摘要: 介绍 MySQL 支持单向、异步复制,复制过程中一个服务器充当主服务器,而一个或多个其它服务器充当从服务器。主服务器将更新写入二进制日志文件,并维护文件的一个索引 以跟踪日志循环。这些日志可以记录发送到从服务器的更新。当一个从服务器连接主服务器时,它通知主服务器从服务器在日志中读取的最后一次成功更新 阅读全文
posted @ 2017-04-03 17:00 aallennty 阅读(138) 评论(0) 推荐(0)
摘要: 安装nginx的时候出现 ./configure: error: SSL modules require the OpenSSL library. 解决方法: Centos需要安装openssl-develUbuntu则需要安装:sudo apt-get install libssl-dev 安装n 阅读全文
posted @ 2017-03-25 11:52 aallennty 阅读(3333) 评论(0) 推荐(0)
摘要: import random def Verifi_code(): code = [] for i in range(6): if i == random.randint(1,5): code.append(str(random.randint(1,5))) else: temp = random.r 阅读全文
posted @ 2017-03-25 11:52 aallennty 阅读(122) 评论(0) 推荐(0)
摘要: # -*- coding: UTF-8 -*- import smtplib from email.mime.text import MIMEText msg = MIMEText('hello, send by Python...', 'plain', 'utf-8') from_addr = ' 阅读全文
posted @ 2017-03-25 11:52 aallennty 阅读(153) 评论(0) 推荐(0)
摘要: centos解决办法:[root@tyzz MyBlog-Flask]# yum install -y MySQL-python 阅读全文
posted @ 2017-03-25 11:52 aallennty 阅读(107) 评论(0) 推荐(0)
摘要: 基本sed编程举例-n 只输出处理后的行-i 直接修改读取的文件内容,而不是输出到终端-r 使用扩展正则表达式打印指定行[root@tyzZ SED]# cat file xdtn 6/56 12356 G 8 34 78zdyn 6/56 12... 阅读全文
posted @ 2017-03-25 11:51 aallennty 阅读(339) 评论(0) 推荐(0)
摘要: 查询文件空行所在的行号[root@tyzz ~]# awk '{if ($0~/^$/)print NR}' test 368[root@tyzz ~]# grep -n ^$ test 3:6:8:[root@tyzz ~]# grep -n ^$ test |tr... 阅读全文
posted @ 2017-03-25 11:51 aallennty 阅读(118) 评论(0) 推荐(0)
1 2 3 4 5 ··· 9 下一页