www.cnblogs.com/ruiyqinrui

开源、架构、Linux C/C++/python AI BI 运维开发自动化运维。 春风桃李花 秋雨梧桐叶。“力尽不知热 但惜夏日长”。夏不惜,秋不获。@ruiY--秦瑞

python爬虫,C编程,嵌入式开发.hadoop大数据,桉树,onenebula云计算架构.linux运维及驱动开发.

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

11 2015 档案

摘要:http://kodango.com/cpu-topology 阅读全文
posted @ 2015-11-30 15:51 秦瑞It行程实录 阅读(256) 评论(0) 推荐(0) 编辑

摘要:CPU Tuning Cache share tuning 对于物理 CPU,同一个 core 的 threads 共享 L2 Cache,同一个 socket 的 cores 共享 L3 cache,所以虚拟机的 vcpu 应当尽可能在同一个 core 和 同一个 socket 中,增加 c... 阅读全文
posted @ 2015-11-30 09:56 秦瑞It行程实录 阅读(456) 评论(0) 推荐(0) 编辑

该文被密码保护。
posted @ 2015-11-27 16:32 秦瑞It行程实录 阅读(0) 评论(0) 推荐(0) 编辑

摘要:Setting up NTP on WindowsIt's very helpful that Meinberg have provided an installer for the highly-respected and high-accurate NTP software for Window... 阅读全文
posted @ 2015-11-27 16:20 秦瑞It行程实录 阅读(3183) 评论(0) 推荐(0) 编辑

摘要:Server端/etc/ntp.confClient端/etc/ntp.confwindows ntp安装配置 阅读全文
posted @ 2015-11-27 15:42 秦瑞It行程实录 阅读(190) 评论(0) 推荐(0) 编辑

该文被密码保护。
posted @ 2015-11-27 15:38 秦瑞It行程实录 阅读(0) 评论(0) 推荐(0) 编辑

该文被密码保护。
posted @ 2015-11-27 12:53 秦瑞It行程实录 阅读(0) 评论(0) 推荐(0) 编辑

该文被密码保护。
posted @ 2015-11-27 12:51 秦瑞It行程实录 阅读(0) 评论(0) 推荐(0) 编辑

该文被密码保护。
posted @ 2015-11-27 12:09 秦瑞It行程实录 阅读(0) 评论(0) 推荐(0) 编辑

摘要:KVM虚拟机上关于宿主机的USB设备使用问题探究KVM usb passthrough就是将宿主机的usb接口直接给虚拟机使用,usb接口上的设备也就直接可以在虚拟机上使用;测试通过usb passthrough 能在基于ubuntu14.04 下kvm windows2003 能成功透传usb;w... 阅读全文
posted @ 2015-11-27 09:23 秦瑞It行程实录 阅读(1709) 评论(0) 推荐(0) 编辑

摘要:Virt-Manager adds support for usb2Wednesday, April 4, 2012 - 10:40 Haydn Solomon The most recent release of virt-manager tagged 0.9.1-1 released at th... 阅读全文
posted @ 2015-11-27 09:10 秦瑞It行程实录 阅读(375) 评论(0) 推荐(0) 编辑

摘要:set in nova.conf -> scheduler_default_filters=AllHostsFilter Tried without success. 阅读全文
posted @ 2015-11-26 22:28 秦瑞It行程实录 阅读(251) 评论(0) 推荐(0) 编辑

摘要:Hi,Does anyone successfully use USB drive in Windows7 guest? If I pass aUSB drive to Windows7 guest, Device Manager may find this device butthe USB ma... 阅读全文
posted @ 2015-11-26 17:07 秦瑞It行程实录 阅读(294) 评论(0) 推荐(0) 编辑

该文被密码保护。
posted @ 2015-11-26 16:19 秦瑞It行程实录 阅读(0) 评论(0) 推荐(0) 编辑

摘要:1、安装iptables防火墙CentOS执行:yum install iptablesDebian/Ubuntu执行:apt-get install iptables2、清除已有iptables规则iptables -Fiptables -Xiptables -Z3、开放指定的端口#允许本地回环接... 阅读全文
posted @ 2015-11-26 14:53 秦瑞It行程实录 阅读(312) 评论(0) 推荐(0) 编辑

摘要:1. iptables 封INPUT入站 ip 流量iptables -I INPUT -s (ip or ip/netmask) -j DROP2. iptables 封OUTPUT出站ip流量iptables -I OUTPUT -d (ip or ip/netmask) -j DROP 阅读全文
posted @ 2015-11-26 13:38 秦瑞It行程实录 阅读(250) 评论(0) 推荐(0) 编辑

摘要:某些人很MJJ,挂了N多代理来疯狂采集,把服务器带宽都耗尽了,没办法只好封掉一些!目前发现的问题openStack kilo for ubuntu manuual运行一段时间后 云平台的控制节点p5p1网卡send 大流量包 到 公网如下 ips,目前采用的方法,之后流量目前观察正常;很多12M/s... 阅读全文
posted @ 2015-11-26 10:26 秦瑞It行程实录 阅读(586) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2015-11-24 18:13 秦瑞It行程实录 阅读(351) 评论(0) 推荐(1) 编辑

该文被密码保护。
posted @ 2015-11-24 15:40 秦瑞It行程实录 阅读(0) 评论(0) 推荐(0) 编辑

摘要:yumrpmdb: Thread/process 17132/140266190264064 failed: Thread died in Berkeley DB l ibraryerror: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY... 阅读全文
posted @ 2015-11-21 22:42 秦瑞It行程实录 阅读(309) 评论(0) 推荐(0) 编辑

摘要:http://lynnkong.iteye.com/blog/1699299 阅读全文
posted @ 2015-11-20 18:07 秦瑞It行程实录 阅读(250) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2015-11-20 17:17 秦瑞It行程实录 阅读(214) 评论(0) 推荐(0) 编辑

摘要:apt-get install gettext;msgfmt--statistics--verbose-odjango.modjango.po; 阅读全文
posted @ 2015-11-20 17:13 秦瑞It行程实录 阅读(351) 评论(0) 推荐(0) 编辑

摘要:glance image-create --name "cirros-0.3.4-x86_64" --file /tmp/images/cirros-0.3.4-x86_64-disk.img \--disk-format qcow2 --container-format bare --visibi... 阅读全文
posted @ 2015-11-20 15:44 秦瑞It行程实录 阅读(236) 评论(0) 推荐(0) 编辑

该文被密码保护。
posted @ 2015-11-20 14:14 秦瑞It行程实录 阅读(0) 评论(0) 推荐(0) 编辑

该文被密码保护。
posted @ 2015-11-20 13:54 秦瑞It行程实录 阅读(0) 评论(0) 推荐(0) 编辑

该文被密码保护。
posted @ 2015-11-19 16:37 秦瑞It行程实录 阅读(0) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2015-11-17 21:37 秦瑞It行程实录 阅读(381) 评论(0) 推荐(0) 编辑

摘要:Mysql 被复制机 sql启动 阅读全文
posted @ 2015-11-17 20:48 秦瑞It行程实录 阅读(474) 评论(0) 推荐(0) 编辑

摘要:浅析ubuntu下如何修改网卡网速--将100M网卡改为10M网卡公司的路由器可能比较陈旧,机器启动之后,默认网卡是100M的,但是登录QQ经常出现掉线现象,后来得知原来需要将100M网卡降频到10M才能正常使用,果然修改之后thunderbird收发邮件也嗖嗖的了,luther@gliethttp... 阅读全文
posted @ 2015-11-17 08:17 秦瑞It行程实录 阅读(442) 评论(0) 推荐(0) 编辑

摘要:Rejected request from RFC1918 IP to public server address 阅读全文
posted @ 2015-11-16 17:42 秦瑞It行程实录 阅读(4913) 评论(1) 推荐(0) 编辑

该文被密码保护。
posted @ 2015-11-16 17:29 秦瑞It行程实录 阅读(0) 评论(0) 推荐(0) 编辑

摘要:在多个VPS上尝试。1.进入目录cd /var/2.获取要增加的SWAP文件块(这里以1GB为例)dd if=/dev/zero of=swapfile bs=1024 count=10383363.创建SWAP文件/sbin/mkswap swapfile4.激活SWAP文件/sbin/swapo... 阅读全文
posted @ 2015-11-15 16:27 秦瑞It行程实录 阅读(272) 评论(0) 推荐(0) 编辑

摘要:Transaction: atomicity, consistency, separability, persistencehttp://langgufu.iteye.com/blog/1434408http://wenku.baidu.com/link?url=RXD1zbgtDrCZQu4rER... 阅读全文
posted @ 2015-11-14 22:59 秦瑞It行程实录 阅读(246) 评论(0) 推荐(0) 编辑

摘要:Redis简介:Redis是一个开源的使用ANSIC语言编写、支持网络、可基于内存亦可持久化的日志型、Key-Value数据库,并提供多种语言的API。从2010年3月15日起,Redis的开发工作由VMware主持。redis是一个key-value存储系统。和Memcached类似,它支持存储的... 阅读全文
posted @ 2015-11-14 21:38 秦瑞It行程实录 阅读(343) 评论(0) 推荐(0) 编辑

摘要:Redis 2.6.9 安装报错,提示:zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or directoryzmalloc.h:55:2: error: #error "Newer version of jemalloc req... 阅读全文
posted @ 2015-11-14 20:17 秦瑞It行程实录 阅读(2877) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2015-11-14 17:00 秦瑞It行程实录 阅读(270) 评论(0) 推荐(0) 编辑

摘要:MySQL表设计关于blog数据库中建立所有表的sql语句sql语句中 约束概念constraint concept1.1 实体完整性entity integrity(主键--唯一且非空only and is not empty)违约处理:no action 拒绝执行1.2 参照完整性约束(外键约束... 阅读全文
posted @ 2015-11-14 13:59 秦瑞It行程实录 阅读(264) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2015-11-14 13:02 秦瑞It行程实录 阅读(239) 评论(0) 推荐(0) 编辑

摘要:被复制节点: /usr/local/mysql/bin/mysqld_safe --wsrep_cluster_address=gcomm:// >/dev/null &复制节点01: service mysql start --wsrep_cluster_address="gcomm://30.2 阅读全文
posted @ 2015-11-13 16:26 秦瑞It行程实录 阅读(295) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2015-11-13 15:30 秦瑞It行程实录 阅读(396) 评论(0) 推荐(0) 编辑

该文被密码保护。
posted @ 2015-11-13 14:32 秦瑞It行程实录 阅读(1) 评论(0) 推荐(0) 编辑

该文被密码保护。
posted @ 2015-11-13 14:31 秦瑞It行程实录 阅读(1) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2015-11-13 13:19 秦瑞It行程实录 阅读(24) 评论(0) 推荐(0) 编辑

该文被密码保护。
posted @ 2015-11-10 14:45 秦瑞It行程实录 阅读(0) 评论(0) 推荐(0) 编辑

摘要:配置过程只涉及控制节点(192.168.209.11)和计算节点(192.168.209.31),根据情况修改为实际环境的IP地址。修改控制节点安装软件包yum install spice-server spice-protocol openstack-nova-spicehtml5proxy sp... 阅读全文
posted @ 2015-11-09 16:15 秦瑞It行程实录 阅读(696) 评论(0) 推荐(0) 编辑

摘要:Openstack启用spice协议#控制节点#安装?1apt-getinstallnova-spiceproxyspice-html5spice-vdagent#配置 nano /etc/nova/nova.conf?123456789#Vncconfiguration#vnc_enabled=f... 阅读全文
posted @ 2015-11-09 15:57 秦瑞It行程实录 阅读(409) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2015-11-09 15:37 秦瑞It行程实录 阅读(222) 评论(0) 推荐(0) 编辑

摘要:http://download.pchome.net/wallpaper/info-350-2-1.html 阅读全文
posted @ 2015-11-07 23:38 秦瑞It行程实录 阅读(348) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2015-11-06 17:44 秦瑞It行程实录 阅读(315) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2015-11-06 16:52 秦瑞It行程实录 阅读(278) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2015-11-06 11:04 秦瑞It行程实录 阅读(227) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2015-11-05 18:15 秦瑞It行程实录 阅读(198) 评论(0) 推荐(0) 编辑

摘要:10个vm平稳运行 top数值平稳的开一个vms top监控 阅读全文
posted @ 2015-11-05 17:16 秦瑞It行程实录 阅读(850) 评论(0) 推荐(0) 编辑

摘要:我们经常使用WinSCP工具通过sftp协议上传获取文件,本文描述通过bat批量处理文件。首先,我们打开dos命令窗口使用 cd \d :D\WinSCP 打开WinSCP安装目录上传文件:winscp.exe /console /command "option batch continue" "o... 阅读全文
posted @ 2015-11-05 15:01 秦瑞It行程实录 阅读(733) 评论(0) 推荐(0) 编辑

该文被密码保护。
posted @ 2015-11-05 10:57 秦瑞It行程实录 阅读(0) 评论(0) 推荐(0) 编辑

摘要:注:因为在测试配置过程中反复配置过多次,以下内容可能并不完整,有待验证。按官方文档(openstack-install-guide-yum-juno)搭建和配置的OpenStack默认使用novnc作为云主机的控制台访问方式,如果需要配置使用GUI的操作系统,会显得比较尴尬。所以尝试配置使用spic... 阅读全文
posted @ 2015-11-04 15:31 秦瑞It行程实录 阅读(628) 评论(0) 推荐(0) 编辑

摘要:公司一般出于安全考虑, 在同一局域网中只有一台机器可以访问外网,运维进行了整体的限制, 但是在后面的工作中,需要在机器上安装一些软件,及命令,所以其他的机器需要访问外网来简化工作, 但又不能打乱原有运维的设置,所以需要在能访问外网的机器上做个代理。安装squid前面准备好yum命令, 可以直接在线安... 阅读全文
posted @ 2015-11-04 15:27 秦瑞It行程实录 阅读(1520) 评论(0) 推荐(0) 编辑

摘要:^[[?1h^[=^[[?25l^[[H^[[2J^[(B^[[mtop#!/bin/bash#echo 性能数据捕捉时间: `date +%Y-%m-%d_%H:%M:%S` \n >> /root/Monitor-data.xmlecho `top -n 1 | awk '/ load / {p... 阅读全文
posted @ 2015-11-04 15:03 秦瑞It行程实录 阅读(364) 评论(0) 推荐(0) 编辑

摘要: 阅读全文
posted @ 2015-11-03 10:11 秦瑞It行程实录 阅读(600) 评论(0) 推荐(0) 编辑

www.cnblogs.com/ruiyqinrui