下面由宝塔linux教程栏目给大家介绍关于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/tcpyes
可以看到结果是yes,那么如果你用的是云服务器,问题可能就出在安全组规则上了。
安全组规则 登陆到云服务器控制面板,打开服务器实例,然后在其对应的安全组规则,开启需要开启的端口,这里是8888。再次访问:
更多编程相关内容,请关注编程教程栏目!
以上就是关于 linux centos7 宝塔面板的问题的详细内容。