<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>上水君玉 - 网站建设</title>
    <link>https://bbs.chenyu.me/forum-17-1.html</link>
    <description>Latest 20 threads of 网站建设</description>
    <copyright>Copyright(C) 上水君玉</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Wed, 15 Jul 2026 21:22:07 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://bbs.chenyu.me/static/image/common/logo_88_31.gif</url>
      <title>上水君玉</title>
      <link>https://bbs.chenyu.me/</link>
    </image>
    <item>
      <title>安装 MySQL 5.7 提示需要[1560MB]内存 强制不能安装</title>
      <link>https://bbs.chenyu.me/thread-24565-1-1.html</link>
      <description><![CDATA[很多1G的VPS安装了宝塔后，想升级MYSQL7.0，宝塔不给升级，只能用SSH升级了。

进ssh执行以下命令强制安装：
如果你选择的安装mysql方式是编译安装的话，输入下面脚本：
或
如果你选择的安装mysql方式是极速安装安装的话，输入下面脚本：
或

注意：如果你已经安装了数 ...]]></description>
      <category>网站建设</category>
      <author>网络小生</author>
      <pubDate>Mon, 18 May 2020 04:57:57 +0000</pubDate>
    </item>
    <item>
      <title>discuz 清除主题操作记录中的反删除记录</title>
      <link>https://bbs.chenyu.me/thread-24554-1-1.html</link>
      <description><![CDATA[网上其他教程都是叫什么隐藏不显示所有操作记录，本文是教大家从数据库中清除。


数据库操作有风险，请做好备份。

以下为所有操作指令：
pre forum threadmod——expiration——]]></description>
      <category>网站建设</category>
      <author>Seven</author>
      <pubDate>Wed, 13 May 2020 10:53:18 +0000</pubDate>
    </item>
    <item>
      <title>特别的日子里网站变灰色的设置</title>
      <link>https://bbs.chenyu.me/thread-24547-1-1.html</link>
      <description><![CDATA[第一种：修改CSS文件
我们可以在网页的CSS文件中添加以下的CSS代码，来实现网页黑白色，也就是网站变灰

第二种：在网页的标签内加入以下代码
如果你不想改动CSS文件，你可以通过在网页头部中的标签内部加入内联CSS代码的形式实现网站网页变灰

第三种：修改标签加入内 ...]]></description>
      <category>网站建设</category>
      <author>惘城落遇</author>
      <pubDate>Mon, 20 Jan 2020 01:56:01 +0000</pubDate>
    </item>
    <item>
      <title>discuz关闭个人空间功能</title>
      <link>https://bbs.chenyu.me/thread-24543-1-1.html</link>
      <description><![CDATA[界面——界面设置——全局——个人主页默认皮肤——论坛样式]]></description>
      <category>网站建设</category>
      <author>Seven</author>
      <pubDate>Sat, 28 Dec 2019 05:11:42 +0000</pubDate>
    </item>
    <item>
      <title>Discuz个人资料设置只显示用户名的解决方法</title>
      <link>https://bbs.chenyu.me/thread-24542-1-1.html</link>
      <description><![CDATA[discuz 个人资料显示空白问题修复，这种情况一般出现在在论坛转码后，比如GBK转UTF8的时候。

如果是BGK的编码


如果是UTF8的编码


为什么要分别执行？对照这两段代码就知道了，比如其中基本资料的记录，GBK是写的s:8:\&quot;基本资料\&quot;;而TUF8写的是s:12:\&quot;基本资料\&quot;;也就是G ...]]></description>
      <category>网站建设</category>
      <author>Seven</author>
      <pubDate>Sat, 28 Dec 2019 04:46:24 +0000</pubDate>
    </item>
    <item>
      <title>任务计划定时删除Web日志/www/wwwlogs脚本</title>
      <link>https://bbs.chenyu.me/thread-24541-1-1.html</link>
      <description><![CDATA[后台添加shell脚本]]></description>
      <category>网站建设</category>
      <author>网络小生</author>
      <pubDate>Thu, 26 Dec 2019 11:45:34 +0000</pubDate>
    </item>
    <item>
      <title>Discuz站名后的有个地方不显示</title>
      <link>https://bbs.chenyu.me/thread-24536-1-1.html</link>
      <description><![CDATA[如图：

经过排查发现是QQ互联的问题，如果关闭QQ互联插件，就不会报错。新安装的discuz不会有这个问题。

修改数据库：
修改pre_common_setting表，skey=connect的svalue里s:10:\&quot;like_allow\&quot;;s:1:\&quot;1\&quot;;s:7:\&quot;like_qq\&quot;;修改为s:10:\&quot;like_allow\&quot;;s:1:\&quot;0\&quot;; s:7:\&quot;like_qq\&quot;;修 ...]]></description>
      <category>网站建设</category>
      <author>Seven</author>
      <pubDate>Sat, 21 Dec 2019 02:58:10 +0000</pubDate>
    </item>
    <item>
      <title>Discuz X3.4定时任务生成sitemap.xml</title>
      <link>https://bbs.chenyu.me/thread-24533-1-1.html</link>
      <description><![CDATA[采用discuz的定时任务，自动在网站根目录生成sitemap.xml，把cron_sitemap.php文件上传到论坛目录。把cron_sitemap.php上传至source\\include\\cron目录
discuz后台添加定时任务，后台–工具–计划任务–新增，名字随便，提交。
然后编辑，任务脚本：cron_sitemap.php。

 ...]]></description>
      <category>网站建设</category>
      <author>Seven</author>
      <pubDate>Thu, 12 Dec 2019 11:21:38 +0000</pubDate>
    </item>
    <item>
      <title>使用 CloudFlare 来做 301 跳转</title>
      <link>https://bbs.chenyu.me/thread-24531-1-1.html</link>
      <description><![CDATA[Page Rules 是 CloudFlare 的一项特色服务，可以根据设定的匹配规则来对请求进行处理，其中就包括重定向，支持通配符匹配。

这里举例说明，如果我要把 http://chenyu.me/xxxx 和 https://chenyu.me/xxxx 统统重定向到 https://www.chenyu.me/xxxx，那么就应该这样设置 ...]]></description>
      <category>网站建设</category>
      <author>惘城落遇</author>
      <pubDate>Wed, 11 Dec 2019 00:29:02 +0000</pubDate>
    </item>
    <item>
      <title>Virmach配置Debian ACME,Nginx...</title>
      <link>https://bbs.chenyu.me/thread-24530-1-1.html</link>
      <description><![CDATA[1、进入后台，选择对应的服务
2、选择 Control Panel
3、选择 Manage
4、选择 Reinstall
5、选择 Debian 9 64bit Minimal
6、记住密码


7、然后通过SSH连接VPS

8、使用 passwd 命令修改密码，输入两遍密码

9、安装 Screen

10、启动 Screen

11、生成 RSA 密钥对

11 ...]]></description>
      <category>网站建设</category>
      <author>惘城落遇</author>
      <pubDate>Tue, 10 Dec 2019 00:03:58 +0000</pubDate>
    </item>
    <item>
      <title>无法访问到该应用的备份接口,请拷贝 UCenter 根目录下api/dbb...</title>
      <link>https://bbs.chenyu.me/thread-24521-1-1.html</link>
      <description><![CDATA[今天在用ucenter后台进行备份时提示：无法访问到该应用的备份接口，请拷贝 UCenter 根目录下api/dbbak.php 到该应用的api目录下 。以前一直是可以的，这次我把原来的程序全删除了升到到最新就不可以了。

网上乱七八Z的一堆复制的文章而不能解决问题……其实很简单，主 ...]]></description>
      <category>网站建设</category>
      <author>Seven</author>
      <pubDate>Sat, 07 Dec 2019 02:26:32 +0000</pubDate>
    </item>
    <item>
      <title>config里修改了memcache值没效果</title>
      <link>https://bbs.chenyu.me/thread-24520-1-1.html</link>
      <description><![CDATA[已经安装了memcached，后台显示开启，config显示未开启。
已经在config里修改过，原来discuz里默认的是memcache，要把所有的memcache后面加d.
修改成memcached即可。]]></description>
      <category>网站建设</category>
      <author>Seven</author>
      <pubDate>Fri, 06 Dec 2019 05:28:06 +0000</pubDate>
    </item>
    <item>
      <title>discuz后台UC里备份出现未知错误</title>
      <link>https://bbs.chenyu.me/thread-24519-1-1.html</link>
      <description><![CDATA[以前一直是好的，今天备份的时候，uc_server   discuz 备份未知错误，原来是我把应用类型里的discuzX改成了discuz!

改回discuzX恢复正常。]]></description>
      <category>网站建设</category>
      <author>Seven</author>
      <pubDate>Thu, 05 Dec 2019 11:25:57 +0000</pubDate>
    </item>
    <item>
      <title>Typecho去掉index.php让链接更美观</title>
      <link>https://bbs.chenyu.me/thread-24518-1-1.html</link>
      <description><![CDATA[按照以上设置，文章链接会是数字，比如：/86.html

而分类页和独立页面会是缩阅名，而缩阅名可以自己设置，比如：/ss.html

注意：现在打开你的博客文章会出现404错误

然后我们需要修改nginx配置规则

如果使用的宝塔面板，就在 网站-设置-配置文件 里面修改

在规则 ...]]></description>
      <category>网站建设</category>
      <author>惘城落遇</author>
      <pubDate>Wed, 30 Oct 2019 01:34:05 +0000</pubDate>
    </item>
    <item>
      <title>https加载http不安全脚本提示解决方案</title>
      <link>https://bbs.chenyu.me/thread-24516-1-1.html</link>
      <description><![CDATA[将http请求直接跳转至https请求，是一种解决办法，而且很多公司都是这么干的，比如百度什么的，但是前提是，你所有的服务都已切换https完成。
　　1. 最笨的方法，直接复制原有代码，写成两套代码，一套为http使用，一套为https使用，http和https各自指向各自服务。（本 ...]]></description>
      <category>网站建设</category>
      <author>Seven</author>
      <pubDate>Wed, 04 Sep 2019 10:52:18 +0000</pubDate>
    </item>
    <item>
      <title>Discuz上传成功头像不更新的解决方法</title>
      <link>https://bbs.chenyu.me/thread-24476-1-1.html</link>
      <description><![CDATA[论坛上传头像的时候，一直提示成功，但是一确定的时候，头像没有变化，奇怪了，有时候多上传几次就好了，但是有时候死不行（头像已经成功上传，预览后点确定，但是不更新头像，同时刷新N次！清除缓存也无济于事！同时确认所有文件夹权限都已经是777！）。后来想到权限的 ...]]></description>
      <category>网站建设</category>
      <author>网络小生</author>
      <pubDate>Mon, 06 Aug 2018 13:42:54 +0000</pubDate>
    </item>
    <item>
      <title>Discuz!开发之替换系统IP库为纯真IP库的方法</title>
      <link>https://bbs.chenyu.me/thread-24472-1-1.html</link>
      <description><![CDATA[Discuz!默认使用的IP库只有1M，运行时占用资源少，但很多ip不准确，更新也慢，默认存放的路径在data/ipdata/tinyipdata.dat，这里给大家介绍如何将系统IP库换成纯真ip库：

一、下载纯真ip库软件并安装，安装完成以后在安装目录找到qqwry.dat

二、如果论坛是gbk编码， ...]]></description>
      <category>网站建设</category>
      <author>惘城落遇</author>
      <pubDate>Tue, 31 Jul 2018 09:08:44 +0000</pubDate>
    </item>
    <item>
      <title>RewriteCond %{REQUEST_FILENAME} !-f -d什么意思</title>
      <link>https://bbs.chenyu.me/thread-24070-1-1.html</link>
      <description><![CDATA[如果文件存在，就直接访问文件，不进行下面的RewriteRule.
 
RewriteCond %{REQUEST_FILENAME} !-d#如果目录存在就直接访问目录不进行RewriteRule
同理：
 
RewriteCond %{REQUEST_URI} !^.*(\\.css|\\.js|\\.gif|\\.png|\\.jpg|\\.jpeg)$ #如果是这些后缀的文件，就直接访问 ...]]></description>
      <category>网站建设</category>
      <author>惘城落遇</author>
      <pubDate>Fri, 12 Dec 2014 03:56:01 +0000</pubDate>
    </item>
    <item>
      <title>您的主机不支持 EXIF 库，无法开启此功能</title>
      <link>https://bbs.chenyu.me/thread-24000-1-1.html</link>
      <description><![CDATA[去除php.ini 中 php_exif.dll 前面的 ;
;extension=php_mbstring.dll
;extension=php_exif.dll
extension=php_mbstring.dll
extension=php_exif.dll
注意 php_mbstring.dll 必须在 php_exif.dll 之前

重启apache或IIS]]></description>
      <category>网站建设</category>
      <author>Seven</author>
      <pubDate>Thu, 04 Dec 2014 04:54:35 +0000</pubDate>
    </item>
    <item>
      <title>PHP 上传文件大小限制</title>
      <link>https://bbs.chenyu.me/thread-23999-1-1.html</link>
      <description><![CDATA[配置php.ini文件 （以上传500M以下大小的文件为例） 
查找以下选项并修改-&gt; 
file_uploads = On ;打开文件上传选项 
upload_max_filesize = 500M ;上传文件上限 

如果要上传比较大的文件，仅仅以上两条还不够，必须把服务器缓存上限调大，把脚本最大执行时间变长 
post ...]]></description>
      <category>网站建设</category>
      <author>Seven</author>
      <pubDate>Thu, 04 Dec 2014 04:47:01 +0000</pubDate>
    </item>
  </channel>
</rss>