09 2011 档案

摘要:尝个鲜,在11.04桌面按"alt+F2",在"run a command"中输入"update-manager -d",然后按步操作。安装完后,装输入法fcitx,执行命令:"sudo apt-get install fcitx"然后执行"im-switch -s fcitx",重启后,默认的输入法就是它了。可惜没有我要的五笔,所以又google了一下,发现可以在ibus中装极点五笔。执行如下:sudo wget http://www.xiit.cn/wp-content/uploads/20 阅读全文
posted @ 2011-09-25 10:06 番茄侠 阅读(201) 评论(0) 推荐(0) 编辑
摘要:$ ssh root@192.168.xx.xxPermission denied (publickey,gssapi-with-mic).报了这么个错,原因是我上次做测试时修改了/etc/ssh/sshd_config 中的"PasswordAuthentication"参数值为"no",修改回"yes",重启sshd服务即可。 阅读全文
posted @ 2011-09-19 15:34 番茄侠 阅读(894) 评论(0) 推荐(0) 编辑
摘要:这是个老的不能再老的配置需求,网上相关文章多如牛毛。之所以还要记录一下,主要这次配置出现了点小问题,所以在这里要强调一下。配置localhost(ssh客户机)请用您的用户账户在源机上登录,并运行命令ssh-keygen -t rsa:$ssh-keygen-trsa连续3次回车就可以了,一般默认的输出路径就是对的为了实现自动登录, passphrase为空。注意:由于passphrase为空,生成的私钥必须绝对禁止未授权的访问!将生成的id_rsa.pub文件复制到remotehost的/home/username/.ssh/目录下。配置remotehost(ssh服务器)请以usernam 阅读全文
posted @ 2011-09-16 17:15 番茄侠 阅读(269) 评论(0) 推荐(0) 编辑
摘要:用的是linuxdeepin,下完后才看到它原来有64位版本的。不过不再想下载了。用pae吧。sudoapt-getinstalllinux-generic-paelinux-headers-generic-paeAfter a reboot the PAE kernel should be booted as the default option in the GRUB boot menu.To confirm that PAE was enabled correctly you can use the system monitor form the System menu under Ad 阅读全文
posted @ 2011-09-15 14:04 番茄侠 阅读(889) 评论(0) 推荐(0) 编辑
摘要:1、查看perl版本:perl -v 、perl -version 、perl -V2、什么是cpan: CPAN是Comprehensive Perl Archive Network的缩写,“perl档案智能网络”的意思,其中包括了大量的perl模块,软件和文档。你可以从以下几个地方找到CPAN:http://www.cpan.org或http://www.perl.com/CPAN/或其他的列在http://www.cpan.org/SITES.html和http://mirror.cpan.org中的镜像站点 同时请注意,CPAN还是一个PERL的模块名,CPAN.pm是一个用来自动下载 阅读全文
posted @ 2011-09-09 14:54 番茄侠 阅读(672) 评论(0) 推荐(0) 编辑
摘要:执行某jar文件时,发现在只能在当前目录下,执行 java -jar "xxx.jar",如果在别的路径下执行 java -jar "d:\xxx\xxx.jar"时,就会报某某文件找不到的错误。于是写了个bat文件,加载环境变量setclasspath=%classpath%;d:\dist\config.properties;d:\dist\lib\commons-io-1.4.jar;d:\dist\lib\commons-logging-1.1.1.jar;d:\dist\lib\httpclient-4.0.3.jar;d:\dist\lib\ 阅读全文
posted @ 2011-09-07 16:17 番茄侠 阅读(477) 评论(0) 推荐(0) 编辑