怎样快速弄坏VPS的硬盘?
怎样快速弄坏VPS的硬盘?当然是不断的读写,测速 wget -O /dev/null http://repos.mia.lax-noc.com/speedtests/100tb.bin 下载100T的文件
. Read more
怎样快速弄坏VPS的硬盘?当然是不断的读写,测速 wget -O /dev/null http://repos.mia.lax-noc.com/speedtests/100tb.bin 下载100T的文件
. Read more
yum install smartmontools smartctl -A /dev/sda Disk A smartctl -a -d cciss,0 /dev/sda Disk B smartctl -a -d cciss,1 /dev/sda 8 Seek_Time_Performance 0x0005 124 124 020 Pre-fail Offline – 33 9 Power_On_Hours 0x0012 097 097 000 Old_age Always – 25567 10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail Always – 0 超过3万小时就很糟糕了。 raid1阵列卡 smartctl -a /dev/sg1 […]
. Read more
一、CPU信息及性能查看 cat /proc/cpuinfo 其实使用探针更详细 cpu名称为QEMU Virtual CPU version,这个就说明你是VPS的KVM虚拟的。 或者: lscpu CPU查询:www.cpubenchmark.net 你可以在这个网站上,查到你使用VPS的CPU怎么样,综合评分如何等。然后,你要观察一下,一共给你几核,每核的频率是多少。 总体来讲,单核高频不限,比多核低频的性能要好一些。 二、硬盘IO性能测试 测试硬盘IO性能,对硬盘的损害很大,不建议多次或长时间尝试 dd if=/dev/zero of=test bs=64k count=4k oflag=dsync 测试结果,如果超过10M,对正常建站就无影响。超过50M,就是非常给力状态。 [root@vpsxyz ~]# dd if=/dev/zero of=test bs=64k count=4k oflag=dsync 4096+0 records in 4096+0 records out 268435456 bytes (268 MB) copied, 8.89448 s, 30.2 MB/s 三、网络性能测试 VPS的网络性能,主要分出口和入口二个指标,入口可以用wget文件得到: wget http://cachefly.cachefly.net/100mb.test 看下载速度,如果是11M/s,大概就是百兆口。70M/S,大概就是G口。您的VPS搭建好网站环境后,可以用其它的VPS去拽这个文件,得到出口的带宽。 wget -qO- bench.sh | bash […]
. Read more
在WordPress后台安装插件主题或者升级时提示输入FTP账户信息,其实出现这个的问题的原因是Apache/Nginx的执行身份非文件属主身份。 如果你使用的是虚拟主机,可以在wp-config.php里加入下面代码 define(“FS_METHOD”, “direct”); define(“FS_CHMOD_DIR”, 0777); define(“FS_CHMOD_FILE”, 0777); 如果你使用的是独立服务器或VPS chmod -R 755 /home/wwwroot/wordpress chown -R www /home/wwwroot/wordpress
. Read more
一、 安装 GNOME 图形化桌面 @required #yum groupinstall -y “X Window System” #yum groupinstall -y “Desktop” #yum groupinstall -y “Chinese Support” @optional #yum groupinstall -y “Desktop Platform” #yum groupinstall -y “Desktop Platform Development” #yum groupinstall -y “Fonts” #yum groupinstall -y “Internet Browser” 二、 安装 VNCSERVER & 配置 1. 安装 vncserver yum install tigervnc yum install […]
. Read more