Skip to content

试玩博客程序-typecho

Tags:

参考官方指南 http://docs.typecho.org/install

下载 http://typecho.org/download

wget http://typecho.org/downloads/1.1-17.10.30-release.tar.gz
tar -xvzf 1.1-17.10.30-release.tar.gz
mv ./build/* ss.ck.mk && rm -rf build 1.1-17.10.30-release.tar.gz

修改权限

直接访问 xx.ck.mk 进行安装

博客地址 – https://xx.ck.mk

管理后台 – xx.ck.mk/admin

(可选)开启伪静态

在nginx配置中加上这段

if (!-e $request_filename) {
  rewrite ^(.*)$ /index.php$1 last;
}

下载主题

cd /www/wwwroot/ss.ck.mk/usr/themes
git clone https://github.com/trinitrotofu/Bubble

启用

视频播放插件DPlayer

DPlayer-Typecho视频播放插件

下载

cd /www/wwwroot/xx.ck.mk/usr/plugins
git clone https://github.com/MoePlayer/DPlayer-Typecho DPlayer

使用

# 默认不自动播放,弹幕不开启
[dplayer url="http://xxx.com/xxx.mp4" pic="http://xxx.com/xxx.jpg"/]
# 开启弹幕
[dplayer url="http://xxx.com/xxx.mp4" pic="http://xxx.com/xxx.jpg" danmu="true"/]
# 开启自动播放
[dplayer url="http://xxx.com/xxx.mp4" pic="http://xxx.com/xxx.jpg" autoplay="true"/]

启用

GitStatic使用GitHub+Jsdelivr作为文件存储 – 参考外部档案

原始代码在 https://github.com/MliKiowa/GitStatic

开启GitHub并获得Token – 参考这篇文章内部档案

cd /www/wwwroot/ss.ck.mk/usr/plugins
git clone https://github.com/MliKiowa/GitStatic GitStatic

Typecho安卓客户端 – 南博App

然后下载南博的APP – 先去https://nabo.krait.cn/ 看下官网

然后就是从APP上登陆网站了。

安装插件(https://krait.cn/major/2038.html)参考下面的代码就行

# 先ssh 到你的网站所在的VPS上
# 安装更新XmlRpc插件 
cd /www/wwwroot/ss.ck.mk/usr/plugins
wget https://github.com/kraity/typecho-Aidnabo/archive/1.0.zip && unzip 1.0.zip
mv typecho-Aidnabo-1.0 Aidnabo

然后打开typecho网站的admin页面,启用插件

获得RPC

然后再登陆APP的时候,就要选择“自动更新”,填入RPC即可。

1 thought on “试玩博客程序-typecho”

Leave a Reply to Qyet Cancel reply

Your email address will not be published.