Home >Topics >Pagoda Panel >Solution to the problem that centos7 cannot access Pagoda after installing it

Solution to the problem that centos7 cannot access Pagoda after installing it

藏色散人
藏色散人forward
2020-05-06 15:13:1710132browse

The following tutorial column of Pagoda Installation will introduce to you the solution to the problem that centos7 cannot access the Pagoda after installing it. I hope it will be helpful to friends in need!

Solution to the problem that centos7 cannot access Pagoda after installing it

1. When installing centos7, select -》Bridge: If you select bridge mode, the virtual machine and the host will have a peer relationship on the network, which is equivalent to being connected to the same switch.

2..See centos7 yum fastestmirror cannot be used what to do article.

3. Add port to the firewall:

firewall-cmd --zone=public --add-port=8888/tcp --permanent    (--permanent永久生效,没有此参数重启后失效)
firewall-cmd --zone=public --add-port=888/tcp --permanent    (--permanent永久生效,没有此参数重启后失效)
firewall-cmd --zone=public --add-port=80/tcp --permanent    (--permanent永久生效,没有此参数重启后失效)
firewall-cmd --zone=public --add-port=443/tcp --permanent    (--permanent永久生效,没有此参数重启后失效)
firewall-cmd --zone=public --add-port=20/tcp --permanent    (--permanent永久生效,没有此参数重启后失效)
firewall-cmd --zone=public --add-port=21/tcp --permanent    (--permanent永久生效,没有此参数重启后失效)

Reload:

firewall-cmd --reload

4. If the IP given by Pagoda does not work, replace it with the IP of your own virtual machine and add port 8888. Access is now available. The account password remains unchanged.

Use the following command under centos ip address Get the virtual machine ip address

For more technical articles on the Pagoda panel, please visit PagodaTutorial column!

The above is the detailed content of Solution to the problem that centos7 cannot access Pagoda after installing it. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete