<?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>ubuntu &#8211; 這世上 沒有偶然 只有必然</title>
	<atom:link href="https://wordpress.lokidea.com/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>https://wordpress.lokidea.com</link>
	<description>幻幽的小小分享區</description>
	<lastBuildDate>Mon, 18 May 2020 06:50:36 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>網站更新 memo</title>
		<link>https://wordpress.lokidea.com/2009/%e7%b6%b2%e7%ab%99%e6%9b%b4%e6%96%b0-memo/</link>
					<comments>https://wordpress.lokidea.com/2009/%e7%b6%b2%e7%ab%99%e6%9b%b4%e6%96%b0-memo/#respond</comments>
		
		<dc:creator><![CDATA[Barney Chen]]></dc:creator>
		<pubDate>Mon, 18 May 2020 06:44:59 +0000</pubDate>
				<category><![CDATA[後端]]></category>
		<category><![CDATA[必然]]></category>
		<category><![CDATA[網站研究]]></category>
		<category><![CDATA[網站記錄]]></category>
		<category><![CDATA[隨便聊聊]]></category>
		<category><![CDATA[docker]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">https://wordpress.lokidea.com/?p=2009</guid>

					<description><![CDATA[這台主機丟在 do 上面，最近發現之前那台主機不能更新 ubuntu 16.04.4 怎麼更新都有問題 只好重 &#8230; <a href="https://wordpress.lokidea.com/2009/%e7%b6%b2%e7%ab%99%e6%9b%b4%e6%96%b0-memo/" class="more-link">閱讀全文 <span class="screen-reader-text">網站更新 memo</span></a>]]></description>
										<content:encoded><![CDATA[
<p>這台主機丟在 do 上面，最近發現之前那台主機不能更新</p>



<p>ubuntu 16.04.4 怎麼更新都有問題</p>



<p>只好重開一台 20.04 起來用</p>



<p>也把部落格先搬到新主機上面</p>



<p>列一下安裝遇到的問題與學習</p>



<p>安裝了不少東西</p>



<ul class="wp-block-list"><li>LAMP</li><li>wordpress (包含需要的 <a rel="noreferrer noopener" href="https://make.wordpress.org/hosting/handbook/handbook/server-environment/#php-extensions" target="_blank">php extension</a>)</li><li>wordpress優化</li><li>webmin</li><li>加上了swap</li></ul>



<p>也列一下想學習的項目：</p>



<ul class="wp-block-list"><li>git</li><li>docker</li><li>k8s</li><li>Powershell</li><li>git bash</li></ul>



<p>除錯原來舊主機也查了點文章</p>



<ul class="wp-block-list"><li>git 安裝到最新版本</li><li>ssh 金鑰安裝</li></ul>



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



<p>更多內容就參考我丟在 <a rel="noreferrer noopener" href="https://gist.github.com/Barneybook/f3693e7cd499097477ba729232000087" target="_blank">gist的memo</a> 吧</p>



<script src="https://gist.github.com/Barneybook/f3693e7cd499097477ba729232000087.js"></script>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress.lokidea.com/2009/%e7%b6%b2%e7%ab%99%e6%9b%b4%e6%96%b0-memo/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>MySQL 一直當掉，先來開 swap space</title>
		<link>https://wordpress.lokidea.com/1943/mysql-%e4%b8%80%e7%9b%b4%e7%95%b6%e6%a9%9f%ef%bc%8c%e5%85%88%e4%be%86%e9%96%8b-swap-space/</link>
					<comments>https://wordpress.lokidea.com/1943/mysql-%e4%b8%80%e7%9b%b4%e7%95%b6%e6%a9%9f%ef%bc%8c%e5%85%88%e4%be%86%e9%96%8b-swap-space/#respond</comments>
		
		<dc:creator><![CDATA[Barney Chen]]></dc:creator>
		<pubDate>Thu, 24 Oct 2019 09:28:54 +0000</pubDate>
				<category><![CDATA[必然]]></category>
		<category><![CDATA[隨便聊聊]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[crash]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://wordpress.lokidea.com/?p=1943</guid>

					<description><![CDATA[新主機開wordpress以後MySQL一直壞，用一陣子就當掉 問了朋友才想到可以開 swap space G &#8230; <a href="https://wordpress.lokidea.com/1943/mysql-%e4%b8%80%e7%9b%b4%e7%95%b6%e6%a9%9f%ef%bc%8c%e5%85%88%e4%be%86%e9%96%8b-swap-space/" class="more-link">閱讀全文 <span class="screen-reader-text">MySQL 一直當掉，先來開 swap space</span></a>]]></description>
										<content:encoded><![CDATA[
<p>新主機開wordpress以後<br />MySQL一直壞，用一陣子就當掉</p>


<p>問了朋友才想到可以開 swap space</p>


<p>Google 了 【Mysql crash swap】</p>


<p>找到了兩篇文章環境：</p>


<ul class="wp-block-list"><li><a rel="noreferrer noopener" aria-label="Creating Swap Space on Ubuntu 18.04 (在新分頁中開啟)" href="https://devanswers.co/creating-swap-space-ubuntu-18-04/" target="_blank">Creating Swap Space on Ubuntu 18.04</a> (我是參考這篇做)</li><li><a rel="noreferrer noopener" aria-label="18.04 - mysql service always crashes - Ask Ubuntu (在新分頁中開啟)" href="https://askubuntu.com/questions/1054839/mysql-service-always-crashes" target="_blank">18.04 &#8211; mysql service always crashes &#8211; Ask Ubuntu</a></li><li><a href="http://teknosrc.com/mysql-linux-ubuntu-crashing-create-swap-space-memory-solution/">MYSQL on Linux(Ubuntu) keeps crashing – Solution is to create Swap Space | Technology Source</a></li></ul>


<p>PS：<br />環境 : AWS ubuntu 18.04 </p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress.lokidea.com/1943/mysql-%e4%b8%80%e7%9b%b4%e7%95%b6%e6%a9%9f%ef%bc%8c%e5%85%88%e4%be%86%e9%96%8b-swap-space/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>更新ubuntu14.04 -&#062;16.04遇到的問題【345/366】</title>
		<link>https://wordpress.lokidea.com/1406/%e6%9b%b4%e6%96%b0ubuntu14-04-16-04%e9%81%87%e5%88%b0%e7%9a%84%e5%95%8f%e9%a1%8c%e3%80%90345-366%e3%80%91/</link>
					<comments>https://wordpress.lokidea.com/1406/%e6%9b%b4%e6%96%b0ubuntu14-04-16-04%e9%81%87%e5%88%b0%e7%9a%84%e5%95%8f%e9%a1%8c%e3%80%90345-366%e3%80%91/#respond</comments>
		
		<dc:creator><![CDATA[Barney Chen]]></dc:creator>
		<pubDate>Sat, 10 Dec 2016 15:22:37 +0000</pubDate>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[每日一篇]]></category>
		<category><![CDATA[mysql-server]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu 16.04]]></category>
		<guid isPermaLink="false">https://wordpress.lokidea.com/?p=1406</guid>

					<description><![CDATA[之前剛好有機會使用到ubuntu 16.04 發現PHP7變成預設了 今天剛好下午有時間就更新了一下 沒想到光 &#8230; <a href="https://wordpress.lokidea.com/1406/%e6%9b%b4%e6%96%b0ubuntu14-04-16-04%e9%81%87%e5%88%b0%e7%9a%84%e5%95%8f%e9%a1%8c%e3%80%90345-366%e3%80%91/" class="more-link">閱讀全文 <span class="screen-reader-text">更新ubuntu14.04 -&#62;16.04遇到的問題【345/366】</span></a>]]></description>
										<content:encoded><![CDATA[<p>之前剛好有機會使用到ubuntu 16.04<br />
發現PHP7變成預設了<br />
今天剛好下午有時間就更新了一下<br />
沒想到光是下載更新就花了快兩個小時<br />
<span id="more-1406"></span><br />
更新完比較大的問題只有 mysql-server-5.7沒辦法順利啟動<br />
一開始以為是PHP7沒有支援mysql，結果只是mysql沒有正確啟動<br />
<a href="http://askubuntu.com/questions/777845/mysql-not-working-after-upgrade-from-14-04-to-16-04" target="_blank" rel="noopener noreferrer">MySQL not working after upgrade from 14.04 to 16.04 &#8211; Ask Ubuntu</a><br />
找到這篇<br />
改了my.cnf還是不能啟動<br />
又找了一會就是找不到問題<br />
就重新安裝了mysql-server-5.7<br />
重裝好就跳了訊息說</p>
<blockquote><p>innodb_use_sys_malloc = 1</p></blockquote>
<p>這行設定有問題，砍掉以後就可以正常啟動mysql了<br />
但是&#8230;.<br />
wordpress進來以後<br />
又有一個新問題<br />
就是curl沒有安裝<br />
又跑去google一下<br />
找到兩篇文章</p>
<ul>
<li><a href="http://askubuntu.com/questions/794862/cannot-install-php7-0-curl-on-ubuntu-16-04-php-7" target="_blank" rel="noopener noreferrer">Cannot install php7.0-curl on Ubuntu 16.04 &amp; PHP 7 &#8211; Ask Ubuntu</a></li>
<li><a href="http://askubuntu.com/questions/767551/cannot-install-php-curl-on-ubuntu-16-04-php-7" target="_blank" rel="noopener noreferrer">apache2 &#8211; Cannot install php-curl on Ubuntu 16.04 &amp; PHP 7 &#8211; Ask Ubuntu</a></li>
</ul>
<p>執行了兩個curl的安裝</p>
<blockquote><p>apt-get install php-curl<br />
apt-get install php7.0-curl</p></blockquote>
<p>重啟apache2以後就正常可以使用了</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress.lokidea.com/1406/%e6%9b%b4%e6%96%b0ubuntu14-04-16-04%e9%81%87%e5%88%b0%e7%9a%84%e5%95%8f%e9%a1%8c%e3%80%90345-366%e3%80%91/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>今天Ubuntu 16.04釋出了【113/366】</title>
		<link>https://wordpress.lokidea.com/781/%e4%bb%8a%e5%a4%a9ubuntu-16-04%e9%87%8b%e5%87%ba%e4%ba%86%e3%80%90113-366%e3%80%91/</link>
					<comments>https://wordpress.lokidea.com/781/%e4%bb%8a%e5%a4%a9ubuntu-16-04%e9%87%8b%e5%87%ba%e4%ba%86%e3%80%90113-366%e3%80%91/#respond</comments>
		
		<dc:creator><![CDATA[Barney Chen]]></dc:creator>
		<pubDate>Fri, 22 Apr 2016 15:19:25 +0000</pubDate>
				<category><![CDATA[必然]]></category>
		<category><![CDATA[每日一篇]]></category>
		<category><![CDATA[網站研究]]></category>
		<category><![CDATA[16.04]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://wordpress.lokidea.com/?p=781</guid>

					<description><![CDATA[每六個月釋出一個發行版 今天是最新的LTS釋出 上一次的版本是兩年前的14.04 LTS每兩年釋出一次，產品生 &#8230; <a href="https://wordpress.lokidea.com/781/%e4%bb%8a%e5%a4%a9ubuntu-16-04%e9%87%8b%e5%87%ba%e4%ba%86%e3%80%90113-366%e3%80%91/" class="more-link">閱讀全文 <span class="screen-reader-text">今天Ubuntu 16.04釋出了【113/366】</span></a>]]></description>
										<content:encoded><![CDATA[<p>每六個月釋出一個發行版<br />
今天是最新的LTS釋出<br />
上一次的版本是兩年前的14.04<br />
LTS每兩年釋出一次，產品生命週期長達五年(server版本)<br />
所以現在server通常都會使用LTS作為安裝版本<br />
<a href="https://wiki.ubuntu.com/Releases" target="_blank" rel="noopener noreferrer">官方版本生命週期清單</a><br />
<span id="more-781"></span><br />
這次16.04的名稱為 Xenial Xerus<br />
更多關於 ubuntu的介紹可以去 <a href="https://zh.wikipedia.org/wiki/Ubuntu">wiki</a> 看<br />
PS:我比較好奇的是<br />
等到明年17.04就是Z開頭的名稱<br />
那17.10的名子會怎麼取呢~?</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress.lokidea.com/781/%e4%bb%8a%e5%a4%a9ubuntu-16-04%e9%87%8b%e5%87%ba%e4%ba%86%e3%80%90113-366%e3%80%91/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
