Ubuntu1210
JasonYao
从事java开发3年。熟悉WAS MQ JMS SOA
展开
-
【备忘】Ubuntu中使用中文输入法
1.click dash home, search for "language support"2.click "install/remove language" and add Chinese3.click dash home, search for "keyboard input method"4.under "input method",add Chinese input met转载 2014-02-07 11:29:10 · 775 阅读 · 0 评论 -
【备忘】Ubuntu安装卸载qq(version number does not start with digit)
错误描述:dpkg:处理 ~/linuxqq_v1.0.2-beta1_i386.deb (–install)时出错:parsing file ‘/var/lib/dpkg/tmp.ci/control’ near line 7 package ‘linuxqq’:版本字符串 v1.0.2-beta1 中有错误: version number does not st转载 2014-02-13 20:55:29 · 1403 阅读 · 0 评论 -
dpkg: error: dpkg status database is locked by another process
报错信息如下:dpkg: error: dpkg status database is locked by another process解决办法如下:sudo rm /var/lib/dpkg/locksudo dpkg --configure -a转载 2014-02-14 21:31:33 · 12530 阅读 · 0 评论 -
Linux shell读取配置文件使脚本更灵活(刚接触,求更好的办法)
背景:需要一个shell 脚本去remote服务器拷贝文件(scp command),环境有SIT,UAT,PROD三个。问题描述:三种环境对应的remote server不一样,但是shell只需要提供一个。解决办法:可以把一些与环境相关的信息放到配置文件,让shell读取配置。动手实践:创建一个配置文件:test_jason.cfg原创 2014-02-18 21:27:41 · 6679 阅读 · 0 评论 -
Modify the /etc/apt/sources.list for Ubuntu
#163deb http://mirrors.163.com/ubuntu/ lucid main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ lucid-security main restricted universe multiversedeb http://mirrors.163.com/原创 2015-11-07 15:20:38 · 545 阅读 · 0 评论 -
【备忘】Linux, Shell 常用命令,不定时更新
1. 获取当前系统时间:$ dateWed Feb 19 19:22:15 CST 2014$ date +%Y%m%d20140219$ date +%Y-%m-%d2014-02-19$ date +%Y%m%d%H%M%S20140219192653$ date '+%Y-%m-%d %H:%M:%S' 2014-02-19 19原创 2014-02-19 19:26:22 · 887 阅读 · 0 评论 -
Ubuntu install SVN server and configure using http access
Install SVN Serversudo apt-get updatesudo apt-get install subversionsudo apt-get install apache2sudo apt-get install libapache2-svnCreate SVN user group and add www-data group to this groupsudo addg原创 2016-07-11 21:20:03 · 510 阅读 · 0 评论 -
【备忘】执行一个csh做一些检查并且返回成功还是失败
#!/bin/cshif ($#argv != 2) then echo "Usage:/xx/taskrefchecker.sh slientmode[Y|N] logfilepath";endifsetenv silentmode $argv[1];setenv logfile $argv[2];/xx/jre7/bin/java -jar /xx/SeedParser.jar...原创 2018-09-05 11:17:17 · 1119 阅读 · 0 评论