今天一台机器在yum安装东西时突然中断,然后再次安装时提示以下错误:
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.arg...
CentOS 安装项目提示
Loaded plugins: fastestmirror, refresh-packagekit, security
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/repo/ar...
Linux直接DD就行
dd if=/dev/zero of=test bs=1M count=1024 conv=fdatasync
dd if=/dev/zero of=512M.bin bs=1M count=512 conv=fdatasync
dd if=/dev/zero of=256M.bin bs=1M coun...
WHMCS 默认的注册页面过于繁琐,方便客户注册需要简化部分,但是有些值也不能为空,So..
一、文件
templates/模板/clientregister.tpl
二、简化方法:
隐藏代码 style="display:non...
Cacti 安装时 提示
ERROR: 您的MySQL TimeZone 数据库未被填充. 请在继续之前填入此数据库.
执行:
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql -p
最近将 Cacti 新装v1.2并再带升级v0.8.8版本,所以顺手安装,本来想yum安装给自己省事,结果步骤还是有点多。
一、安装
yum install epel-release -y
yum install cacti cacti-spine ma...
XenServer 开启 SNMP后会有大量的snmp log,导致/var/log经常被撑爆,索性直接引入黑洞。
Shell
service snmpd stop;
cd /var/log/;
echo > snmpd.log;rm -rf snmpd.log; ln -s /de...