Posts Tagged ‘linux’
12.22.2008 by admin - 0 Comment
Posted in linux
今天打开rpm.livna.org才发现的,据官方公告,livna已经和一个叫 RPM Fusion的项目合并,之前livna源上的rpm包还是可以用的,用
- su -c "rpm -ivh http://rpm.livna.org/livna-release.rpm"
就可以了。
对于fc10来说,源的地址是:
- http://rpm.livna.org/repo/10/i386/
Tag after fedora, linux, livna
11.07.2008 by admin - 0 Comment
Posted in linux
自己做个记录,说不准以后还要用得到。
以下这些操作都是使用root用户进行操作的。
1、建立一个普通权限的用户
因为root用户对系统具有全权的操作权限,为了避免一些失误的操作,建议在一般情况下,以一般用户登录系统,必要的时候需要root操作权限时,再通过“su -”命令来登录为root用户进行操作。
- useradd pysche
- passwd pysche
- usermod -G wheel pysche
Read the rest of this entry »
Tag after centos, linux
08.18.2008 by admin - 4 Comments
Posted in linux
前两天安装好了Sphinx,并简单索引了一个phpwind的主题表来做测试。今天有时间稍微研究了一下phpwind的数据表,大致做了一个适合于phpwind的Sphinx配置文件。
sphinx.zip (1.8 KiB, 184 hits)
看了看phpwind的搜索程序search.php,发现他的搜索在“搜索帖子范围”这一项里面分了三种:
主题标题
主题标题与主题内容
回复标题与回复内容
Read the rest of this entry »
Tag after linux, mysql, sphinx
08.15.2008 by admin - 1 Comment
Posted in 未分类
Sphinx是什么?如果你还不知道,那就放狗吧…
简单引用一下官方wiki的文章:
Sphinx是一个基于SQL的全文检索引擎,可以结合MySQL,PostgreSQL做全文搜索,它可以提供比数据库本身更专业的搜索功能,使得应用程序更容易实现专业化的全文检索。Sphinx特别为一些脚本语言设计搜索API接口,如PHP,Python,Perl,Ruby等,同时为MySQL也设计了一个存储引擎插件。
Sphinx的特性:
Read the rest of this entry »
Tag after linux, mysql, sphinx, 全文检索
06.23.2008 by admin - 4 Comments
Posted in linux
安装好了Nginx,下面就要考虑详细配置了。我需要把我原来运行在apache上的若干个虚拟主机以及ssl站点都迁移到Nginx上来。
在这之前,你可能需要调整你的nginx.conf这个配置文件,修改一下里面的一些必备参数,比如nginx的运行用户等等。
我没有使用默认的配置,而是自己重新写了一份,仅供参考:
Read the rest of this entry »
Tag after centos, linux, nginx
06.23.2008 by admin - 0 Comment
Posted in linux
最近都流行这个轻量级的www服务器了,我也赶了一把流行,把服务器上的apache2换了下来。
关于这个东西的具体介绍嘛,请到官网去看吧。
我的配置工作就是将原来服务器上apache2负责的东西全部转换到Nginx上来,可能跟很多人的需求也差不多,所以写出来和大家分享一下。
Read the rest of this entry »
Tag after centos, linux, nginx
12.09.2007 by admin - 0 Comment
Posted in linux
按照前面的步骤安装好支持mysql的maildrop以后,下面就可以进行具体的配置了。
先创建/etc/maildropmysql.config
- sudo pico /etc/maildropmysql.config
Read the rest of this entry »
Tag after linux, maildrop, ubuntu
12.08.2007 by admin - 0 Comment
Posted in linux
有关debfoster的功能,可以放狗搜一下。也可以参考:http://debian.linuxsir.org/main/?q=node/52
由于ubuntu自带的courier-maildrop包不支持mysql的整合,所以这里我们要利用源代码自己编译一份maildrop。
你如果懒的话,可以直接下载我编译好的文件直接安装,下面的步骤也就可以跳过了:
maildrop_2.0.3-1_i386.deb
先安装debfoster:
- sudo apt-get install debfoster
Read the rest of this entry »
Tag after debfoster, linux, ubuntu
12.07.2007 by admin - 0 Comment
Posted in linux
安装好了extmail以后,发现以cgi方式运行的extmail在发信的时候会出现一个perl的错误提示:
据说是因为ubuntu编译perl的参数问题,解决办法是放弃cgi方式运行extmail,改为fastcgi方式。
参考了一下extmail文档中的README.fcgi,决定选用suidperl的fastcgi方式。也可以采用remote方式,具体可以参考extmail的说明文档了。
Read the rest of this entry »
Tag after extmail, fastcgi, linux, ubuntu
12.06.2007 by admin - 0 Comment
Posted in linux
以我安装mail.ipbfans.org的邮件服务为例,先安装软件:
- sudo apt-get install postfix postfix-mysql courier-authdaemon courier-authlib-mysql courier-imap courier-imap-ssl courier-pop courier-pop-ssl sasl2-bin libsasl2-2 libsasl2-modules libsasl2-modules-sql
Read the rest of this entry »
Tag after extmail, linux, postfix, ubuntu