Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1778444
  • 博文数量: 276
  • 博客积分: 1574
  • 博客等级: 上尉
  • 技术积分: 2894
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-26 23:23
个人简介

生活的美妙在于,不知道一下秒是惊艳还是伤神,时光流转,珍惜现在的拥有的时光

文章分类

全部博文(276)

文章存档

2017年(17)

2016年(131)

2015年(63)

2013年(2)

2012年(32)

2011年(31)

发布时间:2016-04-28 11:26:47

    ApacheBench是 Apache 附带的一个小工具,专门用于 HTTP Server 的benchmark testing,可以同时模拟多个并发请求。    需要针对web做压力测试,所以简单学习了一下,并做个记录。        使用的环境是centos5.5,使用yum安装apache,ab工具在/usr/bin.........【阅读全文】

阅读(1400) | 评论(0) | 转发(0)

发布时间:2016-04-27 15:22:36

multiple mastersAs of Salt 0.16.0, the ability to connect minions to multiple masters has been made available. The multi-master system allows for redundancy of Salt masters and facilitates multiple points of communication out to minions. When using a multi-master setup, all masters are running hot,.........【阅读全文】

阅读(1683) | 评论(0) | 转发(0)

发布时间:2016-04-27 12:39:15

mlocate命令简介:m取自merging.locate命令用于查找文件,因为有索引,它比find命令的搜索速度要快得多,它需要一个数据库/var/lib/mlocate/mlocate.db(默认值,可以通过updatedb -O filepath修改),这个数据库可以由每天的例行工作(crontab)程序来建立。当我们建立好这个索引数据库后,就可以方便地来搜寻所需文件了;缺点.........【阅读全文】

阅读(2661) | 评论(0) | 转发(0)

发布时间:2016-04-27 10:48:56

演示如下:vagrant@saltminion1:/tmp$ touch talen.txtvagrant@saltminion1:/tmp$ echo This is a test . > talen.txtvagrant@saltmaster:/var/cache/salt/master$ sudo salt '*' test.pingminion2:    Trueminion1:.........【阅读全文】

阅读(3949) | 评论(0) | 转发(0)

发布时间:2016-04-25 18:06:29

TCP提供了一种可靠的面向连接的字节流运输层服务MTU=1500 首部=20byte=32bit(4byte)*5[三次握手等一些操作仅交换首部]    原端口(16)+目的端口(16)    (IP+port=socket)(socket对包含2个socket。)    序列号(32)(针对每个byte进行计数,2**32-1后归0)&nb.........【阅读全文】

阅读(1301) | 评论(0) | 转发(0)

发布时间:2016-04-23 14:33:24

下载的MP3属性标签一般是GBK编码方式的,所以在linux下的播放器中显示的是乱码。点击(此处)折叠或打开#!/bin/bashnumber=$(find $(pwd) -name '*.[Mm][Pp]3' 2> /dev/null | wc -l)echo "一共有 $number 个文件,正在转换..."sudo yum install pytho.........【阅读全文】

阅读(1077) | 评论(0) | 转发(0)

发布时间:2016-04-23 11:28:49

多次结果表明,初始系统安装libpng12.so.0会升级glibc,但升级后会造成系统故障,所以安装secureCRT之前必须先执行dnf updata升级系统,主要是内核版本。[21:16 talen ~/scrt-sfx-7.3.1]$ sudo dnf install libpng12.so.0 -y 上次元数据过期检查在 0:03:11 前执行于 Tue Apr 12 21:14:04 2016。依赖关系解决。========.........【阅读全文】

阅读(1487) | 评论(0) | 转发(0)

发布时间:2016-04-22 18:35:13

1。安装fedora 中文软件源# dnf config-manager --add-repo=http://repo.fdzh.org/FZUG/FZUG.repo2。安装QQ信赖及wine[18:27 t ~]$ sudo dnf install wine-qqintl.x86_643.安装过程中一直没有响应,原因是rpm包中脚本需要wine-qqintl_0.1.3-2_i386.deb,这是深度出品的一个作品,但深度的url已经变更了,所以无法下载.........【阅读全文】

阅读(2293) | 评论(0) | 转发(0)

发布时间:2016-04-22 18:22:15

点击(此处)折叠或打开[18:15 t ~/PycharmProjects/talen]$ ll-rw-rw-r--. 1 t t 2064 4月 22 18:15 critter_caretaker.py-rw-rw-r--. 1 t t 17734 4月 22 16:55 critter.graphml点击(此处)折叠或打开#!/.........【阅读全文】

阅读(2267) | 评论(0) | 转发(0)

发布时间:2016-04-21 14:15:06

先看一段操作:[13:51 t /tmp]$ python Python 2.7.11 (default, Mar 31 2016, 20:46:51) [GCC 5.3.1 20151207 (Red Hat 5.3.1-2)] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> name=input("Your name:")Your name:talen    #使用input()输入内容不加引号.........【阅读全文】

阅读(1514) | 评论(0) | 转发(0)

发布时间:2016-04-20 18:27:02

Demo EnvironmentsYou can download one of the following Vagrant projects to quickly set up a Salt demo environment:https://github.com/UtahDave/salt-vagrant-demohttps://github.com/UtahDave/salt-vagrant-lxc[18:21 t ~]$ cd vagrant/[18:21 t ~/vagrant]$ git clone .........【阅读全文】

阅读(1806) | 评论(0) | 转发(0)

发布时间:2016-04-20 17:32:09

fedora 23 secure boot UEFI主板安装virtualbox 内核 签证问题......【阅读全文】

阅读(16019) | 评论(0) | 转发(0)

发布时间:2016-04-14 14:59:16

使用ssh-agent和keychain来简化ssh登录转载:http://blog.sina.com.cn/s/blog_3f3422fd0100002i.html设置从local机器用ssh不用密码登陆到remote生成密钥1. 生成密钥,使用dsa加密方式(也可以用rsa),长度为2048,默认长度为1024[local]: ssh-keygen -t dsa -b 2048Enter file in which to save.........【阅读全文】

阅读(1417) | 评论(0) | 转发(0)

发布时间:2016-04-13 16:39:55

ICMP p i n g程序为我们提供了查看 I P记录路由( R R)选项的机会[16:33 t ~]$ ping -R home.test.comPING home.test.com (172.16.2.200) 56(124) bytes of data.64 bytes from itappdoc.inside.test.com (172.16.2.200): icmp_seq=1 ttl=127 time=1.32 msNOPRR:     localhost.localdomain (172.16.12.........【阅读全文】

阅读(1296) | 评论(0) | 转发(0)

发布时间:2016-04-13 11:04:46

上次的版本http://blog.chinaunix.net/uid-21142030-id-5613029.html点击(此处)折叠或打开[10:58 t ~]$ cat rsync.t #!/usr/bin/env bash#set -x#2015-08-18:    修复直接压缩201目录的bug#2015-09-28: &nb.........【阅读全文】

阅读(1517) | 评论(0) | 转发(1)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册