Install postfix-based full-featured email server on linux (1)

Source: Internet
Author: User
Article Title: Install postfix-based full-featured email server on linux (1 ). Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Software package used:

Postfix-2.4.5

Mysql-5.0.45

Sasl-2.1.22

DB-4.5.20

Openssl-0.98e

Httpd-2.2.4

Php-5.2.3

Courier-authlib-0.59.3

Courier-imap-4.1.3

Extmail-1.0.2

Extman-0.2.2

Maildrop-2.0.4

Clamav-0.91.2

Amavisd-new

SpamAssassin-3.2.3

1. Install mysql-5.0.45

# Groupadd mysql

# Useradd-g mysql-s/bin/false-M mysql

# Tar zxvf mysql-5.0.45.tar.gz

# Cd mysql-5.0.45

#./Configure \

-- Prefix =/usr/local/mysql \

-- Enable-thread-safe-client \

-- Enable-local-infile \

-- With-charset = gbk \

-- With-extra-charset = all \

-- With-low-memory

Make

Make install

Cp support-files/my-medium.cnf/etc/my. cnf

Cd/usr/local/mysql

Chown-R mysql.

Chgrp-R mysql.

Bin/mysql_install_db -- user = mysql

Chown-R root.

Chown-R mysql var

Bin/mysqld_safe -- user = mysql &

Cd/usr/local/src/mysql-5.0.45

Cp support/mysql. server/etc/rc. d/init. d/mysqld

Chmod 700/etc/rc. d/init. d/mysqld

Add to auto start service queue:

Chkconfig -- add mysqld

Chkconfig -- level 345 mysqld on

Test

/Usr/local/mysql/bin/mysqladmin ping

/Usr/local/mysql/bin/mysqladmin version

/Usr/local/mysql/bin/mysql

[1] [2] [3] [4] [5] Next page

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.