刚开始学习python,照着书上敲完代码执行的时候出现:
#根据给定的年月日以数字的形式打印出来
months = [
'January',
'Febuary',
'March',
'April',
'May',
'June',
'July',
'August',
'September',
'Oc...
分类:
编程语言 时间:
2014-08-25 21:13:04
阅读次数:
268
curl是利用URL语法在命令行方式下工作的开源文件传输工具。它被广泛应用在Unix、多种Linux发行版中,并且有DOS和Win32、Win64下的移植版本。概念编辑它支持很多协议:FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE 以及 LDAP...
分类:
其他好文 时间:
2014-08-25 21:08:14
阅读次数:
1253
1.解压gview 安装包tar zxvf gv-412-Linux-x86.tar.gz2.配置环境vim .bashrcsource .bashrc3.执行gv目录下Set_File_Protection.cshcsh Set_File_Protection.csh4.运行gview,安装所需的...
分类:
其他好文 时间:
2014-08-25 21:06:44
阅读次数:
402
oracle启动,提示“LRM-00109: could not open parameter file”LRM-00109: could not open parameter file '/home/oracle/oracle10g/dbs/initoms今天连接Oracle数据库的时候,发现数据...
分类:
数据库 时间:
2014-08-25 20:44:04
阅读次数:
239
方法一: loopmount -i xxx.iso -o "-V cdrfs -o ro" -m /mnt/ 方法二: 1、建立一个逻辑卷,大小和ISO image相同或者大些。2、在/etc/filesystems文件中加入并编辑该逻辑卷条目,设置vfs为cdrfs例如:# vi /etc/fil...
分类:
其他好文 时间:
2014-08-25 20:39:34
阅读次数:
222
这块一直不是很熟,现在总结一下。 创建两个组,指定GID: groupadd –g 1200 postdrop
groupadd –g 1000 postfix 创建一个用户,不需要家目录,指定组为postfix,额外组为postdrop,不能登录系统: useradd –M...
分类:
其他好文 时间:
2014-08-25 19:36:45
阅读次数:
227
方法一:file/sbin/init或file/bin/ls结果如下[root@localhost~]#file/sbin/init/sbin/init:ELF32-bitLSBsharedobject,Intel80386,version1(SYSV),dynamicallylinked(usessharedlibs),forGNU/Linux2.6.18,stripped[root@localhost~]#file/bin/ls/bin/ls:ELF32-bitLSBexecutable..
分类:
系统相关 时间:
2014-08-25 19:32:05
阅读次数:
284
一般我们在Linux下执行某些外部程序的时候可能会提示找不到共享库的错误, 比如:tmux: error while loading shared libraries: libevent-1.4.so.2: cannot open shared object file: No such file o...
分类:
其他好文 时间:
2014-08-25 18:32:04
阅读次数:
219
fopen fopen(打开文件) 相关函数 open,fclose 表头文件 #include 定义函数 FILE * fopen(const char * path,const char * mode); 函数说明 參数path字符串包括欲打开的文件路径及文件名称,參数mode...
分类:
其他好文 时间:
2014-08-25 16:48:14
阅读次数:
139
示例代码:public void start() throws Exception { String separator = System.getProperty("file.separator"); String classpath = System.getProperty("java.class...
分类:
编程语言 时间:
2014-08-25 16:47:24
阅读次数:
215