今天在家里的RHLE5.5上安装apache的时候,先用user1用户./configure命令配置,然后才用root用户make &&
make install,结果apache起来的时候就报如下错误: httpd: apr_sockaddr_info_get() failed
forbogon....
分类:
系统相关 时间:
2014-05-10 01:41:36
阅读次数:
574
例1:在python中包装ls命令#!/usr/bin/envpython#pythonwapperforthelscommandimportsubprocesssubprocess.call(["ls","-l"])在Linux中执行该命令[root@pydbpython]#pythonls.py...
分类:
编程语言 时间:
2014-05-10 01:32:55
阅读次数:
377
安装:1.需要root权限,所以要用root登录,或suroot2.yum
install"@ChineseSupport"3.exit4.回到桌面,system->preferences->inputmethod5.如果没有,先注销一下。6.按照提示添加输入法。7.最后
再次注销,登录即可。设置:...
分类:
系统相关 时间:
2014-05-09 17:44:03
阅读次数:
379
第一步:登陆root登陆之后切换到oracle用户上,输入su
oracle第二步:连接在oracle用户下,输入sqlplus /nolog第三步:使用管理员权限输入connect /as
sysdba第四步:启动/关闭服务输入startupstartup参数不带参数,启动数据库实例并打开数据库,...
分类:
数据库 时间:
2014-05-09 16:59:52
阅读次数:
390
date: 20140505author: Jin故障背景:早上启动本本
无法启动,报错信息(几个关键)WARNING:Failed to connect to lvmetad: No such file
direct[FAILED]Failed to mount /var/run/user/100...
分类:
其他好文 时间:
2014-05-09 16:47:25
阅读次数:
479
关于catopen函数:参考网址:http://pubs.opengroup.org/onlinepubs/009695399/functions/catopen.html1)编辑消息文件[root@Master
catlogTest]# vi msg1.euc1 Hello msg1.euc 12...
分类:
其他好文 时间:
2014-05-09 11:41:02
阅读次数:
841
配置通过数据库认证用户登录打开webapp\WEB-INF目录下的deployerConfigContext.xml,替换 为
com.mysql.jdbc.Driver jdbc:mysql://localhost:3306/db_name root 使用j...
分类:
数据库 时间:
2014-05-09 11:31:43
阅读次数:
477
1.强制解挂载: sudo umount -lf /dev/sdb
分类:
系统相关 时间:
2014-05-08 21:50:38
阅读次数:
430
登陆mysql
harvey@harvey-Virtual-Machine:~/ruby/mydiary$ mysql -u root -pEnter password:
Welcome to the MySQL monitor. Commands end with ; or \g. 查看所有的数据...
分类:
数据库 时间:
2014-05-07 20:06:47
阅读次数:
452
org.hibernate.dialect.MySQLDialect
com.mysql.jdbc.Driver jdbc:mysql://localhost:3306/hibernate root root true ...
分类:
系统相关 时间:
2014-05-05 09:41:36
阅读次数:
459