Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to use CentOS RPM to install related software such as vhmgr in CentOS 5.2

Shulou Source: shulou.com Published: 2022-06-01 07:15:24 10月04日 Update

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

Tags: System software program selection file password folder mail content background user profile mail system service management name variable domain name data database Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Microsoft Linux macOS Shulou Information