目前分類:系統 (5)

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

[root@centos ~]# quotacheck -aucmv
quotacheck: Your kernel probably supports journaled quota but you are not using it. Consider switching to journaled quota to avoid running quotacheck after an unclean shutdown.
quotacheck: Scanning /dev/sda4 [/iii] done
quotacheck: Cannot stat old user quota file: 沒有此一檔案或目錄
quotacheck: Old group file not found. Usage will not be substracted.
quotacheck: Checked 2 directories and 0 files
quotacheck: Cannot create new quotafile /iii/aquota.user.new: 拒絕不符權限的操作
quotacheck: Cannot initialize IO on new quotafile: 拒絕不符權限的操作

要關閉seLinux

[root@centos ~]# setenforce 0

[root@centos ~]# quotacheck -aucmv
quotacheck: Your kernel probably supports journaled quota but you are not using it. Consider switching to journaled quota to avoid running quotacheck after an unclean shutdown.
quotacheck: Scanning /dev/sda4 [/iii] done
quotacheck: Cannot stat old user quota file: 沒有此一檔案或目錄
quotacheck: Old group file not found. Usage will not be substracted.
quotacheck: Checked 2 directories and 0 files
quotacheck: Old file not found.

可以了

蒼穹 發表在 痞客邦 留言(1) 人氣()

當我在Vmware安裝好CentOs後,網路無法開啟會顯示,如下訊息

RTNETLINK answers: cannot allocate memory

作法:

蒼穹 發表在 痞客邦 留言(0) 人氣()

在CentOS32安裝vmware-tools後會發生,如下的訊息

bash: ./vmware-install.pl: 權限不夠

所以我移除虛擬CentOS重新安裝後使用下方的指令安裝就可以成功

蒼穹 發表在 痞客邦 留言(0) 人氣()

1.下載clavam檔案

wget http://pkgs.repoforge.org/clamav/clamav-0.97.6-1.el6.rf.i686.rpm
wget http://pkgs.repoforge.org/clamav/clamav-db-0.97.6-1.el6.rf.i686.rpm
wget http://pkgs.repoforge.org/clamav/clamav-devel-0.97.6-1.el6.rf.i686.rpm
wget http://pkgs.repoforge.org/clamav/clamd-0.97.6-1.el6.rf.i686.rpm

2.安裝Clamav

#rpm -Uvh clam*

蒼穹 發表在 痞客邦 留言(0) 人氣()

1.修改網路卡IP Address
[root@m2kremote network-scripts]#vim /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none (or dhcp)
HWADDR=00:25:90:0a:37:68
ONBOOT=yes
HOTPLUG=no
IPADDR=192.168.100.5
NETMASK=255.255.255.0
GATEWAY=192.168.100.1
TYPE=Ethernet

2.重新啟動網路設定
/etc/init.d/network restart

蒼穹 發表在 痞客邦 留言(0) 人氣()