MySQL upgrade under <mail service >

Source: Internet
Author: User
Tags tidy

The postfix version of the current system is postfix-2.6.6-2.2.el6_1.x86_64

Get the new Postfix package postfix-2.11.0.tar.gz

Unzip CD postfix-2.11.0

If there is a. spec file can be packaged into a package, it is convenient find-name ' *.spec '

Vim Install//can view Help for installation upgrade

Locate the key row, generate the compiled file, compile the make-f makefile.init makefiles the missing library file, install the library file.

Yum Install Db*-devel-y

Recompile make-f makefile.init makefiles

You can view the services and plugins that are supported by the Mail service

Postconf-a

Postconf-a

Postconf-m

Make Tidy//clear compilation of generated temporary files

CD readme_files/

Less Mysql_readme//view compile Help for MYSQL under mail

RPM-QL mysql-devel//View MySQL's compilation/library path

/usr/include/mysql/sslopt-case.h

/usr/lib64/mysql/libmysqlclient.so

Mkae Tidy

Make-f Makefile.init makefiles Ccargs represents a macro. Used to replace the default value in Makefile ' Ccargs=-dhas_mysql-i/usr/include/mysql '//-i path represents the search header file in the specified path

-lz means searching for libz.so or LIBZ.A, which is abbreviated, only one z is written, and Lmysqlclient is LIBMYSQLCLIENT.SO/LIBMYSQLCLIENT.A

' Auxlibs=-l/usr/lib64/mysql-lmysqlclient-lz-lm '

Make upgrade//compile finished

Postfix stop

Postfix start

POSTCONF-M//upgrade correct will see MySQL

Postconf-n//Can view some parameters of mail

POSTCONF-E Inet_interfaces=all//Everyone can use the Mail service postfix reload//Reload

Postfix stop postfix start netstat-antple//view port whether everyone can use

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.