How does zimbra modify the default 7071 Management port?

Source: Internet
Author: User

Modify the Management port:

Take modifying port 7071 to 8888 as an Example

1.ZmprovCommand ModificationZimbraadminportPort

[Root @ mail ~] $ Su-zimbra

[Zimbra @ mail ~] $ Zmprov MS mail.abs.com zimbraadminport 8888

2.Check whether the port number is successfully modified.

[Zimbra @ mail ~] $ Zmprov GS mail.abs.com | grep zimbraadminport

3. zmlocalconfigCommand to modify the port in the configuration

[Zimbra @ mail ~] $ Zmlocalconfig-e zimbra_admin_service_port =8888

 

4.Manually modify/Opt/zimbra/jetty/etc/DirectoryJetty. xmlAnd so on.7071Replace all port searches8888

 

5.Manually modify/Opt/zimbra/jetty/webapps/service/WEB-INF/Web. xml

/Opt/zimbra/jetty/webapps/zimbraadmin/WEB-INF/Web. xml

/Opt/zimbra/jetty/webapps/zimbra/WEB-INF/Web. xml

Of the three files7071Modify the port8888

 

6. Restart the zimbra service.

Zmcontrol restart

* ***** Note *****

The4You can use the following command to complete the replacement:

[Root @ mail ~] $ CD/opt/zimbra/jetty/etc/

[Root @ MAIL etc] # Find.-Name '*. xml *' | xargs sed-I's/7071/8888/G'

The5You can use the following command to complete the replacement.

[Root @ MAIL etc] # cd/opt/zimbra/jetty/webapps

[Root @ mail webapps] # Find.-Name 'web. xml' | xargs sed-I's/7071/8888/G'

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.