<?xml version="1.0" encoding="UTF-8" standalone="no"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:georss="http://www.georss.org/georss" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" version="2.0">

<channel>
	<title>AnEjd's Blog</title>
	<atom:link href="https://anejd.com/feed/" rel="self" type="application/rss+xml"/>
	<link>https://anejd.com</link>
	<description>Keep it simple</description>
	<lastBuildDate>Mon, 05 Aug 2019 15:49:07 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.2.24</generator>
<site xmlns="com-wordpress:feed-additions:1">164329562</site>	<itunes:explicit>no</itunes:explicit><itunes:subtitle>Keep it simple</itunes:subtitle><item>
		<title>Minio Object S3 compatible storage + WordPress auto backup</title>
		<link>https://anejd.com/2019/08/05/minio-object-s3-compatible-storage-wordpress-auto-backup/</link>
				<comments>https://anejd.com/2019/08/05/minio-object-s3-compatible-storage-wordpress-auto-backup/#respond</comments>
				<pubDate>Mon, 05 Aug 2019 01:51:43 +0000</pubDate>
		<dc:creator><![CDATA[anejd]]></dc:creator>
				<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[minio]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">https://anejd.com/?p=35</guid>
				<description><![CDATA[<p>Amazon 的 S3 儲存系統相信很多人都有聽說過 很多大公司大機構都有用他的服務去儲存和分享大量的資料數據 不過既然自己有伺服器就不用另外再買 S3 的空間 可以自己架設一個 S3 相容的空間 用來備份一下自己的 wordpress 或者分享檔案 測試環境 : Debian 10 x64 下載安裝 : 運行伺服器 將空間設在 /root/data 網址就是 server_ip:9000 登入要用到 AccessKey 和 SecretKey 按一下 ctrl + a + d 就可以隱藏 screen 登入 用瀏覽器打開上面的網址, 填寫 Accesskey 和 Secretkey 就可以登入 建立 bucket 資料夾空間 登入後, 按右下方 + 號 &#8211;&#62; Create bucket, &#8230; <a href="https://anejd.com/2019/08/05/minio-object-s3-compatible-storage-wordpress-auto-backup/" class="more-link">Continue reading<span class="screen-reader-text"> "Minio Object S3 compatible storage + WordPress auto backup"</span></a></p>
<p>The post <a rel="nofollow" href="https://anejd.com/2019/08/05/minio-object-s3-compatible-storage-wordpress-auto-backup/">Minio Object S3 compatible storage + WordPress auto backup</a> appeared first on <a rel="nofollow" href="https://anejd.com">AnEjd&#039;s Blog</a>.</p>
]]></description>
								<content:encoded><![CDATA[
<figure class="wp-block-image"><img src="https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_163214.png?w=840&#038;ssl=1" alt="" class="wp-image-36" srcset="https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_163214.png?w=843&amp;ssl=1 843w, https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_163214.png?resize=300%2C231&amp;ssl=1 300w, https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_163214.png?resize=768%2C591&amp;ssl=1 768w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" data-recalc-dims="1" /><figcaption>minio s3 compatible storage</figcaption></figure>



<p>Amazon 的 S3 儲存系統相信很多人都有聽說過 很多大公司大機構都有用他的服務去儲存和分享大量的資料數據</p>



<p>不過既然自己有伺服器就不用另外再買 S3 的空間 可以自己架設一個 S3 相容的空間 用來備份一下自己的 wordpress 或者分享檔案</p>



<span id="more-35"></span>



<p>測試環境 : Debian 10 x64<br> 下載安裝 :</p>



<pre class="wp-block-code"><code>apt-get install screen
wget https://dl.min.io/server/minio/release/linux-amd64/minio
chmod +x minio
screen -S minio</code></pre>



<p>運行伺服器 將空間設在 /root/data</p>



<pre class="wp-block-code"><code>./minio server /root/data</code></pre>



<figure class="wp-block-image"><img src="https://i0.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_164631.png?w=840&#038;ssl=1" alt="" class="wp-image-37" srcset="https://i0.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_164631.png?w=825&amp;ssl=1 825w, https://i0.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_164631.png?resize=300%2C189&amp;ssl=1 300w, https://i0.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_164631.png?resize=768%2C485&amp;ssl=1 768w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px" data-recalc-dims="1" /><figcaption>minio server</figcaption></figure>



<p>網址就是 server_ip:9000</p>



<p>登入要用到 AccessKey 和 SecretKey</p>



<p> 按一下 ctrl + a + d 就可以隱藏 screen</p>



<h3>登入</h3>



<figure class="wp-block-image"><img src="https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_165723.png?fit=840%2C447&amp;ssl=1" alt="" class="wp-image-38" srcset="https://i0.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_165723.png?w=1179&amp;ssl=1 1179w, https://i0.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_165723.png?resize=300%2C160&amp;ssl=1 300w, https://i0.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_165723.png?resize=768%2C408&amp;ssl=1 768w, https://i0.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_165723.png?resize=1024%2C545&amp;ssl=1 1024w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /><figcaption>minio login</figcaption></figure>



<p>用瀏覽器打開上面的網址, 填寫 Accesskey 和 Secretkey 就可以登入</p>



<h3>建立 bucket 資料夾空間</h3>



<figure class="wp-block-image"><img src="https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_165741.png?w=840&#038;ssl=1" alt="" class="wp-image-39" srcset="https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_165741.png?w=1021&amp;ssl=1 1021w, https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_165741.png?resize=300%2C178&amp;ssl=1 300w, https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_165741.png?resize=768%2C457&amp;ssl=1 768w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" data-recalc-dims="1" /><figcaption>minio browser</figcaption></figure>



<p>登入後, 按右下方 + 號 &#8211;&gt; Create bucket, 開一個 &#8220;bucket&#8221; 資料夾</p>



<figure class="wp-block-image"><img src="https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-05_020443.png?w=840&#038;ssl=1" alt="" class="wp-image-40" data-recalc-dims="1"/><figcaption>create bucket</figcaption></figure>



<p>輸入名稱</p>



<p>在右下方 + 號 &#8211;&gt; upload file 就可以上載檔案</p>



<figure class="wp-block-image"><img src="https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-05_020540.png?w=840&#038;ssl=1" alt="" class="wp-image-41" srcset="https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-05_020540.png?w=938&amp;ssl=1 938w, https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-05_020540.png?resize=300%2C128&amp;ssl=1 300w, https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-05_020540.png?resize=768%2C328&amp;ssl=1 768w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" data-recalc-dims="1" /><figcaption>upload file</figcaption></figure>



<h3>設定分享權限</h3>



<figure class="wp-block-image"><img src="https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_165813.png?w=840&#038;ssl=1" alt="" class="wp-image-42" srcset="https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_165813.png?w=750&amp;ssl=1 750w, https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_165813.png?resize=300%2C81&amp;ssl=1 300w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px" data-recalc-dims="1" /><figcaption>bucket sharing policy</figcaption></figure>



<p>在左邊 bucket 的旁邊 Edit policy</p>



<p>就可以設定分享的權限</p>



<h3>WordPress 自動備份</h3>



<figure class="wp-block-image"><img src="https://i1.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_165228.png?w=840&#038;ssl=1" alt="" class="wp-image-43" srcset="https://i1.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_165228.png?w=946&amp;ssl=1 946w, https://i1.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_165228.png?resize=300%2C219&amp;ssl=1 300w, https://i1.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_165228.png?resize=768%2C562&amp;ssl=1 768w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" data-recalc-dims="1" /><figcaption>updraftplus</figcaption></figure>



<p>WordPress 用 updraft plus 可以為自己網站做自動備份 比用 crontab + sh script 方便</p>



<figure class="wp-block-image"><img src="https://i0.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_165854.png?fit=840%2C496&amp;ssl=1" alt="" class="wp-image-44" srcset="https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_165854.png?w=1157&amp;ssl=1 1157w, https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_165854.png?resize=300%2C177&amp;ssl=1 300w, https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_165854.png?resize=768%2C454&amp;ssl=1 768w, https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_165854.png?resize=1024%2C605&amp;ssl=1 1024w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /><figcaption>updraftplus settings</figcaption></figure>



<p>安裝好 updraftplus plugin 後, 進入 settings </p>



<p>選擇 S3-Compatible</p>



<figure class="wp-block-image"><img src="https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_165942.png?w=840&#038;ssl=1" alt="" class="wp-image-45" srcset="https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_165942.png?w=977&amp;ssl=1 977w, https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_165942.png?resize=300%2C157&amp;ssl=1 300w, https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_165942.png?resize=768%2C402&amp;ssl=1 768w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" data-recalc-dims="1" /><figcaption> <em>updraftplus settings</em> </figcaption></figure>



<p>填寫 access key secret key<br> location 是 bucket 的名字<br> end-point 就是 server_ip:9000</p>



<figure class="wp-block-image"><img src="https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_170015.png?fit=840%2C253&amp;ssl=1" alt="" class="wp-image-46" srcset="https://i0.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_170015.png?w=1151&amp;ssl=1 1151w, https://i0.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_170015.png?resize=300%2C90&amp;ssl=1 300w, https://i0.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_170015.png?resize=768%2C231&amp;ssl=1 768w, https://i0.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_170015.png?resize=1024%2C308&amp;ssl=1 1024w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /><figcaption>updraftplus expert settings</figcaption></figure>



<p>按一下 show expert settings</p>



<figure class="wp-block-image"><img src="https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_170107.png?fit=840%2C222&amp;ssl=1" alt="" class="wp-image-47" srcset="https://i1.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_170107.png?w=1137&amp;ssl=1 1137w, https://i1.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_170107.png?resize=300%2C79&amp;ssl=1 300w, https://i1.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_170107.png?resize=768%2C203&amp;ssl=1 768w, https://i1.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-04_170107.png?resize=1024%2C271&amp;ssl=1 1024w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /><figcaption> <em>updraftplus expert settings</em> </figcaption></figure>



<p>把 do not verify ssl certificates 和 disable ssl entirely where possible 剔選</p>



<p>按下 test s3 settings 測試是否連線成功 , 最後 save 就可以自動備份</p>



<h3>設定 SSL</h3>



<p>將你的 ssl certificate 放進 ~/.minio/certs <br> key : private.key cert : public.crt</p>



<p>回到 screen : screen -r minio <br>
按 ctrl + c 停止 再執行一次 : ./minio server /root/data</p>



<p>看到網址變成 https 即可 要注意 wordpress updraft plus 不要剔選 disable ssl entirely where possible</p>



<h3>Windows 客端</h3>



<figure class="wp-block-image"><img src="https://i0.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-05_023929.png?w=840&#038;ssl=1" alt="" class="wp-image-48" srcset="https://i0.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-05_023929.png?w=720&amp;ssl=1 720w, https://i0.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-05_023929.png?resize=246%2C300&amp;ssl=1 246w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px" data-recalc-dims="1" /><figcaption>s3 browser</figcaption></figure>



<p>Windows 下最簡單而是免費的客端就是 S3 Browser </p>



<p>下載網址 :  <a href="https://s3browser.com/">https://s3browser.com/</a> </p>



<p>第一次開啟 會彈出 add new account 輸入好資料後就可以看到自己的檔案 用法跟 Filezilla 差不多</p>



<figure class="wp-block-image"><img src="https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-05_024005.png?w=840&#038;ssl=1" alt="" class="wp-image-49" srcset="https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-05_024005.png?w=1010&amp;ssl=1 1010w, https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-05_024005.png?resize=300%2C228&amp;ssl=1 300w, https://i2.wp.com/anejd.com/wp-content/uploads/2019/08/2019-08-05_024005.png?resize=768%2C585&amp;ssl=1 768w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" data-recalc-dims="1" /><figcaption>S3 Browser </figcaption></figure>



<h3>Linux </h3>



<p>至於在 Linux 下 其實他是普通資料夾而已 可以用 mkdir 開 &#8220;bucket&#8221; cp / mv 覆制/移動檔案</p>
<p>The post <a rel="nofollow" href="https://anejd.com/2019/08/05/minio-object-s3-compatible-storage-wordpress-auto-backup/">Minio Object S3 compatible storage + WordPress auto backup</a> appeared first on <a rel="nofollow" href="https://anejd.com">AnEjd&#039;s Blog</a>.</p>
]]></content:encoded>
							<wfw:commentRss>https://anejd.com/2019/08/05/minio-object-s3-compatible-storage-wordpress-auto-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">35</post-id>	</item>
		<item>
		<title>Debian Lightweight Desktop Fluxbox</title>
		<link>https://anejd.com/2019/07/20/debian-lightweight-desktop-fluxbox/</link>
				<comments>https://anejd.com/2019/07/20/debian-lightweight-desktop-fluxbox/#respond</comments>
				<pubDate>Sat, 20 Jul 2019 05:29:21 +0000</pubDate>
		<dc:creator><![CDATA[anejd]]></dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[fluxbox]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[vnc]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">https://anejd.com/?p=16</guid>
				<description><![CDATA[<p>記得在舊網站有講過在 Centos VPS 上裝桌面環境來開 Firefox 不過那篇文章都是很 out dated 了 現在我的伺服器都是用 Debian 作為系統 因為Debian 比 Centos 更省資源 今次就為之前的 post update 一下 順便也講一下除了 Firefox 外其他的實用桌面程式和 Fluxbox 的設定 可能你會說 用 ssh ( shell ) terminal 入面的　command line 工具已經夠用啦 more 不過在有些情況 ( eg 懶, 貪快) 用 gui 會比較方便 測試環境 : Debian 10 安裝 Fluxbox , VNC Server : 修改 &#8230; <a href="https://anejd.com/2019/07/20/debian-lightweight-desktop-fluxbox/" class="more-link">Continue reading<span class="screen-reader-text"> "Debian Lightweight Desktop Fluxbox"</span></a></p>
<p>The post <a rel="nofollow" href="https://anejd.com/2019/07/20/debian-lightweight-desktop-fluxbox/">Debian Lightweight Desktop Fluxbox</a> appeared first on <a rel="nofollow" href="https://anejd.com">AnEjd&#039;s Blog</a>.</p>
]]></description>
								<content:encoded><![CDATA[
<figure class="wp-block-image"><a href="https://i2.wp.com/anejd.com/wp-content/uploads/2019/07/2019-07-20_045236.png?ssl=1"><img src="https://i0.wp.com/anejd.com/wp-content/uploads/2019/07/2019-07-20_045236.png?fit=840%2C504&amp;ssl=1" alt="" class="wp-image-17" srcset="https://i2.wp.com/anejd.com/wp-content/uploads/2019/07/2019-07-20_045236.png?w=1618&amp;ssl=1 1618w, https://i2.wp.com/anejd.com/wp-content/uploads/2019/07/2019-07-20_045236.png?resize=300%2C180&amp;ssl=1 300w, https://i2.wp.com/anejd.com/wp-content/uploads/2019/07/2019-07-20_045236.png?resize=768%2C461&amp;ssl=1 768w, https://i2.wp.com/anejd.com/wp-content/uploads/2019/07/2019-07-20_045236.png?resize=1024%2C615&amp;ssl=1 1024w, https://i2.wp.com/anejd.com/wp-content/uploads/2019/07/2019-07-20_045236.png?resize=1200%2C721&amp;ssl=1 1200w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px" /></a><figcaption>Fluxbox on Debian</figcaption></figure>



<p>記得在舊網站有講過在 Centos VPS 上裝桌面環境來開 Firefox 不過那篇文章都是很 out dated 了</p>



<p>現在我的伺服器都是用 Debian 作為系統 因為Debian 比 Centos 更省資源 </p>



<p>今次就為之前的 post update 一下 順便也講一下除了 Firefox 外其他的實用桌面程式和 Fluxbox 的設定</p>



<p>可能你會說 用 ssh ( shell ) terminal 入面的　command line 工具已經夠用啦<br>
more<br>
不過在有些情況 ( eg 懶, 貪快) 用 gui 會比較方便</p>



<p>測試環境 : Debian 10 </p>



<span id="more-16"></span>



<h4>安裝 Fluxbox , VNC Server : </h4>



<pre class="wp-block-code"><code>安裝 Fluxbox : 
apt-get update
apt-get install fluxbox xterm tightvncserver
安裝 Firefox :
apt-get install firefox-esr
設定　vnc 密碼 :
vncpasswd</code></pre>



<p>修改 ~/.vnc/xstartup<br> 將第5 及第6 行的 # 刪除</p>



<figure class="wp-block-image is-resized"><a href="https://i2.wp.com/anejd.com/wp-content/uploads/2019/07/2019-07-20_044129.png?ssl=1"><img src="https://i2.wp.com/anejd.com/wp-content/uploads/2019/07/2019-07-20_044129.png?resize=421%2C265&#038;ssl=1" alt="" class="wp-image-18" width="421" height="265" srcset="https://i2.wp.com/anejd.com/wp-content/uploads/2019/07/2019-07-20_044129.png?w=841&amp;ssl=1 841w, https://i2.wp.com/anejd.com/wp-content/uploads/2019/07/2019-07-20_044129.png?resize=300%2C189&amp;ssl=1 300w, https://i2.wp.com/anejd.com/wp-content/uploads/2019/07/2019-07-20_044129.png?resize=768%2C483&amp;ssl=1 768w" sizes="(max-width: 421px) 85vw, 421px" data-recalc-dims="1" /></a><figcaption> 將第5 及第6 行的 # 刪除 ( unquote )</figcaption></figure>



<h4>開啟 vnc server</h4>



<pre class="wp-block-code"><code>vncserver</code></pre>



<h4>Vnc Viewer</h4>



<p>用最簡單的 tightvnc 1.3 <a href="https://www.tightvnc.com/download/1.3.10/tightvnc-1.3.10_x86_viewer.zip">https://www.tightvnc.com/download/1.3.10/tightvnc-1.3.10_x86_viewer.zip</a></p>



<p>輸入你 server 的 ip:1 就可以登入</p>



<h4>打開 Firefox</h4>



<p>在 fluxbox 內的 terminal 輸入</p>



<pre class="wp-block-code"><code>firefox &amp;</code></pre>



<h4>vnc server 基本設定 :</h4>



<p>如果想用別的 Port :</p>



<pre class="wp-block-code"><code>vncserver :X 

X 是 Port 號 eg vncserver :5</code></pre>



<h4>如果想改 解像度:</h4>



<pre class="wp-block-code"><code>vncserver -geometry 1920x1080

就改成 1920x1080</code></pre>



<p>基本設定就完成啦 不過上面不是說過除了基本還有其他設定和程式</p>



<p></p>



<h4>修改 Fluxbox 的 Menu</h4>



<figure class="wp-block-image"><img src="https://i1.wp.com/anejd.com/wp-content/uploads/2019/07/2019-07-20_052059.png?w=840&#038;ssl=1" alt="" class="wp-image-20" data-recalc-dims="1"/><figcaption>加了自製 Menu &#8220;Tools&#8221;</figcaption></figure>



<p>在空白地方右按 就會出現 Fluxbox 的 Menu 那個 Menu 跟 Windows 的開始功能表差不多 裝了很多程式後如果每次都要用 Terminal 打開都幾麻煩</p>



<pre class="wp-block-code"><code>~/.fluxbox/menu</code></pre>



<pre class="wp-block-code"><code>格式 :
[submenu] (Menu 的名) {Menu 的抬頭}
[exec] (程式名) {程式路徑}

可參考圖片 : </code></pre>



<figure class="wp-block-image is-resized"><a href="https://i1.wp.com/anejd.com/wp-content/uploads/2019/07/2019-07-20_052026.png?ssl=1"><img src="https://i1.wp.com/anejd.com/wp-content/uploads/2019/07/2019-07-20_052026.png?resize=421%2C265&#038;ssl=1" alt="" class="wp-image-19" width="421" height="265" srcset="https://i1.wp.com/anejd.com/wp-content/uploads/2019/07/2019-07-20_052026.png?w=841&amp;ssl=1 841w, https://i1.wp.com/anejd.com/wp-content/uploads/2019/07/2019-07-20_052026.png?resize=300%2C189&amp;ssl=1 300w, https://i1.wp.com/anejd.com/wp-content/uploads/2019/07/2019-07-20_052026.png?resize=768%2C483&amp;ssl=1 768w" sizes="(max-width: 421px) 85vw, 421px" data-recalc-dims="1" /></a><figcaption>自製Ｍenu 格式</figcaption></figure>



<h4>程式推薦 </h4>



<p>檔案管理 : caja </p>



<pre class="wp-block-code"><code>apt-get install caja</code></pre>



<p> 壓縮檔管理 : engrampa 這個支援 7zip 和密碼 要打包 backup 時都很方便好用</p>



<pre class="wp-block-code"><code> apt-get install engrampa</code></pre>



<p> FTP 客端 : Filezilla</p>



<pre class="wp-block-code"><code> apt-get install filezilla</code></pre>



<h4>如果網路慢想刪除背景圖片 </h4>



<pre class="wp-block-code"><code>/usr/share/images/fluxbox/debian-squared.jpg</code></pre>



<p>把檔案刪除就好</p>



<h4>最後 vnc 有時會出現</h4>



<blockquote class="wp-block-quote"><p>Too many security failures</p></blockquote>



<p>其實是有人在撞你的密碼 不過 vncserver 預設只要錯十次就會鎖起來去保障安全 不過也把自己鎖住 <br> 只要將十次上限暫時解除 成功登入後再加回就可以登入啦</p>



<pre class="wp-block-code"><code>vncconfig -display :1 -set BlacklistTimeout=0 -set BlacklistThreshold=9999999</code></pre>



<p>登入後 改回十次上限</p>



<pre class="wp-block-code"><code>vncconfig -display :1 -set BlacklistTimeout=9999999 -set BlacklistThreshold=10</code></pre>



<p><s>( 一鍵安裝將在稍後提供 )</s> </p>



<pre class="wp-block-code"><code>https://anejd.com/fluxbox_anejd_debian.sh</code></pre>
<p>The post <a rel="nofollow" href="https://anejd.com/2019/07/20/debian-lightweight-desktop-fluxbox/">Debian Lightweight Desktop Fluxbox</a> appeared first on <a rel="nofollow" href="https://anejd.com">AnEjd&#039;s Blog</a>.</p>
]]></content:encoded>
							<wfw:commentRss>https://anejd.com/2019/07/20/debian-lightweight-desktop-fluxbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">16</post-id>	<enclosure length="248165" type="application/zip" url="https://www.tightvnc.com/download/1.3.10/tightvnc-1.3.10_x86_viewer.zip"/><itunes:explicit>no</itunes:explicit><itunes:subtitle>記得在舊網站有講過在 Centos VPS 上裝桌面環境來開 Firefox 不過那篇文章都是很 out dated 了 現在我的伺服器都是用 Debian 作為系統 因為Debian 比 Centos 更省資源 今次就為之前的 post update 一下 順便也講一下除了 Firefox 外其他的實用桌面程式和 Fluxbox 的設定 可能你會說 用 ssh ( shell ) terminal 入面的　command line 工具已經夠用啦 more 不過在有些情況 ( eg 懶, 貪快) 用 gui 會比較方便 測試環境 : Debian 10 安裝 Fluxbox , VNC Server : 修改 &amp;#8230; Continue reading "Debian Lightweight Desktop Fluxbox" The post Debian Lightweight Desktop Fluxbox appeared first on AnEjd&amp;#039;s Blog.</itunes:subtitle><itunes:summary>記得在舊網站有講過在 Centos VPS 上裝桌面環境來開 Firefox 不過那篇文章都是很 out dated 了 現在我的伺服器都是用 Debian 作為系統 因為Debian 比 Centos 更省資源 今次就為之前的 post update 一下 順便也講一下除了 Firefox 外其他的實用桌面程式和 Fluxbox 的設定 可能你會說 用 ssh ( shell ) terminal 入面的　command line 工具已經夠用啦 more 不過在有些情況 ( eg 懶, 貪快) 用 gui 會比較方便 測試環境 : Debian 10 安裝 Fluxbox , VNC Server : 修改 &amp;#8230; Continue reading "Debian Lightweight Desktop Fluxbox" The post Debian Lightweight Desktop Fluxbox appeared first on AnEjd&amp;#039;s Blog.</itunes:summary><itunes:keywords>Debian, Linux, debian, firefox, fluxbox, linux, vnc, vps</itunes:keywords></item>
		<item>
		<title>Hello world!</title>
		<link>https://anejd.com/2019/07/12/hello-world/</link>
				<comments>https://anejd.com/2019/07/12/hello-world/#comments</comments>
				<pubDate>Fri, 12 Jul 2019 01:47:07 +0000</pubDate>
		<dc:creator><![CDATA[anejd]]></dc:creator>
				<category><![CDATA[Uncategorised]]></category>

		<guid isPermaLink="false">http://anejd.com/?p=1</guid>
				<description><![CDATA[<p>Coming Back Soon !</p>
<p>The post <a rel="nofollow" href="https://anejd.com/2019/07/12/hello-world/">Hello world!</a> appeared first on <a rel="nofollow" href="https://anejd.com">AnEjd&#039;s Blog</a>.</p>
]]></description>
								<content:encoded><![CDATA[
<p>Coming Back Soon !</p>
<p>The post <a rel="nofollow" href="https://anejd.com/2019/07/12/hello-world/">Hello world!</a> appeared first on <a rel="nofollow" href="https://anejd.com">AnEjd&#039;s Blog</a>.</p>
]]></content:encoded>
							<wfw:commentRss>https://anejd.com/2019/07/12/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1</post-id>	</item>
	</channel>
</rss><!--
Performance optimized by W3 Total Cache. Learn more: https://www.w3-edge.com/products/

Page Caching using disk: enhanced (Page is feed) 
Database Caching 2/37 queries in 0.032 seconds using disk

Served from: anejd.com @ 2026-03-21 23:17:08 by W3 Total Cache
-->