<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[小河的電腦筆記 - linux]]></title>
<link>/</link>
<description><![CDATA[手把青秧插滿田,低頭便見水中天;六根清淨方為道,退步原來是向前]]></description>
<language>zh-cn</language>
<copyright><![CDATA[Copyright 2005 PBlog3 v2.8]]></copyright>
<webMaster><![CDATA[tseng@dlps.tp.edu.tw(小河)]]></webMaster>
<generator>PBlog2 v2.4</generator> 
<image>
	<title>小河的電腦筆記</title>
	<url>/images/logos.gif</url>
	<link>/</link>
	<description>小河的電腦筆記</description>
</image>

			<item>
			<link>/article.asp?id=144</link>
			<title><![CDATA[使用WSL2 安装 Docker]]></title>
			<author>tseng@dlps.tp.edu.tw(tseng)</author>
			<category><![CDATA[linux]]></category>
			<pubDate>Tue,24 Feb 2026 14:15:13 +0800</pubDate>
			<guid>/default.asp?id=144</guid>
		<description><![CDATA[<p><strong><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">安裝&nbsp;</font></font><code dir="ltr" class="o8j0Mc" jscontroller="PR9Qj" jsuid="YPT2zd_c" data-complete="true" data-sae="" style="font-size: 14px; line-height: 22px; background-color: rgb(240, 242, 245); border-color: rgb(240, 242, 245); border-style: solid; border-width: 1px; border-image: none 100% / 1 / 0 stretch; border-radius: 4px; padding: 2px 4px; color: rgb(10, 10, 10);">curl</code><span style="color: rgb(10, 10, 10); font-family: Arial, sans-serif; font-size: 16px;"><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">&nbsp;工具</font></font></span></strong></p>
<p><span style="background-color: rgb(240, 242, 245); color: rgb(10, 10, 10); font-size: 14px;"><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">sudo apt update &amp;&amp; sudo apt install curl -y</font></font></span></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">下載</font></font></p>
<p><span style="font-family: Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space-collapse: preserve;"><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">curl -fsSL https://get.docker.com -o get-docker.sh</font></font></span></p>
<p><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">安裝</font></font></p>
<p><span style="font-family: Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space-collapse: preserve;"><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">sudo sh get-docker.sh</font></font></span></p>
<p><span style="font-family: Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space-collapse: preserve;"><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">sudo usermod -aG docker </font></font></span><span class="hljs-variable" style="box-sizing: border-box; color: rgb(0, 128, 0); font-family: Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space-collapse: preserve;"><font dir="auto" style="vertical-align: inherit;"><font dir="auto" style="vertical-align: inherit;">$USER</font></font></span></p>
<p><span style="font-family: Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space-collapse: preserve;">systemctl status docker.service</span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></description>
		</item>
		
			<item>
			<link>/article.asp?id=143</link>
			<title><![CDATA[WSL2]]></title>
			<author>tseng@dlps.tp.edu.tw(tseng)</author>
			<category><![CDATA[linux]]></category>
			<pubDate>Tue,24 Feb 2026 13:54:00 +0800</pubDate>
			<guid>/default.asp?id=143</guid>
		<description><![CDATA[wsl.exe --install -d Ubuntu<br/><br/>wsl --list --online 查看可安裝的 Linux 發行<br/><br/>啟動 WSL：在開始功能表輸入 &#34;Ubuntu&#34; 或在 CMD/PowerShell 輸入 wsl<br/><br/>wsl --set-version 2&nbsp;&nbsp; 將指定發行版轉為 WSL 2<br/><br/>wsl --up&#100;ate：更新 WSL 核心]]></description>
		</item>
		
			<item>
			<link>/article.asp?id=142</link>
			<title><![CDATA[Debian10升级到Debian11]]></title>
			<author>tseng@dlps.tp.edu.tw(tseng)</author>
			<category><![CDATA[linux]]></category>
			<pubDate>Wed,19 Nov 2025 12:05:18 +0800</pubDate>
			<guid>/default.asp?id=142</guid>
		<description><![CDATA[更新后的sources.lis<br/><br/>deb <a href="http://deb.debian.org/debian/" target="_blank" rel="external">http://deb.debian.org/debian/</a> bullseye main non-free contrib<br/>deb-src <a href="http://deb.debian.org/debian/" target="_blank" rel="external">http://deb.debian.org/debian/</a> bullseye main non-free contrib<br/><br/>deb <a href="http://deb.debian.org/debian/" target="_blank" rel="external">http://deb.debian.org/debian/</a> bullseye-up&#100;ates main non-free contrib<br/>deb-src <a href="http://deb.debian.org/debian/" target="_blank" rel="external">http://deb.debian.org/debian/</a> bullseye-up&#100;ates main non-free contrib<br/><br/>deb <a href="http://deb.debian.org/debian/" target="_blank" rel="external">http://deb.debian.org/debian/</a> bullseye-backports main non-free contrib<br/>deb-src <a href="http://ftp.fr.debian.org/debian/" target="_blank" rel="external">http://ftp.fr.debian.org/debian/</a> bullseye-backports main non-free contrib<br/><br/>deb <a href="http://deb.debian.org/debian-security/" target="_blank" rel="external">http://deb.debian.org/debian-security/</a> bullseye-security main non-free contrib<br/>deb-src <a href="http://deb.debian.org/debian-security/" target="_blank" rel="external">http://deb.debian.org/debian-security/</a> bullseye-security main non-free contrib<br/><br/>交大<br/>debian.cs.nycu.edu.tw]]></description>
		</item>
		
			<item>
			<link>/article.asp?id=136</link>
			<title><![CDATA[Ubuntu 更新]]></title>
			<author>tseng@dlps.tp.edu.tw(tseng)</author>
			<category><![CDATA[linux]]></category>
			<pubDate>Sun,10 Oct 2021 13:55:42 +0800</pubDate>
			<guid>/default.asp?id=136</guid>
		<description><![CDATA[<p>/etc/apt/source list</p>]]></description>
		</item>
		
			<item>
			<link>/article.asp?id=120</link>
			<title><![CDATA[ Open Media Vault 安裝 omv-extras ]]></title>
			<author>tseng@dlps.tp.edu.tw(tseng)</author>
			<category><![CDATA[linux]]></category>
			<pubDate>Thu,24 Sep 2020 08:57:45 +0800</pubDate>
			<guid>/default.asp?id=120</guid>
		<description><![CDATA[openmediavault #<br/><br/>wget -O - <a href="https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/install" target="_blank" rel="external">https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/install</a> | bash<br/><br/>]]></description>
		</item>
		
			<item>
			<link>/article.asp?id=119</link>
			<title><![CDATA[docker+bind 設定]]></title>
			<author>tseng@dlps.tp.edu.tw(tseng)</author>
			<category><![CDATA[linux]]></category>
			<pubDate>Tue,15 Sep 2020 17:28:41 +0800</pubDate>
			<guid>/default.asp?id=119</guid>
		<description><![CDATA[debian 安裝 docker+bind 請參考前面文章<br/><br/>bind的設定檔共有以下四個:<br/>/etc/bind/named.conf<br/>/etc/bind/named.conf.options<br/>/etc/bind/named.conf.local<br/>/etc/bind/named.conf.default-zones<br/><br/>簡單一點只要編輯<br/>/etc/bind/named.conf.options <br/>/etc/bind/named.conf.local&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br/><br/>sameersbn/bind镜像本身安装了一个webmin服務，最好關閉他，如果要使用請BIND設定需要修改，不然會無法啟用，到 Configuration 設定裡面，有一項「Default PID file location(s)」路徑修改就可以了。<br/><br/><br/>]]></description>
		</item>
		
			<item>
			<link>/article.asp?id=117</link>
			<title><![CDATA[ubuntu 升級 /boot 空間太小]]></title>
			<author>tseng@dlps.tp.edu.tw(tseng)</author>
			<category><![CDATA[linux]]></category>
			<pubDate>Thu,28 May 2020 21:11:51 +0800</pubDate>
			<guid>/default.asp?id=117</guid>
		<description><![CDATA[解除安裝舊的版本核心<br/><br/><br/>檢視系統已經安裝的核心版本<br/>dpkg --get-sel&#101;ctions |grep linux-image<br/><br/><br/>刪除舊的核心版本<br/>sudo apt purge linux-image-X.X.X-00-generic<br/><br/><br/>系統沒有安裝此核心，但是在配置檔案中還殘留它的資訊<br/>sudo dpkg -P&nbsp;&nbsp;linux-image-X.X.X-00-generic<br/>]]></description>
		</item>
		
			<item>
			<link>/article.asp?id=115</link>
			<title><![CDATA[Centos 網卡消失]]></title>
			<author>tseng@dlps.tp.edu.tw(tseng)</author>
			<category><![CDATA[linux]]></category>
			<pubDate>Wed,27 May 2020 12:49:21 +0800</pubDate>
			<guid>/default.asp?id=115</guid>
		<description><![CDATA[<p>&nbsp;VMware升級Centos OS 網卡消失</p>
<p>/etc/udev/rules.d/70-persistent-net.rules 配置為eth1，原先為eth0，並記住MAC</p>
<p>/etc/sysconfig/network-scripts/ifcfg-eth0&nbsp;&nbsp;把DEVICE跟HWADDR 修改成70-persistent-net.rules</p>
<p>service network restart</p>]]></description>
		</item>
		
			<item>
			<link>/article.asp?id=114</link>
			<title><![CDATA[ubuntu 升級]]></title>
			<author>tseng@dlps.tp.edu.tw(tseng)</author>
			<category><![CDATA[linux]]></category>
			<pubDate>Wed,27 May 2020 09:41:31 +0800</pubDate>
			<guid>/default.asp?id=114</guid>
		<description><![CDATA[<ul>
    <li>
    <pre><span style="font-size: 14px;">套件升級</span></pre>
    </li>
</ul>
<p>sudo apt-get update</p>
<div>sudo apt-get upgrade</div>
<div>&nbsp;</div>
<div>sudo apt-get dist-upgrade</div>
<div>&nbsp;</div>
<div>sudo apt-get&nbsp;&nbsp;autoremove</div>
<div>&nbsp;</div>
<div>sudo apt-get&nbsp;&nbsp;install update-manager-core</div>
<div>&nbsp;</div>
<ul>
    <li><font color="#404040" face="-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Fira Sans, Droid Sans, Helvetica Neue, sans-serif"><span style="font-size: 14px;">檢查可以升級的版本</span></font></li>
</ul>
<p><font color="#404040" face="-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Fira Sans, Droid Sans, Helvetica Neue, sans-serif"><span style="font-size: 14px;">sudo do-release-upgrade -c</span></font></p>
<p><span style="color: rgb(64, 64, 64); font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen, Ubuntu, &quot;Fira Sans&quot;, &quot;Droid Sans&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 14px;">sudo do-release-upgrade</span></p>
<p><font color="#404040" face="-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Fira Sans, Droid Sans, Helvetica Neue, sans-serif"><span style="font-size: 14px;">sudo do-release-upgrade -m server -d</span><br />
<br />
</font></p>
<p>&nbsp;</p>]]></description>
		</item>
		
			<item>
			<link>/article.asp?id=98</link>
			<title><![CDATA[OpenSuSe 42.3]]></title>
			<author>tseng@dlps.tp.edu.tw(tseng)</author>
			<category><![CDATA[linux]]></category>
			<pubDate>Tue,07 Nov 2017 09:00:01 +0800</pubDate>
			<guid>/default.asp?id=98</guid>
		<description><![CDATA[Libzypp 是 openSUSE 的套件管理系統，他提供了 yast 軟體管理 作為圖形化使用者介面，以及 Zypper 作為命令行介面。<br/><br/>yast用法<br/>yast -i /tmp/novell-ifolder-client-2.1.5-6.4.i386.rpm.<br/><br/>zypper用法<br/><br/>新增套件庫<br/>zypper ar <br/><br/>查詢套件庫<br/>zypper repos<br/> <br/>刪除套件庫<br/>zypper rr<br/><br/>查詢套件<br/>zypper se <br/><br/>安裝套件<br/>zypper in<br/><br/>移除套件<br/>zypper rm<br/><br/>更新/清空套件庫<br/>zypper clean -a<br/>]]></description>
		</item>
		
</channel>
</rss>
