Vi/etc/sysconfig/network
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/80/0B/wKiom1c1S9WwxHQRAAAOruLYuiw518.png "title=" 1.png " alt= "Wkiom1c1s9wwxhqraaaorulyuiw518.png"/>
Restart the server after modification,hostname
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/80/08/wKioL1c1TdahfqqfAAAIGevZTAQ338.png "title=" 2.png " alt= "Wkiol1c1tdahfqqfaaaigevztaq338.png"/>
Modify local domain name resolution,Vi/etc/hosts
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/80/0B/wKiom1c1TQnhVg1pAAAXnjotYHo232.png "title=" 3.png " alt= "Wkiom1c1tqnhvg1paaaxnjotyho232.png"/>
turn off linux for selinux,vi/etc/sysconfig/selinux
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/80/0B/wKiom1c1TnCTr7gsAAAzcbofpNc916.png "title=" 4.png " alt= "Wkiom1c1tnctr7gsaaazcbofpnc916.png"/>
upload our downloaded iredmail installation package and the Yum source rpm package to our installation directory and unzip the installation package
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/80/08/wKioL1c1T3XQi9QbAAAWMx4sTYc139.png "title=" 5.png " alt= "Wkiol1c1t3xqi9qbaaawmx4styc139.png"/>
go to the unpacked folder,cd/home/iredmail/iredmail-0.9.5-1
If we run the installation script directly, the following error will occur
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/80/08/wKioL1c1T7Dx5ND0AADtgSqwP5E299.png "title=" 6.png " alt= "Wkiol1c1t7dx5nd0aadtgsqwp5e299.png"/>
this time we analyze the error message, we need to configure the Yum source, here to find the download good yum source,
Execution iredmail_mirror= ' http://42.159.241.31 ' bash iredmail.sh
RPM–IVH RPM-IVH epel-release-latest-6.noarch.rpm
Cd/etc/yum.repos.d
VI Iredmail.repo
Modify the following configuration
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/80/08/wKioL1c1UGKTw15WAAASvlzukU4772.png "title=" 8.png " alt= "Wkiol1c1ugktw15waaasvlzuku4772.png"/>
Once the modification is complete, execute the following command again:
Execution iredmail_mirror= ' http://42.159.241.31 ' bash iredmail.sh
will appear the following Welcome screen, we choose Yes
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/80/0B/wKiom1c1T8PhLtSjAAA9MeDXQ8w907.png "title=" 9.png " alt= "Wkiom1c1t8phltsjaaa9medxq8w907.png"/>
after hitting enter, the following configuration mailbox storage directory appears, this directory requires large enough space, here we choose the default storage directory /var/mail
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/80/08/wKioL1c1ULrQG0yFAABcuOIyzss375.png "title=" 10.png "alt=" Wkiol1c1ulrqg0yfaabcuoiyzss375.png "/>
Next Choose our Web server (nginx or Apache), here I choose nginx, continue to the next
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/80/0B/wKiom1c1UAexZlWrAAA4u4lLnSY053.png "title=" 11.png "alt=" Wkiom1c1uaexzlwraaa4u4llnsy053.png "/>
Next Choose our back-end storage database, here I choose mysql as my database
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/80/0B/wKiom1c1UB6Q2p2vAABX70H1ODA926.png "title=" 12.png "alt=" Wkiom1c1ub6q2p2vaabx70h1oda926.png "/>
Next set your first mail domain name, which I set here to mail.example.com
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/80/08/wKioL1c1UTyyg2FbAABKbnwsHkU849.png "title=" 14.png "alt=" Wkiol1c1utyyg2fbaabkbnwshku849.png "/>
set a password for your first email domain *********
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/80/0B/wKiom1c1UHWSES4TAABHhUYCc-g328.png "title=" 15.png "alt=" Wkiom1c1uhwses4taabhhuycc-g328.png "/>
Select optional Components, I choose the default installation here
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/80/08/wKioL1c1UbHwETgJAABOd0D9tvQ631.png "title=" 16.png "alt=" Wkiol1c1ubhwetgjaabod0d9tvq631.png "/>
Next pops up a page of warning and review settings
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/80/08/wKioL1c1UcuhVP89AAA4PYhUnFg065.png "title=" 17.png "alt=" Wkiol1c1ucuhvp89aaa4pyhunfg065.png "/>
The next step is the long waiting interface ..... .... ..... ..... ..........................
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/80/0B/wKiom1c1UQLAiVIHAABom2GbfcM632.png "title=" 18.png "alt=" Wkiom1c1uqlaivihaabom2gbfcm632.png "/>
After the download is complete, install automatically, the following interface appears
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/80/0B/wKiom1c1USWii0z0AACSTry5NPw664.png "title=" 19.png "alt=" Wkiom1c1uswii0z0aacstry5npw664.png "/>
The next download virus database interface will be downloaded for a long time, how long I did not notice, anyway put there, wait a few hours to
after the installation is complete, you can access your backend address directly in the browser to manage, login account and password can be in the Iredmail installation directory iredmail.tips This file inside understand.
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/80/0B/wKiom1c1UU6wELnUAAH2mL9_bw0110.png "title=" 20.png "alt=" Wkiom1c1uu6welnuaah2ml9_bw0110.png "/>650) this.width=650; src=" http://s3.51cto.com/wyfs02/M02/80/08/ Wkiol1c1ujvhmdvpaalocvprgrw228.png "title=" 21.png "alt=" Wkiol1c1ujvhmdvpaalocvprgrw228.png "/>