Merge branch 'main' of https://github.com/teasiu/doc
@@ -4,11 +4,63 @@ sidebar_position: 10
|
||||
|
||||
# 可道云安装与使用
|
||||
|
||||
海纳思系统适配了可道云的一键安装脚本,
|
||||
用户可以直接安装使用。
|
||||
|
||||
## 一、获取
|
||||
|
||||
如果你的海纳思系统发行版本是20231201以后的,直接以下命令安装:
|
||||
|
||||
```bash
|
||||
apt update && apt upgrade -y
|
||||
install-kod.sh install
|
||||
```
|
||||
|
||||
如果是更早的版本,或者非NAS版本,
|
||||
则先添加海纳思的专用 apt 仓库源:
|
||||
|
||||
```bash
|
||||
bash <(curl https://www.ecoo.top/ota.sh)
|
||||
histb-deb
|
||||
apt install install-kod -y
|
||||
insatll-kod.sh install
|
||||
```
|
||||
|
||||
然后刷新首页,即可看到以下图标和链接:
|
||||

|
||||
|
||||
或者你的web服务器地址+ `/kod/` 访问。
|
||||
|
||||
## 二、安装
|
||||
|
||||
安装流程很简单几步:
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
|
||||
## 获取
|
||||
|
||||
## 三、使用
|
||||
|
||||
详细的使用方法,请参看:
|
||||
|
||||
可道云用户使用手册 [https://docs.kodcloud.com/user/](https://docs.kodcloud.com/user/)
|
||||
|
||||
|
||||
## 四、卸载
|
||||
|
||||
一句命令即可卸载:
|
||||
|
||||
```bash
|
||||
install-kod.sh uninstall
|
||||
```
|
||||
|
||||
注意:卸载后,php环境保留。可以借用给其他个人程序使用。
|
||||
|
||||
|
||||
|
||||
85
docs/nas-skill/13-qb.md
Normal file
@@ -0,0 +1,85 @@
|
||||
---
|
||||
sidebar_position: 13
|
||||
---
|
||||
|
||||
# 磁力qb下载程序
|
||||
|
||||
qBittorrent是一款免费的开源种子下载工具,作为µTorrent的替代品。它在所有平台上都提供相同的功能,包括Windows、Linux和macOS。该应用程序还配备了一个可扩展的搜索引擎以及WebUI遠端,以最大化你的torrent体验。使用qBittorrent,你可以在多个平台上轻松下载你喜爱的内容.
|
||||
|
||||
|
||||
## 获取安装程序
|
||||
|
||||
如果你的海纳思系统发行版本是20231201以后的,直接以下命令安装:
|
||||
|
||||
```bash
|
||||
|
||||
apt update && apt upgrade -y
|
||||
|
||||
apt install qbittorrent-histb -y
|
||||
```
|
||||
|
||||
如果是更早的版本,或者非NAS版本,
|
||||
则先添加海纳思的专用 apt 仓库源:
|
||||
|
||||
```bash
|
||||
bash <(curl https://www.ecoo.top/ota.sh)
|
||||
|
||||
histb-deb
|
||||
|
||||
apt install qbittorrent-histb -y
|
||||
|
||||
```
|
||||
|
||||
然后刷新首页,即可看到以下图标和链接:
|
||||

|
||||
|
||||
或者你的web服务器地址+ `9080` 端口访问。
|
||||
|
||||
注意: 默认登录用户名 `admin` 默认密码 `adminadmin`
|
||||
|
||||
注意:默认下载目的地文件夹 `/home/ubuntu/downloads` 强烈建议修改到外置磁盘空间。
|
||||
|
||||
|
||||
## 登录
|
||||
|
||||

|
||||
|
||||
## 修改密码
|
||||
|
||||

|
||||
|
||||
|
||||
## 修改下载到外置磁盘空间
|
||||
|
||||
:::tip
|
||||
你必须事先插入一个 U 盘或者 USB 硬盘或 TF 卡, 作为下载的目的地磁盘。
|
||||
并使用 format-disk.sh 将它格式化为 ext4 文件系统.
|
||||
:::
|
||||
|
||||
建立一个专用的文件夹,例如:
|
||||
|
||||
```
|
||||
mkdir -p /mnt/sda1/qbdownloads
|
||||
```
|
||||
|
||||

|
||||
|
||||
## 增强安全性
|
||||
|
||||

|
||||

|
||||
|
||||
## 卸载
|
||||
|
||||
```bash
|
||||
apt purge qbittorrent-histb -y
|
||||
```
|
||||
|
||||
|
||||
## 备注
|
||||
|
||||
本程序收集于开源网络,原址在 `https://github.com/c0re100/qBittorrent-Enhanced-Edition` 。
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
sidebar_position: 13
|
||||
sidebar_position: 14
|
||||
---
|
||||
|
||||
# TvHeadend 使用教程
|
||||
@@ -201,7 +201,7 @@ systemctl restart frpc #重启服务
|
||||
|
||||
## 拓展 (机智的用法)
|
||||
|
||||
如果你使用的是 [宝塔专用固件](/baota),你就可以轻松搭建自己的站点。
|
||||
如果你使用的是 [宝塔专用固件](/baota.html),你就可以轻松搭建自己的站点。
|
||||
|
||||
第一步: `kaitong-frp` 获得穿透分配的域名;
|
||||
|
||||
|
||||
@@ -194,6 +194,18 @@ curl --socks5 127.0.0.1:10808 google.com
|
||||

|
||||
|
||||
|
||||
## 卸载
|
||||
|
||||
终端输入:
|
||||
|
||||
```bash
|
||||
install-v2ray.sh --remove
|
||||
rm /usr/local/etc/v2ray/config.json
|
||||
```
|
||||
|
||||

|
||||
|
||||
|
||||
## 注意事项
|
||||
|
||||
- 注意配置文件的 json 格式问题。
|
||||
|
||||
BIN
docs/nas-skill/img/kod1.jpg
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
docs/nas-skill/img/kod2.jpg
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
docs/nas-skill/img/kod3.jpg
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
docs/nas-skill/img/kod4.jpg
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
docs/nas-skill/img/kod5.jpg
Normal file
|
After Width: | Height: | Size: 82 KiB |
BIN
docs/nas-skill/img/kod6.jpg
Normal file
|
After Width: | Height: | Size: 51 KiB |
BIN
docs/nas-skill/img/qb1.jpg
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
docs/nas-skill/img/qb2.jpg
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
docs/nas-skill/img/qb3.jpg
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
docs/nas-skill/img/qb4.jpg
Normal file
|
After Width: | Height: | Size: 40 KiB |
BIN
docs/nas-skill/img/qb5.jpg
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
docs/nas-skill/img/qb6.jpg
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
docs/nas-skill/img/v2ray-remove.jpg
Normal file
|
After Width: | Height: | Size: 9.9 KiB |
@@ -17,8 +17,8 @@ sidebar_position: 1
|
||||
|
||||
| 使用平台 | 国内高速下载地址 | 备用海外下载地址 |
|
||||
| ------------------ | --------------------- | ----------------- |
|
||||
| Windows | [海兔工具Windows版](https://node2.histb.com/update/soft_init/hitool/HiTool-windows.7z) | [海兔工具Windows版](https://node2.histb.com/update/soft_init/hitool/HiTool-windows.7z) |
|
||||
| Linux | [海兔工具Linux版](https://node2.histb.com/update/soft_init/hitool/hitool_linux.tar.gz)| [海兔工具Linux版](https://node2.histb.com/update/soft_init/hitool/hitool_linux.tar.gz)|
|
||||
| Windows | [海兔工具Windows版](https://node.histb.com:9088/update/soft_init/hitool/HiTool-windows.7z) | [海兔工具Windows版](https://node2.histb.com/update/soft_init/hitool/HiTool-windows.7z) |
|
||||
| Linux | [海兔工具Linux版](https://node.histb.com:9088/update/soft_init/hitool/hitool_linux.tar.gz)| [海兔工具Linux版](https://node2.histb.com/update/soft_init/hitool/hitool_linux.tar.gz)|
|
||||
|
||||
 
|
||||
|
||||
|
||||
88
static/ad-1.html
Normal file
@@ -0,0 +1,88 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>广告页面</title>
|
||||
<style>
|
||||
/* 让页面内容充满整个视口 */
|
||||
html, body {
|
||||
height: 100%;
|
||||
margin: 10px;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
/* 居中显示内容 */
|
||||
body {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
/* 使图片适应手机屏幕 */
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* 页脚样式 */
|
||||
footer {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
background-color: #f0f0f0;
|
||||
text-align: center;
|
||||
padding: 5px 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>是兄弟就找我,无兄弟不传奇!</h1>
|
||||
<a href="?hinas" onclick="trackVisit()">
|
||||
<img id="adImage" src="ad.jpg" alt="广告图片">
|
||||
</a>
|
||||
|
||||
<footer>
|
||||
<p>点击链接访问次数: <span id="visitCount">加载中...</span></p>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
// 获取并显示访问次数
|
||||
function getVisitCount() {
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.onreadystatechange = function() {
|
||||
if (xhr.readyState === XMLHttpRequest.DONE) {
|
||||
if (xhr.status === 200) {
|
||||
document.getElementById('visitCount').innerText = xhr.responseText;
|
||||
} else {
|
||||
console.error('获取访问次数失败');
|
||||
}
|
||||
}
|
||||
};
|
||||
xhr.open('GET', 'ad_get_visit_count.php', true);
|
||||
xhr.send();
|
||||
}
|
||||
|
||||
// 点击图片时触发的函数,用于向后端发送访问计数请求
|
||||
function trackVisit() {
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.open('GET', 'ad_visit.php', true);
|
||||
xhr.onreadystatechange = function() {
|
||||
if (xhr.readyState === XMLHttpRequest.DONE && xhr.status === 200) {
|
||||
getVisitCount(); // 更新访问次数显示
|
||||
}
|
||||
};
|
||||
xhr.send();
|
||||
|
||||
// 更新图片的点击链接,可以将其指向实际的广告目标链接
|
||||
document.getElementById('adImage').parentNode.href = "https://www.521f.com";
|
||||
}
|
||||
|
||||
// 页面加载完成后获取并显示访问次数
|
||||
window.onload = function() {
|
||||
getVisitCount();
|
||||
};
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
126
static/ad.html
@@ -1,88 +1,60 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>广告页面</title>
|
||||
<style>
|
||||
/* 让页面内容充满整个视口 */
|
||||
html, body {
|
||||
height: 100%;
|
||||
margin: 10px;
|
||||
padding: 10px;
|
||||
}
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>海纳思系统官方通告</title>
|
||||
<style>
|
||||
body {
|
||||
width: 40em;
|
||||
margin: 0 auto;
|
||||
font-family: Tahoma, Verdana, Arial, sans-serif;
|
||||
}
|
||||
.content pre{
|
||||
position: relative;
|
||||
background-color: #f5f5f5;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
padding: 10px;
|
||||
}
|
||||
pre .btn-pre-copy{
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
user-select: none;
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 12px;
|
||||
font-size: 12px;
|
||||
line-height: 1;
|
||||
cursor: pointer;
|
||||
color: hsla(0,0%,54.9%,.8);
|
||||
transition: color .1s;
|
||||
}
|
||||
</style>
|
||||
|
||||
/* 居中显示内容 */
|
||||
body {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
/* 使图片适应手机屏幕 */
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* 页脚样式 */
|
||||
footer {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
background-color: #f0f0f0;
|
||||
text-align: center;
|
||||
padding: 5px 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>是兄弟就找我,无兄弟不传奇!</h1>
|
||||
<a href="?hinas" onclick="trackVisit()">
|
||||
<img id="adImage" src="ad.jpg" alt="广告图片">
|
||||
</a>
|
||||
<header>
|
||||
<h1>海纳思系统官方广告位招租</h1>
|
||||
</header>
|
||||
|
||||
<footer>
|
||||
<p>点击链接访问次数: <span id="visitCount">加载中...</span></p>
|
||||
</footer>
|
||||
<h2>22000+装机数</h2>
|
||||
<h2>日活6000+</h2>
|
||||
<h2>日增约100台</h2>
|
||||
<h2>要求:符合海纳思服务器的环境需求</h2>
|
||||
<h2>捐助并投放,与作者共赢!请联系本站</h2>
|
||||
<br/>
|
||||
<br/>邮箱 admin@ecoo.top
|
||||
<br/>
|
||||
<br/>
|
||||
<br/>
|
||||
<footer>
|
||||
版权 © <span class="year">2023</span> <a href="http://www.ecoo.top/">www.ecoo.top</a>
|
||||
</footer>
|
||||
<br/><br/>
|
||||
|
||||
<script>
|
||||
// 获取并显示访问次数
|
||||
function getVisitCount() {
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.onreadystatechange = function() {
|
||||
if (xhr.readyState === XMLHttpRequest.DONE) {
|
||||
if (xhr.status === 200) {
|
||||
document.getElementById('visitCount').innerText = xhr.responseText;
|
||||
} else {
|
||||
console.error('获取访问次数失败');
|
||||
}
|
||||
}
|
||||
};
|
||||
xhr.open('GET', 'ad_get_visit_count.php', true);
|
||||
xhr.send();
|
||||
}
|
||||
|
||||
// 点击图片时触发的函数,用于向后端发送访问计数请求
|
||||
function trackVisit() {
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.open('GET', 'ad_visit.php', true);
|
||||
xhr.onreadystatechange = function() {
|
||||
if (xhr.readyState === XMLHttpRequest.DONE && xhr.status === 200) {
|
||||
getVisitCount(); // 更新访问次数显示
|
||||
}
|
||||
};
|
||||
xhr.send();
|
||||
|
||||
// 更新图片的点击链接,可以将其指向实际的广告目标链接
|
||||
document.getElementById('adImage').parentNode.href = "https://www.521f.com";
|
||||
}
|
||||
|
||||
// 页面加载完成后获取并显示访问次数
|
||||
window.onload = function() {
|
||||
getVisitCount();
|
||||
};
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
BIN
static/ad.jpg
|
Before Width: | Height: | Size: 675 KiB After Width: | Height: | Size: 86 KiB |
|
Before Width: | Height: | Size: 675 KiB After Width: | Height: | Size: 86 KiB |