- 注册时间
- 2012-9-20
- 最后登录
- 2024-10-29
- 阅读权限
- 200
- 积分
- 5472
- 精华
- 0
- 帖子
- 1151
|
第二步:安装YZPanel(YZHCP)主题模板 YZstyleX.zip 和状态默认页面- <span style="color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 16px; line-height: normal; background-color: rgb(241, 244, 246);">cd /etc/zpanel/panel/etc/styles</span>
- <span style="color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 16px; line-height: normal; background-color: rgb(241, 244, 246);">wget -c </span><a href="http://yzpanel.cdn.duapp.com/ui/style/YZstyleX.zip" target="_blank" style="color: rgb(0, 102, 153); text-decoration: none; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 16px; line-height: normal;">http://yzpanel.cdn.duapp.com/ui/style/YZstyleX.zip</a>
- <span style="color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 16px; line-height: normal; background-color: rgb(241, 244, 246);">unzip YZstyleX.zip</span>
复制代码 在Theme Manager选择YZstyleX然后Save- <span style="color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 16px; line-height: normal; background-color: rgb(241, 244, 246);">rm -rf /etc/zpanel/panel/etc/static</span>
- <span style="color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 16px; line-height: normal; background-color: rgb(241, 244, 246);">cd /etc/zpanel/panel/etc</span>
- <span style="color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 16px; line-height: normal; background-color: rgb(241, 244, 246);">wget -c </span><a href="http://yzpanel.cdn.duapp.com/ui/indexpage/static.zip" target="_blank" style="color: rgb(0, 102, 153); text-decoration: none; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 16px; line-height: normal;">http://yzpanel.cdn.duapp.com/ui/indexpage/static.zip</a>
- <span style="color: rgb(51, 51, 51); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 16px; line-height: normal; background-color: rgb(241, 244, 246);">unzip static.zip</span>
复制代码 状态默认页面自定义编辑方法 /etc/zpanel/panel/etc/static
bandwidthexceeded 带宽超过 /etc/zpanel/panel/etc/static/bandwidthexceeded/index.php
disabled 禁用暂停 /etc/zpanel/panel/etc/static/disabled/index.php
diskexceeded 磁盘超标 /etc/zpanel/panel/etc/static/diskexceeded/index.php
errorpages 错误页面 /etc/zpanel/panel/etc/static/errorpages/403.html、404.html、500.html、510.html
nowebstats 没有首页文件 /etc/zpanel/panel/etc/static/nowebstats/index.html
pages 主机开通默认页 /etc/zpanel/panel/etc/static/pages/welcome.html
特别说明当网站没有首页文件例如 index.html index.php 文件时对应的是/var/www/error/noindex.html 这个文件
因此可以使用/etc/zpanel/panel/etc/static/nowebstats/index.html替换noindex.html
|
|