宝塔的一些基本操作_宝塔面板
内容摘要
下面由宝塔安装教程栏目给大家介绍汇总宝塔的一些基本操作,希望对需要的朋友有所帮助!宝塔的一些基本操作1:停止宝塔/etc/init.d/bt stop登录后复制2:启动宝塔/etc/init.d/bt
文章正文
下面由宝塔安装教程栏目给大家介绍汇总宝塔的一些基本操作,希望对需要的朋友有所帮助!
宝塔的一些基本操作
1:停止宝塔
1 | <code style= "position:relative; padding:0px; margin:0px;" >/etc/init.d/bt stop</code> |
登录后复制
2:启动宝塔
1 | <code style= "position:relative; padding:0px; margin:0px;" >/etc/init.d/bt start</code> |
登录后复制
3:重启宝塔
1 | <code style= "position:relative; padding:0px; margin:0px;" >/etc/init.d/bt restart</code> |
登录后复制
4:卸载宝塔
1 | <code style= "position:relative; padding:0px; margin:0px;" >/etc/init.d/bt stop && chkconfig --del bt && rm -f /etc/init.d/bt && rm -rf /www/server/panel</code> |
登录后复制
5:查看当前宝塔面板端口
1 | <code style= "position:relative; padding:0px; margin:0px;" >cat /www/server/panel/data/port.pl</code> |
登录后复制
6:修改宝塔面板端口号
1 | <code style= "position:relative; padding:0px; margin:0px;" > echo '8881' > /www/server/panel/data/port.pl && /etc/init.d/bt restart</code> |
登录后复制
7:修改面板密码,如要改成123456
1 | <code style= "position:relative; padding:0px; margin:0px;" >cd /www/server/panel && python tools.py panel 123456</code> |
登录后复制
8:查看宝塔日志
1 | <code style= "position:relative; padding:0px; margin:0px;" >cat /tmp/panelBoot.pl</code> |
登录后复制
更多宝塔面板技术文章,请访问宝塔教程栏目!
以上就是宝塔的一些基本操作【汇总】的详细内容,更多请关注IDC笔记其它相关文章!
代码注释
[!--zhushi--]