2012年5月22日
摘要: Ubuntu Server 12.04版本下APT成功安装了OpenStackdashboard里面虽然有简体中文的设置,但汉化没有完成(繁体中文已经完全汉化了)1. 把繁体中文的po文件用工具转换成简体后覆盖到对应的简体中文目录下有两个文件需要翻译:/usr/share/openstack-dashboard/openstack_dashboard/locale/zh_TW/LC_MESSAGES/django.po和/usr/share/pyshared/horizon/locale/zh_TW/LC_MESSAGES/django.po2. 复制到简体中文目录后,编译po文件:msgfm 阅读全文
posted @ 2012-05-22 16:04 return null; 阅读(1679) 评论(1) 推荐(0)
  2011年12月22日
摘要: 详细步骤网上有,这里只是列出了我遇到的一些问题Location配置中有两个方式SVNParentPath和SVNPath,网上说他们的区别是SVNParentPath:支持多个具备相同父目录的Subversion版本库。SVNPath:只支持一个父目录的Subversion版本库我的目录是/home/svn/repos 其中repos是版本库我尝试多少次后发现正确SVNParentPath配置的是<Location /svn>DAV svnSVNParentPath /home/svn/AuthType BasicAuthName "Documentation Team 阅读全文
posted @ 2011-12-22 23:34 return null; 阅读(1674) 评论(1) 推荐(1)
摘要: ubuntu下部署SVN服务1、安装软件sudo apt-get install apache2sudo apt-get install subversionsudo apt-get install libapache2-svn创建SVN目录sudo mkdir /etc/svnsudo mkdir /etc/svn/repos运行创建版本库的命令,指定数据存储为 FSFS,如果要指定为 Berkeley DB,则将 fsfs 替换为 bdbsudo svnadmin create --fs-type fsfs /etc/svn/reposSVN目录的权限给APACHE2的启动用户cd /et 阅读全文
posted @ 2011-12-22 23:08 return null; 阅读(165) 评论(0) 推荐(0)
  2011年10月16日
摘要: 折腾了很久,Ubuntu基本是装上了 但是显卡还是没有装成功 期待有人成功的案例。。配置: CPUi3-2310M,显卡AMD Radeon HD 6630M大致安装过程 :1. 用desktop版的iso文件制作USB启动盘2. 进入BIOS里面把显卡设置为集成,并将OS自动选择设置为Disable3. 开始安装。。。(一切顺利)4. 成功安装后会发现无限网络不能启用,原因好像是网卡驱动错误识别为acer了,解决办法可以参考这里:http://eteda.iteye.com/blog/11858745. 重启进入BIOS开启双显卡,OS自动选择设置为Enable,成功进入Ubuntu系统。- 阅读全文
posted @ 2011-10-16 19:28 return null; 阅读(1815) 评论(1) 推荐(0)
  2011年7月14日
摘要: .tar解包:tar xvf FileName.tar打包:tar cvf FileName.tar DirName(注:tar是打包,不是压缩!)---------------------------------------------.gz解压1:gunzip FileName.gz解压2:gzip -d FileName.gz压缩:gzip FileName.tar.gz 和 .tgz解压:... 阅读全文
posted @ 2011-07-14 13:57 return null; 阅读(169) 评论(0) 推荐(0)
  2011年7月8日
摘要: 1. 运行hadoop程序报错如下:Exception in thread "main" java.io.IOException: Cannot run program "chmod": CreateProcess error=2解决方法: 只需要把cygwin的bin目录加到windows的用户环境变量中就可以了,然后需要重启eclipse 阅读全文
posted @ 2011-07-08 12:37 return null; 阅读(820) 评论(0) 推荐(0)
  2011年6月2日
摘要: 1. 服务端需要安装的软件包nfs-common, nfs-kernel-server,portmap客户端不用nfs-kernel-server.(在debian中可直接用该命令aptitude -r nfs-common nfs-kernel-server portmap, 或sudo apt-get install nfs-common nfs-kernel-server portmap)2... 阅读全文
posted @ 2011-06-02 20:38 return null; 阅读(250) 评论(0) 推荐(0)
  2011年5月22日
摘要: 只需要卸载rar就可以了终端执行:sudo apt-get remove --purge rar 阅读全文
posted @ 2011-05-22 14:06 return null; 阅读(251) 评论(0) 推荐(1)
  2011年5月20日
摘要: LINUX 转换文件编码 GBK->UTF-8文件编码批量转换脚本find default -type d -exec mkdir -p utf/{} \;find default -type f -exec iconv -f GBK -t UTF-8 {} -o utf/{} \;这两行命令将default目录下的文件由GBK编码转换为UTF-8编码,目录结构不变,转码后的文件保存在utf/de... 阅读全文
posted @ 2011-05-20 15:29 return null; 阅读(310) 评论(0) 推荐(0)
  2011年5月17日
摘要: 在ubuntu下给ibus输入法安装搜狗词库 ubuntu默认的ibus输入法已经很好用了,但是它的词库比较小,有很多的词都打不出来。解决这个问题的方法就是给它安装一下搜狗词库。方法如下wget -c http://hslinuxextra.googlecode.com/files/android.7zsudo apt-get install p7zip-full7z e android.7zsu... 阅读全文
posted @ 2011-05-17 10:43 return null; 阅读(573) 评论(0) 推荐(0)

点击右上角即可分享
微信分享提示