宝塔linux面板常用命令大全

2021年4月19日16:35:39 发表评论
微信搜一搜 ts小陈

宝塔linux面板常用命令大全

安装宝塔

Centos安装脚本

  1. yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh

管理宝塔

查看当前面板端口

  1. cat /www/server/panel/data/port.pl

修改面板密码,如要改成123456

  1. cd /www/server/panel && python tools.py panel 123456

查看面板入口

  1. /etc/init.d/bt default

关闭安全入口

  1. rm -f /www/server/panel/data/admin_path.pl

修改面板端口,如要改成8881(centos 7 系统)

  1. echo '8881' > /www/server/panel/data/port.pl && /etc/init.d/bt restart

 

小陈号卡
ts小陈

发表评论(不允许含有网址!)

:?: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :cry: :mrgreen: :neutral: :razz:

已登录用户不需要填写以下内容