In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
In this issue, Xiaobian will bring you about how to use CentOS RPM to install CentOS 5.2 related software such as vhmgr. The article is rich in content and analyzed and described from a professional perspective. After reading this article, I hope you can gain something.
CentOS Linux has been widely used because of its compatibility with RHEL and the stability of enterprise-class applications, while allowing users to use it freely. Install mail system (extmail) using CentOS RPM in centos/redhat
I. Introduction:
This article provides the easiest and most convenient way to install a fully functional mail system on centos 5.2. This article is suitable for all REDHAT series. In this article, we will install CentOS RPM if CentOS RPM can be installed. If CentOS RPM does not exist, we will create our own CentOS RPM. Part of the software description:
AMP ---Abbreviations for apache (web service), mysql (database), php (optional)
2. postfix --atta mail system core
courier-authlib--a background application that provides user information for courier-imap, maildrop, sasl2
4. courier-imap --programs that provide pop3, pop3s,imap,imaps services
5. amavisd-new --provide content filtering
6, clamav --famous antivirus software
extmail --a famous webmail program
8. extman --background management program integrated with extmail
Slockd -an anti-spam program based on the smtp phase
vhmgr --A virtual hosting hypervisor written by the author of this article to manage apache, ftp, mysql.
Installation environment: Centos 5.2
Domain Name Machine Name: mail.yiyou.org
Domain Name: yiyou.org
CentOS RPM installation system
To install CentOS RPM, select "customize software selection" and select in the package group selection dialog:
[*]base
[*]devlopment libraries
[*]development tools
[*]editors
[*]text-base internet
Others do not choose.
In setup agnet (or run setup after entering the system), select firewall configuration to change security level and SELinux to disabled. The purpose is to avoid unnecessary trouble during installation and debugging. After the system installation is completed, you can debug the security part by yourself, which will not be described in detail here.
Configure yum, in this article using Netcom lines, so choose mirrors.ta139.com/ as the installation image.
[root@localhost ~]# cd /etc/yum.repos.d/
[root@localhost yum.repos.d]# wget http://mirrors.ta139.com/CentOS-Base.repo.ta139
[root@localhost yum.repos.d]# mv CentOS-Base.repo CentOS-Base.repo.bak
[root@localhost yum.repos.d]# mv CentOS-Base.repo.ta139 CentOS-Base.repo
Third, use CentOS RPM to install software
1, CentOS RPM install AMP
[root@localhost ~]# yum -y install httpd httpd-devel mysql mysql-devel mysql-server php php-xml php-cli php-pdo php-mbstring php-mcrypt php-gd php-common php-devel php-mysql
Modify startup configuration and startup
[root@localhost ~]# chkconfig --level 345 mysqld on
[root@localhost ~]# chkconfig --level 345 httpd on
[root@localhost ~]# service mysqld start
[root@localhost ~]# service httpd start
CentOS RPM installation phpmyadmin Note: You can choose the version you need
[root@localhost ~]# wget http://nchc.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.11.9-all-languages-utf-8-only.tar.bz2
[root@localhost ~]# tar xjf phpMyAdmin-2.11.9-all-languages-utf-8-only.tar.bz2
[root@localhost ~]# mv phpMyAdmin-2.11.9-all-languages-utf-8-only /var/www/html/phpmyadmin
[root@localhost phpmyadmin]# cp config.sample.inc.php config.inc.php
Edit config.inc.php to the following, the string is arbitrary. $cfg['blowfish_secret'] = 'skssiwksksie'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */Enter phpmyadmin Please change mysql root password immediately.
3, Import extman background database Upload extmail/extman/slockd to the server, You can use ftp/winscp upload.
[root@localhost ~]# tar zxf extman-0.2.5b1.tar.gz
[root@localhost ~]# cd extman-0.2.5b1/docs/
[root@localhost docs]# mysql -uroot -p
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.