目前分類:CentOS (4)

瀏覽方式: 標題列表 簡短摘要

今天主機重開又遇到  /dev/VolGroup00/LogVol00: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

照網友解法 OK

http://heavenamoo712.pixnet.net/blog/post/105520061-linux(redhat)restart%E5%BE%8C%EF%BC%8C%E5%87%BA%E7%8F%BEunexpected-inconsistency%3B-ru

立你斯 發表在 痞客邦 留言(0) 人氣()

http://xmodulo.com/2013/07/how-to-upgrade-the-kernel-on-centos.html

 

You may want to upgrade the Linux kernel for various reasons. For example, you want to try a new kernel module or device driver which requires the latest kernel feature. Or, a new vulnerability has been uncovered in an existing Linux kernel. In other times, your Linux server may be unreliable with frequent system crashes. Whatever the reason is, upgrading the Linux kernel is an essential maintenance job for every Linux user.

立你斯 發表在 痞客邦 留言(0) 人氣()

This is quick guide, howto upgrade to CentOS 5.10 from CentOS 5.9 (5.8, 5.7, 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0).

1. Change to root User

su -
## OR ##
sudo -i

2. Backup all important data

  • Backup /etc diretory
  • Backup important logs /var/log
  • Backup web server configs and sites
  • Dump MySQL databases
  • Dump PostgreSQL databases
  • Backup all what you need if something goes wrong

3. Check list of packages that are going to be updated

yum list updates

4. Upgrade with yum update

Official way to do upgrade:

立你斯 發表在 痞客邦 留言(0) 人氣()

centos找不到IFCONFIG命令

[root@localhost dai]# ifconfig
bash: ipconfig: command not found

立你斯 發表在 痞客邦 留言(0) 人氣()