在让读者们继续看下去之前,我觉得很有必要开门见山的讲清楚:将CentOS5升级到CentOS6是无法通过yum或rpm等工具进行升级的。根据CentOS官网的描述,直接升级是不支持的,除了yum和rpm不能之外,anaconda也必须使用全新安装(Freshinstallation)才能升级成功(不能使用升级安装..
分类:
其他好文 时间:
2014-05-27 04:01:45
阅读次数:
290
[root@qycaishenye]#tail-f/data/caishenye/sa_9_0.logPHPWarning:mkdir():Nosuchfileordirectoryin/data/caishenye/sa_9_0.phponline18PHPFatalerror:Calltoundefinedfunctionmysql_pconnect()in/data/caishenye/sa_9_0.phponline25InteractivemodeenabledPHPWarning:mkdir():..
分类:
数据库 时间:
2014-05-27 04:00:48
阅读次数:
466
4 安装Oracle前的准备4.1基本配置4.1.1关闭防火墙[root@oracle~]#serviceiptablesstopiptables:SettingchainstopolicyACCEPT:filter[OK]iptables:Flushingfirewallrules:[OK]iptables:Unloadingmodules:[OK]关闭iptables开机自启动功能[root@oracle~]#chkconfigiptablesof..
分类:
数据库 时间:
2014-05-27 03:56:59
阅读次数:
598
#!/usr/bin/python
#-*-coding:utf-8-*-
importparamiko,os,datetime
server_ip=‘192.168.1.123‘
server_user=‘root‘
server_passwd=‘10241010‘
server_port=22
#local_dir=‘C:\Python27‘
#remote_dir=‘/soft2/nba/‘
defssh_connect():
ssh=paramiko.SSHClient()
ssh.set_missi..
分类:
编程语言 时间:
2014-05-27 03:51:40
阅读次数:
283
cobblerdefault文件说明1、cobblerdefault文件目录所在目录/var/lib/tftpboot/pxelinux.cfg2、default文件(fuelcobblerdefault文件内容)[root@fuelpxelinux.cfg]#catdefaultDEFAULTmenuPROMPT0MENUTITLEBootmenuTIMEOUT50#超时时间是50秒TOTALTIMEOUT0ONTIMEOUTbootstrap#超..
分类:
其他好文 时间:
2014-05-27 03:48:55
阅读次数:
427
centos系统修改密码root:在执行passwdroot后报错:修改root密码passwd:Authenticationtokenmanipulationerror操作方法:ls-l/etc/passwd和ls-l/etc/shadow查看到两个文件均有写权限。chattr-i/etc/passwd和chattr-i/etc/shadow减掉这两个文件的。。这个时候执行passwdroot还是..
分类:
其他好文 时间:
2014-05-20 23:40:00
阅读次数:
423
1,下载安装lighttpd-1.4.34lighttpd官网下载最新稳定版本[root@localhostsoftware]#tar-zxvflighttpd-1.4.34.tar.gz[root@localhostsoftware]#cdlighttpd-1.4.34[root@localhostlighttpd-1.4.34]#./configure--prefix=/usr/local/lighttpd#安装默认模块[root@localhostlighttpd..
分类:
其他好文 时间:
2014-05-20 23:29:06
阅读次数:
313
当入行压力测试时出现下列错误[root@zabbix~]#ab-n3000-c3000http://192.168.0.2/ThisisApacheBench,Version2.3<$Revision:655654$>Copyright1996AdamTwiss,ZeusTechnologyLtd,http://www.zeustech.net/LicensedtoTheApacheSoftwareFoundation,http://www.apache.org/Ben..
分类:
其他好文 时间:
2014-05-20 22:18:38
阅读次数:
397
1,安装依赖包确保服务器中已经安装了Memcached的依赖包。[root@localhost~]#yum-yinstall
--skip-brokengccgcc-c++autoconfautomakezlibzlib-devel
pcre-developenssl-devellibeventlibevent-devel.x86_642,创建Memcached的安装用户[root@localhost~]#groupadddfhapp
[root@l..
分类:
其他好文 时间:
2014-05-20 21:44:44
阅读次数:
376
1.创建账号信息登录为root用户,#su–l创建nagios账号并设置密码#/usr/sbin/useraddnagios#passwdnagios2.安装nagios插件创建下载文件存放文件夹#mkdir~/downloads#cd~/downloads下载nagios插件#wgethttp://nagios-plugins.org/download/nagios-plugins-1.4.6.tar.gz解压文件#..
分类:
其他好文 时间:
2014-05-20 21:33:48
阅读次数:
510