2025-07-18 15:38:28 +08:00

163 lines
7.4 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>HiNC啟用 | HiAPI-C# 2025 </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="HiNC啟用 | HiAPI-C# 2025 ">
<link rel="icon" href="../../../../img/HiAPI.favicon.ico">
<link rel="stylesheet" href="../../../../public/docfx.min.css">
<link rel="stylesheet" href="../../../../public/main.css">
<meta name="docfx:navrel" content="../../../../toc.html">
<meta name="docfx:tocrel" content="../toc.html">
<meta name="docfx:rel" content="../../../../">
<meta name="loc:inThisArticle" content="In this article">
<meta name="loc:searchResultsCount" content="{count} results for &quot;{query}&quot;">
<meta name="loc:searchNoResults" content="No results for &quot;{query}&quot;">
<meta name="loc:tocFilter" content="Filter by title">
<meta name="loc:nextArticle" content="Next">
<meta name="loc:prevArticle" content="Previous">
<meta name="loc:themeLight" content="Light">
<meta name="loc:themeDark" content="Dark">
<meta name="loc:themeAuto" content="Auto">
<meta name="loc:changeTheme" content="Change theme">
<meta name="loc:copy" content="Copy">
<meta name="loc:downloadPdf" content="Download PDF">
<script type="module" src="./../../../../public/docfx.min.js"></script>
<script>
const theme = localStorage.getItem('theme') || 'auto'
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
</script>
</head>
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="">
<header class="bg-body border-bottom">
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
<div class="container-xxl flex-nowrap">
<a class="navbar-brand" href="../../../../index.html">
<img id="logo" class="svg" src="../../../../img/HiAPI.logo.png" alt="">
</a>
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
<i class="bi bi-three-dots"></i>
</button>
<div class="collapse navbar-collapse" id="navpanel">
<div id="navbar">
<form class="search" role="search" id="search">
<i class="bi bi-search"></i>
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
</form>
</div>
</div>
</div>
</nav>
</header>
<main class="container-xxl">
<div class="toc-offcanvas">
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<nav class="toc" id="toc"></nav>
</div>
</div>
</div>
<div class="content">
<div class="actionbar">
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
<i class="bi bi-list"></i>
</button>
<nav id="breadcrumb"></nav>
</div>
<article data-uid="">
<h1 id="hinc啟用">HiNC啟用</h1>
<p>本章節將介紹如何在不同環境下啟用HiNC系統包含Windows系統的基本安裝、單機多站配置、多主機授權設置以及提供相關教學視頻資源。</p>
<ul>
<li><a href="multi-station.html">單機多站配置</a></li>
<li><a href="delegate-auth.html">多主機授權設置</a></li>
<li><a href="tutorial.html">教學視頻</a></li>
</ul>
<h2 id="啟用hinc於windows系統">啟用HiNC於Windows系統</h2>
<ol>
<li><p>至官網下載HiNC安裝包並解壓縮</p>
<p><a href="https://superhightech-gitea.webredirect.org/HiNC-Deploy/HiNC-Manager-Win/archive/master.zip">https://superhightech-gitea.webredirect.org/HiNC-Deploy/HiNC-Manager-Win/archive/master.zip</a></p>
</li>
<li><p>插上HiNC授權鎖執行資料夾內<code>HiNC-loop-with-update.bat</code></p>
<p>該腳本會於每次執行下載或更新HiNC軟件於HiNC資料夾。</p>
<p>首次執行過後將產生HiNC子資料夾。</p>
<blockquote>
<p>除appsettings會被保留以外其他在HiNC資料夾中的檔案變更會在更新後被刪除。
HiNC資料夾內如果有非系統產生的更動有可能使得下載或更新失敗此時可以手動刪除整個HiNC資料夾然後再次執行<code>HiNC-loop-with-update.bat</code></p>
</blockquote>
<blockquote>
<p><a href="res/startup.mp4">操作影片</a></p>
</blockquote>
<blockquote>
<p>如果HiNC軟件的預設載點速度太慢可以先使用<code>HiNC-update-gitcode.bat</code>至gitcode載點下載完成後再執行<code>HiNC-loop-with-update.bat</code></p>
</blockquote>
<p>HiNC子資料夾內可找到<code>appsettings.json</code> 檔案該檔案用來設定HiNC組態包含網頁位置及使用者帳號密碼等。以下以預設值說明。</p>
<p><code>appsettings.json</code>預設值每次HiNC啟動時會連結授權伺服器檢查是否有授權更新。授權更新的預設設置如下如果要取消自動授權鎖更新可將<code>AutoLicenseUpdate</code>改為<code>DoNothing</code></p>
<pre><code>&quot;LicenseManager&quot;: {
//Available Command: &quot;DoNothing&quot;,&quot;AutoLicenseUpdate&quot;,&quot;GetC2V&quot;,&quot;GenV2C&quot;,&quot;ApplyV2C&quot;,&quot;WriteInfo&quot;
&quot;Command&quot;: &quot;AutoLicenseUpdate&quot;,
&quot;Server&quot;: {
&quot;URI&quot;: &quot;http://superhightech.com.tw:20201&quot;,
}
}
</code></pre>
<p><code>appsettings.json</code> 檔案中預設創建 <code>../HiNC-Root</code> 作為資料與專案的存放位置。</p>
<blockquote>
<p>如果啟動HiNC時反覆出現錯誤長訊息可能是作業系統太舊或久未更新請安裝 <code>Microsoft Visual C++</code></p>
</blockquote>
</li>
<li><p>打開網頁瀏覽器,進入預設網址:
http://localhost:4330</p>
</li>
<li><p>輸入預設使用者帳密即可登入使用。
帳號: <code>admin</code>
密碼: <code>00000</code></p>
</li>
</ol>
</article>
<div class="contribution d-print-none">
</div>
<div class="next-article d-print-none border-top" id="nextArticle"></div>
</div>
<div class="affix">
<nav id="affix"></nav>
</div>
</main>
<div class="container-xxl search-results" id="search-results"></div>
<footer class="border-top text-secondary">
<div class="container-xxl">
<div class="flex-fill">
<span> Copyright © 2025 <a href='https://superhightech.com.tw'>Tech Coordinate</a>. All rights reserved. <a href='https://superhightech.com.tw'>超級高科技股份有限公司</a> © 2025 版權所有 </span>
</div>
</div>
</footer>
</body>
</html>