2012 年二月 一 二 三 四 五 六 日 « 一 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 近期评论
- wlx [微博 ] 发表在《google彻底被封?》
- snake 发表在《google彻底被封?》
- Andrew Pelt 发表在《debian testing上安装oracle 10g》
- tiplip 发表在《webmap.cn使用的WEBGIS技术》
- 求助Evolution问题!! 发表在《evolution crashed in gutsy alpha》
分类目录
标签
anjuta apache backup breezy c++ compile convert dapper debian dns edgy evolution feisty firefox flash gnome gobang GRASS gutsy humor intrepid Linux mailman MapServer mysql openoffice Oracle php phpbb postfix PostGIS postgresql qgis sarge scim skype subversion svn tomcat ubuntu utf8 westdc Windows wordpress 中文
Tag Archives: debian
WebDAV on Apache2
本来应该很简单,参考debian administration的操作,结果作下来后,发现没有些权限写。最后才发现是当前目录的父目录有一个word press生成的.htaccess文件,正是这个文件导致了问题的产生。 解决办法:拷贝父目录下的.htaccess文件,然后注释掉里面有影响的句子。
转移邮件服务器:postfix
原邮件服务器硬盘损害,已经无法工作,需要转移到新服务器上。 原来的服务器是debian etch,新服务器是ubuntu feisty。 首先安装: sudo aptitude install postfix postfix-mysql courier-authdaemon courier-authlib-mysql courier-pop courier-pop-ssl courier-imap courier-imap-ssl postfix-tls libsasl2 libsasl2-modules libsasl2-modules-sql sasl2-bin openssl libpam-mysql amavisd-new spamassassin clamav clamav-daemon zoo unzip bzip2 unzoo libnet-ph-perl libnet-snpp-perl libnet-telnet-perl nomarch lzop pax razor pyzor dcc-client … Continue reading
spamassassin的antidrug.cf
收到我的debian服务器发出的邮件: /etc/cron.daily/amavisd-new: String found where operator expected at (eval 909) line 1, near “”you” “are”” (Missing operator before “are”?) String found where operator expected at (eval 909) line 1, near “”are” “running”” (Missing operator before “running”?) String found where operator … Continue reading
mailman中使用postfix建立多域
mailman: 2.1.9 debian etch 服务器上很早就搭建了postfix和mailman服务,但后来又产生新要求,要求mailman中再添加一个域名。原来做过多次尝试,一直未果。 今天把服务器升级为etch,顺便把x和gnome都干掉了。然后想看看这个问题能不能解决,就又试验起来了。 http://www.python.org/cgi-bin/faqw-mm.py?query=virtual+domain&querytype=simple&casefold=yes&req=search 开始都是以为要查询virtual domain,进入了误区,结果一直无解。 官方文档:http://www.gnu.org/software/mailman/mailman-install/node13.html 看了上面的文档后,又实验了多种配置,还是有问题,发到新邮件列表的信一直自动转发到老邮件列表上,导致查无此人。 Reporting-MTA: dns; debian.westgis.ac.cn Received-From-MTA: smtp; debian.westgis.ac.cn ([127.0.0.1]) Arrival-Date: Sat, 30 Dec 2006 12:09:02 +0800 (CST) Original-Recipient: rfc822;westdc@lists.westgis.ac.cn Final-Recipient: rfc822;westdc@list.cngis.org Action: failed Status: 5.1.1 Remote-MTA: dns; 127.0.0.1 Diagnostic-Code: smtp; 550 … Continue reading
构建DEBIAN软件包
一直没有系统地看过,这个讲的很详细: http://debian.linuxsir.org/doc/inthedebianway/debian_build_package.html 1. 声明 * 版本信息: 本文档的最新版本将张贴于: LinuxSir.Org论坛 Debian 发行版讨论区 ; 也可以从 http://debian.linuxsir.org/ 获取. * 反馈: 所有评论, 错误报告, 其他信息以及批评, 请邮寄到 etony@tom.com ; 或在LinuxSir.Org论坛 Debian发行版讨论区 张贴. * 版权信息: 本文档的版权(c)2006-2007 归 etony C.F.AN 所有. 转载请注明源自 http://debian.linuxsir.org/ .
在debian/ubuntu中查询软件包的依赖关系
如何在debian/ubuntu中查询某软件的依赖关系?或者该软件的反向依赖关系? 我一直以来都是在GUI界面synaptic下查询这些问题的,没想到用命令很简单就能得到结果。 1 查询依赖关系: wlx@cngis:~$ apt-cache depends proj proj 依赖: libc6 建议: proj-ps-doc 2 查询反向依赖关系: wlx@cngis:~$ apt-cache rdepends proj proj Reverse Depends: qgis xastir thuban qgis python-mapscript proj-ps-doc postgresql-8.1-postgis php5-mapscript php4-mapscript perl-mapscript mapserver-bin libqgis0-dev libgrass libgdal1-1.3.1 grass gpx2shp cgi-mapserver 简单吧,这样我就应该知道proj是轻易不能动的,是个基础包阿。
转移DNS服务器
本来的服务器是安装在一个REDHAT LINUX 9的服务器上,现在需要转移到另外debian服务器上。
bibus的安装
看到别人使用bibus与openoffice制作的论文模板,感觉很好用。 原来一直想找一个linux下的文献管理软件,但试验了很多,感觉都不好用,或者不太适合。 又:听说openoffice 3将会集成文献管理功能,或许到时会好的多。 首先,可以直接把bibus的repository挂上: sudo nano /etc/apt/source.list #add repos deb http://switch.dl.sourceforge.net/sourceforge/bibus-biblio ./ sudo aptitude update sudo aptitude install python-sqlite2 bibus bibus-doc-en 其网站声明支持debian testing(估计指debian sarge)和ubuntu breezy,我在ubuntu edgy下也能使用。 但是其版本好像稍微落后,而且我看官方中有提供中文支持,但是安装后没有中文locale显示,但在文献中使用中文没有问题。 因此,就直接从CVS中取出了最新版本,打算在本地编译deb包,来看看有没有什么变化。 编译完成后,发现仍然无法显示中文locale。 浏览代码后,发现是其提供的locale有问题。 删除了locale/cn目录,修改locale/zh_cn为locale/zh_CN。(因为在ubuntu edgy下,中文默认locale是zh_CN)。 然后有重新编译了po文件: msgfmt bibus.po -o bibus.mo 当然,其中翻译不满意的,可以运行poedit再来修改,呵呵。 最终就可以打包了: … Continue reading
debian testing上安装oracle 10g
安装10g express一直有问题,决定安装oracle 10g版本。 这个安装要比xe版复杂得多。 一、安装前的准备 1.硬件要求 Oracle建议内存为512MB或以上,至少1G交换分区,并且需要400MB的临时目录空间。 使用以下的命令查看你的内存和交换分区大小: # grep MemTotal /proc/meminfo # grep SwapTotal /proc/meminfo 你可以使用以下方法添加临时交换分区: su – root dd if=/dev/zero of=tmpswap bs=1k count=900000 chmod 600 tmpswap mkswap tmpswap swapon tmpswap 可以通过以下命令查看临时空间大小: #df /tmp 可以自己新建临时目录,安装完后再删除 #su – root #mkdir … Continue reading
dbstart无法启动
安装完成后一直有问题, su oracle dbstart 提示: “Failed to auto-start Oracle Net Listene using /ade/vikrkuma_new/oracle/bin/tnslsnr” 解决办法: To solve this problem please follow the steps. Step 1 Edit $ORACLE_HOME/bin/dbstart Step 2 Goto line 78 Step 3 Replace the line with ORACLE_HOME_LISTNER=$ORACLE_HOME Step 4 … Continue reading