What & How & Why

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
website:misc [2017/08/16 12:36] – [InstantClick] haregywebsite:misc [2017/09/03 00:53] (当前版本) – 移除 haregy
行 1: 行 1:
-====运维问题收集==== +
-一些个人网站环境配置及常见问题记录 +
-===== ===== +
-\\ +
-====AMH==== +
-\\ +
-===MySQL无法自动启动=== +
-MYSQL 在重启服务器时不能启动,尝试以下方法: +
-\\ +
-\\ +
-删除 ''my.inf''。 +
-<code:lang-bash> +
-cd /etc/ +
-rm my.inf +
-</code> +
-\\ +
-====Typecho==== +
-\\ +
-===InstantClick=== +
-''instantclick.js'' 是一种ajax无刷新和预加载页面的技术,对于普通博客程序,有着明显的加速作用。''instantclick.js'' ≈ ''pjax'' 加上预加载页面,而且,使用方法也十分的简单。 +
-\\ +
-\\ +
-==安装InstantClick== +
-\\ +
-下载 [[http://instantclick.io/download|InstantClick]] +
-\\ +
-\\ +
-在 ''footer.php'' 的 ''</body>'' 标签之前插入以下代码: +
-<code:Js linenums:1> +
-... +
-<script src="instantclick.min.js" data-no-instant></script> +
-<script data-no-instant>InstantClick.init();</script> +
-</body> +
-</html> +
-</code> +
-\\ +
-===Mathjax=== +
-\\ +
-==Mathjax与InstantClick不兼容== +
-\\ +
-在 ''footer.php'' 中找到 ''InstantClick.on('change', function(isInitialLoad)'' 部分,加入以下规则: +
-<code:js linenums:1> +
-if (typeof MathJax !== 'undefined'){MathJax.Hub.Queue(["Typeset",MathJax.Hub]);+
-</code> +
-==Mathjax的直接添加== +
-\\ +
-在 ''header.php'' 中的 ''<head>'' 之间加入如下代码: +
-<code:js linenums:1> +
-<script type="text/x-mathjax-config"> +
-  MathJax.Hub.Config({ +
-    extensions: ["tex2jax.js"], +
-    jax: ["input/TeX", "output/HTML-CSS"], +
-    tex2jax: { +
-      inlineMath: [ ['$','$'], ["\\(","\\)"] ], +
-      displayMath: [ ['$$','$$'], ["\\[","\\]"] ], +
-      processEscapes: true +
-    }, +
-    "HTML-CSS": { availableFonts: ["TeX"] } +
-  }); +
-</script> +
-<script type="text/javascript" +
-   src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> +
-</script> +
-</code>+