<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux篇 &#8211; 亞高網站</title>
	<atom:link href="https://kopuikeung.com/wordpress/archives/category/linux%e7%af%87/feed" rel="self" type="application/rss+xml" />
	<link>https://kopuikeung.com/wordpress</link>
	<description>自由空間、無所不談</description>
	<lastBuildDate>Mon, 26 Jan 2026 04:12:15 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>

<image>
	<url>https://kopuikeung.com/wordpress/wp-content/uploads/2019/02/images-150x150.jpg</url>
	<title>Linux篇 &#8211; 亞高網站</title>
	<link>https://kopuikeung.com/wordpress</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>ArchLinux 更新</title>
		<link>https://kopuikeung.com/wordpress/archives/2157</link>
					<comments>https://kopuikeung.com/wordpress/archives/2157#respond</comments>
		
		<dc:creator><![CDATA[亞高]]></dc:creator>
		<pubDate>Mon, 26 Jan 2026 04:12:15 +0000</pubDate>
				<category><![CDATA[Linux篇]]></category>
		<guid isPermaLink="false">https://kopuikeung.com/wordpress/?p=2157</guid>

					<description><![CDATA[ArchLinux若過了一段日子，大約三數月後，其「Keyring」便先要更新才 &#8230; <a href="https://kopuikeung.com/wordpress/archives/2157">閱讀全文 <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>ArchLinux若過了一段日子，大約三數月後，其「Keyring」便先要更新才能更新系統。<br />
更新「Keyring」﹕<br />
sudo pacman -Sy archlinux-keyring<br />
sudo pacman-key &#8211;init<br />
sudo pacman-key &#8211;populate archlinux</p>
<p>若「Nvidia」驅程有改變，則要刪去再更新<br />
sudo pacman -Rdd linux-firmware<br />
sudo pacman -Syu linux-firmware linux-firmware-nvidia</p>
<p>或直接將資料夾刪去<br />
sudo rm -rf /usr/lib/firmware/nvidia/</p>
<p>最後才更新系統<br />
sudo pacman -Syu</p>
]]></content:encoded>
					
					<wfw:commentRss>https://kopuikeung.com/wordpress/archives/2157/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Thunar不能顯示縮圖</title>
		<link>https://kopuikeung.com/wordpress/archives/2118</link>
					<comments>https://kopuikeung.com/wordpress/archives/2118#respond</comments>
		
		<dc:creator><![CDATA[亞高]]></dc:creator>
		<pubDate>Wed, 26 Feb 2025 01:16:57 +0000</pubDate>
				<category><![CDATA[Linux篇]]></category>
		<guid isPermaLink="false">https://kopuikeung.com/wordpress/?p=2118</guid>

					<description><![CDATA[在「ArchLinux」中發覺不能預覽相片的縮圖，解決方法是在安裝「Thunar &#8230; <a href="https://kopuikeung.com/wordpress/archives/2118">閱讀全文 <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>在「ArchLinux」中發覺不能預覽相片的縮圖，解決方法是在安裝「Thunar」後要同時安裝「Tumbler」便可以了﹗</p>
<p>另掛載外置的USB硬盤若出現不能讀寫﹕<br />
解決方法<br />
用「Linux command : fsck」檢查硬盤是否有不連續「壞區」，「fsck」會自動將之收復。</p>
<p>若發現是「唯讀」不能「寫入」，檢查「權限」，若這是問題所在，應對方法﹕</p>
<p>將有問題的「區間」「Umount」，然後設定為使用者所有，例如「區間」是「/dev/sdb2」<br />
sudo mount /dev/sdb2 /mnt 「將/dev/sdbe掛在/mnt中」<br />
sudo chown -R user:user /mnt 「user是使用者的名稱」<br />
sudo umount /mnt<br />
便大功告成？</p>
<p>安裝「ArchLinux」時先要連上wifi</p>
<p>>iwctl<br />
>device list<br />
>station wlan0 scan<br />
>station wlan0 get-networks<br />
>station wlan0 connect &#8220;SSID&#8221;<br />
鍵入密碼便可<br />
>exit<br />
>archinstall (便開始安裝）</p>
]]></content:encoded>
					
					<wfw:commentRss>https://kopuikeung.com/wordpress/archives/2118/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>手動昇級phpMyAdmin</title>
		<link>https://kopuikeung.com/wordpress/archives/2004</link>
					<comments>https://kopuikeung.com/wordpress/archives/2004#respond</comments>
		
		<dc:creator><![CDATA[亞高]]></dc:creator>
		<pubDate>Wed, 15 Feb 2023 07:30:53 +0000</pubDate>
				<category><![CDATA[Linux篇]]></category>
		<guid isPermaLink="false">https://kopuikeung.com/wordpress/?p=2004</guid>

					<description><![CDATA[手動昇級phpMyAdmin 1. 備份phpMyAdmin sudo mv / &#8230; <a href="https://kopuikeung.com/wordpress/archives/2004">閱讀全文 <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>手動昇級phpMyAdmin</p>
<p>1. 備份phpMyAdmin<br />
sudo mv /usr/share/phpmyadmin/ /usr/share/phpmyadmin.bak</p>
<p>2. 創建新phpMyAdmin資料夾<br />
sudo mkdir /usr/share/phpmyadmin<br />
cd /usr/share/phpmyadmin/</p>
<p>3. 下載phpMyAdmin及解壓<br />
sudo wget https://files.phpmyadmin.net/phpMyAdmin/5.2.0/phpMyAdmin-5.2.0-all-languages.tar.gz<br />
sudo tar xzf phpMyAdmin-5.2.0-all-languages.tar.gz<br />
將解壓後的內容搬至/usr/share/phpmyadmin<br />
sudo mv phpMyAdmin-5.2.0-all-languages/* /usr/share/phpmyadmin</p>
<p>4. 解決Blowfish Secret 及 TempDir Errors<br />
sudo nano /usr/share/phpmyadmin/config.inc.php<br />
內容﹕<br />
<!--?php &lt;br ?--> // use here a value of your choice 32 chars long<br />
$cfg[&#8216;blowfish_secret&#8217;] = &#8216;PASTE__32__CHAR__BLOWFISH_SECRET&#8217;;</p>
<p>(32位字串是隨時鍵入便可)</p>
]]></content:encoded>
					
					<wfw:commentRss>https://kopuikeung.com/wordpress/archives/2004/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>phpmyadmin出現Deprecation Notice</title>
		<link>https://kopuikeung.com/wordpress/archives/2001</link>
					<comments>https://kopuikeung.com/wordpress/archives/2001#respond</comments>
		
		<dc:creator><![CDATA[亞高]]></dc:creator>
		<pubDate>Thu, 09 Feb 2023 03:09:57 +0000</pubDate>
				<category><![CDATA[Linux篇]]></category>
		<guid isPermaLink="false">https://kopuikeung.com/wordpress/?p=2001</guid>

					<description><![CDATA[依據提示修改﹕ sudo nano /usr/share/phpmyadmin/ &#8230; <a href="https://kopuikeung.com/wordpress/archives/2001">閱讀全文 <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>依據提示修改﹕<br />
sudo nano /usr/share/phpmyadmin/libraries/common.inc.php</p>
<p>使Function get_magic_quotes_gpc()不生效</p>
<p>/*<br />
Function get_magic_quotes_gpc()<br />
&#8230;<br />
*/</p>
<p>然後重啟apache2</p>
<p>sudo systemctl restart apache2</p>
]]></content:encoded>
					
					<wfw:commentRss>https://kopuikeung.com/wordpress/archives/2001/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>更新SSL認證</title>
		<link>https://kopuikeung.com/wordpress/archives/1974</link>
					<comments>https://kopuikeung.com/wordpress/archives/1974#respond</comments>
		
		<dc:creator><![CDATA[亞高]]></dc:creator>
		<pubDate>Fri, 03 Feb 2023 13:51:15 +0000</pubDate>
				<category><![CDATA[Linux篇]]></category>
		<guid isPermaLink="false">http://localhost/drupal-7.83/wordpress/?p=1974</guid>

					<description><![CDATA[加密網站需要SSL認證，而且要每年更新。 1. 購入認證 2. 在伺服器中產生C &#8230; <a href="https://kopuikeung.com/wordpress/archives/1974">閱讀全文 <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>加密網站需要SSL認證，而且要每年更新。</p>
<p>1. 購入認證<br />
2. 在伺服器中產生CSR<br />
3. 上載CSR到認證發出機構<br />
4. 加入CNAME記錄，確認身份<br />
5. 認證機構發出公匙及相關資料<br />
6. 安裝認證</p>
<p>便大功告成。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://kopuikeung.com/wordpress/archives/1974/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>更新Drupal</title>
		<link>https://kopuikeung.com/wordpress/archives/1972</link>
					<comments>https://kopuikeung.com/wordpress/archives/1972#respond</comments>
		
		<dc:creator><![CDATA[亞高]]></dc:creator>
		<pubDate>Fri, 03 Feb 2023 13:50:37 +0000</pubDate>
				<category><![CDATA[Linux篇]]></category>
		<guid isPermaLink="false">http://localhost/drupal-7.83/wordpress/?p=1972</guid>

					<description><![CDATA[由Drupal_7.83更新至Drupal_7.88操作大略﹕ 1. 首先下載D &#8230; <a href="https://kopuikeung.com/wordpress/archives/1972">閱讀全文 <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>由Drupal_7.83更新至Drupal_7.88操作大略﹕</p>
<p>1. 首先下載Drupal_7.88的壓縮檔，解壓成Druapl_7.88</p>
<p>2. 將Drupal_7.88下的sites刪除，上載至網頁伺服器中</p>
<p>3. 將Drupal_7.83下的sites移至Drupal_7.88內<br />
   sudo mv /var/www/html/drupal_7.83/sites /var/www/html/drupal_7.88/</p>
<p>4. 將drupal_7.83改名為druapl_old7.83<br />
   sudo mv ./drupal_7.83 ./drupal_old7.83</p>
<p>5. 將drupal_7.88改名為drupal_7.83<br />
   sudo mv ./drupal_7.88 ./drupal_7.83</p>
<p>   大功告成﹗</p>
]]></content:encoded>
					
					<wfw:commentRss>https://kopuikeung.com/wordpress/archives/1972/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>修改resolv.conf</title>
		<link>https://kopuikeung.com/wordpress/archives/1951</link>
					<comments>https://kopuikeung.com/wordpress/archives/1951#respond</comments>
		
		<dc:creator><![CDATA[亞高]]></dc:creator>
		<pubDate>Sun, 10 Jan 2021 07:48:10 +0000</pubDate>
				<category><![CDATA[Linux篇]]></category>
		<guid isPermaLink="false">https://kopuikeung.com/wordpress/?p=1951</guid>

					<description><![CDATA[修改resolv.conf的方法﹕ 編輯文件﹕ /etc/resolvconf/ &#8230; <a href="https://kopuikeung.com/wordpress/archives/1951">閱讀全文 <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>修改resolv.conf的方法﹕</p>
<p>編輯文件﹕<br />
        /etc/resolvconf/resolv.conf.d/head</p>
<p>並在那裹加上名稱服務器 （例如﹕Google open dns)</p>
<p>nameserver 8.8.8.8<br />
保存文件並執行﹕<br />
        sudo resolvconf -u<br />
        sudo service network-manager restart</p>
<p>在/etc/resolv.conf中的最上端便加上﹕<br />
        nameserver 8.8.8.8</p>
]]></content:encoded>
					
					<wfw:commentRss>https://kopuikeung.com/wordpress/archives/1951/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>建加密網站</title>
		<link>https://kopuikeung.com/wordpress/archives/1945</link>
					<comments>https://kopuikeung.com/wordpress/archives/1945#respond</comments>
		
		<dc:creator><![CDATA[亞高]]></dc:creator>
		<pubDate>Tue, 22 Dec 2020 02:20:57 +0000</pubDate>
				<category><![CDATA[Linux篇]]></category>
		<guid isPermaLink="false">https://kopuikeung.com/wordpress/?p=1945</guid>

					<description><![CDATA[由零開始至建成加密網站及中央儲存中心 分以下幾部份論述 01 組裝小型電腦 02 &#8230; <a href="https://kopuikeung.com/wordpress/archives/1945">閱讀全文 <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>由零開始至建成加密網站及中央儲存中心</p>
<p>分以下幾部份論述</p>
<p>01 組裝小型電腦<br />
02 安裝作業系統<br />
03 安裝LAMP伺服器<br />
04 安裝Drupal構建網站<br />
05 安裝Wordpress構建綱詀<br />
06 安裝Certbot將網詀加密<br />
07 安裝NFSD、SMBD、及VSFTPD<br />
08 簡單總結</p>
<p>01 組裝小型電腦</p>
<p>   早在2016年我在HKEPC發表過組裝三部小型電腦過程，可在以下連結參閱﹕<br />
   <a href="https://www.hkepc.com/forum/viewthread.php?tid=2311276">https://www.hkepc.com/forum/viewthread.php?tid=2311276</a><br />
02 安裝作業系統</p>
<p>   在2017年發表過介紹安裝不同Linux作業系統，可參閱﹕<br />
   <a href="https://www.hkepc.com/forum/viewthread.php?fid=24&#038;tid=2354949&#038;extra=&#038;page=3dor" rel="noopener" target="_blank">https://www.hkepc.com/forum/viewthread.php?fid=24&#038;tid=2354949&#038;extra=&#038;page=3dor</a></p>
<p>   安裝ArchLinux全紀錄﹕<br />
   <a href="https://www.hkepc.com/forum/viewthread.php?tid=2367798">https://www.hkepc.com/forum/viewthread.php?tid=2367798</a></p>
<p>   安裝BSD三兄弟全紀錄﹕<br />
   <a href="https://www.hkepc.com/forum/viewthread.php?tid=2419279">https://www.hkepc.com/forum/viewthread.php?tid=2419279</a><br />
   <a href="https://www.hkepc.com/forum/viewthread.php?tid=2419080">https://www.hkepc.com/forum/viewthread.php?tid=2419080</a><br />
   <a href="https://www.hkepc.com/forum/viewthread.php?tid=2418406">https://www.hkepc.com/forum/viewthread.php?tid=2418406</a><br />
   最受歡迎及容易使用的應是﹕Ubuntu、Linux Mint、Fedora、Centos&#8230;.<br />
   選擇多人用的會有比較好的網上支緩。</p>
<p>03 安裝LAMP<br />
   今次我用Linux Mint搭載LAMP</p>
<p>   安裝 LAMP<br />
   sudo apt-get install lamp-server^ -y</p>
<p>   測試 Apache<br />
   http://localhost</p>
<p>   測試 PHP<br />
   sudo nano /var/www/html/info.php</p>
<p>   加入以下一行<br />
   <?php
   phpinfo();
   ?></p>
<p>   Then CTRL+X then y and Enter</p>
<p>   溜灠器𨧞入:</p>
<p>   http://localhost/info.php</p>
<p>   安裝 PHPMyAdmin<br />
   sudo apt-get install phpmyadmin -y</p>
<p>   預設的使用者是phpmyadmin</p>
<p>   進入mysql設定root的密碼<br />
   Login to mysql<br />
   sudo mysql -u root<br />
   ALTER USER ‘root’@’localhost’ IDENTIFIED WITH mysql_native_password BY ‘new-password’;</p>
<p>   增加使用者並取得所有權限﹕</p>
<p>   Grant privileges to a new user execute below command in mysql interface:<br />
   “replace new-user with the name you need”</p>
<p>   CREATE USER ‘new-user’@’localhost’ IDENTIFIED BY ‘password’;<br />
   GRANT ALL PRIVILEGES ON *.* TO ‘new-user’@’localhost’;<br />
   FLUSH PRIVILEGES;</p>
<p>   登出sql<br />
   exit</p>
<p>04 安裝Drupal構建網站<br />
   <a href="https://www.hkepc.com/forum/viewthread.php?tid=2598106">https://www.hkepc.com/forum/viewthread.php?tid=2598106</a></p>
<p>05 安裝Wordpress構建綱站<br />
   <a href="https://www.hkepc.com/forum/viewthread.php?tid=2598491">https://www.hkepc.com/forum/viewthread.php?tid=2598491</a></p>
<p>06 安裝Certbot將網詀加密<br />
   <a href="https://www.hkepc.com/forum/viewthread.php?tid=2598824">https://www.hkepc.com/forum/viewthread.php?tid=2598824</a></p>
<p>07 安裝NFSD、SMBD、及VSFTPD<br />
   <a href="https://www.hkepc.com/forum/viewthread.php?tid=2599047">https://www.hkepc.com/forum/viewthread.php?tid=2599047   </a><br />
08 簡單總結<br />
   以上都是我在HKEPC已發表的內容，均是「實戢」所得，所有內容都是真實操作過，將由零至建作加密網站來一個𢑥整，方便查閱。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://kopuikeung.com/wordpress/archives/1945/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>使用certbot加密網站</title>
		<link>https://kopuikeung.com/wordpress/archives/1943</link>
					<comments>https://kopuikeung.com/wordpress/archives/1943#respond</comments>
		
		<dc:creator><![CDATA[亞高]]></dc:creator>
		<pubDate>Mon, 21 Dec 2020 09:55:08 +0000</pubDate>
				<category><![CDATA[Linux篇]]></category>
		<guid isPermaLink="false">https://kopuikeung.com/wordpress/?p=1943</guid>

					<description><![CDATA[在Linux Mint 20 安裝certbot sudo apt-get in &#8230; <a href="https://kopuikeung.com/wordpress/archives/1943">閱讀全文 <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>在Linux Mint 20 安裝certbot</p>
<p>sudo apt-get install certbot python3-certbot-apache</p>
<p>獲取認證<br />
sudo certbot &#8211;apache</p>
<p>檢查certbot的情況<br />
sudo systemctl status certbot.timer</p>
<p>檢查更新情況<br />
sudo certbot renew &#8211;dry-run</p>
<p>檢查ufw情況<br />
sudo ufw status</p>
<p>加入規則﹕如准許Apache及OpenSSH<br />
sudo ufw allow &#8216;Apache Full&#8217;<br />
sudo ufw allow &#8216;OpenSSH&#8217;</p>
<p>在Linux Mint 18 安裝certbot<br />
sudo add-apt-repository ppa:certbot/certbot<br />
sudo apt install python-certbot-apache apache2</p>
<p>取得認證<br />
sudo certbot &#8211;apache</p>
]]></content:encoded>
					
					<wfw:commentRss>https://kopuikeung.com/wordpress/archives/1943/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>安裝tlp</title>
		<link>https://kopuikeung.com/wordpress/archives/1941</link>
					<comments>https://kopuikeung.com/wordpress/archives/1941#respond</comments>
		
		<dc:creator><![CDATA[亞高]]></dc:creator>
		<pubDate>Sun, 20 Dec 2020 09:14:54 +0000</pubDate>
				<category><![CDATA[Linux篇]]></category>
		<guid isPermaLink="false">https://kopuikeung.com/wordpress/?p=1941</guid>

					<description><![CDATA[安裝tlp sudo apt-get install tlp 便可以用指令控制  &#8230; <a href="https://kopuikeung.com/wordpress/archives/1941">閱讀全文 <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>安裝tlp</p>
<p>sudo apt-get install tlp</p>
<p>便可以用指令控制 wifi開關</p>
<p>wifi on<br />
wifi off</p>
]]></content:encoded>
					
					<wfw:commentRss>https://kopuikeung.com/wordpress/archives/1941/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
