Quantcast
Channel: 517.AT - 2014年8月
Browsing all 5 articles
Browse latest View live

linux 查看硬盘使用时间

需要安装这个: http://smartmontools.sourceforge.net/ 如果是centos直接运行yum install smartmontools -y就可以了 debian系统运行 apt-get install smartmontools -y 然后输入这个: smartctl -A /dev/sda 如果不行用df看看硬盘名称,把sda换了即可 === START OF...

View Article



Typecho 关闭非中文的垃圾评论

关闭typecho非中文语系的评论   在当前主题模板中找到comments.php文件,在其中找到以下代码 <?php if($this->allow('comment')): ?> 修改为 <?php if($this->allow('comment') && stripos($_SERVER['HTTP_ACCEPT_LANGUAGE'],...

View Article

Image may be NSFW.
Clik here to view.

Typecho反垃圾评论插件小墙

简单却功能强大的反垃圾评论插件 下载地址:AntiSpam.zip

View Article

linux 下IP、网关、DNS地址配置

一、修改IP地址 vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 ONBOOT=yes BOOTPROTO=static IPADDR=192.168.30.197 NETMASK=255.255.255.0 GATEWAY=192.168.30.1 二、修改网关 vi /etc/sysconfig/network...

View Article

查看centos系统版本

cat /etc/redhat-release

View Article

Browsing all 5 articles
Browse latest View live


Latest Images