ผลต่างระหว่างรุ่นของ "2. ขั้นตอนการติดตั้งและตั้งค่า mariadb , Postfix , Dovecot (Centos7)"
Tanagan (คุย | มีส่วนร่วม) (Created page with "1 ติดตั้ง mariadb , Postfix , Dovecot และ Packet ที่จำเป็นกับ Server '''# yum --enablerepo=centosplus install postfix''' '''# yum...") |
Tanagan (คุย | มีส่วนร่วม) |
||
แถว 1: | แถว 1: | ||
1 ติดตั้ง mariadb , Postfix , Dovecot และ Packet ที่จำเป็นกับ Server | 1 ติดตั้ง mariadb , Postfix , Dovecot และ Packet ที่จำเป็นกับ Server | ||
− | + | '''# yum --enablerepo=centosplus install postfix''' | |
− | '''# yum --enablerepo=centosplus install postfix''' | + | '''# yum install dovecot mariadb-server dovecot-mysql''' |
− | '''# yum install dovecot mariadb-server dovecot-mysql''' | + | '''# systemctl enable dovecot''' |
− | '''# systemctl enable dovecot''' | ||
2 เนื่องจาก Postfix version 2.x.x นั้นไม่รองรับกับระบบ EAI จำเป็นต้องใช้ version 3.x.x ขึ้นไป โดยถอด postfix เดิมออก | 2 เนื่องจาก Postfix version 2.x.x นั้นไม่รองรับกับระบบ EAI จำเป็นต้องใช้ version 3.x.x ขึ้นไป โดยถอด postfix เดิมออก | ||
− | ' | + | '"# yum remove postfix"' |
− | '''# yum remove ssmtp''' | + | '''# yum remove ssmtp''' |
− | '''# yum remove sendmail''' | + | '''# yum remove sendmail''' |
3 เพิ่ม Repo ใหม่ เพื่อให้สามารถติดตั้ง postfix version 3 ขึ้นไปได้ โดยสร้าง repo | 3 เพิ่ม Repo ใหม่ เพื่อให้สามารถติดตั้ง postfix version 3 ขึ้นไปได้ โดยสร้าง repo |
รุ่นแก้ไขเมื่อ 12:58, 8 พฤษภาคม 2563
1 ติดตั้ง mariadb , Postfix , Dovecot และ Packet ที่จำเป็นกับ Server
# yum --enablerepo=centosplus install postfix # yum install dovecot mariadb-server dovecot-mysql # systemctl enable dovecot
2 เนื่องจาก Postfix version 2.x.x นั้นไม่รองรับกับระบบ EAI จำเป็นต้องใช้ version 3.x.x ขึ้นไป โดยถอด postfix เดิมออก
'"# yum remove postfix"' # yum remove ssmtp # yum remove sendmail
3 เพิ่ม Repo ใหม่ เพื่อให้สามารถติดตั้ง postfix version 3 ขึ้นไปได้ โดยสร้าง repo
- vi /etc/yum.repos.d/gf.repo
[gf] name=Ghettoforge packages that won't overwrite core distro packages. mirrorlist=http://mirrorlist.ghettoforge.org/el/7/gf/$basearch/mirrorlist enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-gf.el7 failovermethod=priority
[gf-plus] name=Ghettoforge packages that will overwrite core distro packages. mirrorlist=http://mirrorlist.ghettoforge.org/el/7/plus/$basearch/mirrorlist # Please read http://ghettoforge.org/index.php/Usage *before* enabling this repository! enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-gf.el7 failovermethod=priority