autoDevops,CI,CD
您所在的组无权查看该日志
您所在的组无权查看该日志
再编译安装cmake之前,已经将编译安装了最新版的GCC 4.8.1与最新版内核 Kernel  3.11.6从cmake官网下载最新的cmake版本, 下载的是cmake-2.8.10.2.tar.gz,地址http://www.cmake.org/cmake/resources/software.html1、解压cmake-2.8.12.tar.gz #:tar -xvf cmake-2.8.12.tar.gz2、在cmake-2.8.10.2同级目录下新建一个编译目录 #:mkdir cmake-bulid #:cd cmake-build3、编译cmake #:.././bootstrap --prefix=/usr#:gmake#:make install查看cmake是否安装成功: cmake --versionoutput: cmake version 2.8.10.2恭喜你,安装成功了。
yum 时提示Transaction Check Error的问题在用yum install 时 出现 Transaction Check Error 是因为软件冲突导致的。以下红色部分就是冲突的软件,如果是rpm安装的,可以直接rpm 卸载掉,重新yum install 安装。安装包冲突了,卸载掉mysql-5.0.95-1.el5_7.1.i386 再试试看 rpm -e mysql-5.0.95-1.el5_7.1.i386 或是 yum -y remove mysql-5.0.95-1.el5_7.1.i386[root@localhost ~]# yum install mysql Loaded plugins: fastestmirrorLoading mirror speeds from cached hostfile * base: ftp.cuhk.edu.hk * extras: ftp.cuhk.edu.hk * updates: ftp.cuhk.edu.hkSetting up Install ProcessResolving Dependencies--> Running transaction check---> Package mysql.i386 0:5.0.95-5.el5_9 set to be updated--> Processing Dependency: perl(DBI) for package: mysql--> Running transaction check---> Package perl-DBI.i386 0:1.52-2.el5 set to be updated--> Finished Dependency ResolutionDependencies Resolved============================================================================================================...
缓存服务varnish安装配置一、varnish优点1、数据存储,可以使用内存缓存,也可以使用磁盘大文件存储,减少小文件频繁读写2、充分利用多核cpu,支持http/1.1协议3、可以使用正则匹配缓存,配置灵活,思路清晰,管理端口,工具工具使用方便二、工作原理流程 三、安装及其配置官方地址https://www.varnish-cache.org/tar varnish-3.0.0.tar.gzcd varnish-3.0.0./configure --prefix=/usr/local/varnish3.0make && make install配置实例及说明vim /usr/local/varnish3.0/etc/varnish/default.vcl#设置后端服务backend test1 {    .host = "192.168.100.5";    .port = "80";    .connect_timeout = 1s;    .first_byte_timeout = 5s;    .between_bytes_timeout = 2s;}backend test2 {    .host = "192.168.100.6";    .port = "80";    .connect_timeout = 1s;    .first_byte_timeout = 5s;    .between_bytes_timeout = 2s;}#定义负载均衡director lb_test ra...
 
0
安装配置Varnish3.0手记 在内网的vps上安装Varnish的最新版3.0来用做测试Varnish有centos下的rpm和ubuntu下的deb二进制包下载,但我选择的是源码编译安装先下载 wget http://repo.varnish-cache.org/source/varnish-3.0.0.tar.gztar -xzvf varnish-3.0.0.tar.gz yum install gcc yum install gcc-c++ libstdc++-develyum install -y httpd-devel pcre perl pcre-devel zlib zlib-devel GeoIP GeoIP-devel Varnish需要pcre支持,如果服务器没有安装pcre-devel会提示需要指定prce目录。Centos服务器上使用yum install pcre-devel安装 解压varnish进行编译安装cd varnish-3.0.0./autogen.sh./configure --prefix=/usr/local/varnish PKG_CONFIG_PATH=/usr/lib/pkgconfig makemake install安装成功后,安装的目录是cd /usr/local/varnish/sbin./varnishd -V 查看版本,看是否安装成功测试varnish先编辑配置文件vi /usr/local/varnish/etc/varnish/default.vcl  # This is a basic VCL configuration file for varnish.  See the vcl(7)# man page for ...
varnish-3.0.2 安装配置文件  varnish的介绍很多,这里就不做过多的说明,直接贴上我的安装及配置方法,希望会对大家有用,仅供参考安装方法如下: wget -S http://repo.varnish-cache.org/source/varnish-3.0.2.tar.gz tar zxvf varnish-3.0.2.tar.gz cd varnish-3.0.2 ./configure --prefix=/usr/local/varnish --enable-dependency-trackin --enable-debugging-symbols --enable-developer-warnings make make install varnish No package 'libpcre' found 说是缺少 pcre。我安装nginx的时候用到了pcre 安装了的 使用以下办法 export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig  backend www { .host = "127.0.0.1"; .port = "80"; } backend blog { .host = "127.0.0.1"; .port = "80"; } director webbeta round-robin { {.backend=www;} {.backend=blog;} } acl purge { "127.0.0.1"; "localhost"; } sub vcl_recv { if (req...
Linux Shell删除一个目录下所有的文件夹 #!/bin/bash direc=$(pwd) for dir2del in $direc/* ; do if [ -d $dir2del ]; then rm -rf $dir2del fi done
Squid 2.6 2.7 3.0 3.1 以及 varnish 2.1.5 性能对比测试 感谢 xyy运营团队  总结说明: 使用压力测试软件siege,http_load对这几个代理软件进行测试,测试了不同大小的文件和各种并发数。 squid的版本选择,考虑到实际使用的一些需求,并参考了其他的一些文章(比如:http://www.php-oa.com/2009/12/02/cache%e8%bd%af%e4%bb%b6%e7%89%88%e6%9c%ac%e9%80%89%e6%8b%a9.html),没有选择比较老的squid 2.5。 每次测试前清除文件缓存并重启代理软件。 这个测试仅作为数据参考,并不能完全模拟生产环境那么复杂的网络请求(请求数,各种大小的文件请求)。 一、测试环境: 硬件:Intel Xeon E5410 @ 2.33GHz * 2,16G内存,SATA 500G * 4(RAID 10) 安装squid 2.7 ./configure -prefix=/opt/squid2.7 -enable-xmalloc-statistics  --enable-async-io=320 --with-maxfd=65536 -enable-useragent-log  -enable-referer-log -enable-epoll -disable-poll -enable-large-cache-files -disable-internal-dns  -enable-linux-netfilter -enable-truncate -enable-x-accelerator-vary  -enable-follow-x-f...
http_load 对squid 进行压力测试 本次压力测试的目的:    a. 查看单个squid  的在大量的url 访问时 Cache 命中率    b. 在此过程中,查看squid 的平均响应时间    c.  查看  cpu mem io 的瓶颈http_load 的配置安装, 网上很多,这里就不多话了在一台服务器上搭建一个回源webservice (这里用apache  要记得设置cache-control),将 域名 cdnxxx.com指向该台服务器的IP在cdnxxx.com的根目录 生成大量测试的小图片(因为主要是测试cache、热点命中率,所以图片一般小于35KB),准备20个jpg 小图片 放到src文件夹中,将src  拷贝到cdnxxx.com的根目录,在根目录创建0文件夹(mkdir 0)       a. 生成代码,用python写的,先在0这个目录下生成6000个jpg图片           '''Created on 2013-7-16 @author: xie''' #!/usr/bin/pythonimport string, random, os # create uri def UriTotal():    uri_total = 6000    dir_total = 20  ...
    总共67页,当前第42页 | 页数:
  1. 32
  2. 33
  3. 34
  4. 35
  5. 36
  6. 37
  7. 38
  8. 39
  9. 40
  10. 41
  11. 42
  12. 43
  13. 44
  14. 45
  15. 46
  16. 47
  17. 48
  18. 49
  19. 50
  20. 51
  21. 52