当前位置:网站首页>[tutorial] build a personal email system using Tencent lightweight cloud

[tutorial] build a personal email system using Tencent lightweight cloud

2022-06-23 22:11:00 Diligent thinking

Preface

A few months ago , My friend set up an email system , Tried it on , It's pretty good , So this time we will use Tencent cloud lightweight application server to build a

List of supplies

Server selection

Let's choose Tencent cloud in Hong Kong, China

Because the use demand is not big , So I decided to choose 1h2g Come on , Install after purchase centos7

domain name

at will , After buying the server, it will be resolved to IP That's it

Mailbox system

This time we use EwoMail To build

Text

First, we have to configure the server

Configure server

Open port

Go to the firewall first 25,143,993,995,587,110,465 port

If you want to support SSL Words , Still need to open

webmail port :8000,7000(ssl) Mailbox background port :8010,7010(ssl) web Database management :8020(ssl)

establish swap Partition

Create swap Partition , You can adjust the size according to your server configuration

dd if=/dev/zero of=/mnt/swap bs=1M count=1024  

Set up swap partition file

mkswap /mnt/swap

start-up swap

swapon /mnt/swap

Set auto enable when power on swap Partition

Documents need to be modified /etc/fstab Medium swap That's ok , add to

/mnt/swap swap swap defaults 0 0

then OK 了

get files

Then we visit the official website http://www.ewomail.com

There is a quickest way , The website provides script acquisition methods

http://www.ewomail.com/list-11.html

It's a shame , To the lightweight application server command execution window , Enter in the old way root Account

Then execute the generated installation command

Always enter or type Y

After successful installation, it will output ”Complete installation”

Configuration after installation

At this time, you can access the mailbox management background :http://IP:8010 ( Default account admin, password ewomail123)

We can click the profile in the upper right corner and set it

Such as changing the password

Besides , If you forget your password ( Better not forget hahaha ) You have to enter the database to view

Enter the server and execute the command :cat /ewomail/config.ini

Then enter phpmyadmin find i_admin surface , modify password The value is MD5 That's it

The full text after

So that's the end of the construction , It's still pretty good , You can also try

原网站

版权声明
本文为[Diligent thinking]所创,转载请带上原文链接,感谢
https://yzsam.com/2021/12/202112172236406141.html