首頁  >  文章  >  專題  >  關於 Linux Centos7 寶塔面板的問題

關於 Linux Centos7 寶塔面板的問題

藏色散人
藏色散人轉載
2020-02-17 16:53:103619瀏覽

以下由寶塔linux教學專欄為大家介紹Linux Centos7 寶塔面板的問題,希望對需要的朋友有幫助!

關於 Linux Centos7 寶塔面板的問題

1.查看寶塔面板的登陸位址、帳號、密碼

/etc/init.d/bt default
[root@iZ8vb62jf4kqs45p5w1grsZ ~]# /etc/init.d/bt default
==================================================================
BT-Panel default info!
==================================================================
Bt-Panel-URL: http://**.**.**.**:8888/********
username: *********
password: *********
Warning:
If you cannot access the panel, 
release the following port (8888|888|80|443|20|21) in the security group

2.存取提示ip:8888無法存取此網站

  首先查看防火牆是否開啟:systemctl   status   firewalld

[root@iZ8vb62jf4kqs45p5w1grsZ ~]# systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2019-04-27 16:51:29 CST; 1 months 20 days ago
     Docs: man:firewalld(1)
 Main PID: 2484 (firewalld)
   CGroup: /system.slice/firewalld.service
           └─2484 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid
 
Apr 27 16:51:28 iZ8vb62jf4kqs45p5w1grsZ systemd[1]: Starting firewalld - dynamic firewall daemon...
Apr 27 16:51:29 iZ8vb62jf4kqs45p5w1grsZ systemd[1]: Started firewalld - dynamic firewall daemon.

 

  開啟了,接著查看是否對8888端口開啟

[root@iZ8vb62jf4kqs45p5w1grsZ ~]# firewall-cmd --query-port=8888/tcp
yes

   可以看到結果是yes,那麼如果你用的是雲端伺服器,問題可能就出在安全群組規則了。

安全群組規則   登陸到雲端伺服器控制面板,打開伺服器實例,然後在其對應的安全群組規則,開啟需要開啟的端口,這裡是8888。再次造訪:

關於 Linux Centos7 寶塔面板的問題

更多程式相關內容,請追蹤php中文網程式教學欄位!

以上是關於 Linux Centos7 寶塔面板的問題的詳細內容。更多資訊請關注PHP中文網其他相關文章!

陳述:
本文轉載於:csdn.net。如有侵權,請聯絡admin@php.cn刪除