<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5899693692743547537</id><updated>2026-09-14T16:34:19.656+08:00</updated><category term="freebsd"/><category term="windows"/><category term="acm"/><category term="c"/><category term="php"/><category term="uva"/><category term="應用軟體"/><category term="C#"/><category term="網路"/><category term="ip"/><category term="kms"/><category term="office"/><category term="ubuntu"/><category term="command"/><category term="openvas"/><category term="shell"/><category term="html"/><category term="DNS"/><category term="apache"/><category term="centos"/><category term="linux"/><category term="unix"/><category term="ai"/><category term="chatterbot"/><category term="network"/><category term="ntp"/><category term="port"/><category term="powershell"/><category term="python"/><category term="ssh"/><category term="virtualbox"/><category term="web"/><category term="資訊產品"/><category term="10G"/><category term="7zip"/><category term="PHPTelnet"/><category term="arping"/><category term="bandwidthd"/><category term="bbs"/><category term="blackhole"/><category term="browser"/><category term="bsnmpd"/><category term="chrome"/><category term="cisco"/><category term="computer name"/><category term="database"/><category term="desktop"/><category term="dhcp"/><category term="dokuwiki"/><category term="edge"/><category term="esxi"/><category term="excel"/><category term="facebook"/><category term="firefox"/><category term="flash"/><category term="google"/><category term="install"/><category term="ipv4"/><category term="javascript"/><category term="language"/><category term="letsencrypt"/><category term="librenms"/><category term="listen port"/><category term="log"/><category term="mac address"/><category term="masscan"/><category term="mellanox"/><category term="mlx4"/><category term="mlxen"/><category term="mod_security"/><category term="modules"/><category term="mongo"/><category term="monitor"/><category term="mrtg"/><category term="mysql"/><category term="netstat"/><category term="nextcloud"/><category term="nikto"/><category term="nmap"/><category term="notepad++"/><category term="owncloud"/><category term="ping"/><category term="pkgng"/><category term="plurk"/><category term="raspberry"/><category term="red5"/><category term="rst"/><category term="search"/><category term="sendmail"/><category term="silent"/><category term="smtp"/><category term="src"/><category term="ss"/><category term="ssl"/><category term="streaming"/><category term="svnlite"/><category term="sysctl"/><category term="telegram"/><category term="telnet"/><category term="template"/><category term="trim"/><category term="update"/><category term="upgrade"/><category term="visual studio"/><category term="webssh2"/><category term="win10"/><category term="win7"/><category term="windows update"/><category term="winscp"/><category term="xnview"/><category term="xrdp"/><category term="zabbix"/><category term="zabbix-agent"/><category term="弱點掃描"/><category term="校時"/><category term="照片"/><category term="縮圖"/><category term="螢幕縮放比例"/><title type='text'>鴨言鴨語</title><subtitle type='html'>依比鴨鴨</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://cuyang.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://cuyang.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Mike Yang</name><uri>http://www.blogger.com/profile/14105652351865827641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDNIm3xO_vPpADsuaF23Mgca-Va72l5oyEtBCyII7MCNS6rPCqOpufeYOluvKEWUVjIeL175m9lU54dqNrvXZKAwbY9Vb_W3-bNanyMY2pnlnUD7gbqUy3YvXziX6b2w/s150/IMG_0008.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>152</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5899693692743547537.post-2767087993729388750</id><published>2026-05-21T11:22:46.444+08:00</published><updated>2026-05-21T11:22:46.444+08:00</updated><title type='text'>單行 PowerShell 批次刪除現有排程</title><content type='html'>&lt;div class=&quot;obsidian-blogger-post&quot;&gt;
      &lt;ul&gt;
&lt;li&gt;執行以下指令，這會自動尋找所有以 &lt;code&gt;OneDrive&lt;/code&gt; 開頭的排程工作（包含 Reporting 和 Update），並強制解除註冊（刪除），過程中不會跳出確認提示：&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code class=&quot;language-powershell&quot;&gt;Get-ScheduledTask -TaskName &amp;quot;OneDrive*&amp;quot; | Unregister-ScheduledTask -Confirm:$false
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;查看相關名稱的排程&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code class=&quot;language-powershell&quot;&gt;Get-ScheduledTask -TaskName &amp;quot;OneDrive*&amp;quot;
&lt;/code&gt;&lt;/pre&gt;

      &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cuyang.blogspot.com/feeds/2767087993729388750/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5899693692743547537/2767087993729388750' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/2767087993729388750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/2767087993729388750'/><link rel='alternate' type='text/html' href='http://cuyang.blogspot.com/2026/05/powershell.html' title='單行 PowerShell 批次刪除現有排程'/><author><name>Mike Yang</name><uri>http://www.blogger.com/profile/14105652351865827641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDNIm3xO_vPpADsuaF23Mgca-Va72l5oyEtBCyII7MCNS6rPCqOpufeYOluvKEWUVjIeL175m9lU54dqNrvXZKAwbY9Vb_W3-bNanyMY2pnlnUD7gbqUy3YvXziX6b2w/s150/IMG_0008.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5899693692743547537.post-3135290665655966513</id><published>2026-05-21T11:13:06.715+08:00</published><updated>2026-05-21T11:13:06.715+08:00</updated><title type='text'>關閉 Windows Defender</title><content type='html'>&lt;div class=&quot;obsidian-blogger-post&quot;&gt;
      &lt;p&gt;透過本地群組原則徹底停用（最乾淨）&lt;/p&gt;
&lt;p&gt;這個方法可以確保 Defender 在重啟電腦後也不會自動復活。&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;按下 &lt;code&gt;Win + R&lt;/code&gt; 鍵，輸入 &lt;code&gt;gpedit.msc&lt;/code&gt; 並按確定，打開「本地群組原則編輯器」。&lt;/li&gt;
&lt;li&gt;依序點開左側資料夾：&lt;br&gt;
&lt;code&gt;電腦組態&lt;/code&gt; → &lt;code&gt;系統管理範本&lt;/code&gt; → &lt;code&gt;Windows 元件&lt;/code&gt; → &lt;code&gt;Windows Defender 防毒軟體&lt;/code&gt;（或寫為 Endpoint Protection）。&lt;/li&gt;
&lt;li&gt;在右側視窗中，找到 &lt;strong&gt;「關閉 Windows Defender 防毒軟體」&lt;/strong&gt;（Turn off Windows Defender Antivirus）。&lt;/li&gt;
&lt;li&gt;連點兩下打開它，將狀態改為 &lt;strong&gt;「已啟用」&lt;/strong&gt;（Enabled）。&lt;/li&gt;
&lt;li&gt;點擊確定後，重新啟動伺服器。&lt;/li&gt;
&lt;/ol&gt;

      &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cuyang.blogspot.com/feeds/3135290665655966513/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5899693692743547537/3135290665655966513' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/3135290665655966513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/3135290665655966513'/><link rel='alternate' type='text/html' href='http://cuyang.blogspot.com/2026/05/windows-defender.html' title='關閉 Windows Defender'/><author><name>Mike Yang</name><uri>http://www.blogger.com/profile/14105652351865827641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDNIm3xO_vPpADsuaF23Mgca-Va72l5oyEtBCyII7MCNS6rPCqOpufeYOluvKEWUVjIeL175m9lU54dqNrvXZKAwbY9Vb_W3-bNanyMY2pnlnUD7gbqUy3YvXziX6b2w/s150/IMG_0008.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5899693692743547537.post-783392650914293963</id><published>2026-04-29T09:21:11.330+08:00</published><updated>2026-04-29T09:21:58.929+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="7zip"/><category scheme="http://www.blogger.com/atom/ns#" term="install"/><category scheme="http://www.blogger.com/atom/ns#" term="notepad++"/><category scheme="http://www.blogger.com/atom/ns#" term="silent"/><category scheme="http://www.blogger.com/atom/ns#" term="winscp"/><title type='text'>靜默安裝 7zip、notepad++、winscp</title><content type='html'>&lt;p&gt;&amp;nbsp;7z2601-x64.exe /S&lt;/p&gt;&lt;p&gt;npp.8.9.4.Installer.x64.exe /S&lt;/p&gt;&lt;p&gt;WinSCP-6.5.6-Setup.exe /VERYSILENT /ALLUSERS&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://cuyang.blogspot.com/feeds/783392650914293963/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5899693692743547537/783392650914293963' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/783392650914293963'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/783392650914293963'/><link rel='alternate' type='text/html' href='http://cuyang.blogspot.com/2026/04/7zipnotepadwinscp.html' title='靜默安裝 7zip、notepad++、winscp'/><author><name>Mike Yang</name><uri>http://www.blogger.com/profile/14105652351865827641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDNIm3xO_vPpADsuaF23Mgca-Va72l5oyEtBCyII7MCNS6rPCqOpufeYOluvKEWUVjIeL175m9lU54dqNrvXZKAwbY9Vb_W3-bNanyMY2pnlnUD7gbqUy3YvXziX6b2w/s150/IMG_0008.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5899693692743547537.post-4464608758891145996</id><published>2026-04-28T16:53:00.000+08:00</published><updated>2026-04-28T16:53:21.866+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="nextcloud"/><title type='text'>nextcloud 使用 command line 進行版本更新</title><content type='html'>&lt;p&gt;# 環境&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;FreeBSD 14.3&lt;/li&gt;&lt;li&gt;PHP 8.4.18&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;# 安裝 pkg&lt;/p&gt;&lt;p&gt;&amp;gt; pkg install php82-phar&lt;/p&gt;&lt;p&gt;&amp;gt; service restart php_fpm&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;# 更新指令&lt;/p&gt;&lt;p&gt;&amp;gt; cd /nextcloud&lt;/p&gt;&lt;p&gt;&amp;gt; sudo -u www php updater/updater.phar&lt;/p&gt;&lt;p&gt;&amp;gt; sudo -u www php occ upgrade&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;# 檢查系統狀態&lt;/p&gt;&lt;p&gt;&amp;gt; sudo -u www php occ status&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://cuyang.blogspot.com/feeds/4464608758891145996/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5899693692743547537/4464608758891145996' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/4464608758891145996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/4464608758891145996'/><link rel='alternate' type='text/html' href='http://cuyang.blogspot.com/2026/04/nextcloud-command-line.html' title='nextcloud 使用 command line 進行版本更新'/><author><name>Mike Yang</name><uri>http://www.blogger.com/profile/14105652351865827641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDNIm3xO_vPpADsuaF23Mgca-Va72l5oyEtBCyII7MCNS6rPCqOpufeYOluvKEWUVjIeL175m9lU54dqNrvXZKAwbY9Vb_W3-bNanyMY2pnlnUD7gbqUy3YvXziX6b2w/s150/IMG_0008.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5899693692743547537.post-1084169336967091429</id><published>2026-03-11T08:16:00.002+08:00</published><updated>2026-03-11T08:16:27.323+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ping"/><category scheme="http://www.blogger.com/atom/ns#" term="powershell"/><title type='text'>使用ping同時在螢幕顯示並將結果寫入檔案</title><content type='html'>&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;powershell&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;ping -t 8.8.8.8 | ForEach-Object { &quot;$(Get-Date -Format &#39;yyyy-MM-dd HH:mm:ss&#39;) $_&quot; } | Tee-Object -FilePath &quot;ping_log.txt&quot;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cuyang.blogspot.com/feeds/1084169336967091429/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5899693692743547537/1084169336967091429' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/1084169336967091429'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/1084169336967091429'/><link rel='alternate' type='text/html' href='http://cuyang.blogspot.com/2026/03/ping.html' title='使用ping同時在螢幕顯示並將結果寫入檔案'/><author><name>Mike Yang</name><uri>http://www.blogger.com/profile/14105652351865827641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDNIm3xO_vPpADsuaF23Mgca-Va72l5oyEtBCyII7MCNS6rPCqOpufeYOluvKEWUVjIeL175m9lU54dqNrvXZKAwbY9Vb_W3-bNanyMY2pnlnUD7gbqUy3YvXziX6b2w/s150/IMG_0008.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5899693692743547537.post-9021950622779247919</id><published>2025-05-19T11:40:00.003+08:00</published><updated>2025-05-19T11:40:47.094+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="telegram"/><title type='text'>telegram 介面中文化</title><content type='html'>&lt;p&gt;手機及桌面程式均可，點擊下方連結並儲存即可&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;a href=&quot;https://t.me/setlanguage/taiwan&quot;&gt;https://t.me/setlanguage/taiwan&lt;/a&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://cuyang.blogspot.com/feeds/9021950622779247919/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5899693692743547537/9021950622779247919' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/9021950622779247919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/9021950622779247919'/><link rel='alternate' type='text/html' href='http://cuyang.blogspot.com/2025/05/telegram.html' title='telegram 介面中文化'/><author><name>Mike Yang</name><uri>http://www.blogger.com/profile/14105652351865827641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDNIm3xO_vPpADsuaF23Mgca-Va72l5oyEtBCyII7MCNS6rPCqOpufeYOluvKEWUVjIeL175m9lU54dqNrvXZKAwbY9Vb_W3-bNanyMY2pnlnUD7gbqUy3YvXziX6b2w/s150/IMG_0008.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5899693692743547537.post-2252667265819962421</id><published>2025-03-06T14:37:00.000+08:00</published><updated>2025-03-06T14:37:38.670+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="listen port"/><category scheme="http://www.blogger.com/atom/ns#" term="netstat"/><category scheme="http://www.blogger.com/atom/ns#" term="ss"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>ubuntu 查看 listen port</title><content type='html'>&lt;h4 style=&quot;text-align: left;&quot;&gt;說明&lt;/h4&gt;&lt;p&gt;&lt;/p&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;在不額外安裝netstat下，可以使用以下指令查看 LISTEN 的 port&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;查看ipv4&lt;/h4&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;gt; ss -nlt4&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;查看ipv6&lt;/h4&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;gt; ss -nlt6&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;同時查看ipv4 及 ipv6&lt;/h4&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;gt; ss -nlt&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://cuyang.blogspot.com/feeds/2252667265819962421/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5899693692743547537/2252667265819962421' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/2252667265819962421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/2252667265819962421'/><link rel='alternate' type='text/html' href='http://cuyang.blogspot.com/2025/03/ubuntu-listen-port.html' title='ubuntu 查看 listen port'/><author><name>Mike Yang</name><uri>http://www.blogger.com/profile/14105652351865827641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDNIm3xO_vPpADsuaF23Mgca-Va72l5oyEtBCyII7MCNS6rPCqOpufeYOluvKEWUVjIeL175m9lU54dqNrvXZKAwbY9Vb_W3-bNanyMY2pnlnUD7gbqUy3YvXziX6b2w/s150/IMG_0008.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5899693692743547537.post-6428194549408005729</id><published>2024-01-23T11:22:00.001+08:00</published><updated>2024-01-23T11:32:52.571+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="librenms"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>librenms on Ubuntu 22.04 安裝手冊</title><content type='html'>&lt;div class=&quot;markdown-here-wrapper&quot; data-md-url=&quot;https://www.blogger.com/blog/post/edit/5899693692743547537/6428194549408005729&quot;&gt;&lt;h2 id=&quot;ubuntu22-04-with-php8-1-with-nginx-&quot; style=&quot;border-bottom: 1px solid rgb(238, 238, 238); font-size: 1.4em; font-weight: bold; margin: 1.3em 0px 1em; padding: 0px;&quot;&gt;ubuntu22.04 with php8.1 with nginx 安裝過程&lt;/h2&gt;
&lt;h3 id=&quot;-&quot; style=&quot;font-size: 1.3em; font-weight: bold; margin: 1.3em 0px 1em; padding: 0px;&quot;&gt;參考文件&lt;/h3&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;&lt;a href=&quot;#&quot;&gt;https://docs.librenms.org/Installation/Install-LibreNMS/&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&quot;-package&quot; style=&quot;font-size: 1.3em; font-weight: bold; margin: 1.3em 0px 1em; padding: 0px;&quot;&gt;安裝package&lt;/h3&gt;
&lt;blockquote style=&quot;border-left: 4px solid rgb(221, 221, 221); color: #777777; margin: 1.2em 0px; padding: 0px 1em; quotes: none;&quot;&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo apt install acl curl fping git graphviz imagemagick mariadb-client mariadb-server mtr-tiny nginx-full nmap php-cli php-curl php-fpm php-gd php-gmp php-json php-mbstring php-mysql php-snmp php-xml php-zip rrdtool snmp snmpd unzip python3-pymysql python3-dotenv python3-redis python3-setuptools python3-systemd python3-pip whois traceroute&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3 id=&quot;-librenms-user&quot; style=&quot;font-size: 1.3em; font-weight: bold; margin: 1.3em 0px 1em; padding: 0px;&quot;&gt;新增 librenms user&lt;/h3&gt;
&lt;blockquote style=&quot;border-left: 4px solid rgb(221, 221, 221); color: #777777; margin: 1.2em 0px; padding: 0px 1em; quotes: none;&quot;&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo useradd librenms -d /home/librenms -M -r -s “$(which bash)”&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3 id=&quot;-librenms-from-git&quot; style=&quot;font-size: 1.3em; font-weight: bold; margin: 1.3em 0px 1em; padding: 0px;&quot;&gt;下載 librenms from git&lt;/h3&gt;
&lt;blockquote style=&quot;border-left: 4px solid rgb(221, 221, 221); color: #777777; margin: 1.2em 0px; padding: 0px 1em; quotes: none;&quot;&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;cd /home&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo git clone &lt;a href=&quot;https://github.com/librenms/librenms.git&quot;&gt;https://github.com/librenms/librenms.git&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3 id=&quot;-&quot; style=&quot;font-size: 1.3em; font-weight: bold; margin: 1.3em 0px 1em; padding: 0px;&quot;&gt;設定權限&lt;/h3&gt;
&lt;blockquote style=&quot;border-left: 4px solid rgb(221, 221, 221); color: #777777; margin: 1.2em 0px; padding: 0px 1em; quotes: none;&quot;&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo chown -R librenms:librenms /home/librenms&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo chmod 771 /home/librenms&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo setfacl -d -m g::rwx /home/librenms/rrd /home/librenms/logs /home/librenms/bootstrap/cache/ /home/librenms/storage/&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo setfacl -R -m g::rwx /home/librenms/rrd /home/librenms/logs /home/librenms/bootstrap/cache/ /home/librenms/storage/&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3 id=&quot;-php-&quot; style=&quot;font-size: 1.3em; font-weight: bold; margin: 1.3em 0px 1em; padding: 0px;&quot;&gt;安裝 php 相依&lt;/h3&gt;
&lt;blockquote style=&quot;border-left: 4px solid rgb(221, 221, 221); color: #777777; margin: 1.2em 0px; padding: 0px 1em; quotes: none;&quot;&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo su - librenms&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;./scripts/composer_wrapper.php install —no-dev&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;exit&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3 id=&quot;-&quot; style=&quot;font-size: 1.3em; font-weight: bold; margin: 1.3em 0px 1em; padding: 0px;&quot;&gt;設定時區&lt;/h3&gt;
&lt;blockquote style=&quot;border-left: 4px solid rgb(221, 221, 221); color: #777777; margin: 1.2em 0px; padding: 0px 1em; quotes: none;&quot;&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo vi /etc/php/8.1/fpm/php.ini&lt;br /&gt;sudo vi /etc/php/8.1/cli/php.ini&lt;/p&gt;
&lt;pre style=&quot;font-family: Consolas, Inconsolata, Courier, monospace; font-size: 0.85em; font-size: 1em; line-height: 1.2em; margin: 1.2em 0px;&quot;&gt;&lt;code style=&quot;background-color: #f8f8f8; border-radius: 3px; border-radius: 3px; border: 1px solid rgb(204, 204, 204); border: 1px solid rgb(234, 234, 234); display: block !important; display: inline; font-family: Consolas, Inconsolata, Courier, monospace; font-size: 0.85em; margin: 0px 0.15em; overflow: auto; padding: 0.5em 0.7em; padding: 0px 0.3em; white-space: pre-wrap; white-space: pre;&quot;&gt;date.timezone = Asia/Taipei
&lt;/code&gt;&lt;/pre&gt;&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo timedatectl set-timezone Asia/Taipei&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3 id=&quot;-mariadb&quot; style=&quot;font-size: 1.3em; font-weight: bold; margin: 1.3em 0px 1em; padding: 0px;&quot;&gt;設定MariaDB&lt;/h3&gt;
&lt;blockquote style=&quot;border-left: 4px solid rgb(221, 221, 221); color: #777777; margin: 1.2em 0px; padding: 0px 1em; quotes: none;&quot;&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo vi /etc/mysql/mariadb.conf.d/50-server.cnf&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;在[mysqld]下一行加入以下兩行&lt;/p&gt;
&lt;pre style=&quot;font-family: Consolas, Inconsolata, Courier, monospace; font-size: 0.85em; font-size: 1em; line-height: 1.2em; margin: 1.2em 0px;&quot;&gt;&lt;code style=&quot;background-color: #f8f8f8; border-radius: 3px; border-radius: 3px; border: 1px solid rgb(204, 204, 204); border: 1px solid rgb(234, 234, 234); display: block !important; display: inline; font-family: Consolas, Inconsolata, Courier, monospace; font-size: 0.85em; margin: 0px 0.15em; overflow: auto; padding: 0.5em 0.7em; padding: 0px 0.3em; white-space: pre-wrap; white-space: pre;&quot;&gt;innodb_file_per_table=1
lower_case_table_names=0
&lt;/code&gt;&lt;/pre&gt;&lt;blockquote style=&quot;border-left: 4px solid rgb(221, 221, 221); color: #777777; margin: 1.2em 0px; padding: 0px 1em; quotes: none;&quot;&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo systemctl enable mariadb&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo systemctl restart mariadb&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo mysql_secure_installation&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo mysql -u root&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;輸入以下SQL Command&lt;/p&gt;
&lt;pre style=&quot;font-family: Consolas, Inconsolata, Courier, monospace; font-size: 0.85em; font-size: 1em; line-height: 1.2em; margin: 1.2em 0px;&quot;&gt;&lt;code style=&quot;background-color: #f8f8f8; border-radius: 3px; border-radius: 3px; border: 1px solid rgb(204, 204, 204); border: 1px solid rgb(234, 234, 234); display: block !important; display: inline; font-family: Consolas, Inconsolata, Courier, monospace; font-size: 0.85em; margin: 0px 0.15em; overflow: auto; padding: 0.5em 0.7em; padding: 0px 0.3em; white-space: pre-wrap; white-space: pre;&quot;&gt;CREATE DATABASE librenms CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER &#39;librenms&#39;@&#39;localhost&#39; IDENTIFIED BY &#39;[yourpassword]&#39;;
GRANT ALL PRIVILEGES ON librenms.* TO &#39;librenms&#39;@&#39;localhost&#39;;
exit
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&quot;-php-fpm&quot; style=&quot;font-size: 1.3em; font-weight: bold; margin: 1.3em 0px 1em; padding: 0px;&quot;&gt;設定 php-fpm&lt;/h3&gt;
&lt;blockquote style=&quot;border-left: 4px solid rgb(221, 221, 221); color: #777777; margin: 1.2em 0px; padding: 0px 1em; quotes: none;&quot;&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo cp /etc/php/8.1/fpm/pool.d/www.conf /etc/php/8.1/fpm/pool.d/librenms.conf&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo vi /etc/php/8.1/fpm/pool.d/librenms.conf&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;[www]改成[librenms]&lt;/p&gt;
&lt;pre style=&quot;font-family: Consolas, Inconsolata, Courier, monospace; font-size: 0.85em; font-size: 1em; line-height: 1.2em; margin: 1.2em 0px;&quot;&gt;&lt;code style=&quot;background-color: #f8f8f8; border-radius: 3px; border-radius: 3px; border: 1px solid rgb(204, 204, 204); border: 1px solid rgb(234, 234, 234); display: block !important; display: inline; font-family: Consolas, Inconsolata, Courier, monospace; font-size: 0.85em; margin: 0px 0.15em; overflow: auto; padding: 0.5em 0.7em; padding: 0px 0.3em; white-space: pre-wrap; white-space: pre;&quot;&gt;[librenms]
&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Consolas, Inconsolata, Courier, monospace; font-size: 0.85em; font-size: 1em; line-height: 1.2em; margin: 1.2em 0px;&quot;&gt;&lt;code style=&quot;background-color: #f8f8f8; border-radius: 3px; border-radius: 3px; border: 1px solid rgb(204, 204, 204); border: 1px solid rgb(234, 234, 234); display: block !important; display: inline; font-family: Consolas, Inconsolata, Courier, monospace; font-size: 0.85em; margin: 0px 0.15em; overflow: auto; padding: 0.5em 0.7em; padding: 0px 0.3em; white-space: pre-wrap; white-space: pre;&quot;&gt;user = librenms
group = librenms
&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;font-family: Consolas, Inconsolata, Courier, monospace; font-size: 0.85em; font-size: 1em; line-height: 1.2em; margin: 1.2em 0px;&quot;&gt;&lt;code style=&quot;background-color: #f8f8f8; border-radius: 3px; border-radius: 3px; border: 1px solid rgb(204, 204, 204); border: 1px solid rgb(234, 234, 234); display: block !important; display: inline; font-family: Consolas, Inconsolata, Courier, monospace; font-size: 0.85em; margin: 0px 0.15em; overflow: auto; padding: 0.5em 0.7em; padding: 0px 0.3em; white-space: pre-wrap; white-space: pre;&quot;&gt;listen = /run/php-fpm-librenms.sock
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&quot;-web-server&quot; style=&quot;font-size: 1.3em; font-weight: bold; margin: 1.3em 0px 1em; padding: 0px;&quot;&gt;設定 web server&lt;/h3&gt;
&lt;blockquote style=&quot;border-left: 4px solid rgb(221, 221, 221); color: #777777; margin: 1.2em 0px; padding: 0px 1em; quotes: none;&quot;&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo vi /etc/nginx/conf.d/librenms.conf&lt;/p&gt;
&lt;/blockquote&gt;
&lt;pre style=&quot;font-family: Consolas, Inconsolata, Courier, monospace; font-size: 0.85em; font-size: 1em; line-height: 1.2em; margin: 1.2em 0px;&quot;&gt;&lt;code style=&quot;background-color: #f8f8f8; border-radius: 3px; border-radius: 3px; border: 1px solid rgb(204, 204, 204); border: 1px solid rgb(234, 234, 234); display: block !important; display: inline; font-family: Consolas, Inconsolata, Courier, monospace; font-size: 0.85em; margin: 0px 0.15em; overflow: auto; padding: 0.5em 0.7em; padding: 0px 0.3em; white-space: pre-wrap; white-space: pre;&quot;&gt;server {
 listen      80;
 server_name [yourdomain or ip];
 root        /home/librenms/html;
 index       index.php;

 charset utf-8;
 gzip on;
 gzip_types text/css application/javascript text/javascript application/x-javascript image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon;
 location / {
  try_files $uri $uri/ /index.php?$query_string;
 }
 location ~ [^/]\.php(/|$) {
  fastcgi_pass unix:/run/php-fpm-librenms.sock;
  fastcgi_split_path_info ^(.+\.php)(/.+)$;
  include fastcgi.conf;
 }
 location ~ /\.(?!well-known).* {
  deny all;
 }
}
&lt;/code&gt;&lt;/pre&gt;&lt;blockquote style=&quot;border-left: 4px solid rgb(221, 221, 221); color: #777777; margin: 1.2em 0px; padding: 0px 1em; quotes: none;&quot;&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo rm /etc/nginx/sites-enabled/default&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo systemctl restart nginx&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo systemctl restart php8.1-fpm&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3 id=&quot;-lnms&quot; style=&quot;font-size: 1.3em; font-weight: bold; margin: 1.3em 0px 1em; padding: 0px;&quot;&gt;設定lnms&lt;/h3&gt;
&lt;blockquote style=&quot;border-left: 4px solid rgb(221, 221, 221); color: #777777; margin: 1.2em 0px; padding: 0px 1em; quotes: none;&quot;&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo ln -s /home/librenms/lnms /usr/bin/lnms&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo cp /home/librenms/misc/lnms-completion.bash /etc/bash_completion.d/&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3 id=&quot;-snmpd&quot; style=&quot;font-size: 1.3em; font-weight: bold; margin: 1.3em 0px 1em; padding: 0px;&quot;&gt;設定 snmpd&lt;/h3&gt;
&lt;blockquote style=&quot;border-left: 4px solid rgb(221, 221, 221); color: #777777; margin: 1.2em 0px; padding: 0px 1em; quotes: none;&quot;&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo cp /home/librenms/snmpd.conf.example /etc/snmp/snmpd.conf&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo vi /etc/snmp/snmpd.conf&lt;/p&gt;
&lt;pre style=&quot;font-family: Consolas, Inconsolata, Courier, monospace; font-size: 0.85em; font-size: 1em; line-height: 1.2em; margin: 1.2em 0px;&quot;&gt;&lt;code style=&quot;background-color: #f8f8f8; border-radius: 3px; border-radius: 3px; border: 1px solid rgb(204, 204, 204); border: 1px solid rgb(234, 234, 234); display: block !important; display: inline; font-family: Consolas, Inconsolata, Courier, monospace; font-size: 0.85em; margin: 0px 0.15em; overflow: auto; padding: 0.5em 0.7em; padding: 0px 0.3em; white-space: pre-wrap; white-space: pre;&quot;&gt;找到 RANDOMSTRINGGOESHERE 改成 public(或自已想要的)
&lt;/code&gt;&lt;/pre&gt;&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo curl -o /usr/bin/distro &lt;a href=&quot;https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/distro&quot;&gt;https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/distro&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo chmod +x /usr/bin/distro&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo systemctl enable snmpd&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo systemctl restart snmpd&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3 id=&quot;-cronjob&quot; style=&quot;font-size: 1.3em; font-weight: bold; margin: 1.3em 0px 1em; padding: 0px;&quot;&gt;設定 cronjob&lt;/h3&gt;
&lt;blockquote style=&quot;border-left: 4px solid rgb(221, 221, 221); color: #777777; margin: 1.2em 0px; padding: 0px 1em; quotes: none;&quot;&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo cp /home/librenms/dist/librenms.cron /etc/cron.d/librenms&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo vi /etc/cron.d/librenms&lt;/p&gt;
&lt;pre style=&quot;font-family: Consolas, Inconsolata, Courier, monospace; font-size: 0.85em; font-size: 1em; line-height: 1.2em; margin: 1.2em 0px;&quot;&gt;&lt;code style=&quot;background-color: #f8f8f8; border-radius: 3px; border-radius: 3px; border: 1px solid rgb(204, 204, 204); border: 1px solid rgb(234, 234, 234); display: block !important; display: inline; font-family: Consolas, Inconsolata, Courier, monospace; font-size: 0.85em; margin: 0px 0.15em; overflow: auto; padding: 0.5em 0.7em; padding: 0px 0.3em; white-space: pre-wrap; white-space: pre;&quot;&gt;將所有的路徑裡的資料夾opt改成home
&lt;/code&gt;&lt;/pre&gt;&lt;/blockquote&gt;
&lt;h3 id=&quot;-scheduler&quot; style=&quot;font-size: 1.3em; font-weight: bold; margin: 1.3em 0px 1em; padding: 0px;&quot;&gt;設定scheduler&lt;/h3&gt;
&lt;blockquote style=&quot;border-left: 4px solid rgb(221, 221, 221); color: #777777; margin: 1.2em 0px; padding: 0px 1em; quotes: none;&quot;&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo cp /home/librenms/dist/librenms-scheduler.service /home/librenms/dist/librenms-scheduler.timer /etc/systemd/system/&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo systemctl enable librenms-scheduler.timer&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo systemctl start librenms-scheduler.timer&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo vi /etc/systemd/system/librenms-scheduler.service&lt;/p&gt;
&lt;/blockquote&gt;
&lt;pre style=&quot;font-family: Consolas, Inconsolata, Courier, monospace; font-size: 0.85em; font-size: 1em; line-height: 1.2em; margin: 1.2em 0px;&quot;&gt;&lt;code style=&quot;background-color: #f8f8f8; border-radius: 3px; border-radius: 3px; border: 1px solid rgb(204, 204, 204); border: 1px solid rgb(234, 234, 234); display: block !important; display: inline; font-family: Consolas, Inconsolata, Courier, monospace; font-size: 0.85em; margin: 0px 0.15em; overflow: auto; padding: 0.5em 0.7em; padding: 0px 0.3em; white-space: pre-wrap; white-space: pre;&quot;&gt;將所有的路徑裡的資料夾opt改成home
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&quot;-logrotate&quot; style=&quot;font-size: 1.3em; font-weight: bold; margin: 1.3em 0px 1em; padding: 0px;&quot;&gt;設定logrotate&lt;/h3&gt;
&lt;blockquote style=&quot;border-left: 4px solid rgb(221, 221, 221); color: #777777; margin: 1.2em 0px; padding: 0px 1em; quotes: none;&quot;&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo cp /home/librenms/misc/librenms.logrotate /etc/logrotate.d/librenms&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3 id=&quot;-&quot; style=&quot;font-size: 1.3em; font-weight: bold; margin: 1.3em 0px 1em; padding: 0px;&quot;&gt;匯入資料庫&lt;/h3&gt;
&lt;blockquote style=&quot;border-left: 4px solid rgb(221, 221, 221); color: #777777; margin: 1.2em 0px; padding: 0px 1em; quotes: none;&quot;&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo vi /home/librenms/.env&lt;/p&gt;
&lt;/blockquote&gt;
&lt;pre style=&quot;font-family: Consolas, Inconsolata, Courier, monospace; font-size: 0.85em; font-size: 1em; line-height: 1.2em; margin: 1.2em 0px;&quot;&gt;&lt;code style=&quot;background-color: #f8f8f8; border-radius: 3px; border-radius: 3px; border: 1px solid rgb(204, 204, 204); border: 1px solid rgb(234, 234, 234); display: block !important; display: inline; font-family: Consolas, Inconsolata, Courier, monospace; font-size: 0.85em; margin: 0px 0.15em; overflow: auto; padding: 0.5em 0.7em; padding: 0px 0.3em; white-space: pre-wrap; white-space: pre;&quot;&gt;DB_HOST= localhost
DB_DATABASE= librenms
DB_USERNAME= librenms
DB_PASSWORD= [yourpassword]
&lt;/code&gt;&lt;/pre&gt;&lt;blockquote style=&quot;border-left: 4px solid rgb(221, 221, 221); color: #777777; margin: 1.2em 0px; padding: 0px 1em; quotes: none;&quot;&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo su - librenms&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;lnms migrate&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;php artisan key:generate&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;php artisan config:clear&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;php artisan config:cache&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;exit&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3 id=&quot;web-config&quot; style=&quot;font-size: 1.3em; font-weight: bold; margin: 1.3em 0px 1em; padding: 0px;&quot;&gt;web config&lt;/h3&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;&lt;a href=&quot;http://[yourdomain_or_ip]/&quot;&gt;http://[yourdomain_or_ip]/&lt;/a&gt;&lt;/p&gt;
&lt;ul style=&quot;margin: 1.2em 0px; padding-left: 2em;&quot;&gt;
&lt;li style=&quot;margin: 0.5em 0px;&quot;&gt;建立管理員帳號&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;-config-php-&quot; style=&quot;font-size: 1.3em; font-weight: bold; margin: 1.3em 0px 1em; padding: 0px;&quot;&gt;修改config.php權限&lt;/h3&gt;
&lt;blockquote style=&quot;border-left: 4px solid rgb(221, 221, 221); color: #777777; margin: 1.2em 0px; padding: 0px 1em; quotes: none;&quot;&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo chown librenms:librenms /home/librenms/config.php&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3 id=&quot;-&quot; style=&quot;font-size: 1.3em; font-weight: bold; margin: 1.3em 0px 1em; padding: 0px;&quot;&gt;驗證設定(或問題排除)&lt;/h3&gt;
&lt;blockquote style=&quot;border-left: 4px solid rgb(221, 221, 221); color: #777777; margin: 1.2em 0px; padding: 0px 1em; quotes: none;&quot;&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;sudo su - librenms&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;cd /home/librenms&lt;/p&gt;
&lt;p style=&quot;margin: 0px 0px 1.2em !important;&quot;&gt;./validate.php&lt;/p&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;font-size: 0em; height: 0; margin: 0; max-height: 0; max-width: 0; overflow: hidden; padding: 0; width: 0;&quot; title=&quot;MDH:PHA+PGJyPjwvcD48cD4jIyB1YnVudHUyMi4wNCB3aXRoIHBocDguMSB3aXRoIG5naW54IOWuieij
nemBjueoizwvcD48cD4jIyMg5Y+D6ICD5paH5Lu2PC9wPjxwPjxhIGRhdGEtb3JpZ2luYWwtYXR0
cnM9InsmcXVvdDtkYXRhLW9yaWdpbmFsLWhyZWYmcXVvdDs6JnF1b3Q7aHR0cHM6Ly9kb2NzLmxp
YnJlbm1zLm9yZy9JbnN0YWxsYXRpb24vSW5zdGFsbC1MaWJyZU5NUy8mcXVvdDt9IiBocmVmPSIj
Ij5odHRwczovL2RvY3MubGlicmVubXMub3JnL0luc3RhbGxhdGlvbi9JbnN0YWxsLUxpYnJlTk1T
LzwvYT48L3A+PHA+PGJyPjwvcD48cD4jIyMg5a6J6KOdcGFja2FnZTwvcD48cD4mZ3Q7IHN1ZG8g
YXB0IGluc3RhbGwgYWNsIGN1cmwgZnBpbmcgZ2l0IGdyYXBodml6IGltYWdlbWFnaWNrIG1hcmlh
ZGItY2xpZW50IG1hcmlhZGItc2VydmVyIG10ci10aW55IG5naW54LWZ1bGwgbm1hcCBwaHAtY2xp
IHBocC1jdXJsIHBocC1mcG0gcGhwLWdkIHBocC1nbXAgcGhwLWpzb24gcGhwLW1ic3RyaW5nIHBo
cC1teXNxbCBwaHAtc25tcCBwaHAteG1sIHBocC16aXAgcnJkdG9vbCBzbm1wIHNubXBkIHVuemlw
IHB5dGhvbjMtcHlteXNxbCBweXRob24zLWRvdGVudiBweXRob24zLXJlZGlzIHB5dGhvbjMtc2V0
dXB0b29scyBweXRob24zLXN5c3RlbWQgcHl0aG9uMy1waXAgd2hvaXMgdHJhY2Vyb3V0ZTwvcD48
cD48YnI+PC9wPjxwPiMjIyDmlrDlop4gbGlicmVubXMgdXNlcjwvcD48cD4mZ3Q7IHN1ZG8gdXNl
cmFkZCBsaWJyZW5tcyAtZCAvaG9tZS9saWJyZW5tcyAtTSAtciAtcyAiJCh3aGljaCBiYXNoKSI8
L3A+PHA+PGJyPjwvcD48cD4jIyMg5LiL6LyJIGxpYnJlbm1zIGZyb20gZ2l0PC9wPjxwPiZndDsg
Y2QgL2hvbWU8L3A+PHA+PGJyPjwvcD48cD4mZ3Q7IHN1ZG8gZ2l0IGNsb25lIGh0dHBzOi8vZ2l0
aHViLmNvbS9saWJyZW5tcy9saWJyZW5tcy5naXQ8L3A+PHA+PGJyPjwvcD48cD4jIyMg6Kit5a6a
5qyK6ZmQPC9wPjxwPiZndDsgc3VkbyBjaG93biAtUiBsaWJyZW5tczpsaWJyZW5tcyAvaG9tZS9s
aWJyZW5tczwvcD48cD48YnI+PC9wPjxwPiZndDsgc3VkbyBjaG1vZCA3NzEgL2hvbWUvbGlicmVu
bXM8L3A+PHA+PGJyPjwvcD48cD4mZ3Q7IHN1ZG8gc2V0ZmFjbCAtZCAtbSBnOjpyd3ggL2hvbWUv
bGlicmVubXMvcnJkIC9ob21lL2xpYnJlbm1zL2xvZ3MgL2hvbWUvbGlicmVubXMvYm9vdHN0cmFw
L2NhY2hlLyAvaG9tZS9saWJyZW5tcy9zdG9yYWdlLzwvcD48cD48YnI+PC9wPjxwPiZndDsgc3Vk
byBzZXRmYWNsIC1SIC1tIGc6OnJ3eCAvaG9tZS9saWJyZW5tcy9ycmQgL2hvbWUvbGlicmVubXMv
bG9ncyAvaG9tZS9saWJyZW5tcy9ib290c3RyYXAvY2FjaGUvIC9ob21lL2xpYnJlbm1zL3N0b3Jh
Z2UvPC9wPjxwPjxicj48L3A+PHA+IyMjIOWuieijnSBwaHAg55u45L6dPC9wPjxwPiZndDsgc3Vk
byBzdSAtIGxpYnJlbm1zPC9wPjxwPjxicj48L3A+PHA+Jmd0OyAuL3NjcmlwdHMvY29tcG9zZXJf
d3JhcHBlci5waHAgaW5zdGFsbCAtLW5vLWRldjwvcD48cD48YnI+PC9wPjxwPiZndDsgZXhpdDwv
cD48cD48YnI+PC9wPjxwPiMjIyDoqK3lrprmmYLljYA8L3A+PHA+Jmd0OyBzdWRvIHZpIC9ldGMv
cGhwLzguMS9mcG0vcGhwLmluaTwvcD48cD4mZ3Q7IHN1ZG8gdmkgL2V0Yy9waHAvOC4xL2NsaS9w
aHAuaW5pPC9wPjxwPmBgYDwvcD48cD5kYXRlLnRpbWV6b25lID0gQXNpYS9UYWlwZWk8L3A+PHA+
YGBgPC9wPjxwPiZndDsgc3VkbyB0aW1lZGF0ZWN0bCBzZXQtdGltZXpvbmUgQXNpYS9UYWlwZWk8
L3A+PHA+PGJyPjwvcD48cD4jIyMg6Kit5a6aTWFyaWFEQjwvcD48cD4mZ3Q7IHN1ZG8gdmkgL2V0
Yy9teXNxbC9tYXJpYWRiLmNvbmYuZC81MC1zZXJ2ZXIuY25mPC9wPjxwPjxicj48L3A+PHA+5Zyo
W215c3FsZF3kuIvkuIDooYzliqDlhaXku6XkuIvlhanooYw8L3A+PHA+YGBgPC9wPjxwPmlubm9k
Yl9maWxlX3Blcl90YWJsZT0xPC9wPjxwPmxvd2VyX2Nhc2VfdGFibGVfbmFtZXM9MDwvcD48cD5g
YGA8L3A+PHA+PGJyPjwvcD48cD4mZ3Q7IHN1ZG8gc3lzdGVtY3RsIGVuYWJsZSBtYXJpYWRiPC9w
PjxwPjxicj48L3A+PHA+Jmd0OyBzdWRvIHN5c3RlbWN0bCByZXN0YXJ0IG1hcmlhZGI8L3A+PHA+
PGJyPjwvcD48cD4mZ3Q7IHN1ZG8gbXlzcWxfc2VjdXJlX2luc3RhbGxhdGlvbjwvcD48cD48YnI+
PC9wPjxwPiZndDsgc3VkbyBteXNxbCAtdSByb290PC9wPjxwPjxicj48L3A+PHA+6Ly45YWl5Lul
5LiLU1FMIENvbW1hbmQ8L3A+PHA+YGBgPC9wPjxwPkNSRUFURSBEQVRBQkFTRSBsaWJyZW5tcyBD
SEFSQUNURVIgU0VUIHV0ZjhtYjQgQ09MTEFURSB1dGY4bWI0X3VuaWNvZGVfY2k7PC9wPjxwPkNS
RUFURSBVU0VSICdsaWJyZW5tcydAJ2xvY2FsaG9zdCcgSURFTlRJRklFRCBCWSAnW3lvdXJwYXNz
d29yZF0nOzwvcD48cD5HUkFOVCBBTEwgUFJJVklMRUdFUyBPTiBsaWJyZW5tcy4qIFRPICdsaWJy
ZW5tcydAJ2xvY2FsaG9zdCc7PC9wPjxwPmV4aXQ8L3A+PHA+YGBgPC9wPjxwPjxicj48L3A+PHA+
IyMjIOioreWumiBwaHAtZnBtPC9wPjxwPiZndDsgc3VkbyBjcCAvZXRjL3BocC84LjEvZnBtL3Bv
b2wuZC93d3cuY29uZiAvZXRjL3BocC84LjEvZnBtL3Bvb2wuZC9saWJyZW5tcy5jb25mPC9wPjxw
Pjxicj48L3A+PHA+Jmd0OyBzdWRvIHZpIC9ldGMvcGhwLzguMS9mcG0vcG9vbC5kL2xpYnJlbm1z
LmNvbmY8L3A+PHA+PGJyPjwvcD48cD5bd3d3XeaUueaIkFtsaWJyZW5tc108L3A+PHA+YGBgPC9w
PjxwPltsaWJyZW5tc108L3A+PHA+YGBgPC9wPjxwPmBgYDwvcD48cD51c2VyID0gbGlicmVubXM8
L3A+PHA+Z3JvdXAgPSBsaWJyZW5tczwvcD48cD5gYGA8L3A+PHA+YGBgPC9wPjxwPmxpc3RlbiA9
IC9ydW4vcGhwLWZwbS1saWJyZW5tcy5zb2NrPC9wPjxwPmBgYDwvcD48cD4jIyMg6Kit5a6aIHdl
YiBzZXJ2ZXI8L3A+PHA+Jmd0OyBzdWRvIHZpIC9ldGMvbmdpbngvY29uZi5kL2xpYnJlbm1zLmNv
bmY8L3A+PHA+PGJyPjwvcD48cD5gYGA8L3A+PHA+c2VydmVyIHs8L3A+PHA+Jm5ic3A7bGlzdGVu
Jm5ic3A7ICZuYnNwOyAmbmJzcDsgODA7PC9wPjxwPiZuYnNwO3NlcnZlcl9uYW1lIFt5b3VyZG9t
YWluIG9yIGlwXTs8L3A+PHA+Jm5ic3A7cm9vdCZuYnNwOyAmbmJzcDsgJm5ic3A7ICZuYnNwOyAv
aG9tZS9saWJyZW5tcy9odG1sOzwvcD48cD4mbmJzcDtpbmRleCZuYnNwOyAmbmJzcDsgJm5ic3A7
ICZuYnNwO2luZGV4LnBocDs8L3A+PHA+PGJyPjwvcD48cD4mbmJzcDtjaGFyc2V0IHV0Zi04Ozwv
cD48cD4mbmJzcDtnemlwIG9uOzwvcD48cD4mbmJzcDtnemlwX3R5cGVzIHRleHQvY3NzIGFwcGxp
Y2F0aW9uL2phdmFzY3JpcHQgdGV4dC9qYXZhc2NyaXB0IGFwcGxpY2F0aW9uL3gtamF2YXNjcmlw
dCBpbWFnZS9zdmcreG1sIHRleHQvcGxhaW4gdGV4dC94c2QgdGV4dC94c2wgdGV4dC94bWwgaW1h
Z2UveC1pY29uOzwvcD48cD4mbmJzcDtsb2NhdGlvbiAvIHs8L3A+PHA+Jm5ic3A7IHRyeV9maWxl
cyAkdXJpICR1cmkvIC9pbmRleC5waHA/JHF1ZXJ5X3N0cmluZzs8L3A+PHA+Jm5ic3A7fTwvcD48
cD4mbmJzcDtsb2NhdGlvbiB+IFteL11cLnBocCgvfCQpIHs8L3A+PHA+Jm5ic3A7IGZhc3RjZ2lf
cGFzcyB1bml4Oi9ydW4vcGhwLWZwbS1saWJyZW5tcy5zb2NrOzwvcD48cD4mbmJzcDsgZmFzdGNn
aV9zcGxpdF9wYXRoX2luZm8gXiguK1wucGhwKSgvLispJDs8L3A+PHA+Jm5ic3A7IGluY2x1ZGUg
ZmFzdGNnaS5jb25mOzwvcD48cD4mbmJzcDt9PC9wPjxwPiZuYnNwO2xvY2F0aW9uIH4gL1wuKD8h
d2VsbC1rbm93bikuKiB7PC9wPjxwPiZuYnNwOyBkZW55IGFsbDs8L3A+PHA+Jm5ic3A7fTwvcD48
cD59PC9wPjxwPmBgYDwvcD48cD48YnI+PC9wPjxwPiZndDsgc3VkbyBybSAvZXRjL25naW54L3Np
dGVzLWVuYWJsZWQvZGVmYXVsdDwvcD48cD48YnI+PC9wPjxwPiZndDsgc3VkbyBzeXN0ZW1jdGwg
cmVzdGFydCBuZ2lueDwvcD48cD48YnI+PC9wPjxwPiZndDsgc3VkbyBzeXN0ZW1jdGwgcmVzdGFy
dCBwaHA4LjEtZnBtPC9wPjxwPjxicj48L3A+PHA+IyMjIOioreWummxubXM8L3A+PHA+PGJyPjwv
cD48cD4mZ3Q7IHN1ZG8gbG4gLXMgL2hvbWUvbGlicmVubXMvbG5tcyAvdXNyL2Jpbi9sbm1zPC9w
PjxwPjxicj48L3A+PHA+Jmd0OyBzdWRvIGNwIC9ob21lL2xpYnJlbm1zL21pc2MvbG5tcy1jb21w
bGV0aW9uLmJhc2ggL2V0Yy9iYXNoX2NvbXBsZXRpb24uZC88L3A+PHA+PGJyPjwvcD48cD4jIyMg
6Kit5a6aIHNubXBkPC9wPjxwPiZndDsgc3VkbyBjcCAvaG9tZS9saWJyZW5tcy9zbm1wZC5jb25m
LmV4YW1wbGUgL2V0Yy9zbm1wL3NubXBkLmNvbmY8L3A+PHA+PGJyPjwvcD48cD4mZ3Q7IHN1ZG8g
dmkgL2V0Yy9zbm1wL3NubXBkLmNvbmY8L3A+PHA+YGBgPC9wPjxwPuaJvuWIsCBSQU5ET01TVFJJ
TkdHT0VTSEVSRSDmlLnmiJAgcHVibGljKOaIluiHquW3suaDs+imgeeahCk8L3A+PHA+YGBgPC9w
PjxwPjxicj48L3A+PHA+Jmd0OyBzdWRvIGN1cmwgLW8gL3Vzci9iaW4vZGlzdHJvIGh0dHBzOi8v
cmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbS9saWJyZW5tcy9saWJyZW5tcy1hZ2VudC9tYXN0ZXIv
c25tcC9kaXN0cm88L3A+PHA+PGJyPjwvcD48cD4mZ3Q7IHN1ZG8gY2htb2QgK3ggL3Vzci9iaW4v
ZGlzdHJvPC9wPjxwPjxicj48L3A+PHA+Jmd0OyBzdWRvIHN5c3RlbWN0bCBlbmFibGUgc25tcGQ8
L3A+PHA+PGJyPjwvcD48cD4mZ3Q7IHN1ZG8gc3lzdGVtY3RsIHJlc3RhcnQgc25tcGQ8L3A+PHA+
PGJyPjwvcD48cD4jIyMg6Kit5a6aIGNyb25qb2I8L3A+PHA+Jmd0OyBzdWRvIGNwIC9ob21lL2xp
YnJlbm1zL2Rpc3QvbGlicmVubXMuY3JvbiAvZXRjL2Nyb24uZC9saWJyZW5tczwvcD48cD48YnI+
PC9wPjxwPiZndDsgc3VkbyB2aSAvZXRjL2Nyb24uZC9saWJyZW5tczwvcD48cD5gYGA8L3A+PHA+
5bCH5omA5pyJ55qE6Lev5b6R6KOh55qE6LOH5paZ5aS+b3B05pS55oiQaG9tZTwvcD48cD5gYGA8
L3A+PHA+PGJyPjwvcD48cD4jIyMg6Kit5a6ac2NoZWR1bGVyPC9wPjxwPiZndDsgc3VkbyBjcCAv
aG9tZS9saWJyZW5tcy9kaXN0L2xpYnJlbm1zLXNjaGVkdWxlci5zZXJ2aWNlIC9ob21lL2xpYnJl
bm1zL2Rpc3QvbGlicmVubXMtc2NoZWR1bGVyLnRpbWVyIC9ldGMvc3lzdGVtZC9zeXN0ZW0vPC9w
PjxwPjxicj48L3A+PHA+Jmd0OyBzdWRvIHN5c3RlbWN0bCBlbmFibGUgbGlicmVubXMtc2NoZWR1
bGVyLnRpbWVyPC9wPjxwPjxicj48L3A+PHA+Jmd0OyBzdWRvIHN5c3RlbWN0bCBzdGFydCBsaWJy
ZW5tcy1zY2hlZHVsZXIudGltZXI8L3A+PHA+PGJyPjwvcD48cD4mZ3Q7IHN1ZG8gdmkgL2V0Yy9z
eXN0ZW1kL3N5c3RlbS9saWJyZW5tcy1zY2hlZHVsZXIuc2VydmljZTwvcD48cD48YnI+PC9wPjxw
PmBgYDwvcD48cD7lsIfmiYDmnInnmoTot6/lvpHoo6HnmoTos4fmlpnlpL5vcHTmlLnmiJBob21l
PC9wPjxwPmBgYDwvcD48cD48YnI+PC9wPjxwPjxicj48L3A+PHA+IyMjIOioreWummxvZ3JvdGF0
ZTwvcD48cD4mZ3Q7IHN1ZG8gY3AgL2hvbWUvbGlicmVubXMvbWlzYy9saWJyZW5tcy5sb2dyb3Rh
dGUgL2V0Yy9sb2dyb3RhdGUuZC9saWJyZW5tczwvcD48cD48YnI+PC9wPjxwPiMjIyDljK/lhaXo
s4fmlpnluqs8L3A+PHA+Jmd0OyBzdWRvIHZpIC9ob21lL2xpYnJlbm1zLy5lbnY8L3A+PHA+PGJy
PjwvcD48cD5gYGA8L3A+PHA+REJfSE9TVD0gbG9jYWxob3N0PC9wPjxwPkRCX0RBVEFCQVNFPSBs
aWJyZW5tczwvcD48cD5EQl9VU0VSTkFNRT0gbGlicmVubXM8L3A+PHA+REJfUEFTU1dPUkQ9IFt5
b3VycGFzc3dvcmRdPC9wPjxwPjxicj48L3A+PHA+YGBgPC9wPjxwPjxicj48L3A+PHA+Jmd0OyBz
dWRvIHN1IC0gbGlicmVubXM8L3A+PHA+PGJyPjwvcD48cD4mZ3Q7IGxubXMgbWlncmF0ZTwvcD48
cD48YnI+PC9wPjxwPiZndDsgcGhwIGFydGlzYW4ga2V5OmdlbmVyYXRlPC9wPjxwPjxicj48L3A+
PHA+Jmd0OyBwaHAgYXJ0aXNhbiBjb25maWc6Y2xlYXI8L3A+PHA+PGJyPjwvcD48cD4mZ3Q7IHBo
cCBhcnRpc2FuIGNvbmZpZzpjYWNoZTwvcD48cD48YnI+PC9wPjxwPiZndDsgZXhpdDwvcD48cD48
YnI+PC9wPjxwPiMjIyB3ZWIgY29uZmlnPC9wPjxwPmh0dHA6Ly9beW91cmRvbWFpbl9vcl9pcF0v
PC9wPjxwPjxicj48L3A+PHA+KiDlu7rnq4vnrqHnkIblk6HluLPomZ88L3A+PHA+PGJyPjwvcD48
cD4jIyMg5L+u5pS5Y29uZmlnLnBocOasiumZkDwvcD48cD4mZ3Q7IHN1ZG8gY2hvd24gbGlicmVu
bXM6bGlicmVubXMgL2hvbWUvbGlicmVubXMvY29uZmlnLnBocDwvcD48cD48YnI+PC9wPjxwPiMj
IyDpqZforYnoqK3lrpoo5oiW5ZWP6aGM5o6S6ZmkKTwvcD48cD4mZ3Q7IHN1ZG8gc3UgLSBsaWJy
ZW5tczwvcD48cD48YnI+PC9wPjxwPiZndDsgY2QgL2hvbWUvbGlicmVubXM8L3A+PHA+PGJyPjwv
cD48cD4mZ3Q7IC4vdmFsaWRhdGUucGhwPC9wPjxwPjxicj48L3A+PHA+PGJyPjwvcD48cD48YnI+
PC9wPg==&quot;&gt;​&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cuyang.blogspot.com/feeds/6428194549408005729/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5899693692743547537/6428194549408005729' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/6428194549408005729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/6428194549408005729'/><link rel='alternate' type='text/html' href='http://cuyang.blogspot.com/2024/01/librenms-on-ubuntu-2204.html' title='librenms on Ubuntu 22.04 安裝手冊'/><author><name>Mike Yang</name><uri>http://www.blogger.com/profile/14105652351865827641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDNIm3xO_vPpADsuaF23Mgca-Va72l5oyEtBCyII7MCNS6rPCqOpufeYOluvKEWUVjIeL175m9lU54dqNrvXZKAwbY9Vb_W3-bNanyMY2pnlnUD7gbqUy3YvXziX6b2w/s150/IMG_0008.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5899693692743547537.post-6283233951442295319</id><published>2023-08-07T10:19:00.000+08:00</published><updated>2023-08-07T10:19:07.197+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="monitor"/><category scheme="http://www.blogger.com/atom/ns#" term="port"/><category scheme="http://www.blogger.com/atom/ns#" term="template"/><category scheme="http://www.blogger.com/atom/ns#" term="zabbix"/><title type='text'>zabbix監控特殊Port的設定方式</title><content type='html'>net.tcp.service[tcp,,25]&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgTZA5c5TRcFjugQyofB4EwU3q_zhyZY7VCsyklRQ2JJhjyZrxGbGPo8cDcq21k7ifBArZ19SRYwzLQsOEPO5XyzLJ0vT-mYMpJ_Zo6cWMCLPuvQ5f3CboRFi1obDy8vX02HQy6slWreYiJZvTwKXbvLtMu69Kmmk8JBqoDAQrt-Ed73RDkX7jR68Rvxmxz&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;793&quot; data-original-width=&quot;921&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEgTZA5c5TRcFjugQyofB4EwU3q_zhyZY7VCsyklRQ2JJhjyZrxGbGPo8cDcq21k7ifBArZ19SRYwzLQsOEPO5XyzLJ0vT-mYMpJ_Zo6cWMCLPuvQ5f3CboRFi1obDy8vX02HQy6slWreYiJZvTwKXbvLtMu69Kmmk8JBqoDAQrt-Ed73RDkX7jR68Rvxmxz=s16000&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cuyang.blogspot.com/feeds/6283233951442295319/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5899693692743547537/6283233951442295319' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/6283233951442295319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/6283233951442295319'/><link rel='alternate' type='text/html' href='http://cuyang.blogspot.com/2023/08/zabbixport.html' title='zabbix監控特殊Port的設定方式'/><author><name>Mike Yang</name><uri>http://www.blogger.com/profile/14105652351865827641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDNIm3xO_vPpADsuaF23Mgca-Va72l5oyEtBCyII7MCNS6rPCqOpufeYOluvKEWUVjIeL175m9lU54dqNrvXZKAwbY9Vb_W3-bNanyMY2pnlnUD7gbqUy3YvXziX6b2w/s150/IMG_0008.JPG'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/a/AVvXsEgTZA5c5TRcFjugQyofB4EwU3q_zhyZY7VCsyklRQ2JJhjyZrxGbGPo8cDcq21k7ifBArZ19SRYwzLQsOEPO5XyzLJ0vT-mYMpJ_Zo6cWMCLPuvQ5f3CboRFi1obDy8vX02HQy6slWreYiJZvTwKXbvLtMu69Kmmk8JBqoDAQrt-Ed73RDkX7jR68Rvxmxz=s72-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5899693692743547537.post-1889295518828421380</id><published>2023-08-03T17:05:00.002+08:00</published><updated>2023-08-03T17:05:28.050+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ntp"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>windows 設定 ntp 校時</title><content type='html'>&lt;p&gt;Set-ItemProperty -Path &quot;HKLM:\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient&quot; -Name SpecialPollInterval -Value 3600&lt;/p&gt;&lt;p&gt;w32tm /unregister&lt;/p&gt;&lt;p&gt;w32tm /register&lt;/p&gt;&lt;p&gt;net start w32time&lt;/p&gt;&lt;p&gt;w32tm /config /manualpeerlist:&quot;time.stdtime.gov.tw&quot; /syncfromflags:manual /update&lt;/p&gt;&lt;p&gt;w32tm /resync&lt;/p&gt;&lt;p&gt;w32tm /query /status&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://cuyang.blogspot.com/feeds/1889295518828421380/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5899693692743547537/1889295518828421380' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/1889295518828421380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/1889295518828421380'/><link rel='alternate' type='text/html' href='http://cuyang.blogspot.com/2023/08/windows-ntp.html' title='windows 設定 ntp 校時'/><author><name>Mike Yang</name><uri>http://www.blogger.com/profile/14105652351865827641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDNIm3xO_vPpADsuaF23Mgca-Va72l5oyEtBCyII7MCNS6rPCqOpufeYOluvKEWUVjIeL175m9lU54dqNrvXZKAwbY9Vb_W3-bNanyMY2pnlnUD7gbqUy3YvXziX6b2w/s150/IMG_0008.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5899693692743547537.post-9051936473998751607</id><published>2023-05-09T16:23:00.003+08:00</published><updated>2023-05-09T16:25:26.084+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="browser"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><title type='text'>javascript檢查瀏覽器</title><content type='html'>&lt;p&gt;&lt;/p&gt;&lt;p&gt;輸出瀏覽器資訊&lt;/p&gt;&lt;p&gt;document.getElementById(&quot;showbrowser&quot;).innerHTML = navigator.userAgent;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;lt;div id=&#39;showbrowser&#39;&amp;gt;&amp;lt;/div&amp;gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;確認各家瀏覽器&lt;/p&gt;&lt;p&gt;var isChrome = (navigator.userAgent.indexOf(&quot;Chrome&quot;) &amp;gt; -1) &amp;amp;&amp;amp; (navigator.userAgent.indexOf(&quot;Safari&quot;) &amp;gt; -1);&lt;/p&gt;&lt;p&gt;var isIOSChrome = navigator.userAgent.indexOf(&quot;CriOS&quot;) &amp;gt; -1;&lt;/p&gt;&lt;p&gt;var isAndroidChrome = (navigator.userAgent.indexOf(&quot;Android&quot;) &amp;gt; -1) &amp;amp;&amp;amp; (navigator.userAgent.indexOf(&quot;Chrome&quot;) &amp;gt; -1) &amp;amp;&amp;amp; (navigator.userAgent.indexOf(&quot;Safari&quot;) &amp;gt; -1);&lt;/p&gt;&lt;p&gt;var isMacOSSafari = (navigator.userAgent.indexOf(&quot;Macintosh&quot;) &amp;gt; -1) &amp;amp;&amp;amp; (navigator.userAgent.indexOf(&quot;Safari&quot;) &amp;gt; -1);&lt;/p&gt;&lt;p&gt;var isiPhoneSafari = (navigator.userAgent.indexOf(&quot;iPhone&quot;) &amp;gt; -1) &amp;amp;&amp;amp; (navigator.userAgent.indexOf(&quot;Safari&quot;) &amp;gt; -1);&lt;/p&gt;&lt;p&gt;var isEdge = (navigator.userAgent.indexOf(&quot;Chrome&quot;) &amp;gt; -1) &amp;amp;&amp;amp; (navigator.userAgent.indexOf(&quot;Safari&quot;) &amp;gt; -1) &amp;amp;&amp;amp; (navigator.userAgent.indexOf(&quot;Edg&quot;) &amp;gt; -1);&lt;/p&gt;&lt;blockquote&gt;&lt;div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;p&gt;var isFirefox = navigator.userAgent.indexOf(&quot;Firefox&quot;) &amp;gt; -1;&lt;/p&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cuyang.blogspot.com/feeds/9051936473998751607/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5899693692743547537/9051936473998751607' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/9051936473998751607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/9051936473998751607'/><link rel='alternate' type='text/html' href='http://cuyang.blogspot.com/2023/05/javascript.html' title='javascript檢查瀏覽器'/><author><name>Mike Yang</name><uri>http://www.blogger.com/profile/14105652351865827641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDNIm3xO_vPpADsuaF23Mgca-Va72l5oyEtBCyII7MCNS6rPCqOpufeYOluvKEWUVjIeL175m9lU54dqNrvXZKAwbY9Vb_W3-bNanyMY2pnlnUD7gbqUy3YvXziX6b2w/s150/IMG_0008.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5899693692743547537.post-7938535443440455172</id><published>2023-04-21T10:19:00.002+08:00</published><updated>2023-04-21T10:19:31.650+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="螢幕縮放比例"/><title type='text'>C# 抓取螢幕縮放比例</title><content type='html'>&lt;br /&gt;using Microsoft.Win32;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;public static int DefaultscalingFactor = 96; &lt;br /&gt;public static int scalingFactor = 0;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;//取得目前的數值&lt;br /&gt;var reg_url = &quot;Control Panel\\Desktop\\WindowMetrics&quot;;&lt;br /&gt;scalingFactor = int.Parse(Registry.CurrentUser.OpenSubKey(reg_url).GetValue(&quot;AppliedDPI&quot;).ToString());&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;//螢幕縮放比例&amp;nbsp;&lt;/div&gt;&lt;div&gt;scale = scalingFactor / DefaultscalingFactor;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cuyang.blogspot.com/feeds/7938535443440455172/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5899693692743547537/7938535443440455172' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/7938535443440455172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/7938535443440455172'/><link rel='alternate' type='text/html' href='http://cuyang.blogspot.com/2023/04/c.html' title='C# 抓取螢幕縮放比例'/><author><name>Mike Yang</name><uri>http://www.blogger.com/profile/14105652351865827641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDNIm3xO_vPpADsuaF23Mgca-Va72l5oyEtBCyII7MCNS6rPCqOpufeYOluvKEWUVjIeL175m9lU54dqNrvXZKAwbY9Vb_W3-bNanyMY2pnlnUD7gbqUy3YvXziX6b2w/s150/IMG_0008.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5899693692743547537.post-6370685879390010632</id><published>2022-09-06T16:02:00.002+08:00</published><updated>2022-09-06T16:02:39.419+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="win10"/><category scheme="http://www.blogger.com/atom/ns#" term="windows update"/><title type='text'>windows 10 版本更新</title><content type='html'>&lt;p&gt;&amp;nbsp;安裝了windows 10 20H2，怎麼按windows update都不會出現21H2的更新，所以上網找了一下解法。&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;到以下微軟網站下載Windwos10更新小幫手，然後執行更新即可&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://www.microsoft.com/zh-tw/software-download/windows10&quot;&gt;https://www.microsoft.com/zh-tw/software-download/windows10&lt;/a&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://cuyang.blogspot.com/feeds/6370685879390010632/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5899693692743547537/6370685879390010632' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/6370685879390010632'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/6370685879390010632'/><link rel='alternate' type='text/html' href='http://cuyang.blogspot.com/2022/09/windows-10.html' title='windows 10 版本更新'/><author><name>Mike Yang</name><uri>http://www.blogger.com/profile/14105652351865827641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDNIm3xO_vPpADsuaF23Mgca-Va72l5oyEtBCyII7MCNS6rPCqOpufeYOluvKEWUVjIeL175m9lU54dqNrvXZKAwbY9Vb_W3-bNanyMY2pnlnUD7gbqUy3YvXziX6b2w/s150/IMG_0008.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5899693692743547537.post-1646279743772027282</id><published>2022-09-05T17:24:00.000+08:00</published><updated>2022-09-05T17:24:57.191+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="powershell"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>使用powershell修改檔案修改日期</title><content type='html'>&lt;p&gt;之前在同步nextcloud時，發現有些檔案沒有修改日期&lt;/p&gt;&lt;p&gt;在command line下看時間都是1970/1/1，導致資料同步失敗&lt;/p&gt;&lt;p&gt;後來發現，只要檔案有更新，就會恢復同步的功能&lt;/p&gt;&lt;p&gt;所以研究了powershell，將所有檔案(包含子資料夾)的修改日期為1970/1/1的列出&lt;/p&gt;&lt;p&gt;然後將現在時間寫入lastwritetime欄位。&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;以下為powershell程式碼&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;# 取得檔案清單&lt;/p&gt;&lt;p&gt;$list = get-childitem -recurse -path &quot;D:\NextCloud&quot; | where-object {$_.LastWriteTime.Year -eq &quot;1970&quot;} | %{$_.FullName}&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;#變更修改日期&lt;/p&gt;&lt;p&gt;foreach($file in $list){(get-item $file).LastWriteTime =(get-date)}&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://cuyang.blogspot.com/feeds/1646279743772027282/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5899693692743547537/1646279743772027282' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/1646279743772027282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/1646279743772027282'/><link rel='alternate' type='text/html' href='http://cuyang.blogspot.com/2022/09/powershell.html' title='使用powershell修改檔案修改日期'/><author><name>Mike Yang</name><uri>http://www.blogger.com/profile/14105652351865827641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDNIm3xO_vPpADsuaF23Mgca-Va72l5oyEtBCyII7MCNS6rPCqOpufeYOluvKEWUVjIeL175m9lU54dqNrvXZKAwbY9Vb_W3-bNanyMY2pnlnUD7gbqUy3YvXziX6b2w/s150/IMG_0008.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5899693692743547537.post-1069141404335483840</id><published>2022-06-10T16:07:00.001+08:00</published><updated>2022-06-14T22:19:21.022+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="openvas"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>OpenVAS on Ubuntu 20.04</title><content type='html'>&lt;p&gt;# 更新系統&lt;/p&gt;&lt;p&gt;&amp;gt; sudo apt update&lt;/p&gt;&lt;p&gt;&amp;gt; sudo apt upgrade&lt;/p&gt;&lt;p&gt;&amp;gt; sudo apt dist-upgrade&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;# 抓取script&lt;/p&gt;&lt;p&gt;&amp;gt; wget https://raw.githubusercontent.com/yu210148/gvm_install/master/install_gvm.sh&lt;/p&gt;&lt;p&gt;&amp;gt; chmod +x install_gvm.sh&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;# 執行script&lt;/p&gt;&lt;p&gt;&amp;gt; sudo ./install_gvm.sh -v 21 -a -u&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://cuyang.blogspot.com/feeds/1069141404335483840/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5899693692743547537/1069141404335483840' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/1069141404335483840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/1069141404335483840'/><link rel='alternate' type='text/html' href='http://cuyang.blogspot.com/2022/06/openvas-on-ubuntu.html' title='OpenVAS on Ubuntu 20.04'/><author><name>Mike Yang</name><uri>http://www.blogger.com/profile/14105652351865827641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDNIm3xO_vPpADsuaF23Mgca-Va72l5oyEtBCyII7MCNS6rPCqOpufeYOluvKEWUVjIeL175m9lU54dqNrvXZKAwbY9Vb_W3-bNanyMY2pnlnUD7gbqUy3YvXziX6b2w/s150/IMG_0008.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5899693692743547537.post-2801327582141650366</id><published>2021-07-22T10:38:00.003+08:00</published><updated>2021-07-22T10:38:54.927+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ai"/><category scheme="http://www.blogger.com/atom/ns#" term="chatterbot"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>chatterbot 1.0.8 安裝紀錄</title><content type='html'>&lt;p&gt;建立conda環境&lt;/p&gt;&lt;p&gt;&amp;gt;&amp;nbsp;conda create --name chatterbot python=3.6&lt;/p&gt;&lt;p&gt;啟動環境&lt;/p&gt;&lt;p&gt;&amp;gt; conda activate chatterbot&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;安裝chatterbot及語料庫&lt;/p&gt;&lt;p&gt;&amp;gt; pip install chatterbot&lt;/p&gt;&lt;p&gt;&amp;gt; pip install chatterbot_corpus&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;安裝spacy&lt;/p&gt;&lt;p&gt;* 沒有安裝的話，執行範例的時候會出現錯誤&lt;/p&gt;&lt;p&gt;&amp;gt; pip install spacy==2.1.8&lt;/p&gt;&lt;p&gt;&amp;gt; python -m spacy download en&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;範例&lt;/p&gt;&lt;p&gt;from chatterbot import ChatBot&lt;/p&gt;&lt;p&gt;from chatterbot.trainers import ListTrainer&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;# Create a new chat bot named Charlie&lt;/p&gt;&lt;p&gt;chatbot = ChatBot(&#39;Charlie&#39;)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;trainer = ListTrainer(chatbot)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;trainer.train([&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &quot;Hi, can I help you?&quot;,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &quot;Sure, I&#39;d like to book a flight to Iceland.&quot;,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &quot;Your flight has been booked.&quot;&lt;/p&gt;&lt;p&gt;])&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;# Get a response to the input text &#39;I would like to book a flight.&#39;&lt;/p&gt;&lt;p&gt;response = chatbot.get_response(&#39;I would like to book a flight.&#39;)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;print(response)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;參考網站：&lt;a href=&quot;https://chatterbot.readthedocs.io/en/stable/examples.html&quot;&gt;https://chatterbot.readthedocs.io/en/stable/examples.html&lt;/a&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://cuyang.blogspot.com/feeds/2801327582141650366/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5899693692743547537/2801327582141650366' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/2801327582141650366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/2801327582141650366'/><link rel='alternate' type='text/html' href='http://cuyang.blogspot.com/2021/07/chatterbot-108.html' title='chatterbot 1.0.8 安裝紀錄'/><author><name>Mike Yang</name><uri>http://www.blogger.com/profile/14105652351865827641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDNIm3xO_vPpADsuaF23Mgca-Va72l5oyEtBCyII7MCNS6rPCqOpufeYOluvKEWUVjIeL175m9lU54dqNrvXZKAwbY9Vb_W3-bNanyMY2pnlnUD7gbqUy3YvXziX6b2w/s150/IMG_0008.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5899693692743547537.post-1556374452553377405</id><published>2020-11-12T14:13:00.002+08:00</published><updated>2020-11-12T14:13:21.709+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cisco"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><title type='text'>修正cisco switch ssh無法連線問題</title><content type='html'>&lt;p&gt;指令&lt;/p&gt;&lt;p&gt;switch#conf t&lt;/p&gt;&lt;p&gt;switch#crypto key zeroize&lt;/p&gt;&lt;p&gt;switch#crypto key generate rsa general-keys modulus 2048&lt;/p&gt;&lt;p&gt;switch#end&lt;/p&gt;&lt;p&gt;switch#wr&lt;/p&gt;&lt;blockquote&gt;&lt;blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;連線時出現的錯誤訊息&lt;/p&gt;&lt;p&gt;Unable to negotiate with 192.168.0.1 port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;修改後的連線方式&lt;/p&gt;&lt;p&gt;ssh -o KexAlgorithms=+diffie-hellman-group1-sha1 -c aes256-cbc user@192.168.0.1&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://cuyang.blogspot.com/feeds/1556374452553377405/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5899693692743547537/1556374452553377405' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/1556374452553377405'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/1556374452553377405'/><link rel='alternate' type='text/html' href='http://cuyang.blogspot.com/2020/11/cisco-switch-ssh.html' title='修正cisco switch ssh無法連線問題'/><author><name>Mike Yang</name><uri>http://www.blogger.com/profile/14105652351865827641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDNIm3xO_vPpADsuaF23Mgca-Va72l5oyEtBCyII7MCNS6rPCqOpufeYOluvKEWUVjIeL175m9lU54dqNrvXZKAwbY9Vb_W3-bNanyMY2pnlnUD7gbqUy3YvXziX6b2w/s150/IMG_0008.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5899693692743547537.post-9126893690304497030</id><published>2020-10-26T15:54:00.000+08:00</published><updated>2020-10-26T15:54:19.698+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="openvas"/><category scheme="http://www.blogger.com/atom/ns#" term="弱點掃描"/><title type='text'>OpenVAS on CentOS 8</title><content type='html'>&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;參考網站&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;https://www.libellux.com/openvas/#install-openvas-20-08-centos&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;== 更新 CentOS ==&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;server@centos:~$ sudo yum -y update&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;== 關閉root可以登入ssh ==&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;server@centos:~$ sudo nano /etc/ssh/sshd_config&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;PermitRootLogin no&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;server@centos:~$ sudo systemctl restart sshd.service&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;server@centos:~$ sudo yum update&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;server@centos:~$ sudo nano /etc/ssh/sshd_config&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;PermitRootLogin no&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;server@centos:~$ sudo systemctl restart sshd.service&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;server@centos:~$ sudo yum update&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;== 查看SELinux狀態 ==&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;server@centos:~$ sudo sestatus&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;SELinux status:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;enabled&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;== 關閉SELinux ==&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;server@centos:~$ sudo setenforce 0&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;server@centos:~$ sudo nano /etc/selinux/config&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;# This file controls the state of SELinux on the system.&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;# SELINUX= can take one of these three values:&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp;enforcing - SELinux security policy is enforced.&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp;permissive - SELinux prints warnings instead of enforcing.&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;#&amp;nbsp; &amp;nbsp; &amp;nbsp;disabled - No SELinux policy is loaded.&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;SELINUX=disabled&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;== 重新開機 ==&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;server@centos:~$ sudo shutdown -r now&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;== 再次確認SELinux狀態 ==&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;server@centos:~$ sudo sestatus&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;SELinux status:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;disabled&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;== 安裝 wget ==&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;server@centos:~$ sudo yum install wget&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;== download the Atomicorp installer ==&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;server@centos:~$ wget -q -O - https://updates.atomicorp.com/installers/atomic | sudo sh&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;For supported software packages please contact us at:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;&amp;nbsp; sales@atomicorp.com&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;Do you agree to these terms? (yes/no) [Default: yes] yes&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;Enable repo by default? (yes/no) [Default: yes]: yes&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;== Enable PowerTools and install extra packages ==&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;server@centos:~$ sudo yum config-manager --set-enabled PowerTools&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;server@centos:~$ sudo yum install epel-release&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;== 安裝 gvm ==&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;server@centos:~$ sudo yum install gvm&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;== 更新及設定admin密碼(這個跑很久) ==&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;server@centos:~$ sudo gvm-setup&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Roboto, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;== 進入網站 ==&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;https://127.0.0.1/&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;https://ipv4/&lt;/span&gt;&lt;/p&gt;&lt;p id=&quot;bkmrk-%E5%8F%83%E8%80%83%E7%B6%B2%E7%AB%99https%3A%2F%2Fwww.libe&quot; style=&quot;background-color: white; border: 0px; box-sizing: border-box; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0.3em 0px 1.375em; outline-color: rgb(68, 68, 68); overflow-wrap: break-word; padding: 0px; vertical-align: baseline; word-break: break-word;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: -apple-system, BlinkMacSystemFont, &amp;quot;Segoe UI&amp;quot;, Oxygen, Ubuntu, Roboto, Cantarell, &amp;quot;Fira Sans&amp;quot;, &amp;quot;Droid Sans&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, sans-serif; font-size: 14px;&quot;&gt;https://[ipv6]/&lt;/span&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://cuyang.blogspot.com/feeds/9126893690304497030/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5899693692743547537/9126893690304497030' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/9126893690304497030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/9126893690304497030'/><link rel='alternate' type='text/html' href='http://cuyang.blogspot.com/2020/10/openvas-on-centos-8.html' title='OpenVAS on CentOS 8'/><author><name>Mike Yang</name><uri>http://www.blogger.com/profile/14105652351865827641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDNIm3xO_vPpADsuaF23Mgca-Va72l5oyEtBCyII7MCNS6rPCqOpufeYOluvKEWUVjIeL175m9lU54dqNrvXZKAwbY9Vb_W3-bNanyMY2pnlnUD7gbqUy3YvXziX6b2w/s150/IMG_0008.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5899693692743547537.post-3072991920704248561</id><published>2020-10-06T09:21:00.004+08:00</published><updated>2020-10-12T15:03:54.236+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="chrome"/><category scheme="http://www.blogger.com/atom/ns#" term="edge"/><title type='text'>Chrome 啟動參數</title><content type='html'>&lt;p&gt;路徑&lt;/p&gt;
&lt;p&gt;&quot;C:\Users\Duck\AppData\Local\Google\Chrome\Application\chrome.exe&quot;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&quot;C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe&quot;&lt;/p&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;參數&lt;/div&gt;
&lt;table style=&quot;border-collapse: collapse; border: 1px solid black;&quot;&gt;
&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;border: 1px solid black; padding: 10px;&quot;&gt;--proxy-server=myproxy:3128&lt;/td&gt;&lt;td style=&quot;border: 1px solid black; padding: 10px;&quot;&gt;設定proxy&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1px solid black; padding: 10px;&quot;&gt;--incognito&lt;/td&gt;&lt;td style=&quot;border: 1px solid black; padding: 10px;&quot;&gt;無痕模式&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1px solid black; padding: 10px;&quot;&gt;--kiosk&lt;/td&gt;&lt;td style=&quot;border: 1px solid black; padding: 10px;&quot;&gt;啟動時全螢幕(F11無效)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1px solid black; padding: 10px;&quot;&gt;--disable-pinch&lt;/td&gt;&lt;td style=&quot;border: 1px solid black; padding: 10px;&quot;&gt;禁止兩指縮放螢幕&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1px solid black; padding: 10px;&quot;&gt;--overscroll-history-navigation=0&lt;/td&gt;&lt;td style=&quot;border: 1px solid black; padding: 10px;&quot;&gt;禁止螢幕滑動&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1px solid black; padding: 10px;&quot;&gt;--disable-javascript&lt;/td&gt;&lt;td style=&quot;border: 1px solid black; padding: 10px;&quot;&gt;禁止javascript&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1px solid black; padding: 10px;&quot;&gt;--disable-ipv6&lt;/td&gt;&lt;td style=&quot;border: 1px solid black; padding: 10px;&quot;&gt;禁止ipv6&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1px solid black; padding: 10px;&quot;&gt;--disable-desktop-notifications&lt;/td&gt;&lt;td style=&quot;border: 1px solid black; padding: 10px;&quot;&gt;禁止提示&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border: 1px solid black; padding: 10px;&quot;&gt;--disable-audio&lt;/td&gt;&lt;td style=&quot;border: 1px solid black; padding: 10px;&quot;&gt;禁止audio&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

</content><link rel='replies' type='application/atom+xml' href='http://cuyang.blogspot.com/feeds/3072991920704248561/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5899693692743547537/3072991920704248561' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/3072991920704248561'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/3072991920704248561'/><link rel='alternate' type='text/html' href='http://cuyang.blogspot.com/2020/10/chrome-edge-proxy.html' title='Chrome 啟動參數'/><author><name>Mike Yang</name><uri>http://www.blogger.com/profile/14105652351865827641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDNIm3xO_vPpADsuaF23Mgca-Va72l5oyEtBCyII7MCNS6rPCqOpufeYOluvKEWUVjIeL175m9lU54dqNrvXZKAwbY9Vb_W3-bNanyMY2pnlnUD7gbqUy3YvXziX6b2w/s150/IMG_0008.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5899693692743547537.post-6347818608242886746</id><published>2020-08-27T12:18:00.000+08:00</published><updated>2020-08-27T12:18:03.757+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="command"/><category scheme="http://www.blogger.com/atom/ns#" term="virtualbox"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>VirtualBox cli 控制命令</title><content type='html'>&lt;p&gt;&amp;nbsp;啟動ＶＭ&lt;/p&gt;&lt;p&gt;&quot;C:\Program Files\Oracle\VirtualBox\VBoxManage.exe&quot; startvm &lt;span style=&quot;background-color: #9fc5e8;&quot;&gt;{name / uuid}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;背景啟動ＶＭ&lt;/p&gt;&lt;p&gt;&quot;C:\Program Files\Oracle\VirtualBox\VBoxManage.exe&quot; startvm&amp;nbsp;&lt;span style=&quot;background-color: #9fc5e8;&quot;&gt;{name / uuid}&lt;/span&gt;&amp;nbsp;--type headless&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;列出所有的ＶＭ&lt;/p&gt;&lt;p&gt;&quot;C:\Program Files\Oracle\VirtualBox\VBoxManage.exe&quot; list vms&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;列出所有執行中的ＶＭ&lt;/p&gt;&lt;p&gt;&quot;C:\Program Files\Oracle\VirtualBox\VBoxManage.exe&quot; list runningvms&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;暫停ＶＭ&lt;/p&gt;&lt;p&gt;&quot;C:\Program Files\Oracle\VirtualBox\VBoxManage.exe&quot; controlvm&amp;nbsp;&lt;span style=&quot;background-color: #9fc5e8;&quot;&gt;{name / uuid}&lt;/span&gt;&amp;nbsp;pause&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;啟動暫停的ＶＭ&lt;/p&gt;&lt;p&gt;&quot;C:\Program Files\Oracle\VirtualBox\VBoxManage.exe&quot; controlvm&amp;nbsp;&lt;span style=&quot;background-color: #9fc5e8;&quot;&gt;{name / uuid}&lt;/span&gt;&amp;nbsp;resume&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;重設ＶＭ&lt;/p&gt;&lt;p&gt;&quot;C:\Program Files\Oracle\VirtualBox\VBoxManage.exe&quot; controlvm&amp;nbsp;&lt;span style=&quot;background-color: #9fc5e8;&quot;&gt;{name / uuid}&lt;/span&gt;&amp;nbsp;reset&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;強制關機&lt;/p&gt;&lt;p&gt;&quot;C:\Program Files\Oracle\VirtualBox\VBoxManage.exe&quot; controlvm&amp;nbsp;&lt;span style=&quot;background-color: #9fc5e8;&quot;&gt;{name / uuid}&lt;/span&gt;&amp;nbsp;poweroff&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;關機&lt;/p&gt;&lt;p&gt;&quot;C:\Program Files\Oracle\VirtualBox\VBoxManage.exe&quot; controlvm&amp;nbsp;&lt;span style=&quot;background-color: #9fc5e8;&quot;&gt;{name / uuid}&lt;/span&gt;&amp;nbsp;acpipowerbutton&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;查看ＶＭ裡的ＩＰ設定 （需安裝agent)&lt;/p&gt;&lt;p&gt;&quot;C:\Program Files\Oracle\VirtualBox\VBoxManage.exe&quot; guestproperty get&amp;nbsp;&lt;span style=&quot;background-color: #9fc5e8;&quot;&gt;{name / uuid}&lt;/span&gt;&amp;nbsp;&quot;/VirtualBox/GuestInfo/Net/0/V4/IP&quot;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://cuyang.blogspot.com/feeds/6347818608242886746/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5899693692743547537/6347818608242886746' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/6347818608242886746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/6347818608242886746'/><link rel='alternate' type='text/html' href='http://cuyang.blogspot.com/2020/08/virtualbox-cli.html' title='VirtualBox cli 控制命令'/><author><name>Mike Yang</name><uri>http://www.blogger.com/profile/14105652351865827641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDNIm3xO_vPpADsuaF23Mgca-Va72l5oyEtBCyII7MCNS6rPCqOpufeYOluvKEWUVjIeL175m9lU54dqNrvXZKAwbY9Vb_W3-bNanyMY2pnlnUD7gbqUy3YvXziX6b2w/s150/IMG_0008.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5899693692743547537.post-4903901637807857585</id><published>2020-08-24T14:46:00.000+08:00</published><updated>2020-08-24T14:46:01.378+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="freebsd"/><category scheme="http://www.blogger.com/atom/ns#" term="letsencrypt"/><category scheme="http://www.blogger.com/atom/ns#" term="ssl"/><title type='text'>FreeBSD apache24 with letsencrypt</title><content type='html'>&lt;p&gt;安裝&lt;/p&gt;&lt;p&gt;pkg install py37-certbot&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;----------&lt;/p&gt;&lt;p&gt;先測試是否可正常下載憑證&lt;/p&gt;&lt;p&gt;certbot certonly --standalone -d&amp;nbsp;example.tw&amp;nbsp;--dry-run&lt;/p&gt;&lt;p&gt;成功的話再下&lt;/p&gt;&lt;p&gt;certbot certonly --standalone -d example.tw&lt;/p&gt;&lt;p&gt;檔案會放在&lt;/p&gt;&lt;p&gt;/usr/local/etc/letsencrypt/live/example.tw/&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;----------&lt;/p&gt;&lt;p&gt;編輯httpd.conf&lt;/p&gt;&lt;p&gt;Listen 443&lt;/p&gt;&lt;p&gt;LoadModule ssl_module libexec/apache24/mod_ssl.so&lt;/p&gt;&lt;p&gt;&amp;lt;VirtualHost *:443&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; ServerName example.tw&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; DocumentRoot /home/example/www&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; SSLEngine on&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; SSLCertificateFile &quot;/usr/local/etc/letsencrypt/live/example.tw/cert.pem&quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; SSLCertificateKeyFile &quot;/usr/local/etc/letsencrypt/live/example.tw/privkey.pem&quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; SSLCertificateChainFile /usr/local/etc/letsencrypt/live/example.tw/chain.pem&lt;/p&gt;&lt;p&gt;&amp;lt;/VirtualHost&amp;gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://cuyang.blogspot.com/feeds/4903901637807857585/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5899693692743547537/4903901637807857585' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/4903901637807857585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/4903901637807857585'/><link rel='alternate' type='text/html' href='http://cuyang.blogspot.com/2020/08/freebsd-apache24-with-letsencrypt.html' title='FreeBSD apache24 with letsencrypt'/><author><name>Mike Yang</name><uri>http://www.blogger.com/profile/14105652351865827641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDNIm3xO_vPpADsuaF23Mgca-Va72l5oyEtBCyII7MCNS6rPCqOpufeYOluvKEWUVjIeL175m9lU54dqNrvXZKAwbY9Vb_W3-bNanyMY2pnlnUD7gbqUy3YvXziX6b2w/s150/IMG_0008.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5899693692743547537.post-6432318382282598398</id><published>2020-08-24T12:34:00.001+08:00</published><updated>2026-08-03T11:07:15.182+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="freebsd"/><category scheme="http://www.blogger.com/atom/ns#" term="mod_security"/><title type='text'>FreeBSD apache24 with mod_security</title><content type='html'>&lt;p&gt;&amp;nbsp;安裝&lt;/p&gt;&lt;p&gt;pkg install ap24-mod_security&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;----------&lt;/p&gt;&lt;p&gt;apache24啟用mod_security&lt;/p&gt;&lt;p&gt;*把註解拿掉&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;ee /usr/local/etc/apache24/modules.d/280_mod_security.conf&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;LoadModule unique_id_module libexec/apache24/mod_unique_id.so&lt;/p&gt;&lt;p&gt;LoadModule security2_module libexec/apache24/mod_security2.so&lt;/p&gt;&lt;p&gt;Include /usr/local/etc/modsecurity/*.conf&lt;/p&gt;&lt;p&gt;Include /usr/local/etc/modsecurity/activated_rules/*.conf&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;----------&lt;/p&gt;&lt;p&gt;抓取core rule set檔案&lt;/p&gt;&lt;p&gt;fetch https://github.com/coreruleset/coreruleset/archive/v4.28.0.tar.gz&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;tar zxvf v4.28.0.tar.gz&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;cd coreruleset-4.28.0&lt;/p&gt;&lt;p&gt;cp crs-setup.conf.example /usr/local/etc/modsecurity/crs-setup.conf&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;cd rules&lt;/p&gt;&lt;p&gt;cp * /usr/local/etc/modsecurity/activated_rules/&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;----------&lt;/p&gt;&lt;p&gt;重新啟動apache&lt;/p&gt;&lt;p&gt;service apache24 restart&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;----------&lt;/p&gt;&lt;p&gt;驗證是否更新成功&lt;/p&gt;&lt;p&gt;grep -h -m 1 &#39;OWASP CRS ver.&#39; /usr/local/etc/modsecurity/activated_rules/*.conf | sort -u&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;----------&lt;/p&gt;&lt;p&gt;測試&lt;/p&gt;&lt;p&gt;開啟一個不存在的網頁&lt;/p&gt;&lt;p&gt;http://example.com/aaaa.php&lt;/p&gt;&lt;p&gt;or&lt;/p&gt;&lt;p&gt;curl -Ik https://example.tw/?abc=../../&lt;/p&gt;&lt;p&gt;可以在/var/log/modsec_audit.log看到紀錄&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://cuyang.blogspot.com/feeds/6432318382282598398/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5899693692743547537/6432318382282598398' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/6432318382282598398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/6432318382282598398'/><link rel='alternate' type='text/html' href='http://cuyang.blogspot.com/2020/08/freebsd-apache24-with-modsecurity.html' title='FreeBSD apache24 with mod_security'/><author><name>Mike Yang</name><uri>http://www.blogger.com/profile/14105652351865827641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDNIm3xO_vPpADsuaF23Mgca-Va72l5oyEtBCyII7MCNS6rPCqOpufeYOluvKEWUVjIeL175m9lU54dqNrvXZKAwbY9Vb_W3-bNanyMY2pnlnUD7gbqUy3YvXziX6b2w/s150/IMG_0008.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5899693692743547537.post-5065784811742551220</id><published>2020-08-13T09:08:00.000+08:00</published><updated>2020-08-13T09:08:00.296+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="command"/><category scheme="http://www.blogger.com/atom/ns#" term="freebsd"/><title type='text'>FreeBSD 刪除 n 天前的檔案</title><content type='html'>&lt;p&gt;&amp;nbsp;find ./ -mtime +7d -exec rm {} \;&lt;/p&gt;&lt;p&gt;7就是7天，更改天數數字即可。&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://cuyang.blogspot.com/feeds/5065784811742551220/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5899693692743547537/5065784811742551220' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/5065784811742551220'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/5065784811742551220'/><link rel='alternate' type='text/html' href='http://cuyang.blogspot.com/2020/08/freebsd-n.html' title='FreeBSD 刪除 n 天前的檔案'/><author><name>Mike Yang</name><uri>http://www.blogger.com/profile/14105652351865827641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDNIm3xO_vPpADsuaF23Mgca-Va72l5oyEtBCyII7MCNS6rPCqOpufeYOluvKEWUVjIeL175m9lU54dqNrvXZKAwbY9Vb_W3-bNanyMY2pnlnUD7gbqUy3YvXziX6b2w/s150/IMG_0008.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5899693692743547537.post-1942208243025800765</id><published>2019-05-24T14:20:00.000+08:00</published><updated>2019-05-24T14:20:51.827+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="freebsd"/><category scheme="http://www.blogger.com/atom/ns#" term="nikto"/><category scheme="http://www.blogger.com/atom/ns#" term="web"/><category scheme="http://www.blogger.com/atom/ns#" term="網路"/><title type='text'>nikto 安裝及使用</title><content type='html'>#安裝&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;gt;pkg install perl5&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;gt;pkg install git&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;gt;git clone https://github.com/sullo/nikto.git Nikto2&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
#更新&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;gt;cd Nikto2&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;gt;git pull&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
#使用&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;gt;cd Nikto2/program&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
##掃描https&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;gt;perl nikto.pl -h https://123.edu.tw/ -ssl&lt;/span&gt;&lt;br /&gt;
##掃描http&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;gt;perl nikto.pl -h http://123.edu.tw/&lt;/span&gt;&lt;br /&gt;
##掃描特定資料夾&lt;br /&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&amp;gt;perl nikto.pl -h http://123.edu.tw/billing/&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://cuyang.blogspot.com/feeds/1942208243025800765/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5899693692743547537/1942208243025800765' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/1942208243025800765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/1942208243025800765'/><link rel='alternate' type='text/html' href='http://cuyang.blogspot.com/2019/05/nikto.html' title='nikto 安裝及使用'/><author><name>Mike Yang</name><uri>http://www.blogger.com/profile/14105652351865827641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDNIm3xO_vPpADsuaF23Mgca-Va72l5oyEtBCyII7MCNS6rPCqOpufeYOluvKEWUVjIeL175m9lU54dqNrvXZKAwbY9Vb_W3-bNanyMY2pnlnUD7gbqUy3YvXziX6b2w/s150/IMG_0008.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5899693692743547537.post-7505975268462273801</id><published>2019-01-25T14:50:00.000+08:00</published><updated>2019-01-25T14:52:09.776+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ai"/><category scheme="http://www.blogger.com/atom/ns#" term="chatterbot"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>chatterbot 從0.8.7升級到1.0.0遇到的狀況處理</title><content type='html'>原來0.8.7的用法&lt;br /&gt;
&lt;br /&gt;
&#39;import_path&#39; : &#39;chatterbot.logic.LowConfidenceAdapter&#39;,&lt;br /&gt;
&#39;threshold&#39; : 0, //0.0-1.0&lt;br /&gt;
&#39;default_response&#39; : &#39;很抱歉，我聽不懂您的問題。&#39;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
1.0.0的時候拿掉了LowConfidenceAdapter，所以改成&lt;/div&gt;
&lt;div&gt;
&#39;import_path&#39; : &#39;chatterbot.logic.BestMatch&#39;,&lt;br /&gt;
&#39;maximum_similarity_threshold&#39; : 0, //0.0-1.0&lt;br /&gt;
&#39;default_response&#39; : &#39;很抱歉，我聽不懂您的問題。&#39;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
**如果沒有設定maximum_similarity_threshold的話，預設值是0.95&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://cuyang.blogspot.com/feeds/7505975268462273801/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/5899693692743547537/7505975268462273801' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/7505975268462273801'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5899693692743547537/posts/default/7505975268462273801'/><link rel='alternate' type='text/html' href='http://cuyang.blogspot.com/2019/01/chatterbot-087100.html' title='chatterbot 從0.8.7升級到1.0.0遇到的狀況處理'/><author><name>Mike Yang</name><uri>http://www.blogger.com/profile/14105652351865827641</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDNIm3xO_vPpADsuaF23Mgca-Va72l5oyEtBCyII7MCNS6rPCqOpufeYOluvKEWUVjIeL175m9lU54dqNrvXZKAwbY9Vb_W3-bNanyMY2pnlnUD7gbqUy3YvXziX6b2w/s150/IMG_0008.JPG'/></author><thr:total>0</thr:total></entry></feed>