讲解cyrus-sasl安装配置过程与生成rpm
创始人
2024-06-20 18:20:14
0

在CentOS系统中cyrus-sasl安装还是比较常用的,于是我研究了一下cyrus-sasl安装,在这里拿出来和大家分享一下,希望对大家有用CentOS社区的Linux发行版本被称为CentOS Linux,由于使用了由RHEL的源代码重新编译生成新的发行版本,CentOS Linux具有与RHEL产品非常好的兼容性cyrus-sasl安装。

A、cyrus-sasl安装中安装SRPM
[root@localhost ~]# wget ftp://194.199.20.114/linux/fedora/updates/8/SRPMS/cyrus-sasl-2.1.22-8.fc8.src.rpm
[root@localhost ~]# rpm -ivh cyrus-sasl-2.1.22-8.fc8.src.rpm
[root@localhost ~]# cd $SPEC
编辑cyrus-sasl.spec 将下面:
# Bundling copy of Berkeley DB, for sasldb support.
topdir=`pwd`
pushd db-%{db_version}/build_unix
../dist/configure \
--with-mutex=UNIX/fcntl --disable-shared --enable-static --with-pic \
--with-uniquename=_cyrus_sasl_sasldb_rh \
--prefix=${topdir}/db-instroot \
--includedir=${topdir}/db-instroot/include \
--libdir=${topdir}/db-instroot/lib
改为:
# Bundling copy of Berkeley DB, for sasldb support.
topdir=`pwd`
pushd db-%{db_version}/build_unix
../dist/configure \
--with-mutex=UNIX/fcntl --disable-shared --enable-static --with-pic \
--with-uniquename=_cyrus_sasl_sasldb_rh \
--prefix=${topdir}/db-instroot \
--includedir=${topdir}/db-instroot/include \
--libdir=${topdir}/db-instroot/lib \
--with-authdaemond=/var/spool/authdaemon

B、cyrus-sasl安装中生成rpm
[root@localhost SPECS]# rpmbuild -bb cyrus-sasl.spec
[root@localhost RPMS]# cd $RPMS/i386
[root@localhost i386]# rpm -e --nodeps cyrus-sasl-devel cyrus-sasl-plain cyrus-sasl cyrus-sasl-lib (如果这些包存在)
[root@localhost i386]# rpm -ihv cyrus-sasl-lib-2.1.22-8.i386.rpm
[root@localhost i386]# rpm -ihv cyrus-sasl-2.1.22-8.i386.rpm
[root@localhost i386]# rpm -ihv cyrus-sasl-plain-2.1.22-8.i386.rpm

C、cyrus-sasl安装配置sasl2
创建/usr/lib/sasl2/smtpd.conf 文件,输入下面的内容:
pwcheck_method:authdaemond
log_level:3
mech_list:PLAIN LOGIN
authdaemond_path:/var/spool/authdaemon/socket
以上讲解cyrus-sasl安装过程。

【编辑推荐】

  1. 使用rpm文件手动安装CentOS authlib软件
  2. 运用CentOS RPM安装CentOS 5.2中相关软件如vhmgr
  3. CentOS5.3安装Oracle过程讲解与创建软件账户
  4. CentOS VSFTPD安装时RPM软件包安装的方法
  5. 安装CentOS oracle过程设置使用解压包

相关内容

热门资讯

如何允许远程连接到MySQL数... [[277004]]【51CTO.com快译】默认情况下,MySQL服务器仅侦听来自localhos...
如何利用交换机和端口设置来管理... 在网络管理中,总是有些人让管理员头疼。下面我们就将介绍一下一个网管员利用交换机以及端口设置等来进行D...
施耐德电气数据中心整体解决方案... 近日,全球能效管理专家施耐德电气正式启动大型体验活动“能效中国行——2012卡车巡展”,作为该活动的...
Windows恶意软件20年“... 在Windows的早期年代,病毒游走于系统之间,偶尔删除文件(但被删除的文件几乎都是可恢复的),并弹...
20个非常棒的扁平设计免费资源 Apple设备的平面图标PSD免费平板UI 平板UI套件24平图标Freen平板UI套件PSD径向平...
德国电信门户网站可实时显示全球... 德国电信周三推出一个门户网站,直观地实时提供其安装在全球各地的传感器网络检测到的网络攻击状况。该网站...
着眼MAC地址,解救无法享受D... 在安装了DHCP服务器的局域网环境中,每一台工作站在上网之前,都要先从DHCP服务器那里享受到地址动...
为啥国人偏爱 Mybatis,... 关于 SQL 和 ORM 的争论,永远都不会终止,我也一直在思考这个问题。昨天又跟群里的小伙伴进行...