[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
目录:一、设置主机名1、临时修改主机名2、永久修改主机名二、设置网络1、配置静态IP地址2、配置DNS服务器解析3、修改DNS本地解析三、软件包管理1、dpkg管理软件包2、apt管理软件包四、运行级别五、文件传输工具lrszs1、发送文件sz2、接收文件rz六、磁盘管理1、磁盘分区2、磁盘..
分类:
其他好文 时间:
2014-05-27 03:38:15
阅读次数:
260
5 安装Oracle[root@oracle~]#cd/temp/[root@oracletemp]#lslinux.x64_11gR2_database_1of2.ziplost+foundyumlinux.x64_11gR2_database_2of2.zippdksh-5.2.14-37.el5_8.1.x86_64.rpm[root@oracletemp]#unziplinux.x64_11gR2_database_1of2.zip[root@oracletemp]#unziplinux..
分类:
数据库 时间:
2014-05-27 03:12:07
阅读次数:
459
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
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