例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
关于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
简介/操作打开开始菜单,其中的“运行”是通向程序的快捷途径,输入特定的命令后,即可快速的打开Windows的程序,熟练的运用它,将给我们的操作带来诸多便捷。接下来我将介绍各个运行指令:运行的界面,在打开中输入口令:具体运行口令%temp%
打开零时文件夹. C:\Documents and Sett...
分类:
其他好文 时间:
2014-05-08 21:34:58
阅读次数:
447
登陆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
public class Tree { TreeNode last = null; TreeNode
root = null; public Tree(int value){ root = createNode(value); } ...
分类:
其他好文 时间:
2014-05-07 18:45:42
阅读次数:
275
【iOS
Keynote】1、2009年暴露的IKee病毒是iOS上公开的第一款蠕虫病毒,它会感染那些已经越狱并且安装了SSH,但是又没有更改其默认root密码"alpine"的iOS设备,并将它们的锁屏背景改成一具英国歌手的照片。2、Cydia上最知名的“共享”源xsellize能够在几乎所有收费...
分类:
移动开发 时间:
2014-05-07 10:03:22
阅读次数:
515
1:第一次登录切换到root用户:su
passwd2:中文输入法安装:1/先到搜狗官网下载搜狗输入法;2/访问这个网址,配置一下:http://jingyan.baidu.com/article/4b07be3c60da3f48b380f3f0.html3:java安装:http://www.wi...
分类:
系统相关 时间:
2014-05-07 09:25:10
阅读次数:
355