宅男在线永久免费观看网直播,亚洲欧洲日产国码无码久久99,野花社区在线观看视频,亚洲人交乣女bbw,一本一本久久a久久精品综合不卡

全部
常見問題
產(chǎn)品動態(tài)
精選推薦

寶塔linux面板命令大全

管理 管理 編輯 刪除

安裝寶塔

Centos安裝腳本

yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.shUbuntu/Deepin安裝腳本
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.shDebian安裝腳本
wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.shFedora安裝腳本
wget -O install.sh http://download.bt.cn/install/install_6.0.sh && bash install.sh

管理寶塔

寶塔工具箱(包含下列絕大部分功能 直接ssh中執(zhí)行bt命令 僅限6.x以上版本面板)

bt停止
/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 系統(tǒng))
echo '8881' > /www/server/panel/data/port.pl && /etc/init.d/bt restart
iptables -I INPUT -p tcp -m state --state NEW -m tcp --dport 8881 -j ACCEPT
service iptables save
service iptables restart修改面板端口,如要改成8881(centos 7 系統(tǒng))
echo '8881' > /www/server/panel/data/port.pl && /etc/init.d/bt restart
firewall-cmd --permanent --zone=public --add-port=8881/tcp
firewall-cmd --reload強制修改MySQL管理(root)密碼,如要改成123456
cd /www/server/panel && python tools.py root 123456修改面板密碼,如要改成123456
cd /www/server/panel && python tools.py 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查看面板授權(quán)IP
cat /www/server/panel/data/limitip.conf關(guān)閉訪問限制
rm -f /www/server/panel/data/limitip.conf查看許可域名
cat /www/server/panel/data/domain.conf關(guān)閉面板SSL
rm -f /www/server/panel/data/ssl.pl && /etc/init.d/bt restart查看面板錯誤日志
cat /tmp/panelBoot查看數(shù)據(jù)庫錯誤日志
cat /www/server/data/*.err站點配置文件目錄(nginx)
/www/server/panel/vhost/nginx站點配置文件目錄(apache)
/www/server/panel/vhost/apache站點默認目錄
/www/wwwroot數(shù)據(jù)庫備份目錄
/www/backup/database站點備份目錄
/www/backup/site站點日志
/www/wwwlogs

Nginx服務(wù)管理

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.conf

Apache服務(wù)管理

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.conf

MySQL服務(wù)管理

mysql安裝目錄

/www/server/mysqlphpmyadmin安裝目錄
/www/server/phpmyadmin數(shù)據(jù)存儲目錄
/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.cnf

FTP服務(wù)管理

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.conf

PHP服務(wù)管理

php安裝目錄

/www/server/php啟動(請根據(jù)安裝PHP版本號做更改,例如:/etc/init.d/php-fpm-54 start)
/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72|73|74} start停止(請根據(jù)安裝PHP版本號做更改,例如:/etc/init.d/php-fpm-54 stop)
/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72|73|74} stop重啟(請根據(jù)安裝PHP版本號做更改,例如:/etc/init.d/php-fpm-54 restart)
/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72|73|74} restart啟載(請根據(jù)安裝PHP版本號做更改,例如:/etc/init.d/php-fpm-54 reload)
/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72|73|74} reload配置文件(請根據(jù)安裝PHP版本號做更改,例如:/www/server/php/52/etc/php.ini)
/www/server/php/{52|53|54|55|56|70|71|72|73|74}/etc/php.ini

Redis服務(wù)管理

redis安裝目錄

/www/server/redis啟動
/etc/init.d/redis start停止
/etc/init.d/redis stopredis配置文件
/www/server/redis/redis.conf

Memcached服務(wù)管理

memcached安裝目錄

/usr/local/memcached啟動
/etc/init.d/memcached start停止
/etc/init.d/memcached stop重啟
/etc/init.d/memcached restart啟載
/etc/init.d/memcached reload

LINUX 命令行開啟長連接

1、進入終端

利用遠程連接工具或直接在服務(wù)器中 這里使用xshell遠程連接

2、進入項目跟目錄

3、執(zhí)行命令

sudo -u www php think workerman start --d

特別注意:a、綠色框如果現(xiàn)實為tcp 說明后臺沒有開啟wss需要去后臺設(shè)置-系統(tǒng)設(shè)置-基礎(chǔ)配置-wss配置中開啟wss 并上傳ssl證書(與寶塔配置的ssl保持一致)然后清除緩存 重啟長連接 重啟方法見第4步驟b、黃色框部分為需要放行的端口需要注意的是 放行端口時服務(wù)器安全組和寶塔安全中都需要放行20002和20003端口 20012端口可不放行

4、重啟長連接

出現(xiàn)以下提示說明之前已啟動 需要重啟

重啟的話 使用這個命令

sudo -u www php think workerman restart --d

成功提示跟第3步中的圖顯示是一樣的


請登錄后查看

CRMEB-慕白寒窗雪 最后編輯于2023-02-15 15:24:40

快捷回復(fù)
回復(fù)
回復(fù)
回復(fù)({{post_count}}) {{!is_user ? '我的回復(fù)' :'全部回復(fù)'}}
排序 默認正序 回復(fù)倒序 點贊倒序

{{item.user_info.nickname ? item.user_info.nickname : item.user_name}} LV.{{ item.user_info.bbs_level || item.bbs_level }}

作者 管理員 企業(yè)

{{item.floor}}# 同步到gitee 已同步到gitee {{item.is_suggest == 1? '取消推薦': '推薦'}}
{{item.is_suggest == 1? '取消推薦': '推薦'}}
沙發(fā) 板凳 地板 {{item.floor}}#
{{item.user_info.title || '暫無簡介'}}
附件

{{itemf.name}}

{{item.created_at}}  {{item.ip_address}}
打賞
已打賞¥{{item.reward_price}}
{{item.like_count}}
{{item.showReply ? '取消回復(fù)' : '回復(fù)'}}
刪除
回復(fù)
回復(fù)

{{itemc.user_info.nickname}}

{{itemc.user_name}}

回復(fù) {{itemc.comment_user_info.nickname}}

附件

{{itemf.name}}

{{itemc.created_at}}
打賞
已打賞¥{{itemc.reward_price}}
{{itemc.like_count}}
{{itemc.showReply ? '取消回復(fù)' : '回復(fù)'}}
刪除
回復(fù)
回復(fù)
查看更多
打賞
已打賞¥{{reward_price}}
5729
{{like_count}}
{{collect_count}}
添加回復(fù) ({{post_count}})

相關(guān)推薦

快速安全登錄

使用微信掃碼登錄
{{item.label}} 加精
{{item.label}} {{item.label}} 板塊推薦 常見問題 產(chǎn)品動態(tài) 精選推薦 首頁頭條 首頁動態(tài) 首頁推薦
取 消 確 定
回復(fù)
回復(fù)
問題:
問題自動獲取的帖子內(nèi)容,不準確時需要手動修改. [獲取答案]
答案:
提交
bug 需求 取 消 確 定
打賞金額
當前余額:¥{{rewardUserInfo.reward_price}}
{{item.price}}元
請輸入 0.1-{{reward_max_price}} 范圍內(nèi)的數(shù)值
打賞成功
¥{{price}}
完成 確認打賞

微信登錄/注冊

切換手機號登錄

{{ bind_phone ? '綁定手機' : '手機登錄'}}

{{codeText}}
切換微信登錄/注冊
暫不綁定
CRMEB客服

CRMEB咨詢熱線 咨詢熱線

400-8888-794

微信掃碼咨詢

CRMEB開源商城下載 源碼下載 CRMEB幫助文檔 幫助文檔
返回頂部 返回頂部
CRMEB客服