宝塔 php.ini在哪,关于 Linux Centos7 宝塔面板的问题

下面由宝塔linux教程栏目给大家介绍关于Linux Centos7 宝塔面板的问题,希望对需要的朋友有所帮助!

19840bb485daf20fc1adc2e332dc6591.png

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。再次访问:

1bef1a6e1d9e766d8b4ae32104e1a213.png

更多编程相关内容,请关注凯文资源网编程教程栏目!

以上就是关于 Linux Centos7 宝塔面板的问题的详细内容

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值