www.cnblogs.com/ruiyqinrui

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

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

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

04 2015 档案

摘要:iPhone6自从发布以后一直又不少的诟病和非议,比如一机难求,容易掰弯,程序崩溃等, 甚至传出了苹果将要召回这些问题设备,最近有人终于查出了iPhone6安装大量程序后崩溃的原因,原因就是大容量的iPhone6尤其是128GB和部 分64GB版本采用了廉价的TLC闪存。那么怎么检测自己的手机是否采... 阅读全文
posted @ 2015-04-29 16:18 秦瑞It行程实录 阅读(264) 评论(0) 推荐(0) 编辑

摘要:http://www.zhukun.net/archives/5794fuser -mv /var/log/messagelsof /var/log/messagehttp://blog.itpub.net/14184018/viewspace-713430/ RAC DG /sys/class/s... 阅读全文
posted @ 2015-04-29 14:07 秦瑞It行程实录 阅读(167) 评论(0) 推荐(0) 编辑

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

摘要:立即重启计算机 echo "b" > /proc/sysrq-trigger立即关闭计算机 echo "o" > /proc/sysrq-trigger导出内存分配的信息 echo "m" > proc/sysrq-trigger (可以用/var/log/message查看)Out... 阅读全文
posted @ 2015-04-27 14:12 秦瑞It行程实录 阅读(486) 评论(0) 推荐(0) 编辑

摘要:https://www.apple.com/iphone-6/合适初高中学习英语http://www.travelchinaguide.comhttp://jailbreak.25pp.com/ iphone 6 越狱教程;您好,欢迎关注PP助手!很高兴为您解答:手机安装PP助手,下载软件会比较方... 阅读全文
posted @ 2015-04-27 12:37 秦瑞It行程实录 阅读(411) 评论(0) 推荐(0) 编辑

摘要:tasksel: aptitude failedaptitude 阅读全文
posted @ 2015-04-27 10:14 秦瑞It行程实录 阅读(202) 评论(0) 推荐(0) 编辑

摘要:指向整型数组指针int (*p)[10] = matrix;增加这个指针的值使它指向下一个整型数组指向整型指针int *pi = &matrix[0][0];int *pi = &matrix[0];可以增加指针的值使它指向下一个整型元素 阅读全文
posted @ 2015-04-27 10:14 秦瑞It行程实录 阅读(173) 评论(0) 推荐(0) 编辑

摘要:auth required pam_succeed_if.so user != root 阅读全文
posted @ 2015-04-24 10:58 秦瑞It行程实录 阅读(179) 评论(0) 推荐(0) 编辑

摘要:这篇博文记录了我用CentOS 7搭建地震学科研环境的过程,供我个人在未来重装系统时参考。对于其他地震学科研人员,也许有借鉴意义。阅读须知:本文适用于个人电脑,不适用于服务器;不推荐刚接触Linux的人使用CentOS发行版;本文尽量写的浅显易懂,但要求读者掌握Linux基础知识;本文所有操作均在C... 阅读全文
posted @ 2015-04-23 14:47 秦瑞It行程实录 阅读(1150) 评论(0) 推荐(1) 编辑

摘要:PermitRootLogin nosystemctl restart sshd.service;yum -y install firewalld;systemctl start firewalld.service cp /usr/lib/firewalld/services/ssh.xml /et... 阅读全文
posted @ 2015-04-23 13:35 秦瑞It行程实录 阅读(1905) 评论(0) 推荐(0) 编辑

摘要:1,分别使用指针间接访问及数组下标初始化一个数组all element;2,基于数组下标及指针间接访问拷贝一个数组到另一个数组 阅读全文
posted @ 2015-04-23 12:29 秦瑞It行程实录 阅读(438) 评论(0) 推荐(0) 编辑

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

摘要:http://www.aliyun.com/zixun/content/3_12_517262.htmlCentOS系统安装Directory Server 8.1操作方法发布时间:2014-12-19更新时间:2014-12-26 来源:网络作者:annatuoli 关键... 阅读全文
posted @ 2015-04-22 16:45 秦瑞It行程实录 阅读(330) 评论(0) 推荐(0) 编辑

摘要:paminit manager from upstart to systemd/systemctl;Vivid Vervet + openStack kilo;为容器开发者(OpenStack工作环境)推出 Canonical 公司的 LXD (Linux Container Daemon) Hyp... 阅读全文
posted @ 2015-04-22 16:27 秦瑞It行程实录 阅读(214) 评论(0) 推荐(0) 编辑

摘要:You don't have permission to access /index.php on this serverdirectoryIndex index.html index.php index.htm index.shtml login.php/etc/httpd/conf/httpd.... 阅读全文
posted @ 2015-04-22 13:52 秦瑞It行程实录 阅读(415) 评论(0) 推荐(0) 编辑

摘要:LAMP Server on CentOS 7Updated Tuesday, January 13, 2015 by Joel KrugerThis guide provides step-by-step instructions for installing a full-featured LA... 阅读全文
posted @ 2015-04-22 12:02 秦瑞It行程实录 阅读(222) 评论(0) 推荐(0) 编辑

摘要:快速lamp安装How To Install Linux, Apache, MySQL, PHP (LAMP) stack On CentOS 7IntroductionA "LAMP" stack is a group of open source software that is typical... 阅读全文
posted @ 2015-04-21 23:22 秦瑞It行程实录 阅读(352) 评论(0) 推荐(0) 编辑

摘要:icanhazip.com 使您在任何地方知道你的公网IP地址icanhazip.com 使你在任何地方知道你的公网IP地址icanhazip.com 使你在任何地方知道你的公网IP地址icanhazip.com是一个网址,你在浏览器中输入这个网址,你就能得到你的公网IP地址了。我在Linux下一般... 阅读全文
posted @ 2015-04-21 22:59 秦瑞It行程实录 阅读(794) 评论(0) 推荐(0) 编辑

摘要:CentOS6无法本地登陆,ssh远程登陆没问题---使用CentOS自带的rsyslog分析调试Apr 21 14:15:27 raccontroller init: tty (/dev/tty1) main process (2048) terminated with status 1Apr 2... 阅读全文
posted @ 2015-04-21 14:42 秦瑞It行程实录 阅读(2649) 评论(1) 推荐(0) 编辑

摘要:tomcat 配置log记录及root 目录 阅读全文
posted @ 2015-04-20 16:42 秦瑞It行程实录 阅读(310) 评论(0) 推荐(0) 编辑

摘要:/usr/local/webserver/tomcat6/logs/logbak/zsxxw.log.2015-03-21.txt:2015-03-22 00:47:26,366 ORA-28002: the password will expire within 3 days/usr/local/... 阅读全文
posted @ 2015-04-20 16:38 秦瑞It行程实录 阅读(373) 评论(0) 推荐(0) 编辑

摘要:1,kvm bridge br0配置文件内容实例:ifcfg-em1配置文件内容Example:DEVICE=em1Bridge=br0TYPE=Ethernetonboot=yesNM_CONTROLLED=noBOOTPROTO=noneifcfg-br0配置文件内容Example:DEVICE... 阅读全文
posted @ 2015-04-20 15:47 秦瑞It行程实录 阅读(1376) 评论(0) 推荐(0) 编辑

摘要:ntp.sjtu.edu.cn 202.120.2.101 (上海交通大学网络中心NTP服务器地址)s1a.time.edu.cn 北京邮电大学s1b.time.edu.cn 清华大学s1c.time.edu.cn 北京大学s1d.time.edu.cn 东南大学s1e.time.edu.cn 清华... 阅读全文
posted @ 2015-04-20 14:08 秦瑞It行程实录 阅读(670) 评论(0) 推荐(0) 编辑

摘要:L-value -->标识了一个可以存储结果值的内存存储地址--指针变量 or 普通内存变量;R-value -->数值;指针到达字符串末尾的NULL字节前 '\0';*string++函数调用时传递给它的是一个NULL指针,解引用指针前检测条件;间接访问解除引用;*strings 解除引用间接访问... 阅读全文
posted @ 2015-04-18 23:01 秦瑞It行程实录 阅读(260) 评论(0) 推荐(0) 编辑

摘要:switch(ch){case '\n': lines += 1; /*fail thru*/case ' ':case '\t': words += 1;default: chars += 1;}右移位: 从左边移入新位分如下两种情况 1. logical shifting特点: 左边移入的为用... 阅读全文
posted @ 2015-04-16 16:02 秦瑞It行程实录 阅读(168) 评论(0) 推荐(0) 编辑

摘要:1,while((ch = getchar()) != EOF){ putchar(ch);}2,while((ch=getchar()) != EOF){ if(ch '9'){ continue;}} //process only the digits3,while(scanf("%f",&v... 阅读全文
posted @ 2015-04-15 12:22 秦瑞It行程实录 阅读(245) 评论(0) 推荐(0) 编辑

摘要:1,mysql存储过程--函数库--字符串类mysql中处理字符串,默认第一个字符下标为1,参数position>=1substring(str,position[,length])从str的position开始取length字符 阅读全文
posted @ 2015-04-14 22:02 秦瑞It行程实录 阅读(140) 评论(0) 推荐(0) 编辑

摘要:1,完整的监控脚本如下#!/bin/bash#web_status_code=`curl -o /dev/null -s -w "http_code:%{http_code}" http://yjszs.nudt.edu.cn/`#1,web_status_code=`curl -o /dev/nu... 阅读全文
posted @ 2015-04-13 12:36 秦瑞It行程实录 阅读(293) 评论(0) 推荐(0) 编辑

摘要:1,oracle jdbcHTTP Status 500 - Incorrect result size: expected 1, actual 02015-03-31 00:03:58,250 SQL Error: 12899, SQLState: 720002015-03-31 00:03:58... 阅读全文
posted @ 2015-04-13 10:43 秦瑞It行程实录 阅读(273) 评论(0) 推荐(0) 编辑

摘要:oracle记录各登陆主机用户名,登陆ip,所执行的命令/etc/profile#history USER_IP=`who -u am i 2>/dev/null| awk '{print $NF}'|sed -e 's/[()]//g'` HISTDIR=/usr/share/.... 阅读全文
posted @ 2015-04-13 10:01 秦瑞It行程实录 阅读(1160) 评论(0) 推荐(0) 编辑

摘要:1,snmp安装脚本for ubuntu/CentOS#!/usr/bin/env bash export LC_ALL=C if [ "$(id -u)" != "0" ] then echo "This script. must be run as root" 1>&2 exit 1 fi#... 阅读全文
posted @ 2015-04-11 21:21 秦瑞It行程实录 阅读(190) 评论(0) 推荐(0) 编辑

摘要:1,检索特定字符的相同行,用于过滤点一些命令行的头说明Advanced Policy Firewall (APF)2,D(dos) deflatehttp://deflate.medialayer.com/Installationwget http://www.inetbase.com/script... 阅读全文
posted @ 2015-04-11 15:55 秦瑞It行程实录 阅读(437) 评论(0) 推荐(0) 编辑

摘要:1,监控给定web站点的状态--站点请求返回代码,下载整个web站点页面文本到-o 指定的文本curl -o /dev/null -s-silent -w--wirte-out "%{http_code}" "http://baidu.com";2,开启gizp3,curl监控网页响应时间curl ... 阅读全文
posted @ 2015-04-11 12:20 秦瑞It行程实录 阅读(751) 评论(0) 推荐(0) 编辑

摘要:1, 阅读全文
posted @ 2015-04-09 23:50 秦瑞It行程实录 阅读(763) 评论(0) 推荐(0) 编辑

摘要:1, 阅读全文
posted @ 2015-04-09 23:23 秦瑞It行程实录 阅读(240) 评论(0) 推荐(0) 编辑

摘要:1,在shell提示符下查看mysql指定数据库下的表等数据2.批量删除mysql下指定数据库下的所有表,Ruiy完成绝对测试---通过Passfor tb in `echo "use se;show tables" | mysql -p321`;do mysql -e "drop table se... 阅读全文
posted @ 2015-04-09 23:22 秦瑞It行程实录 阅读(1619) 评论(0) 推荐(0) 编辑

摘要:1,每行最大长度,处理的最大列号;preprocessor directives,preprocessor,预处理器读入源代码,根据预处理指令对其进行修改,把修改后 的源代码递交给编译器;预处理器用stdio.h的库函数头文件的内容替代第一条#standard I/O library;EXIT_SU... 阅读全文
posted @ 2015-04-09 00:19 秦瑞It行程实录 阅读(191) 评论(0) 推荐(0) 编辑

摘要:1,0516-787 extendlv: Maximum allocation for logical volume hd3 is 512smitt chlv改max logical partion值 or 使用Cli命令行 chlv -x 值M lvName;aix 挂载centOS nfs,ai... 阅读全文
posted @ 2015-04-08 20:26 秦瑞It行程实录 阅读(756) 评论(0) 推荐(0) 编辑

摘要:rows 行 | | | | | | | |列 |||横行纵列; 阅读全文
posted @ 2015-04-07 23:04 秦瑞It行程实录 阅读(218) 评论(0) 推荐(0) 编辑

摘要:1,网卡流量监控RateOfFlow.sh#!/bin/bash#while true;dotime=`date +%m"-"%d"-"%k":"%M`day=`date +%m"-"%d`rx_before=`ifconfig eth0|sed -n "7"p|awk '{print $2}'|c... 阅读全文
posted @ 2015-04-07 17:34 秦瑞It行程实录 阅读(170) 评论(0) 推荐(0) 编辑

摘要:error: unterminated #ifndef1,权限问题2,少了#endif 阅读全文
posted @ 2015-04-07 16:35 秦瑞It行程实录 阅读(202) 评论(0) 推荐(0) 编辑

摘要:1,查看指定用户下的进程pidlinux系统文件句柄# End of file* soft nofile 65535* hard nofile 65535oracle soft nproc 2047oracle hard nproc 16384oracle soft nofile 1024oracl... 阅读全文
posted @ 2015-04-02 21:48 秦瑞It行程实录 阅读(258) 评论(0) 推荐(0) 编辑

摘要:1,ioctlpreface--starting point ,format,mount volume,in addition to the abovefile system -- allows users to store and retrive data; organized in a hier... 阅读全文
posted @ 2015-04-01 21:06 秦瑞It行程实录 阅读(245) 评论(0) 推荐(0) 编辑

www.cnblogs.com/ruiyqinrui