<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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>李一諤紀念學校 WordPress | 陳 偉權 | Activity</title>
	<link>http://wp.lynms.edu.hk/members/cwk/activity/</link>
	<atom:link href="http://wp.lynms.edu.hk/members/cwk/activity/feed/" rel="self" type="application/rss+xml" />
	<description>Activity feed for 陳 偉權.</description>
	<lastBuildDate>Tue, 03 Dec 2019 10:10:09 +0000</lastBuildDate>
	<generator>https://buddypress.org/?v=2.7.4</generator>
	<language>zh-TW</language>
	<ttl>30</ttl>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>2</sy:updateFrequency>
	
						<item>
				<guid isPermaLink="false">befcf3053cfe06dca7e6520f9e06b5b8</guid>
				<title>陳 偉權 wrote a new post, SAMS Router的"十二年", on the site Free人Free語 -- WP版</title>
				<link>http://cwk.wp.lynms.edu.hk/?p=382</link>
				<pubDate>Fri, 21 Feb 2014 04:16:05 +0000</pubDate>

									<content:encoded><![CDATA[<p>今天接到一個消息，本校其中一個最忠誠的僕人 &#8212; 自建的SAMS Router已因為硬碟故障而離我們而去。</p>
<p>&lt;span style=&quot;line-height: [&hellip;]</p>
]]></content:encoded>
				
									<slash:comments>0</slash:comments>
				
							</item>
					<item>
				<guid isPermaLink="false">f4c02e2b5d7bdec34f141b20411aaa11</guid>
				<title>陳 偉權 wrote a new post, 李一諤高可用性網站（七）：本校的Moodle2, on the site Free人Free語 -- WP版</title>
				<link>http://cwk.wp.lynms.edu.hk/?p=430</link>
				<pubDate>Mon, 23 Dec 2013 07:05:09 +0000</pubDate>

									<content:encoded><![CDATA[<p>這網站是我們的學習管理系統（learning management system, LMS），從前是1.9的版本，不過已經不再更新，轉而發展2.0的版本。所以我們亦要與時並進，投入2.x版本的懷抱。</p>
<p>從前已有一些課程放了在它上面，於是一個重要升級的考量&#8211;能否既保留舊資料，亦可成功升級至新版本。不過，「上屋搬下屋，唔見一籮穀」也在這次升級中出現了。不能升級的就是那個可以錄音的nanogong，所以升級也要顧及這樣的風險。最好先在其他機先試，成功才可在production伺服器去做。</p>
<p>在升級了moodle2版本後，之後的升級也沒甚問題了。亦因為將它放在HA內，我們就可以利用這系統作為全校的學習平台，讓全部學生及老師長期使用。這就是我們說電子學習的最高境界——全校師生，甚至校友，每星期七日，每日廿四小時都可以用上。這樣，全面的推行才有意義；總不成要每堂安排，只准部份班別使用吧！</p>
<p>除此之外，它還有流動應用程式的版本，可以讓同學在平板電腦使用。而更重要的是，它是一個免費的Apps。還有IOS及Andriod版本呢！</p>
]]></content:encoded>
				
									<slash:comments>0</slash:comments>
				
							</item>
					<item>
				<guid isPermaLink="false">daf65a9efaa0fbce792450129b8797b5</guid>
				<title>陳 偉權 wrote a new post, 李一諤高可用性網站（六）：本校新的學生作品網, on the site Free人Free語 -- WP版</title>
				<link>http://cwk.wp.lynms.edu.hk/?p=374</link>
				<pubDate>Fri, 20 Dec 2013 11:22:19 +0000</pubDate>

									<content:encoded><![CDATA[<p>本校的<a href="http://stuworks.lynms.edu.hk" rel="nofollow">學生作品網</a>又是一個很受歡迎的網站，當然說的是本校的使用者；再準確些講，是受家長歡迎！它放置學生貼堂的作品，老師交來IT組，再經技術員放上網。家長就可以看到學生的上佳作品，又可以電子賀卡寄給親朋，與他們分享這份喜悅。</p>
<p>最初我們是用Coppermine這網上相簿，放了幾年作品，又經歷了幾次版本升級，在某次就不能成功了！因為舊版本用Big5 中文編碼，升級utf8後就變成亂碼！</p>
<p>所以就用上&lt;a href=&quot;<a href="http://stuworks2.lynms.edu.hk&#038;quot" rel="nofollow">http://stuworks2.lynms.edu.hk&#038;quot</a>; [&hellip;]</p>
]]></content:encoded>
				
									<slash:comments>0</slash:comments>
				
							</item>
					<item>
				<guid isPermaLink="false">a98747ed094aa9a19fc36f9fb869bdd0</guid>
				<title>陳 偉權 wrote a new post, 李一諤高可用性網站（五）：本校的新相片網, on the site Free人Free語 -- WP版</title>
				<link>http://cwk.wp.lynms.edu.hk/?p=372</link>
				<pubDate>Fri, 13 Dec 2013 11:19:59 +0000</pubDate>

									<content:encoded><![CDATA[<p>2001學年起，我們就已經將相片放上網，讓學生、教師、家長及校友等，由自欣賞及下載。當時可供選擇的系統不多，但居然給我們找到一個南韓出品的系統。我們首先引入韓個的IT產物，那時SAMSUNG可能還未出產電話吧！</p>
<p>不過舊系統從未更新過那些編碼，這讓我們有點不安，因為始終會有被入侵的可能，所以2006年就改用<a href="http://gallery3a.lynms.edu.hk" rel="nofollow">Gallery</a>這系統。最初的版本是用2.0。用了三年後，它出了3.0版本，於是就將它升級，並保留原先的相片，一路使用直至現在。</p>
<p>現在它已放了七年半的相片，內有約十三萬張相片，空間大約佔百多GB。我們非常著緊這些資源，每晚都會將它們備份至其他ZFS儲存伺服器中。同時亦做了一個HA版本放在本校的系統內。</p>
<p>為何這樣著緊？除了這些是我們寶貴的資產外，亦可在課堂中作演示。另外，它亦可用Embed Code的型式在其他系統中引用，非常方便，亦非常Web 2.0!</p>
<p><img src="http://gallery3.lynms.edu.hk/var/resizes/2013/schoolinfo/ited/ipadminip3/IMG_4831.JPG?m=1387173097" alt="" width="600" height="450" /></p>
<p>上面這張相就是從Gallery3系統上Embed Code而來的。</p>
]]></content:encoded>
				
									<slash:comments>0</slash:comments>
				
							</item>
					<item>
				<guid isPermaLink="false">1b912aa1e50eff858221e059f7127b1e</guid>
				<title>陳 偉權 wrote a new post, 李一諤高可用性網站（四）：本校的電子書包網站, on the site Free人Free語 -- WP版</title>
				<link>http://cwk.wp.lynms.edu.hk/?p=370</link>
				<pubDate>Thu, 12 Dec 2013 11:17:43 +0000</pubDate>

									<content:encoded><![CDATA[<p><a href="http://eschbag.lynms.edu.hk" rel="nofollow">這個</a>是專門放置電子學習資源的地方，用了一個開源的Joomla的程式來做。開始時是將這些資源與學校主頁放在一起，但由於資源越來越多，不能放在同一個版面上，所以要將它們與主網頁獨立出來——「分拆上巿」。</p>
<p>它是將資源用學科的形式來歸類，這些是來自老師提供，亦有些是本校自行建立的系統，如早前提及的作品網，相簿等。</p>
<p>當然，這網站是從單一伺服器轉至高可性系統內。希望它能提供穩定的服務。</p>
]]></content:encoded>
				
									<slash:comments>0</slash:comments>
				
							</item>
					<item>
				<guid isPermaLink="false">834cd8de0e8450e7847f11e85b8a2ae8</guid>
				<title>陳 偉權 wrote a new post, 李一諤高可用性網站（三）：本校的益智遊戲網, on the site Free人Free語 -- WP版</title>
				<link>http://cwk.wp.lynms.edu.hk/?p=368</link>
				<pubDate>Tue, 10 Dec 2013 09:31:03 +0000</pubDate>

									<content:encoded><![CDATA[<p><a href="http://games.lynms.edu.hk" rel="nofollow">益智遊戲網</a>是一個本校十分受歡迎的網站，歷史亦很悠久了。內裡收藏了千多個運行Flash的遊戲，全部已被玩了接近二千多萬次了。建立這網站是希望同學可以在它裡面找一些有益的遊戲，避免接觸那些不良的遊戲。</p>
<p>和其他網站一樣，它原本也是放在一部伺服器，亦用上了Apache + PHP + [&hellip;]</p>
]]></content:encoded>
				
									<slash:comments>0</slash:comments>
				
							</item>
					<item>
				<guid isPermaLink="false">539c230f70c4c4109048aaa157afbd79</guid>
				<title>陳 偉權 wrote a new post, 李一諤高可用性網站（二）：本校的舊相簿及作品網, on the site Free人Free語 -- WP版</title>
				<link>http://cwk.wp.lynms.edu.hk/?p=365</link>
				<pubDate>Tue, 10 Dec 2013 09:24:26 +0000</pubDate>

									<content:encoded><![CDATA[<p>除了舊網頁，我們亦在早年已建立了<a href="http://photos.lynms.edu.hk" rel="nofollow">電子相簿</a>及<a href="http://stuworks.lynms.edu.hk" rel="nofollow">學生作品網</a>。他們紀錄了很多相片及學生們的作品，它們既是我們的重要資產，亦是我們的集體回憶。</p>
<p>除了作為活動紀錄，它們亦方便老師在課堂上使用。電子相簿紀錄了學校的活動紀錄，而作品網則是放置學生貼堂的功課。兩者都對本校非常重要，希望能長久保留下來。但由於從前使用的是舊系統，要維護和升級也不是易事，所以之後就用了新的系統來放置。至於舊系統就繼續保留，當然亦不會更新及升級了。</p>
<p>&lt;span style=&quot;line-height: [&hellip;]</p>
]]></content:encoded>
				
									<slash:comments>0</slash:comments>
				
							</item>
					<item>
				<guid isPermaLink="false">b24c359b81457af04476e62bfcc861dd</guid>
				<title>陳 偉權 wrote a new post, 李一諤高可用性系統（十三）：Raspberry Pi(FreeBSD/arm)伺服器, on the site Free人Free語 -- WP版</title>
				<link>http://cwk.wp.lynms.edu.hk/archives/341</link>
				<pubDate>Wed, 04 Dec 2013 11:10:37 +0000</pubDate>

									<content:encoded><![CDATA[<p><a href="http://cwk.wp.lynms.edu.hk/archives/341" rel="nofollow"><img src="http://gallery3.lynms.edu.hk/var/resizes/2013/schoolinfo/ited/rasp_pi/1.jpg?m=1385617488" width="133.333333333" height="100" alt="Thumbnail" class="align-left thumbnail" /></a>這HA主題已寫了多篇，應該都要完結了。但早前還有一些新元素加至它當中，所以要插入一份新文章。幸好WordPress會跟發佈日期排序，所以都沒有搞亂次序。</p>
<p>還有甚麼可以加入？就是這個叫Raspberry [&hellip;]</p>
]]></content:encoded>
				
									<slash:comments>0</slash:comments>
				
							</item>
					<item>
				<guid isPermaLink="false">4a3801753d7ca3cfa8cad12f42cdcbfd</guid>
				<title>陳 偉權 wrote a new post, 李一諤高可用性系統（十二）：Zabbix監察系統, on the site Free人Free語 -- WP版</title>
				<link>http://cwk.wp.lynms.edu.hk/archives/325</link>
				<pubDate>Sun, 01 Dec 2013 14:54:19 +0000</pubDate>

									<content:encoded><![CDATA[<p>我們學校現在可以用到的伺服器已有三十多部，寬頻公司給我們的二十四個真實IP也已用完了。不過幸好我們做好了HA環境，用四個真實IP就可以存放很多網站系統，不需再申請更多的IP了。但時常也有老師問我們怎樣管理這批伺服器，我們也很自豪地告訴他們，就是用<a title="Zabbix" href="http://zabbix.com" rel="nofollow">Zabbix</a>監察系統了。</p>
<p>除了一般的每天看各伺服器寄來的電郵（即log）外，我們亦為每部伺服器加入一個zabbix agent，它會向zabbix [&hellip;]</p>
]]></content:encoded>
				
									<slash:comments>0</slash:comments>
				
							</item>
					<item>
				<guid isPermaLink="false">3bfc3fa13fcdfe975e22f9e2e2dfcaf7</guid>
				<title>陳 偉權 wrote a new post, 李一諤高可用性系統（十一）：MySQL與MariaDB伺服器, on the site Free人Free語 -- WP版</title>
				<link>http://cwk.wp.lynms.edu.hk/archives/302</link>
				<pubDate>Sun, 01 Dec 2013 14:04:35 +0000</pubDate>

									<content:encoded><![CDATA[<p>說到在HA中這部份，它可算是一個比較讓人頭痛的組件。</p>
<p>第一，它是dynamic web [&hellip;]</p>
]]></content:encoded>
				
									<slash:comments>0</slash:comments>
				
							</item>
					<item>
				<guid isPermaLink="false">d4299a02c9ea829bd1c8ee5b916f1ada</guid>
				<title>陳 偉權 wrote a new post, 李一諤高可用性系統（十）：LDAP的使用, on the site Free人Free語 -- WP版</title>
				<link>http://cwk.wp.lynms.edu.hk/archives/286</link>
				<pubDate>Mon, 25 Nov 2013 09:53:27 +0000</pubDate>

									<content:encoded><![CDATA[<p>在本校一貫的IT安排上，我們十分強調要用單一身份及密碼，因為不想令到學生、老師及家長記憶不同的身份，更不想太多的label紙把學生手冊都貼滿了。</p>
<p>以往在單伺服器已可進行此功能，那麼在HA中又怎可以做到呢？其實也沒甚麼特別，只需和以往一樣在每部網頁主機也加上一個LDAP伺服器，再加上它們是去Master [&hellip;]</p>
]]></content:encoded>
				
									<slash:comments>0</slash:comments>
				
							</item>
					<item>
				<guid isPermaLink="false">c7cc399c277721bd874aebfcc23de9d5</guid>
				<title>陳 偉權 wrote a new post, 李一諤高可用性網站（一）：本校的舊網頁, on the site Free人Free語 -- WP版</title>
				<link>http://cwk.wp.lynms.edu.hk/?p=321</link>
				<pubDate>Wed, 20 Nov 2013 14:17:35 +0000</pubDate>

									<content:encoded><![CDATA[<p> [&hellip;]</p>
]]></content:encoded>
				
									<slash:comments>0</slash:comments>
				
							</item>
					<item>
				<guid isPermaLink="false">78bb3caa347c634f4944ff251088351a</guid>
				<title>陳 偉權 wrote a new post, 李一諤高可用性系統（九）：在HA內ZFS的使用, on the site Free人Free語 -- WP版</title>
				<link>http://cwk.wp.lynms.edu.hk/archives/272</link>
				<pubDate>Wed, 20 Nov 2013 03:53:05 +0000</pubDate>

									<content:encoded><![CDATA[<p><a href="http://cwk.wp.lynms.edu.hk/archives/272" rel="nofollow">&lt;img src=&quot;</a><a href="http://gallery3.lynms.edu.hk/var/resizes/2011/info/it/highavail/lynms_ha.jpg?m=1371629428&#038;quot" rel="nofollow">http://gallery3.lynms.edu.hk/var/resizes/2011/info/it/highavail/lynms_ha.jpg?m=1371629428&#038;quot</a>; width=&quot;133.333333333&quot; height=&quot;100&quot; alt=&quot;Thumbnail&quot; class=&quot;align-left thumbnail&quot; [&hellip;]</p>
]]></content:encoded>
				
									<slash:comments>0</slash:comments>
				
							</item>
					<item>
				<guid isPermaLink="false">c4f42e128c6b18fb8ba7eea2c9fafd29</guid>
				<title>陳 偉權 wrote a new post, 李一諤高可用性系統（八）：HA內的Apache與Nginx的安排, on the site Free人Free語 -- WP版</title>
				<link>http://cwk.wp.lynms.edu.hk/archives/263</link>
				<pubDate>Tue, 05 Nov 2013 13:16:13 +0000</pubDate>

									<content:encoded><![CDATA[<p>作為本校HA的底層及基本的應用，apache及Nginx負責將不同的網站呈現在使用者面前，而資料是儲存在一個共用的空間，它可以是ZFS或是MFS。</p>
<p>但apache或Nginx網站是怎樣設定的呢？就是用virtual [&hellip;]</p>
]]></content:encoded>
				
									<slash:comments>0</slash:comments>
				
							</item>
					<item>
				<guid isPermaLink="false">425c9f11018391bcd90084389ded9d33</guid>
				<title>陳 偉權 wrote a new post, 李一諤高可用性系統（七）：歷久長青的Apache, on the site Free人Free語 -- WP版</title>
				<link>http://cwk.wp.lynms.edu.hk/archives/248</link>
				<pubDate>Thu, 31 Oct 2013 03:05:39 +0000</pubDate>

									<content:encoded><![CDATA[<p> [&hellip;]</p>
]]></content:encoded>
				
									<slash:comments>0</slash:comments>
				
							</item>
					<item>
				<guid isPermaLink="false">b713dd9d52c5a16a9e11aad94e17785a</guid>
				<title>陳 偉權 wrote a new post, 李一諤高可用性系統（六）：被邊緣化的Varnish(緩存伺服器), on the site Free人Free語 -- WP版</title>
				<link>http://cwk.wp.lynms.edu.hk/archives/233</link>
				<pubDate>Mon, 28 Oct 2013 13:38:23 +0000</pubDate>

									<content:encoded><![CDATA[<p><a href="http://cwk.wp.lynms.edu.hk/archives/233" rel="nofollow">&lt;img src=&quot;</a><a href="http://gallery3.lynms.edu.hk/var/resizes/2011/info/it/highavail/lynms_ha.jpg?m=1371629428&#038;quot" rel="nofollow">http://gallery3.lynms.edu.hk/var/resizes/2011/info/it/highavail/lynms_ha.jpg?m=1371629428&#038;quot</a>; width=&quot;133.333333333&quot; height=&quot;100&quot; alt=&quot;Thumbnail&quot; class=&quot;align-left thumbnail&quot; [&hellip;]</p>
]]></content:encoded>
				
									<slash:comments>0</slash:comments>
				
							</item>
					<item>
				<guid isPermaLink="false">37e02d4f74d2fb0164b00c1096350c47</guid>
				<title>陳 偉權 wrote a new post, 李一諤高可用性系統（五）：小巧又強悍的Nginx(網頁伺服器), on the site Free人Free語 -- WP版</title>
				<link>http://cwk.wp.lynms.edu.hk/archives/217</link>
				<pubDate>Thu, 24 Oct 2013 01:14:23 +0000</pubDate>

									<content:encoded><![CDATA[<p><a href="http://cwk.wp.lynms.edu.hk/archives/217" rel="nofollow"><img src="http://gallery3.lynms.edu.hk/var/resizes/2011/info/it/highavail/IMG_0970.JPG?m=1334542788" width="133.333333333" height="100" alt="Thumbnail" class="align-left thumbnail" /></a>今日要介紹一個小又美的網頁伺服器。作為本校HA一個重要部份，它的表現也頗令人滿意。雖然不能說十全十美，但確實又功能強大，效能亦很好。</p>
<p>它問世只有幾年，但巿佔率正節節上升。雖然我們一貫用開Apache，但本著精益求精的精神，亦想試一試它。</p>
<p>安裝它很容易，只需在ports中找到它，很快就可以安裝好了:</p>
<p>cd /usr/ports/www/nginx<br />
make install [&hellip;]</p>
]]></content:encoded>
				
									<slash:comments>0</slash:comments>
				
							</item>
					<item>
				<guid isPermaLink="false">ec7812c5353e3e29f383fdfb60d0d9ad</guid>
				<title>陳 偉權 wrote a new post, 李一諤高可用性系統（四）：負載均衡器間的uCARP(心跳裝置), on the site Free人Free語 -- WP版</title>
				<link>http://cwk.wp.lynms.edu.hk/archives/174</link>
				<pubDate>Sat, 19 Oct 2013 06:24:18 +0000</pubDate>

									<content:encoded><![CDATA[<p><a href="http://cwk.wp.lynms.edu.hk/archives/174" rel="nofollow"><img src="http://gallery3.lynms.edu.hk/var/resizes/2011/info/it/highavail/lynms_ha.jpg?m=1371629428" width="133.333333333" height="100" alt="Thumbnail" class="align-left thumbnail" /></a>上一篇已講述了負載均衡器(LB)上的HaProxy，但大家看架構圖會發現有兩部LB。這其實不難理解，因為希望不會有single point of failure。不過在本校的設定上，我們希望兩部機也運行著，不是以某一部作主，亦另一部作備援，否則好像有點浪費，亦不能分擔流量。</p>
<p>要做到這樣的目的，只需在DNS做功夫，將一個hostname解作兩個true [&hellip;]</p>
]]></content:encoded>
				
									<slash:comments>0</slash:comments>
				
							</item>
					<item>
				<guid isPermaLink="false">d2987e5f9270ac373507ec97a8e0e6c9</guid>
				<title>陳 偉權 wrote a new post, 李一諤高可用性系統（三）：負載均衡器上的HaProxy(Reverse Proxy), on the site Free人Free語 -- WP版</title>
				<link>http://cwk.wp.lynms.edu.hk/archives/132</link>
				<pubDate>Mon, 14 Oct 2013 09:01:35 +0000</pubDate>

									<content:encoded><![CDATA[<p><a href="http://cwk.wp.lynms.edu.hk/archives/132" rel="nofollow"><img src="http://gallery3.lynms.edu.hk/var/resizes/2011/info/it/highavail/lynms_ha.jpg?m=1371629428" width="133.333333333" height="100" alt="Thumbnail" class="align-left thumbnail" /></a>作為負載均衡器(Load Balancer)，HaProxy能將外面的request轉至backend servers，通常會用輪流分派的原則，同時亦可設定比重。結構圖如下：</p>
<p>當然如有backend [&hellip;]</p>
]]></content:encoded>
				
									<slash:comments>0</slash:comments>
				
							</item>
					<item>
				<guid isPermaLink="false">42fdf2572f8a4079cd8aaa84f59f1158</guid>
				<title>陳 偉權 wrote a new post, 李一諤高可用性系統（二）：Moose File System(MFS), on the site Free人Free語 -- WP版</title>
				<link>http://cwk.wp.lynms.edu.hk/archives/98</link>
				<pubDate>Mon, 11 Mar 2013 08:17:21 +0000</pubDate>

									<content:encoded><![CDATA[<p><a href="http://cwk.wp.lynms.edu.hk/archives/98" rel="nofollow"><img src="http://gallery3.lynms.edu.hk/var/resizes/2011/info/it/highavail/mfs001.jpg?m=1337764433" width="150.144927536" height="100" alt="Thumbnail" class="align-left thumbnail" /></a>作為最重要及最底層的部份，我們會用一個分佈式的檔案系統。用的就是這個：</p>
<p><a href="http://www.moosefs.org" rel="nofollow">MooseFS</a></p>
<p>最基本要求，就要一台伺服器作為主控(MasterServer)，另加一些資料伺服器(Chuck Servers)。</p>
<p>以本校為例，除了主控伺服器外，我們用了九部伺服器將剩餘的硬碟空間連合一起，變成一個大的硬碟，可以給其他伺服器mount來使用。而那些檔案就會分佈儲存在該九部(Chuck [&hellip;]</p>
]]></content:encoded>
				
									<slash:comments>0</slash:comments>
				
							</item>
		
	</channel>
</rss>
<!-- Performance optimized by W3 Total Cache. Learn more: https://www.w3-edge.com/products/

 Served from: wp.lynms.edu.hk @ 2026-05-20 08:02:21 by W3 Total Cache -->