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

全部
常見(jiàn)問(wèn)題
產(chǎn)品動(dòng)態(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啟動(dòng)
/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查看當(dāng)前面板端口
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強(qiáng)制修改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站點(diǎn)配置文件位置
/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)閉訪問(wè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查看面板錯(cuò)誤日志
cat /tmp/panelBoot查看數(shù)據(jù)庫(kù)錯(cuò)誤日志
cat /www/server/data/*.err站點(diǎn)配置文件目錄(nginx)
/www/server/panel/vhost/nginx站點(diǎn)配置文件目錄(apache)
/www/server/panel/vhost/apache站點(diǎn)默認(rèn)目錄
/www/wwwroot數(shù)據(jù)庫(kù)備份目錄
/www/backup/database站點(diǎn)備份目錄
/www/backup/site站點(diǎn)日志
/www/wwwlogs

Nginx服務(wù)管理

nginx安裝目錄

/www/server/nginx啟動(dòng)
/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啟動(dòng)
/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ù)存儲(chǔ)目錄
/www/server/data啟動(dòng)
/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啟動(dòng)
/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啟動(dòng)(請(qǐng)根據(jù)安裝PHP版本號(hào)做更改,例如:/etc/init.d/php-fpm-54 start)
/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72|73|74} start停止(請(qǐng)根據(jù)安裝PHP版本號(hào)做更改,例如:/etc/init.d/php-fpm-54 stop)
/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72|73|74} stop重啟(請(qǐng)根據(jù)安裝PHP版本號(hào)做更改,例如:/etc/init.d/php-fpm-54 restart)
/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72|73|74} restart啟載(請(qǐng)根據(jù)安裝PHP版本號(hào)做更改,例如:/etc/init.d/php-fpm-54 reload)
/etc/init.d/php-fpm-{52|53|54|55|56|70|71|72|73|74} reload配置文件(請(qǐng)根據(jù)安裝PHP版本號(hào)做更改,例如:/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啟動(dòng)
/etc/init.d/redis start停止
/etc/init.d/redis stopredis配置文件
/www/server/redis/redis.conf

Memcached服務(wù)管理

memcached安裝目錄

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

LINUX 命令行開(kāi)啟長(zhǎng)連接

1、進(jìn)入終端

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

2、進(jìn)入項(xiàng)目跟目錄

3、執(zhí)行命令

sudo -u www php think workerman start --d

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

4、重啟長(zhǎng)連接

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

重啟的話 使用這個(gè)命令

sudo -u www php think workerman restart --d

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


請(qǐng)登錄后查看

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

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

{{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 || '暫無(wú)簡(jiǎn)介'}}
附件

{{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}}
5649
{{like_count}}
{{collect_count}}
添加回復(fù) ({{post_count}})

相關(guān)推薦

快速安全登錄

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

微信登錄/注冊(cè)

切換手機(jī)號(hào)登錄

{{ bind_phone ? '綁定手機(jī)' : '手機(jī)登錄'}}

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

CRMEB咨詢熱線 咨詢熱線

400-8888-794

微信掃碼咨詢

CRMEB開(kāi)源商城下載 源碼下載 CRMEB幫助文檔 幫助文檔
返回頂部 返回頂部
CRMEB客服