找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 858|回复: 20

2019最新宝塔linux控制面板 SSH Linux命令大全

[复制链接]
  • TA的每日心情
    奋斗
    2022-9-1 11:24
  • 签到天数: 50 天

    连续签到: 1 天

    [LV.5]常住居民I

    766680204
    发表于 2019-11-16 16:16:39 | 显示全部楼层 |阅读模式

    您需要 登录 才可以下载或查看,没有账号?立即注册

    ×
    安装宝塔
    Centos安装脚本
    yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh
    Ubuntu/Deepin安装脚本
    wget -O install.sh http://download.bt.cn/install/install-ubuntu.sh && sudo bash install.sh
    Debian安装脚本
    wget -O install.sh http://download.bt.cn/install/install-ubuntu.sh && bash install.sh
    Fedora安装脚本
    wget -O install.sh http://download.bt.cn/install/install.sh && bash install.sh管理宝塔
    停止
    [color=rgb(230] 219, 116)]/etc/init.d/bt stop
    启动
    [color=rgb(230] 219, 116)]/etc/init.d/bt start
    重启
    [color=rgb(230] 219, 116)]/etc/init.d/bt restart
    卸载
    [color=rgb(230] 219, 116)]/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 [color=rgb(230] 219, 116)]'8881' > [color=rgb(230] 219, 116)]/www/server/panel/data/port.pl && [color=rgb(230] 219, 116)]/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 [color=rgb(230] 219, 116)]'8881' > [color=rgb(230] 219, 116)]/www/server/panel/data/port.pl && [color=rgb(230] 219, 116)]/etc/init.d/bt restartfirewall-cmd --permanent --zone=public --add-port=8881/tcpfirewall-cmd --reload
    强制修改MySQL管理(root)密码,如要改成123456
    cd /www/server/panel && python tools.pyc root 123456
    修改面板密码,如要改成123456
    cd /www/server/panel && python tools.pyc panel 123456
    查看宝塔日志
    cat /tmp/panelBoot.pl
    查看软件安装日志
    cat /tmp/panelExec.log
    站点配置文件位置
    [color=rgb(230] 219, 116)]/www/server/panel/vhost
    删除域名绑定面板
    rm -f /www/server/panel/data/domain.conf
    清理登陆限制
    rm -f /www/server/panel/data/*.login
    查看面板授权IP
    cat /www/server/panel/data/limitip.conf
    关闭访问限制
    rm -f /www/server/panel/data/limitip.conf
    查看许可域名
    cat /www/server/panel/data/domain.conf
    关闭面板SSL
    rm -f /www/server/panel/data/ssl.pl && [color=rgb(230] 219, 116)]/etc/init.d/bt restart
    查看面板错误日志
    cat /tmp/panelBoot
    查看数据库错误日志
    cat /www/server/data/*.err
    站点配置文件目录(nginx)
    [color=rgb(230] 219, 116)]/www/server/panel/vhost/nginx
    站点配置文件目录(apache)
    [color=rgb(230] 219, 116)]/www/server/panel/vhost/apache
    站点默认目录
    [color=rgb(230] 219, 116)]/www/wwwroot
    数据库备份目录
    [color=rgb(230] 219, 116)]/www/backup/database
    站点备份目录
    [color=rgb(230] 219, 116)]/www/backup/site
    站点日志
    [color=rgb(230] 219, 116)]/www/wwwlogsNginx服务管理
    nginx安装目录
    [color=rgb(230] 219, 116)]/www/server/nginx
    启动
    [color=rgb(230] 219, 116)]/etc/init.d/nginx start
    停止
    [color=rgb(230] 219, 116)]/etc/init.d/nginx stop
    重启
    [color=rgb(230] 219, 116)]/etc/init.d/nginx restart
    启载
    [color=rgb(230] 219, 116)]/etc/init.d/nginx reload
    nginx配置文件
    [color=rgb(230] 219, 116)]/www/server/nginx/conf/nginx.confApache服务管理
    apache安装目录
    [color=rgb(230] 219, 116)]/www/server/httpd
    启动
    [color=rgb(230] 219, 116)]/etc/init.d/httpd start
    停止
    [color=rgb(230] 219, 116)]/etc/init.d/httpd stop
    重启
    [color=rgb(230] 219, 116)]/etc/init.d/httpd restart
    启载
    [color=rgb(230] 219, 116)]/etc/init.d/httpd reload
    apache配置文件
    [color=rgb(230] 219, 116)]/www/server/apache/conf/httpd.confMySQL服务管理
    mysql安装目录
    [color=rgb(230] 219, 116)]/www/server/mysql
    phpmyadmin安装目录
    [color=rgb(230] 219, 116)]/www/server/phpmyadmin
    数据存储目录
    [color=rgb(230] 219, 116)]/www/server/data
    启动
    [color=rgb(230] 219, 116)]/etc/init.d/mysqld start
    停止
    [color=rgb(230] 219, 116)]/etc/init.d/mysqld stop
    重启
    [color=rgb(230] 219, 116)]/etc/init.d/mysqld restart
    启载
    [color=rgb(230] 219, 116)]/etc/init.d/mysqld reload
    mysql配置文件
    [color=rgb(230] 219, 116)]/etc/my.cnfFTP服务管理
    ftp安装目录
    [color=rgb(230] 219, 116)]/www/server/pure-ftpd
    启动
    [color=rgb(230] 219, 116)]/etc/init.d/pure-ftpd start
    停止
    [color=rgb(230] 219, 116)]/etc/init.d/pure-ftpd stop
    重启
    [color=rgb(230] 219, 116)]/etc/init.d/pure-ftpd restart
    ftp配置文件
    [color=rgb(230] 219, 116)]/www/server/pure-ftpd/etc/pure-ftpd.confPHP服务管理
    php安装目录
    [color=rgb(230] 219, 116)]/www/server/php
    启动(请根据安装PHP版本号做更改,例如:/etc/init.d/php-fpm-54 start)
    [color=rgb(230] 219, 116)]/etc/init.d/php-fpm-{52|53|54|55|56|70|71} start
    停止(请根据安装PHP版本号做更改,例如:/etc/init.d/php-fpm-54 stop)
    [color=rgb(230] 219, 116)]/etc/init.d/php-fpm-{52|53|54|55|56|70|71} stop
    重启(请根据安装PHP版本号做更改,例如:/etc/init.d/php-fpm-54 restart)
    [color=rgb(230] 219, 116)]/etc/init.d/php-fpm-{52|53|54|55|56|70|71} restart
    启载(请根据安装PHP版本号做更改,例如:/etc/init.d/php-fpm-54 reload)
    [color=rgb(230] 219, 116)]/etc/init.d/php-fpm-{52|53|54|55|56|70|71} reload
    配置文件(请根据安装PHP版本号做更改,例如:/www/server/php/52/etc/php.ini)
    [color=rgb(230] 219, 116)]/www/server/php/{52|53|54|55|56|70|71}/etc/php.iniRedis服务管理
    redis安装目录
    [color=rgb(230] 219, 116)]/www/server/redis
    启动
    [color=rgb(230] 219, 116)]/etc/init.d/redis start
    停止
    [color=rgb(230] 219, 116)]/etc/init.d/redis stop
    redis配置文件
    [color=rgb(230] 219, 116)]/www/server/redis/redis.confMemcached服务管理
    memcached安装目录
    [color=rgb(230] 219, 116)]/usr/local/memcached
    启动
    [color=rgb(230] 219, 116)]/etc/init.d/memcached start
    停止
    [color=rgb(230] 219, 116)]/etc/init.d/memcached stop
    重启
    [color=rgb(230] 219, 116)]/etc/init.d/memcached restart
    启载
    [color=rgb(230] 219, 116)]/etc/init.d/memcached reload
    回复

    使用道具 举报

    该用户从未签到

    发表于 2019-11-16 16:16:42 | 显示全部楼层
    调节费到底合法不?物价局审批没?
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    发表于 2019-11-16 16:16:43 | 显示全部楼层
    确实付出了不少,希望本赛季取得更好的结果
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    发表于 2019-11-16 16:16:39 | 显示全部楼层
    恒大冰泉现在怎么样了全国人民都知道不是亏本买给人家了吗
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    发表于 2019-11-16 16:16:39 | 显示全部楼层
    这个事不靠谱吧,即使是真的,也无所谓啊,反正这个调节费事用于国家青训,这个也是好事情
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    发表于 2019-11-16 16:16:49 | 显示全部楼层
    去年足协公示过,等等看今年会公示吗
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    发表于 2019-11-16 16:16:39 | 显示全部楼层
    不论多少钱吧,企业支持足球的决心还是很值得称赞的
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    发表于 2019-11-16 16:17:00 | 显示全部楼层
    恒大实力的最好体现,恒大足球加油,重夺亚冠
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    发表于 2019-11-16 16:16:39 | 显示全部楼层
    呵呵足协内部的消息是恒大一直不交,说是这么多年给里皮团队的工资抵了。等公示,没有就是没交。足协干的脏事太多。调节费收了两年加起来有没有十亿了?先不说资金使用不透明,一个行业协会有权利收么?
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    发表于 2019-11-16 16:17:06 | 显示全部楼层
    在亚冠舞台上的目标是夺取第3冠保利尼奥和塔利斯卡的作用依旧重要也将成为最致命的武器新赛季保利尼奥和塔利斯卡组成的宝塔组合自然会不逞多让
    回复 支持 反对

    使用道具 举报

    网站地图|页面地图|文字地图|Archiver|手机版|小黑屋|找资源 |网站地图

    GMT+8, 2024-10-6 18:32

    Powered by Discuz! X3.5

    © 2001-2024 Discuz! Team.

    快速回复 返回顶部 返回列表