Archive for: Centos

centos 6.0上Root账号下用chrome

Published by 北边极点的狼 under Centos.

只需要在chrome参数/opt/google/chrome/google-chrome %U后面加上 –user-data-dir=/home/***/.config/google-chrome/@@@   ***是用户名 @@@为目录.目的为了不让root账户的配置文件影响***账户.主要是权限 当然网上也有利用.sh的这东西不可能靠,我是懒人,我的centos是最小化安装,不能直接点.sh   #!/bin/sh xhost + sudo -i -u futian /opt/google/chrome/google-chrome %U

Cherokee for Centos 6.0

Published by 北边极点的狼 under Centos.

国外有一老外用脚本安装了64位系统centos的cherokee,但是尝试改过来安装32位没成功. 脚本如下: cherokee_version=1.2.98 git clone git://pkgs.fedoraproject.org/cherokee.git -b el6 cp cherokee/* `rpm –eval ‘%{_sourcedir}’` cd cherokee sed -i -r “s/(Version:s+)[0-9.]+/1`echo $cherokee_version`/g” spectool -g -R cherokee.spec rpmbuild -ba cherokee.spec cd `rpm –eval ‘%{_rpmdir}’` cd x86_64 ls -lah yum install cherokee* 基本中包含了很多必要的安装 yum install git -y yum install openssl-devel -y yum install rpm-build spectool pam-devel gettext -y yum [...]

Chrome For Centos 6.0

Published by 北边极点的狼 under Centos.

wget https://dl-ssl.google.com/linux/google-repo-setup.sh && bash google-repo-setup.sh yum install google-chrome-unstable 或者 yum install lsb wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.rpm rpm -Uvh google-chrome-stable_current_i386.rpm

做了上mysql的优化

Published by 北边极点的狼 under Vps.

暂时关闭了 skip-innodb 还要观察一段时间再把配置弄出来。。

利用UnixBench做VPS测试

Published by 北边极点的狼 under Centos.

UnixBench 5.1.2 下载地址: wget http://byte-unixbench.googlecode.com/files/unixbench-5.1.2.tar.gz sed -i “s/GRAPHIC_TESTS = defined/#GRAPHIC_TESTS = defined/g” ./Makefile tar -zxvf unixbench-5.1.2.tar.gz cd unixbench-5.1.2/ make ./Run 以下是UnixBench运行结果 #    #  #    #  #  #    #          #####   ######  #    #   ####   #    # #    #  ##   #  #   [...]

关于狼 is Stephen Fry proof thanks to caching by WP Super Cache