手机版
热门标签
站点地图
我要投稿
广告合作
联系我们
搜 索
广告位招租
广告位招租
切换导航
首页
编程教程
编程导航
编程百科
编程问答
编程博文
编程实例
硬件设备
网络运营
软件教程
移动数码
办公软件
操作系统
人工智能
栏目导航
▸ 编程语言
▸ 前端开发
▸ 移动开发
▸ 开发工具
▸ 程序设计
▸ 行业应用
▸ CMS系统
▸ 服务器
▸ 数据库
公众号推荐
微信公众号搜
"智元新知"
关注
微信扫一扫可直接关注哦!
子栏目导航
Linux
Windows
CentOS
Ubuntu
Nginx
WebService
Scala
Memcache
Apache
Redis
Docker
Bash
Azure
Tomcat
LNMP
Shell
Ansible
KVM虚拟机
数据结构
鸿蒙系统
宝塔面板
服务器运维
网络安全
编程之家
宝塔面板
宝塔环境下开启WordPress多站点含伪静态
为什么最近缙哥哥开始研究多站点了呢,因为多站点不用每次开个网站都要重新安装WordPress,并且最重要的是可以多个WordPress网站之间用户数据共享,这才是缙哥哥想要的。否则以多站点大量插件不兼容的问题,缙哥哥是一点也不喜欢! 开启 WordPress 多站点网络配置 首先建议全新安装一个站点,并在网站根目录下的 wp-config.php 添加如下代码: /* 开启 WordPress 多
作者:编程之家 时间:2020-03-16
宝塔面板怎么给一个网站配置两个SSL证书
有时候同一个网站绑定了多个域名,为了保证所有的域名都能够实现https访问,就需要配置多个SSL证书,那么在宝塔面板下该如何实现呢?
作者:编程之家 时间:2020-03-17
宝塔面板关停指定网站使用密码访问
如果我们在测试某个网站,不需要用户的访问,可以设置停止运行,如果建立了一些私密性的网站比如图库,软件库等这些站点,我们可以设置用户名和密码访问。当然,这对于宝塔面板来说还是很简单的,这篇文章大鸟来说说如何关停指定网站和用户名密码访问指定网站。
作者:编程之家 时间:2020-03-17
宝塔面板默认WordPress伪静态规则的调整
在宝塔面板面板5.9至6.8的版本中,默认内置的wordpress规则,已经被调整过了,如果你的面板规则从来没有变过,可以去重新更新下默认伪静态规则了。为什么需
作者:编程之家 时间:2020-03-18
忘记CentOS/UBUNTU Linux 宝塔面板密码的解决方案
进入ssh 输入以下命令重置密码,要切换到rootroot权限的账户去执行这条命令 cd /www/server/panel && python tools.pyc panel 新密码 用户名 即可 宝塔 linux面板命令大全
作者:编程之家 时间:2020-07-20
宝塔面板 linux命令大全
整理自官网的命令,进行了小符修改,包括专业版的安装、升级等内容。安装宝塔Centos安装脚本yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.shUbuntu/Deepin安装脚本wget -O install.sh http://download.bt.cn/install/install-ubuntu.sh && sudo bash install.shDebian安装脚本wget -O install.sh http://download.bt.cn/install/install-ubuntu.sh && bash install.shFedora安装脚本wget -O install.sh http://download.bt.cn/install/install.sh && bash install.sh专业版宝塔免费版升级到专业版wget -O update.sh http://download.bt.cn/install/update_pro.sh && bash update.sh procentos安装专业版yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_pro.sh && sh install.shUbuntu/Deepin安装脚本wget -O install.sh http://download.bt.cn/install/install-ubuntu_pro.sh && sudo bash install.shDebian安装脚本wget -O install.sh http://download.bt.cn/install/install-ubuntu_pro.sh && bash install.shFedora安装脚本wget -O install.sh http://download.bt.cn/install/install_pro.sh && bash install.sh管理宝塔停止/etc/init.d/bt stop启动/etc/init.d/bt start重启/etc/init.d/bt restart卸载/etc/init.d/bt stop && chkconfig --del bt && rm -f /etc/init.d/bt && rm -rf /www/server/panel查看当前面板端口cat /www/server/panel/data/port.pl修改面板端口,如要改成8881(centos 6 系统)echo '8881' > /www/server/panel/data/port.pl && /etc/init.d/bt restartiptables -I INPUT -p tcp -m state --state NEW -m tcp --dport 8881 -j ACCEPTservice iptables saveservice iptables restart修改面板端口,如要改成8881(centos 7 系统)echo '8881' > /www/server/panel/data/port.pl && /etc/init.d/bt restartfirewall-cmd --permanent --zone=public --add-port=8881/tcpfirewall-cmd --reload强制修改MySQL管理(root)密码,如要改成123456cd /www/server/panel && python tools.pyc root 123456修改面板密码,如要改成123456cd /www/server/panel && python tools.pyc panel 123456查看宝塔日志cat /tmp/panelBoot.pl查看软件安装日志cat /tmp/panelExec.log站点配置文件位置/www/server/panel/vhost删除域名绑定面板rm -f /www/server/panel/data/domain.conf清理登陆限制rm -f /www/server/panel/data/*.login查看面板授权IPcat /www/server/panel/data/limitip.conf关闭访问限制rm -f /www/server/panel/data/limitip.conf查看许可域名cat /www/server/panel/data/domain.conf关闭面板SSLrm -f /www/server/panel/data/ssl.pl && /etc/init.d/bt restart查看面板错误日志cat /tmp/panelBoot查看数据库错误日志cat /www/server/data/*.err站点配置文件目录(nginx)/www/server/panel/vhost/nginx站点配置文件目录(apache)/www/server/panel/vhost/apache站点默认目录/www/wwwroot数据库备份目录/www/backup/database站点备份目录/www/backup/site站点日志/www/wwwlogsNginx服务管理nginx安装目录/www/server/nginx启动/etc/init.d/nginx start停止/etc/init.d/nginx stop重启/etc/init.d/nginx restart启载/etc/init.d/nginx reloadnginx配置文件/www/server/nginx/conf/nginx.confApache服务管理apache安装目录/www/server/httpd启动/etc/init.d/httpd start停止/etc/init.d/httpd stop重启/etc/init.d/httpd restart启载/etc/init.d/httpd reloadapache配置文件/www/server/apache/conf/httpd.confMySQL服务管理mysql安装目录/www/server/mysqlphpmyadmin安装目录/www/server/phpmyadmin数据存储目录/www/server/data启动/etc/init.d/mysqld start停止/etc/init.d/mysqld stop重启/etc/init.d/mysqld restart启载/etc/init.d/mysqld reloadmysql配置文件/etc/my.cnfFTP服务管理ftp安装目录/www/server/pure-ftpd启动/etc/init.d/pure-ftpd start停止/etc/init.d/pure-ftpd stop重启/etc/init.d/pure-ftpd restartftp配置文件/www/server/pure-ftpd/etc/pure-ftpd.confPHP服务管理php安装目录/www/server/php启动(请根据安装PHP版本号做更改,例如:/etc/init.d/php-fpm-54 start)/etc/init.d/php-fpm-{52|53|54|55|56|70|71} start停止(请根据安装PHP版本号做更改,例如:/etc/init.d/php-fpm-54 stop)/etc/init.d/php-fpm-{52|53|54|55|56|70|71} stop重启(请根据安装PHP版本号做更改,例如:/etc/init.d/php-fpm-54 restart)/etc/init.d/php-fpm-{52|53|54|55|56|70|71} restart启载(请根据安装PHP版本号做更改,例如:/etc/init.d/php-fpm-54 reload)/etc/init.d/php-fpm-{52|53|54|55|56|70|71} reload配置文件(请根据安装PHP版本号做更改,例如:/www/server/php/52/etc/php.ini)/www/server/php/{52|53|54|55|56|70|71}/etc/php.iniRedis服务管理redis安装目录/www/server/redis启动/etc/init.d/redis start停止/etc/init.d/redis stopredis配置文件/www/server/redis/redis.confMemcached服务管理memcached安装目录/usr/local/memcached启动/etc/init.d/memcached start停止/etc/init.d/memcached stop重启/etc/init.d/memcached restart启载/etc/init.d/memcached reload
作者:编程之家 时间:2019-02-12
宝塔面板 5.9 专业版 开心方案
本方法目前适用于当前的5.9版本,6.0未知;首先使用官方命令安装BT专业版。yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_pro.sh && sh install.sh然后,使用以下脚本破解:wget https://down.vpsmm.com/shell/bt_kx.sh && chmod +x bt_kx.sh && bash bt_kx.sh破解后,执行命令:cd /www/server/panel && python tools.pyc panel 123456执行后,最后一列 316927639 是帐号,密码是 123456 登录ip:8888修改即可。下附破解命令详解:#!/bin/bashcd /www/servermv panel panel.bakwget -N --no-check-certificate https://down.vpsmm.com/soft/panel_c.zipunzip -o panel_c.ziprm -f panel_c.zip/etc/init.d/bt restartecho -e "