初始化Affiliate站群:4个静态网站(MT4工具、家庭服务器、科技资讯、PT下载),每个站5页+CSS
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>关于我们 - 家庭服务器指南</title>
|
||||
<link rel="stylesheet" href="assets/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar">
|
||||
<div class="navbar-inner">
|
||||
<a href="index.html" class="logo"><div class="logo-icon">🏠</div>家庭服务器指南</a>
|
||||
<ul class="nav-links">
|
||||
<li><a href="index.html">首页</a></li>
|
||||
<li><a href="nas.html">NAS搭建</a></li>
|
||||
<li><a href="docker.html">Docker</a></li>
|
||||
<li><a href="network.html">家庭组网</a></li>
|
||||
<li><a href="about.html" class="active">关于</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
<div class="container-narrow">
|
||||
<div class="tutorial-content">
|
||||
<h1>关于家庭服务器指南</h1>
|
||||
<h2>我们是谁</h2>
|
||||
<p>家庭服务器指南是一个专注于低成本家庭服务器搭建的技术博客。我们相信,每个人都应该拥有自己的私人云,数据应该由自己掌控。</p>
|
||||
<h2>我们的理念</h2>
|
||||
<ul>
|
||||
<li><strong>低成本</strong> - 用闲置设备或二手硬件,不花冤枉钱</li>
|
||||
<li><strong>实用性</strong> - 每篇教程都经过实际部署验证</li>
|
||||
<li><strong>隐私优先</strong> - 数据存在自己手里,不依赖大厂</li>
|
||||
<li><strong>可扩展</strong> - 从简单到复杂,逐步升级</li>
|
||||
</ul>
|
||||
<div class="alert alert-warning"><strong>⚠️ 免责声明</strong><p style="margin-top:8px;">本网站教程仅供学习交流,操作前请备份重要数据。因操作不当导致的数据丢失,本网站不承担责任。</p></div>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer"><div class="footer-inner"><div><h4>🏠 家庭服务器指南</h4><p style="font-size:14px;">低成本打造私人云。</p></div><div><h4>快速导航</h4><ul><li><a href="nas.html">NAS搭建</a></li><li><a href="docker.html">Docker部署</a></li><li><a href="network.html">家庭组网</a></li></ul></div><div><h4>关于</h4><ul><li><a href="about.html">关于我们</a></li></ul></div></div><div class="footer-bottom"><p>© 2026 家庭服务器指南</p></div></footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,411 @@
|
||||
/* ===== 全局样式 ===== */
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
|
||||
:root {
|
||||
--primary: #2563eb;
|
||||
--primary-dark: #1d4ed8;
|
||||
--secondary: #64748b;
|
||||
--success: #10b981;
|
||||
--warning: #f59e0b;
|
||||
--danger: #ef4444;
|
||||
--bg: #f8fafc;
|
||||
--card-bg: #ffffff;
|
||||
--text: #1e293b;
|
||||
--text-light: #64748b;
|
||||
--border: #e2e8f0;
|
||||
--code-bg: #1e293b;
|
||||
--code-text: #e2e8f0;
|
||||
--shadow: 0 1px 3px rgba(0,0,0,0.1);
|
||||
--shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
|
||||
--radius: 12px;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
|
||||
background: var(--bg);
|
||||
color: var(--text);
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
a { color: var(--primary); text-decoration: none; }
|
||||
a:hover { text-decoration: underline; }
|
||||
|
||||
/* ===== 导航栏 ===== */
|
||||
.navbar {
|
||||
background: var(--card-bg);
|
||||
border-bottom: 1px solid var(--border);
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
.navbar-inner {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 0 20px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 64px;
|
||||
}
|
||||
.logo {
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
color: var(--text);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
.logo-icon {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
background: linear-gradient(135deg, var(--primary), #8b5cf6);
|
||||
border-radius: 8px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: white;
|
||||
font-size: 18px;
|
||||
}
|
||||
.nav-links { display: flex; gap: 24px; list-style: none; }
|
||||
.nav-links a {
|
||||
color: var(--text-light);
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
transition: color 0.2s;
|
||||
}
|
||||
.nav-links a:hover, .nav-links a.active {
|
||||
color: var(--primary);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* ===== Hero区域 ===== */
|
||||
.hero {
|
||||
background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 100%);
|
||||
color: white;
|
||||
padding: 60px 20px;
|
||||
text-align: center;
|
||||
}
|
||||
.hero h1 {
|
||||
font-size: 36px;
|
||||
font-weight: 800;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.hero p {
|
||||
font-size: 18px;
|
||||
opacity: 0.9;
|
||||
max-width: 600px;
|
||||
margin: 0 auto 24px;
|
||||
}
|
||||
.hero-badges {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.hero-badge {
|
||||
background: rgba(255,255,255,0.15);
|
||||
backdrop-filter: blur(10px);
|
||||
padding: 6px 16px;
|
||||
border-radius: 20px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
/* ===== 容器 ===== */
|
||||
.container {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
.container-narrow {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
|
||||
/* ===== 区块标题 ===== */
|
||||
.section-title {
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.section-subtitle {
|
||||
color: var(--text-light);
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
/* ===== 卡片网格 ===== */
|
||||
.card-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
||||
gap: 20px;
|
||||
}
|
||||
.card {
|
||||
background: var(--card-bg);
|
||||
border-radius: var(--radius);
|
||||
padding: 24px;
|
||||
box-shadow: var(--shadow);
|
||||
transition: all 0.3s;
|
||||
border: 1px solid var(--border);
|
||||
}
|
||||
.card:hover {
|
||||
transform: translateY(-4px);
|
||||
box-shadow: var(--shadow-lg);
|
||||
}
|
||||
.card-icon {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 12px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 24px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.card-icon.blue { background: #dbeafe; color: #2563eb; }
|
||||
.card-icon.green { background: #d1fae5; color: #059669; }
|
||||
.card-icon.orange { background: #fed7aa; color: #ea580c; }
|
||||
.card-icon.purple { background: #ede9fe; color: #7c3aed; }
|
||||
.card-icon.red { background: #fee2e2; color: #dc2626; }
|
||||
.card h3 {
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.card p {
|
||||
color: var(--text-light);
|
||||
font-size: 14px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.card-meta {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
font-size: 12px;
|
||||
color: var(--text-light);
|
||||
}
|
||||
.card-meta span {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
/* ===== 教程页面 ===== */
|
||||
.tutorial-header {
|
||||
background: var(--card-bg);
|
||||
border-radius: var(--radius);
|
||||
padding: 32px;
|
||||
margin-bottom: 24px;
|
||||
box-shadow: var(--shadow);
|
||||
border: 1px solid var(--border);
|
||||
}
|
||||
.tutorial-header h1 {
|
||||
font-size: 28px;
|
||||
font-weight: 700;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.tutorial-meta {
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
color: var(--text-light);
|
||||
font-size: 14px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.tutorial-meta span {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
.difficulty {
|
||||
padding: 2px 10px;
|
||||
border-radius: 12px;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.difficulty.easy { background: #d1fae5; color: #059669; }
|
||||
.difficulty.medium { background: #fef3c7; color: #d97706; }
|
||||
.difficulty.hard { background: #fee2e2; color: #dc2626; }
|
||||
|
||||
.tutorial-content {
|
||||
background: var(--card-bg);
|
||||
border-radius: var(--radius);
|
||||
padding: 32px;
|
||||
box-shadow: var(--shadow);
|
||||
border: 1px solid var(--border);
|
||||
}
|
||||
.tutorial-content h2 {
|
||||
font-size: 22px;
|
||||
font-weight: 700;
|
||||
margin: 32px 0 16px;
|
||||
padding-bottom: 8px;
|
||||
border-bottom: 2px solid var(--border);
|
||||
}
|
||||
.tutorial-content h2:first-child { margin-top: 0; }
|
||||
.tutorial-content h3 {
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
margin: 24px 0 12px;
|
||||
}
|
||||
.tutorial-content p {
|
||||
margin-bottom: 16px;
|
||||
color: #334155;
|
||||
}
|
||||
.tutorial-content ul, .tutorial-content ol {
|
||||
margin: 12px 0 16px 24px;
|
||||
}
|
||||
.tutorial-content li {
|
||||
margin-bottom: 8px;
|
||||
color: #334155;
|
||||
}
|
||||
|
||||
/* 代码块 */
|
||||
.code-block {
|
||||
background: var(--code-bg);
|
||||
color: var(--code-text);
|
||||
padding: 16px 20px;
|
||||
border-radius: 8px;
|
||||
overflow-x: auto;
|
||||
margin: 16px 0;
|
||||
font-family: 'Consolas', 'Monaco', monospace;
|
||||
font-size: 14px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
.code-block .comment { color: #64748b; }
|
||||
.code-block .keyword { color: #c084fc; }
|
||||
.code-block .string { color: #86efac; }
|
||||
|
||||
/* 提示框 */
|
||||
.alert {
|
||||
padding: 16px 20px;
|
||||
border-radius: 8px;
|
||||
margin: 16px 0;
|
||||
border-left: 4px solid;
|
||||
}
|
||||
.alert-info {
|
||||
background: #eff6ff;
|
||||
border-color: #3b82f6;
|
||||
color: #1e40af;
|
||||
}
|
||||
.alert-warning {
|
||||
background: #fffbeb;
|
||||
border-color: #f59e0b;
|
||||
color: #92400e;
|
||||
}
|
||||
.alert-danger {
|
||||
background: #fef2f2;
|
||||
border-color: #ef4444;
|
||||
color: #991b1b;
|
||||
}
|
||||
.alert-success {
|
||||
background: #f0fdf4;
|
||||
border-color: #22c55e;
|
||||
color: #166534;
|
||||
}
|
||||
.alert strong { display: block; margin-bottom: 4px; }
|
||||
|
||||
/* 步骤 */
|
||||
.step {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
margin: 24px 0;
|
||||
}
|
||||
.step-number {
|
||||
flex-shrink: 0;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
background: var(--primary);
|
||||
color: white;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
}
|
||||
.step-content { flex: 1; }
|
||||
.step-content h4 {
|
||||
font-size: 17px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
/* 表格 */
|
||||
.table-wrap {
|
||||
overflow-x: auto;
|
||||
margin: 16px 0;
|
||||
}
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
font-size: 14px;
|
||||
}
|
||||
th, td {
|
||||
padding: 12px 16px;
|
||||
text-align: left;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
th {
|
||||
background: #f1f5f9;
|
||||
font-weight: 600;
|
||||
color: var(--text);
|
||||
}
|
||||
tr:hover { background: #f8fafc; }
|
||||
|
||||
/* ===== 对比表格 ===== */
|
||||
.compare-table {
|
||||
background: var(--card-bg);
|
||||
border-radius: var(--radius);
|
||||
overflow: hidden;
|
||||
box-shadow: var(--shadow);
|
||||
border: 1px solid var(--border);
|
||||
}
|
||||
.compare-table table { margin: 0; }
|
||||
.compare-table .recommended {
|
||||
background: #f0fdf4;
|
||||
}
|
||||
.compare-table .recommended td:first-child {
|
||||
font-weight: 700;
|
||||
color: #166534;
|
||||
}
|
||||
|
||||
/* ===== 底部 ===== */
|
||||
.footer {
|
||||
background: #1e293b;
|
||||
color: #94a3b8;
|
||||
padding: 40px 20px;
|
||||
margin-top: 60px;
|
||||
}
|
||||
.footer-inner {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
display: grid;
|
||||
grid-template-columns: 2fr 1fr 1fr;
|
||||
gap: 40px;
|
||||
}
|
||||
.footer h4 {
|
||||
color: white;
|
||||
font-size: 16px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.footer ul { list-style: none; }
|
||||
.footer li { margin-bottom: 8px; }
|
||||
.footer a { color: #94a3b8; font-size: 14px; }
|
||||
.footer a:hover { color: white; }
|
||||
.footer-bottom {
|
||||
max-width: 1200px;
|
||||
margin: 32px auto 0;
|
||||
padding-top: 24px;
|
||||
border-top: 1px solid #334155;
|
||||
text-align: center;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
/* ===== 响应式 ===== */
|
||||
@media (max-width: 768px) {
|
||||
.nav-links { display: none; }
|
||||
.hero h1 { font-size: 28px; }
|
||||
.hero p { font-size: 16px; }
|
||||
.card-grid { grid-template-columns: 1fr; }
|
||||
.footer-inner { grid-template-columns: 1fr; gap: 24px; }
|
||||
.tutorial-content { padding: 20px; }
|
||||
.tutorial-header { padding: 20px; }
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Docker部署指南 - 常用服务一键部署 | 家庭服务器指南</title>
|
||||
<link rel="stylesheet" href="assets/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar">
|
||||
<div class="navbar-inner">
|
||||
<a href="index.html" class="logo"><div class="logo-icon">🏠</div>家庭服务器指南</a>
|
||||
<ul class="nav-links">
|
||||
<li><a href="index.html">首页</a></li>
|
||||
<li><a href="nas.html">NAS搭建</a></li>
|
||||
<li><a href="docker.html" class="active">Docker</a></li>
|
||||
<li><a href="network.html">家庭组网</a></li>
|
||||
<li><a href="about.html">关于</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
<div class="container-narrow">
|
||||
<div class="tutorial-header"><h1>🐳 Docker部署指南</h1><div class="tutorial-meta"><span>⏱️ 40分钟</span><span class="difficulty medium">中等</span><span>10+ 常用服务</span></div></div>
|
||||
<div class="tutorial-content">
|
||||
<h2>🔥 必装Docker服务</h2>
|
||||
<div class="table-wrap">
|
||||
<table>
|
||||
<tr><th>服务</th><th>功能</th><th>端口</th><th>推荐度</th></tr>
|
||||
<tr><td><strong>Nextcloud</strong></td><td>私有云盘,文件同步</td><td>8080</td><td>⭐⭐⭐⭐⭐</td></tr>
|
||||
<tr><td><strong>qBittorrent</strong></td><td>BT下载工具</td><td>8081</td><td>⭐⭐⭐⭐⭐</td></tr>
|
||||
<tr><td><strong>Navidrome</strong></td><td>私人音乐服务器</td><td>4533</td><td>⭐⭐⭐⭐</td></tr>
|
||||
<tr><td><strong>Jellyfin</strong></td><td>影音媒体服务器</td><td>8096</td><td>⭐⭐⭐⭐</td></tr>
|
||||
<tr><td><strong>HomeAssistant</strong></td><td>智能家居中心</td><td>8123</td><td>⭐⭐⭐⭐</td></tr>
|
||||
<tr><td><strong>AdGuard Home</strong></td><td>广告过滤DNS</td><td>3000</td><td>⭐⭐⭐⭐</td></tr>
|
||||
<tr><td><strong>Portainer</strong></td><td>Docker可视化管理</td><td>9000</td><td>⭐⭐⭐⭐⭐</td></tr>
|
||||
</table>
|
||||
</div>
|
||||
<h2>📝 部署示例:qBittorrent</h2>
|
||||
<div class="code-block">docker run -d \
|
||||
--name=qbittorrent \
|
||||
-e PUID=1000 \
|
||||
-e PGID=1000 \
|
||||
-e TZ=Asia/Shanghai \
|
||||
-p 8081:8080 \
|
||||
-p 6881:6881 \
|
||||
-p 6881:6881/udp \
|
||||
-v /path/to/downloads:/downloads \
|
||||
--restart unless-stopped \
|
||||
lscr.io/linuxserver/qbittorrent:latest</div>
|
||||
<div class="alert alert-success" style="margin-top:24px;"><strong>✅ 部署建议</strong><ul style="margin-top:8px;"><li>先装Portainer,后续管理Docker更方便</li><li>重要数据目录挂载到NAS存储池</li><li>用docker-compose管理多服务,方便备份迁移</li><li>限制容器CPU/内存,避免影响主服务</li></ul></div>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer"><div class="footer-inner"><div><h4>🏠 家庭服务器指南</h4><p style="font-size:14px;">低成本打造私人云。</p></div><div><h4>快速导航</h4><ul><li><a href="nas.html">NAS搭建</a></li><li><a href="docker.html">Docker部署</a></li><li><a href="network.html">家庭组网</a></li></ul></div><div><h4>关于</h4><ul><li><a href="about.html">关于我们</a></li></ul></div></div><div class="footer-bottom"><p>© 2026 家庭服务器指南</p></div></footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,51 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>家庭服务器指南 - NAS搭建/Docker部署/家庭组网</title>
|
||||
<meta name="description" content="家庭服务器搭建指南,NAS配置、Docker部署、家庭组网、远程访问,用低成本设备打造私人云。">
|
||||
<meta name="keywords" content="家庭服务器,NAS,Docker,飞牛OS,Armbian,家庭组网,远程访问">
|
||||
<link rel="stylesheet" href="assets/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar">
|
||||
<div class="navbar-inner">
|
||||
<a href="index.html" class="logo"><div class="logo-icon">🏠</div>家庭服务器指南</a>
|
||||
<ul class="nav-links">
|
||||
<li><a href="index.html" class="active">首页</a></li>
|
||||
<li><a href="nas.html">NAS搭建</a></li>
|
||||
<li><a href="docker.html">Docker</a></li>
|
||||
<li><a href="network.html">家庭组网</a></li>
|
||||
<li><a href="about.html">关于</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
<section class="hero">
|
||||
<h1>🏠 家庭服务器搭建指南</h1>
|
||||
<p>用低成本设备打造私人云,NAS存储、Docker服务、远程访问一站式搞定</p>
|
||||
<div class="hero-badges">
|
||||
<span class="hero-badge">💾 NAS搭建</span>
|
||||
<span class="hero-badge">🐳 Docker部署</span>
|
||||
<span class="hero-badge">🌐 远程访问</span>
|
||||
<span class="hero-badge">💰 低成本</span>
|
||||
</div>
|
||||
</section>
|
||||
<div class="container">
|
||||
<h2 class="section-title">🔥 热门教程</h2>
|
||||
<div class="card-grid">
|
||||
<a href="nas.html" style="text-decoration:none;color:inherit;"><div class="card"><div class="card-icon blue">💾</div><h3>NAS搭建</h3><p>飞牛OS/OpenMediaVault安装配置,存储池管理,SMB共享,权限设置</p><div class="card-meta"><span>⏱️ 30分钟</span><span>📊 入门</span></div></div></a>
|
||||
<a href="docker.html" style="text-decoration:none;color:inherit;"><div class="card"><div class="card-icon green">🐳</div><h3>Docker部署</h3><p>常用Docker服务部署,Nextcloud、qBittorrent、Navidrome、HomeAssistant</p><div class="card-meta"><span>⏱️ 40分钟</span><span>📊 中等</span></div></div></a>
|
||||
<a href="network.html" style="text-decoration:none;color:inherit;"><div class="card"><div class="card-icon orange">🌐</div><h3>家庭组网</h3><p>WireGuard组网、内网穿透、远程访问,随时随地访问家里的服务</p><div class="card-meta"><span>⏱️ 25分钟</span><span>📊 中等</span></div></div></a>
|
||||
</div>
|
||||
<h2 class="section-title">💡 为什么自建家庭服务器</h2>
|
||||
<div class="card-grid">
|
||||
<div class="card" style="box-shadow:none;border:none;"><div class="card-icon blue">🔒</div><h3>数据私有</h3><p>照片、视频、文件存在自己的硬盘上,不依赖云服务商,隐私有保障</p></div>
|
||||
<div class="card" style="box-shadow:none;border:none;"><div class="card-icon green">💰</div><h3>低成本</h3><p>用闲置机顶盒或二手设备,几十到几百元就能搭建,比云盘划算</p></div>
|
||||
<div class="card" style="box-shadow:none;border:none;"><div class="card-icon orange">⚡</div><h3>高性能</h3><p>局域网内传输速度快,看4K电影不卡,下载上传不限速</p></div>
|
||||
<div class="card" style="box-shadow:none;border:none;"><div class="card-icon purple">🔧</div><h3>可扩展</h3><p>Docker一键部署各种服务,想加什么加什么,自由度极高</p></div>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer"><div class="footer-inner"><div><h4>🏠 家庭服务器指南</h4><p style="font-size:14px;line-height:1.8;">低成本打造私人云,NAS、Docker、远程访问一站式教程。</p></div><div><h4>快速导航</h4><ul><li><a href="nas.html">NAS搭建</a></li><li><a href="docker.html">Docker部署</a></li><li><a href="network.html">家庭组网</a></li></ul></div><div><h4>关于</h4><ul><li><a href="about.html">关于我们</a></li></ul></div></div><div class="footer-bottom"><p>© 2026 家庭服务器指南 | 教程仅供学习交流</p></div></footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>NAS搭建指南 - 飞牛OS/OMV配置 | 家庭服务器指南</title>
|
||||
<link rel="stylesheet" href="assets/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar">
|
||||
<div class="navbar-inner">
|
||||
<a href="index.html" class="logo"><div class="logo-icon">🏠</div>家庭服务器指南</a>
|
||||
<ul class="nav-links">
|
||||
<li><a href="index.html">首页</a></li>
|
||||
<li><a href="nas.html" class="active">NAS搭建</a></li>
|
||||
<li><a href="docker.html">Docker</a></li>
|
||||
<li><a href="network.html">家庭组网</a></li>
|
||||
<li><a href="about.html">关于</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
<div class="container-narrow">
|
||||
<div class="tutorial-header"><h1>💾 NAS搭建指南</h1><div class="tutorial-meta"><span>⏱️ 30分钟</span><span class="difficulty easy">入门</span><span>📝 实测验证</span></div></div>
|
||||
<div class="tutorial-content">
|
||||
<h2>📊 NAS系统选择</h2>
|
||||
<div class="table-wrap">
|
||||
<table>
|
||||
<tr><th>系统</th><th>适合设备</th><th>优点</th><th>缺点</th></tr>
|
||||
<tr><td><strong>飞牛OS</strong></td><td>ARM开发板</td><td>界面美观,应用丰富</td><td>较新,部分功能完善中</td></tr>
|
||||
<tr><td><strong>OpenMediaVault</strong></td><td>x86/ARM</td><td>成熟稳定,插件多</td><td>界面较旧</td></tr>
|
||||
<tr><td><strong>群晖DSM</strong></td><td>x86(黑群晖)</td><td>功能最全,生态好</td><td>硬件要求高</td></tr>
|
||||
<tr><td><strong>Unraid</strong></td><td>x86</td><td>灵活,Docker友好</td><td>付费</td></tr>
|
||||
</table>
|
||||
</div>
|
||||
<h2>🎯 飞牛OS搭建步骤</h2>
|
||||
<div class="step"><div class="step-number">1</div><div class="step-content"><h4>安装系统</h4><p>参考刷机教程,把飞牛OS刷入设备eMMC</p></div></div>
|
||||
<div class="step"><div class="step-number">2</div><div class="step-content"><h4>初始化设置</h4><p>浏览器访问设备IP:5666,设置管理员账号密码</p></div></div>
|
||||
<div class="step"><div class="step-number">3</div><div class="step-content"><h4>创建存储池</h4><p>系统设置 → 存储 → 创建存储池,选择硬盘,配置RAID</p></div></div>
|
||||
<div class="step"><div class="step-number">4</div><div class="step-content"><h4>创建共享文件夹</h4><p>文件管理 → 新建文件夹,设置SMB/NFS共享权限</p></div></div>
|
||||
<div class="step"><div class="step-number">5</div><div class="step-content"><h4>电脑访问</h4><p>Windows资源管理器输入 \\设备IP 即可访问共享文件</p></div></div>
|
||||
<div class="alert alert-info" style="margin-top:24px;"><strong>💡 硬盘建议</strong><ul style="margin-top:8px;"><li>重要数据用RAID1(镜像),至少2块硬盘</li><li>下载盘可以用单盘,坏了重新下载即可</li><li>定期检查硬盘健康状态(SMART)</li><li>重要数据建议异地备份</li></ul></div>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer"><div class="footer-inner"><div><h4>🏠 家庭服务器指南</h4><p style="font-size:14px;">低成本打造私人云。</p></div><div><h4>快速导航</h4><ul><li><a href="nas.html">NAS搭建</a></li><li><a href="docker.html">Docker部署</a></li><li><a href="network.html">家庭组网</a></li></ul></div><div><h4>关于</h4><ul><li><a href="about.html">关于我们</a></li></ul></div></div><div class="footer-bottom"><p>© 2026 家庭服务器指南</p></div></footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,45 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>家庭组网指南 - WireGuard/内网穿透/远程访问 | 家庭服务器指南</title>
|
||||
<link rel="stylesheet" href="assets/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar">
|
||||
<div class="navbar-inner">
|
||||
<a href="index.html" class="logo"><div class="logo-icon">🏠</div>家庭服务器指南</a>
|
||||
<ul class="nav-links">
|
||||
<li><a href="index.html">首页</a></li>
|
||||
<li><a href="nas.html">NAS搭建</a></li>
|
||||
<li><a href="docker.html">Docker</a></li>
|
||||
<li><a href="network.html" class="active">家庭组网</a></li>
|
||||
<li><a href="about.html">关于</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
<div class="container-narrow">
|
||||
<div class="tutorial-header"><h1>🌐 家庭组网与远程访问</h1><div class="tutorial-meta"><span>⏱️ 25分钟</span><span class="difficulty medium">中等</span><span>🔒 安全加密</span></div></div>
|
||||
<div class="tutorial-content">
|
||||
<h2>📡 远程访问方案对比</h2>
|
||||
<div class="table-wrap">
|
||||
<table>
|
||||
<tr><th>方案</th><th>需要公网IP</th><th>速度</th><th>安全性</th><th>难度</th></tr>
|
||||
<tr><td><strong>WireGuard组网</strong></td><td>需要一端有</td><td>⭐⭐⭐⭐⭐</td><td>⭐⭐⭐⭐⭐</td><td>中等</td></tr>
|
||||
<tr><td><strong>Tailscale</strong></td><td>不需要</td><td>⭐⭐⭐⭐</td><td>⭐⭐⭐⭐⭐</td><td>简单</td></tr>
|
||||
<tr><td><strong>frp内网穿透</strong></td><td>需要VPS</td><td>⭐⭐⭐</td><td>⭐⭐⭐</td><td>中等</td></tr>
|
||||
<tr><td><strong>DDNS+端口映射</strong></td><td>需要</td><td>⭐⭐⭐⭐⭐</td><td>⭐⭐</td><td>简单</td></tr>
|
||||
</table>
|
||||
</div>
|
||||
<h2>🔐 WireGuard组网步骤</h2>
|
||||
<div class="step"><div class="step-number">1</div><div class="step-content"><h4>服务端配置</h4><p>在有公网IP的服务器(如腾讯云)安装WireGuard,配置服务端</p></div></div>
|
||||
<div class="step"><div class="step-number">2</div><div class="step-content"><h4>客户端配置</h4><p>家庭服务器和手机/电脑安装WireGuard客户端,导入配置</p></div></div>
|
||||
<div class="step"><div class="step-number">3</div><div class="step-content"><h4>分配内网IP</h4><p>为每个设备分配固定内网IP,如10.200.0.x</p></div></div>
|
||||
<div class="step"><div class="step-number">4</div><div class="step-content"><h4>测试连通性</h4><p>在外网环境下ping家庭服务器内网IP,确认连通</p></div></div>
|
||||
<div class="alert alert-success" style="margin-top:24px;"><strong>✅ 推荐方案</strong><p style="margin-top:8px;">如果有一台云服务器,推荐WireGuard组网,速度快、安全性高、可扩展性强。所有设备加入同一个虚拟局域网,就像在同一个家里一样访问。</p></div>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer"><div class="footer-inner"><div><h4>🏠 家庭服务器指南</h4><p style="font-size:14px;">低成本打造私人云。</p></div><div><h4>快速导航</h4><ul><li><a href="nas.html">NAS搭建</a></li><li><a href="docker.html">Docker部署</a></li><li><a href="network.html">家庭组网</a></li></ul></div><div><h4>关于</h4><ul><li><a href="about.html">关于我们</a></li></ul></div></div><div class="footer-bottom"><p>© 2026 家庭服务器指南</p></div></footer>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user