debian7.8中的一些常用配置
来源:互联网 发布:vb.net 字符串包含 编辑:程序博客网 时间:2024/05/21 10:20
一 配置信息
apt-get源配置
vim /etc/apt/sources.list
deb http://mirrors.163.com/debian wheezy main non-free contribdeb-src http://mirrors.163.com/debian wheezy main non-free contribdeb http://mirrors.163.com/debian wheezy-updates main non-free contribdeb-src http://mirrors.163.com/debian wheezy-updates main non-free contribdeb http://security.debian.org/ wheezy/updates maindeb-src http://security.debian.org/ wheezy/updates main
二 查看硬盘使用时间
#安装megacli用于获取Device Id
echo "deb http://hwraid.le-vert.net/debian wheezy main" >> /etc/apt/sources.list
wget -O - http://hwraid.le-vert.net/debian/hwraid.le-vert.net.gpg.key |apt-key add -
apt-get update
apt-get install megacli
megacli -PDList -aALL | grep "Device Id"
#安装smartctl,for循环中的i变量使用上面获取到的Device Id范围
apt-get install smartmontools
#!/bin/bash
for((i=8;i<=44;i++))
do
smartctl -a -d megaraid,$i /dev/sda | grep Power_On_Hours
done
0 0
- debian7.8中的一些常用配置
- struts中的一些常用配置
- debian7.0 配置笔录
- debian7 系统安装配置
- debian7 安装配置总结
- VS工程配置中的一些常用概念
- sublime使用过程中的一些常用配置
- debian7.8使用apt安装texlive,并配置成ctex
- debian7.2 配置简要笔录
- debian7配置apache+mysql+php
- hibernate的核心配置中的一些常用配置
- 一些网络常用配置
- 一些常用的配置
- Mac 一些常用配置
- 硬盘安装Debian7(Wheezy)以及初级配置
- Debian7, ubuntu 13.10下配置Bugzilla
- debian7(wheezy)之virtualbox安装与配置
- Debian7 下nfs的安装和配置
- 初学Python之发布自己的模块
- 解决 Error:No suitable device found: no device found for connection "System eth0"
- 缘分既然默许你离去
- 乱谈--数字电视节目推荐系统
- Leetcode NO.113 Path Sum II
- debian7.8中的一些常用配置
- MSVC vs. MinGW 之 (lib,dll,def,obj,exe) vs (a,dll,def,o,exe) 玩转攻略手记
- IOS学习笔记 第1篇 OC面向对象(一)
- vs2010 libcurl 7.21.3 zlib 1.2.5 openssl 1.0.0c 编译全过程
- NYOJ 题目1013 除法表达式(数学)
- [Java] 对象的强, 软, 弱和虚引用
- 相同源代码的html文件在本地和服务器端被浏览器请求时,显示的效果不一样!!!
- 错误隐藏学习手记(四)
- ASPX EVAL函数的运用