<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Chu-Siang Lai on Medium]]></title>
        <description><![CDATA[Stories by Chu-Siang Lai on Medium]]></description>
        <link>https://medium.com/@chusiang?source=rss-64e78f2559e6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*TdXi1ubhIpeMKC97.</url>
            <title>Stories by Chu-Siang Lai on Medium</title>
            <link>https://medium.com/@chusiang?source=rss-64e78f2559e6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 06:34:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@chusiang/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Fix the Notebooks gone problem of Evernote v10.7.6 on macOS 10.11.6+]]></title>
            <link>https://chusiang.medium.com/fix-the-notebooks-gone-problem-of-evernote-v10-7-6-on-macos-10-11-6-b50ce7c260f0?source=rss-64e78f2559e6------2</link>
            <guid isPermaLink="false">https://medium.com/p/b50ce7c260f0</guid>
            <category><![CDATA[bugs]]></category>
            <category><![CDATA[evernote]]></category>
            <category><![CDATA[fix]]></category>
            <category><![CDATA[bug-fixes]]></category>
            <category><![CDATA[macos]]></category>
            <dc:creator><![CDATA[Chu-Siang Lai]]></dc:creator>
            <pubDate>Sat, 06 Feb 2021 10:55:25 GMT</pubDate>
            <atom:updated>2021-02-06T10:55:25.382Z</atom:updated>
            <content:encoded><![CDATA[<p>As the <a href="https://evernote.com/intl/zh-tw/premium">Evernote premium</a> users, I want to fix notebooks gone problem after upgrade, so that I can keep going use the <a href="https://evernote.com/intl/zh-tw">Evernote</a> v10.7.6 on macOS.</p><p>Some notebooks have gone after I upgraded the Evernote v10.6.9 to v10.7.6, I fixed this problem by clean reinstall the Evernote on macOS v10.11.6, v11.1, and v11.2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LITOqF8bbpMpqPAKt_v0fQ.png" /><figcaption>My notebooks were gone on Evernote v10.7.6.</figcaption></figure><p>We can see more detail via “About Evernote” on the menu.<br>* 10.7.6-mac-ddl-public (2321)<br>* Editor: v117.1.15008<br>* Service: v1.27.2<br>* © 2019–2021 Evernote Corporation. All rights reserved</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/1*M_zGj9GKm3RGVPR7lXfgvw.png" /><figcaption>I upgrade to 10.7.6 on 2021/02/05.</figcaption></figure><p>Open the <a href="https://freemacsoft.net/appcleaner/">AppCleaner</a> to remove the Evernote.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ChtE94ditED7gmYRjT9tCg.png" /><figcaption><strong>AppCleaner</strong> is a small application the allows you to thoroughly uninstall unwanted apps.</figcaption></figure><p>Search and select Evernote.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_u56tZDfKFUkZZa0np-A5w.png" /><figcaption>Please input the “Evernote”, and click the &lt;Enter&gt;.</figcaption></figure><p>Click the checkbox of each items of Evernote.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GZpoRPokQWfLPK-Bad4C6w.png" /><figcaption>Some filename maybe is different, but it’s ok.</figcaption></figure><p>Reinstall the Evernote from App Store.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GhLGs4Jx0zhRYJEI9t1OtA.png" /><figcaption>Click this button to set up the Evernote.</figcaption></figure><p>Log in to your Evernote account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Oe_p2JWE8E6S8qJ1GbMfMg.png" /><figcaption>If using the Google account to login, it will verify on the browser.</figcaption></figure><p>Each notebook is back now!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bzt0-nOLXrFd1K37LwPgwg.png" /><figcaption>My notebooks are back on Evernote v10.7.6.</figcaption></figure><p>Enjoy it!</p><p>By the way, maybe the Evernote from v10.6.9 to v10.7.6 has some metadata format change or data migrate bug. So we can fix this problem after clean reinstall.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b50ce7c260f0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Enabling the InnoDB File-Per-Table tablespaces and migrate the MySQL database for Zabbix 3.2.6]]></title>
            <link>https://chusiang.medium.com/change-the-mysql-innodb-tablespaces-to-file-per-table-for-zabbix-3-2-6-on-centos-7-dd86ab3179a4?source=rss-64e78f2559e6------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd86ab3179a4</guid>
            <category><![CDATA[centos]]></category>
            <category><![CDATA[innodb]]></category>
            <category><![CDATA[pos]]></category>
            <category><![CDATA[mysql]]></category>
            <category><![CDATA[zabbix]]></category>
            <dc:creator><![CDATA[Chu-Siang Lai]]></dc:creator>
            <pubDate>Fri, 17 Aug 2018 03:38:43 GMT</pubDate>
            <atom:updated>2019-05-09T03:14:30.394Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-nd/4.0/</cc:license>
            <content:encoded><![CDATA[<h3>Enabling the InnoDB File-Per-Table tablespaces and migrate the MySQL database for Zabbix 3.2.6 on CentOS 7</h3><p>As the <strong>Zabbix Ops</strong>, we want to <strong>split the large </strong><strong>ibdata1 file</strong>, so than <strong>we can reduce the obsolete data like </strong><strong>history_uint table</strong>.</p><pre>[ jonny@zabbix-server ~ ]<br>$ ls -lh /var/lib/mysql/<br>total 16G<br>-rw-rw---- 1 mysql mysql  16K Aug 15 10:36 aria_log.00000001<br>-rw-rw---- 1 mysql mysql   52 Aug 15 10:36 aria_log_control<br>-rw-rw---- 1 mysql mysql  15G Aug 15 12:45 ibdata1<br>-rw-rw---- 1 mysql mysql 5.0M Aug 15 12:45 ib_logfile0<br>-rw-rw---- 1 mysql mysql 5.0M Aug 15 12:45 ib_logfile1<br>drwx------ 2 mysql mysql 4.0K Aug 15 10:36 mysql<br>srwxrwxrwx 1 mysql mysql    0 Aug 15 10:44 mysql.sock<br>drwx------ 2 mysql mysql 4.0K Aug 15 10:36 performance_schema<br>drwx------ 2 mysql mysql    6 Aug 15 10:36 test<br>drwx------ 2 mysql mysql 8.0K Aug 15 13:59 zabbix</pre><p>▲ We can see the ibdata1 filesize is very large.</p><p>My environment:</p><ol><li>CentOS 7.3.1611</li><li>Kernel 3.10.0–862.6.3</li><li>Apache 2.4.6–45</li><li>MariaDB 5.5.52–1</li><li>PHP 5.4.45</li></ol><blockquote>The innodb_file-per-table option default is enabling after MySQL 5.6.6, but it’s not in this case.</blockquote><h3>Stop the zabbix service</h3><p>Before my start, we need stop the zabbix-server service.</p><pre>[ jonny@zabbix-server ~ ]<br>$ sudo systemctl stop zabbix-server</pre><h3>Backup the database</h3><p>If the disk was full, please add the other storage, and mount to /mnt/, or someone path first.</p><ol><li><strong>Snapshot (Important)</strong>: If this Zabbix server is built on Virtual Machine, please snapshot it. <strong>If we get some problem, we can use this to quick recovery.</strong></li><li>Use the mysqldump command.</li></ol><pre>[ jonny@zabbix-server ~ ]<br>$ sudo su -c &quot;mysqldump -u zabbix -p --all-databases --add-drop-table &gt; /mnt/zabbix_db.sql&quot;</pre><pre>[ jonny@zabbix-server ~ ]<br>$ ls -lh /mnt/zabbix_db.sql<br>-rw-r — r — 1 root root 6.3G Aug 15 03:43 zabbix_db.sql</pre><p>3. Backup the /var/lib/mysql directory.</p><pre>[ jonny@zabbix-server ~ ]<br>$ rsync -avP /var/lib/mysql /mnt/</pre><h3>Enable the File-Per-Table tablespaces</h3><p>1. Stop the <strong>MariaDB</strong> service.</p><pre>[ jonny@zabbix-server ~ ]<br>$ sudo systemctl stop mariadb</pre><p>2. Backup the /etc/my.cnf.</p><pre>[ jonny@zabbix-server ~ ]<br>$ sudo cp /etc/my.cnf /etc/my.cnf.20180815</pre><p>3. Add innodb_file_per_table=1under [mysqld]in /etc/my.cnf.</p><pre>[ jonny@zabbix-server ~ ]<br>$ sudo vim /etc/my.cnf<br>[mysqld]<br>...</pre><pre># Enable the File-Per-Table tablespaces.<br>innodb_file_per_table=1</pre><h3>Rebuild the database</h3><p>Please make sure the backup is working, <strong>this step will clean up all data</strong>.</p><p>1. Remove all files under /var/lib/mysql/.</p><pre>[ jonny@zabbix-server ~ ]<br>$ sudo rm -rf /var/lib/mysql/*</pre><blockquote>I was tried only remove ib*, but it’s not working.</blockquote><p>2. Initialization the database.</p><pre>[ jonny@zabbix-server ~ ]<br>$ sudo /usr/bin/mysql_install_db<br>Installing MariaDB/MySQL system tables in ‘/var/lib/mysql’ …<br>180815 10:36:15 [Note] /usr/libexec/mysqld (mysqld 5.5.52-MariaDB) starting as process 14533 …<br>OK<br>Filling help tables…<br>180815 10:36:15 [Note] /usr/libexec/mysqld (mysqld 5.5.52-MariaDB) starting as process 14543 …<br>OK</pre><pre>To start mysqld at boot time you have to copy<br>support-files/mysql.server to the right place for your system</pre><pre>PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !<br>To do so, start the server, then issue the following commands:</pre><pre>&#39;/usr/bin/mysqladmin&#39; -u root password &#39;new-password&#39;<br>&#39;/usr/bin/mysqladmin&#39; -u root -h zabbix-server.example.tw password &#39;new-password&#39;</pre><pre>Alternatively you can run:<br>&#39;/usr/bin/mysql_secure_installation&#39;</pre><pre>which will also give you the option of removing the test<br>databases and anonymous user created by default. This is<br>strongly recommended for production servers.</pre><pre>See the MariaDB Knowledgebase at <a href="http://mariadb.com/kb">http://mariadb.com/kb</a> or the<br>MySQL manual for more instructions.</pre><pre>You can start the MariaDB daemon with:<br>cd &#39;/usr&#39; ; /usr/bin/mysqld_safe - datadir=&#39;/var/lib/mysql&#39;</pre><pre>You can test the MariaDB daemon with mysql-test-run.pl<br>cd &#39;/usr/mysql-test&#39; ; perl mysql-test-run.pl</pre><pre>Please report any problems at <a href="http://mariadb.org/jira">http://mariadb.org/jira</a></pre><pre>The latest information about MariaDB is available at <a href="http://mariadb.org/">http://mariadb.org/</a>.<br>You can find additional information about the MySQL part at:<br><a href="http://dev.mysql.com/">http://dev.mysql.com</a><br>Support MariaDB development by buying support/new features from MariaDB Corporation Ab. You can contact us about this at <a href="/service/mailto:sales@mariadb.com">sales@mariadb.com</a>.<br>Alternatively consider joining our community based development effort:<br><a href="http://mariadb.com/kb/en/contributing-to-the-mariadb-project/">http://mariadb.com/kb/en/contributing-to-the-mariadb-project/</a></pre><p>3. List the database directory after we initialization.</p><pre>[ jonny@zabbix-server ~ ]<br>$ ls -lh /var/lib/mysql<br>total 28K<br>-rw-rw---- 1 root root  16K Aug 15 10:36 aria_log.00000001<br>-rw-rw---- 1 root root   52 Aug 15 10:36 aria_log_control<br>drwx------ 2 root root 4.0K Aug 15 10:36 mysql<br>drwx------ 2 root root 4.0K Aug 15 10:36 performance_schema<br>drwx------ 2 root root    6 Aug 15 10:36 test</pre><p>4. Change the file permission.</p><pre>[ jonny@zabbix-server ~ ]<br>$ sudo chown -R mysql:mysql /var/lib/mysql/</pre><p>5. List the database directory again.</p><pre>[ jonny@zabbix-server ~ ]<br>$ ls -l /var/lib/mysql/<br>total 28700<br>-rw-rw---- 1 mysql mysql    16384 Aug 15 10:36 aria_log.00000001<br>-rw-rw---- 1 mysql mysql       52 Aug 15 10:36 aria_log_control<br>-rw-rw---- 1 mysql mysql 18874368 Aug 15 10:41 ibdata1<br>-rw-rw---- 1 mysql mysql  5242880 Aug 15 10:41 ib_logfile0<br>-rw-rw---- 1 mysql mysql  5242880 Aug 15 10:40 ib_logfile1<br>drwx------ 2 mysql mysql     4096 Aug 15 10:36 mysql<br>drwx------ 2 mysql mysql     4096 Aug 15 10:36 performance_schema<br>drwx------ 2 mysql mysql        6 Aug 15 10:36 test</pre><p>6. Start the MariaDB service.</p><pre>[ jonny@zabbix-server ~ ]<br>$ sudo systemctl start mariadb</pre><h4>Rebuild the Account</h4><p>1. Login the MySQL shell with root, and switch to mysql database.</p><pre>[ jonny@zabbix-server ~ ]<br>$ mysql -u root -p<br>Enter password:<br>Welcome to the MariaDB monitor.  Commands end with ; or \g.<br>Your MariaDB connection id is 10<br>Server version: 5.5.52-MariaDB MariaDB Server</pre><pre>Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.</pre><pre>Type &#39;help;&#39; or &#39;\h&#39; for help. Type &#39;\c&#39; to clear the current input statement.</pre><pre>MariaDB [(none)]&gt; use mysql;<br>Reading table information for completion of table and column names<br>You can turn off this feature to get a quicker startup with -A</pre><pre>Database changed<br>MariaDB [mysql]&gt;</pre><p>2. Change the database admin password.</p><pre>MariaDB [mysql]&gt; UPDATE user SET Password=PASSWORD(&quot;&lt;FIXME&gt;&quot;) WHERE User=&quot;root&quot;;<br>Query OK, 4 rows affected (0.00 sec)<br>Rows matched: 4  Changed: 4  Warnings: 0</pre><p>3. Create a database for Zabbix.</p><pre>MariaDB [mysql]&gt; CREATE DATABASE zabbix;<br>Query OK, 1 row affected (0.00 sec)</pre><p>4. Create a database account for Zabbix.</p><pre>MariaDB [mysql]&gt; CREATE USER &#39;zabbix&#39;@&#39;localhost&#39; IDENTIFIED BY &#39;&lt;FIXME&gt;&#39;;<br>Query OK, 0 rows affected (0.00 sec)</pre><p>5. Setting permission of Zabbix account.</p><pre>MariaDB [mysql]&gt; GRANT ALL PRIVILEGES ON zabbix.* TO &#39;zabbix&#39;@&#39;localhost&#39;;<br>Query OK, 0 rows affected (0.00 sec)</pre><p>6. Immediately apply this permission.</p><pre>MariaDB [mysql]&gt; FLUSH PRIVILEGES;<br>Query OK, 0 rows affected (0.00 sec)</pre><h3>Verify the per_table setting</h3><p>Before we import before backup data, please verify the innodb_file_per_table value is ON.</p><pre>MariaDB [mysql]&gt; show variables like &#39;%per_table%&#39;;<br>+-----------------------+-------+<br>| Variable_name         | Value |<br>+-----------------------+-------+<br>| innodb_file_per_table | ON    |<br>+-----------------------+-------+<br>1 row in set (0.00 sec)</pre><pre>MariaDB [mysql]&gt;</pre><h3>Recovery with import before backup sql file</h3><pre>[ jonny@zabbix-server ~ ]<br>$ time mysql -u zabbix -p zabbix &lt; /mnt/zabbix_db.sql<br>Enter password:</pre><pre>real    31m57.704s<br>user    0m50.054s<br>sys     0m1.945s</pre><blockquote>It maybe need much time, we can drink coffee or do something else.</blockquote><h3>Reduce the large table</h3><p>1. Find the large tables.</p><pre>[ root@zabbix-server ~ ]<br># ls -lhtrS /var/lib/mysql/zabbix | tail<br>...<br>                                                            <br>-rw-rw---- 1 mysql mysql 192M Aug 15 14:01 events.ibd<br>-rw-rw---- 1 mysql mysql 288M Aug 15 14:01 trends.ibd<br>-rw-rw---- 1 mysql mysql 660M Aug 15 14:01 trends_uint.ibd<br>-rw-rw---- 1 mysql mysql 1.1G Aug 15 14:01 history.ibd<br>-rw-rw---- 1 mysql mysql  14G Aug 15 13:53 history_uint.ibd</pre><p>2. Login the MySQL shell with zabbix, and switch to zabbix database.</p><pre>[ jonny@zabbix-server ~ ]<br>$ mysql -u zabbix -p<br>Enter password:<br>Welcome to the MariaDB monitor.  Commands end with ; or \g.<br>Your MariaDB connection id is 957<br>Server version: 5.5.52-MariaDB MariaDB Server<br>                                                                               <br>Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.<br>                                                                               <br>Type &#39;help;&#39; or &#39;\h&#39; for help. Type &#39;\c&#39; to clear the current input statement.<br>                                                                               <br>MariaDB [(none)]&gt; use zabbix;<br>Reading table information for completion of table and column names<br>You can turn off this feature to get a quicker startup with -A<br>                                                                               <br>Database changed</pre><p>3. Count the history_uint table.</p><pre>MariaDB [zabbix]&gt; select count(itemid) from history_uint;<br>+---------------+<br>| count(itemid) |<br>+---------------+<br>|     177487167 |<br>+---------------+<br>1 row in set (1 min 14.37 sec)</pre><p>4. Clean up the history_uint table.</p><pre>MariaDB [zabbix]&gt; truncate table history_uint;<br>Query OK, 0 rows affected (0.38 sec)</pre><p>5. Count the history_uint table again.</p><pre>MariaDB [zabbix]&gt; select count(itemid) from history_uint;<br>+---------------+<br>| count(itemid) |<br>+---------------+<br>|           107 |<br>+---------------+<br>1 row in set (0.00 sec)</pre><p>6. See the disk usage.</p><pre>[ jonny@zabbix-server ~ ]<br>$ df -h<br>Filesystem           Size  Used Avail Use% Mounted on<br>/dev/mapper/cl-root   22G  5.1G   17G  24% /<br>devtmpfs             1.9G     0  1.9G   0% /dev<br>tmpfs                1.9G     0  1.9G   0% /dev/shm<br>tmpfs                1.9G  8.5M  1.9G   1% /run<br>tmpfs                1.9G     0  1.9G   0% /sys/fs/cgroup<br>/dev/sda1           1014M  322M  693M  32% /boot<br>...<br>/dev/sdb1             32G   23G  9.7G  70% /mnt</pre><p>7. Find the large tables again.</p><pre>[ root@zabbix-server ~ ]<br># ls -lhtrS /var/lib/mysql/zabbix | tail<br>...<br>                                                           <br>-rw-rw---- 1 mysql mysql 192M Aug 15 14:01 events.ibd<br>-rw-rw---- 1 mysql mysql 288M Aug 15 14:01 trends.ibd<br>-rw-rw---- 1 mysql mysql 660M Aug 15 14:01 trends_uint.ibd<br>-rw-rw---- 1 mysql mysql 1.1G Aug 15 14:01 history.ibd</pre><p>Good luck, have fun.</p><blockquote>Synchronized on <a href="https://note.drx.tw/2018/08/enabling-mysql-innodb-file-per-table-for-zabbix-3.2.6-centos-7.html">Enabling the InnoDB File-Per-Table tablespaces and migrate the MySQL database for Zabbix 3.2.6 on CentOS 7 | 凍仁的筆記</a>.</blockquote><h3>Reference</h3><ol><li><a href="https://hk.saowen.com/a/be12ba3c8e46982c00f09c7a8c26e772b8c69152e05d9d1d0e35f48bf8115d70">處理 MySQL 的 ibdata1 文檔過大問題 | 掃文資訊</a></li><li><a href="https://dev.mysql.com/doc/refman/5.6/en/tablespace-enabling.html">MySQL :: MySQL 5.6 Reference Manual :: 14.7.4.1 Enabling and Disabling File-Per-Table Tablespaces</a></li><li><a href="https://www.phpini.com/mysql/mysql-enable-innodb_file_per_table-convert-table">MySQL 開啟 innodb_file_per_table 及轉換現有資料表 | Linux 技術手札</a></li><li><a href="https://www.phpini.com/mysql/mysql-add-new-users-databases-privileges">MySQL 新增使用者及建立資料庫權限 | Linux 技術手札</a></li><li><a href="http://emn178.pixnet.net/blog/post/87659567-mysql%E4%BF%AE%E6%94%B9%E5%AF%86%E7%A2%BC%E8%88%87%E5%BF%98%E8%A8%98%E5%AF%86%E7%A2%BC%E9%87%8D%E8%A8%AD">MySQL 修改密碼與忘記密碼重設 @ 小殘的程式光廊</a></li><li><a href="http://whatizee.blogspot.tw/2016/10/zabbix-history-table-clean-up.html">Zabbix History Table Clean Up | whatizee</a></li><li><a href="https://www.modio.se/optimizing-disk-usage-of-zabbix-and-postgresql.html">Optimizing disk usage of Zabbix and PostgreSQL | Modio</a></li><li><a href="https://zabbix.com/forum/showthread.php?t=4239">History tables Explanation | ZABBIX Forums</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd86ab3179a4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Install the Vim 8.0 and YouCompleteMe with Make on CentOS 7.3]]></title>
            <link>https://chusiang.medium.com/install-the-vim-8-0-and-youcompleteme-with-make-on-centos-7-4-1573ad780953?source=rss-64e78f2559e6------2</link>
            <guid isPermaLink="false">https://medium.com/p/1573ad780953</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[vim]]></category>
            <category><![CDATA[centos]]></category>
            <category><![CDATA[gnu-linux]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Chu-Siang Lai]]></dc:creator>
            <pubDate>Mon, 19 Mar 2018 21:43:22 GMT</pubDate>
            <atom:updated>2019-08-22T07:10:26.615Z</atom:updated>
            <content:encoded><![CDATA[<p>As a <strong>vimmer</strong>, I want to <strong>complete and install the Vim 7.4.1578+ at <em>~/.local</em></strong> , so that <strong>I can use the YouCompleteMe plugin on CentOS 7.3</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/769/1*QjCOxQdECkhkf4vp3TVGoA.png" /><figcaption>▲ The Vim 8.0.1522 on CentOS 7.3.1611.</figcaption></figure><h3>Install the Vim 8.0 with Make</h3><ol><li>Install the necessary package.</li></ol><pre>$ sudo yum install gcc-c++ ncurses-devel python-devel</pre><p>2. Get the source code of Vim.</p><pre>$ git clone <a href="https://github.com/vim/vim.git">https://github.com/vim/vim.git</a></pre><p>3. Go to build directory.</p><pre>$ cd vim/src &amp;&amp; git checkout v8.0.1522</pre><pre># Use the version like my MacVim.</pre><p>4. Configure it !</p><pre>$ ./configure \<br>  --disable-nls \<br>  --enable-cscope \<br>  --enable-gui=no \<br>  --enable-multibyte  \<br>  --enable-pythoninterp \<br>  --enable-rubyinterp \<br>  --prefix=/home/jonny/.local/vim \<br>  --with-features=huge  \<br>  --with-python-config-dir=/usr/lib/python2.7/config \<br>  --with-tlib=ncurses \<br>  --without-x</pre><ul><li>--prefix: For local user, not effect other users.</li><li>--with-python-config-dir: For support the <strong>YouCompleteMe</strong> plugin.</li><li>I remove <em>--enable-perlinterp</em> args, because it will build fail, and I don’t need write the perl script.</li></ul><p>5. Compile and install the Vim.</p><pre>$ make &amp;&amp; make install</pre><p>6. Add <em>~/.local/vim/bin/</em> into <em>$PATH</em>.</p><pre>$ vim ~/.bashrc<br>...</pre><pre>if [ -d &quot;$HOME/.local/vim/bin/&quot; ] ; then<br>  PATH=&quot;$HOME/.local/vim/bin/:$PATH&quot;<br>fi</pre><p>7. Reload the bashrc.</p><pre>source ~/.bashrc</pre><h3>Install the YouCompleteMe plugin</h3><ol><li>Install the necessary package.</li></ol><pre>$ sudo yum install gcc-c++ cmake python-devel</pre><p>2. Get the YouCompleteMe plugin.</p><pre>$ mkdir ~/.vim/bundle &amp;&amp; \<br>  git clone <a href="https://github.com/Valloric/YouCompleteMe.git">https://github.com/Valloric/YouCompleteMe.git</a> \<br>  ~/.vim/bundle/YouCompleteMe</pre><p>3. Compile and install the YouCompleteMe.</p><pre>$ cd ~/.vim/bundle/YouCompleteMe &amp;&amp; python ./install.py</pre><p>Enjoy it.</p><p>By the way, I use the <a href="https://github.com/Shougo/dein.vim">dein.vim</a> to manage my vim plugins, you can see more detail at <a href="https://github.com/chusiang/vimrc">https://github.com/chusiang/vimrc</a> .</p><h3>Reference</h3><ul><li><a href="https://blog.othree.net/log/2016/10/03/native-true-color-vim/">Native True Color Vim | O3noBLOG</a></li><li><a href="http://blog.csdn.net/nzyalj/article/details/75331822">Centos7 安装 vim8.0 + YouCompleteMe | </a>nzyalj</li><li><a href="https://github.com/Valloric/YouCompleteMe/issues/2573">YouCompleteMe unavailable: requires Vim compiled with Python (2.6+ or 3.3+) support | GitHub</a></li><li><a href="https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source">Building Vim from source · Valloric/YouCompleteMe Wiki | GitHub</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1573ad780953" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The DevOps workshop of 《The Phoenix Project》]]></title>
            <link>https://chusiang.medium.com/the-devops-sandbox-game-of-the-phoenix-project-d5514caf3c0f?source=rss-64e78f2559e6------2</link>
            <guid isPermaLink="false">https://medium.com/p/d5514caf3c0f</guid>
            <category><![CDATA[the-phoenix-project]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[devopsdays]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[training]]></category>
            <dc:creator><![CDATA[Chu-Siang Lai]]></dc:creator>
            <pubDate>Sun, 03 Sep 2017 15:43:00 GMT</pubDate>
            <atom:updated>2018-10-16T19:49:11.749Z</atom:updated>
            <content:encoded><![CDATA[<p>I went to <a href="https://devopsdays.tw/workshop_phoenix.html"><strong>The Phoenix Project workshop</strong></a> on 2017/09/01, it is sponsored by the IBPA (International Best Practice Management Alliance) and iThome, it also is a game with Agile and DevOps specialist !</p><p>I very like “The Phoenix Project” book, and I want to find the answer like what is the unicorn team in this workshop.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5c0R7C6XLkSS53-RhOFH9w.jpeg" /><figcaption>▲ The DevOps sandbox game of the Phoenix project.</figcaption></figure><p>Before we start, I see a special edition of The Phoenix Project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MMR6q8WbcVlDF5BJbULuCA.jpeg" /><figcaption>▲ The appendix adds a chapter about the sandbox game.</figcaption></figure><p>Thanks for team, we get the better in the sandbox game. I did’t expect the final bottleneck is not in a variety of card combinations, but in the “visual kanban”.</p><p>Maybe, we are the lack of such a large kanban and large discuss of regardless the job description, so we can’t play to the extreme of Agile and DevOps in the enterprise.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JMPADVACKXfBdFPbMLz2kw.jpeg" /><figcaption>▲ I heard the stock over $50, we can play the hidden fifth round !</figcaption></figure><p>My experience:</p><ol><li>The work should not be divided the positions, it should be carried out by the function.</li><li>The work should according to the most important goals to decide the direction.</li><li>When a team has consensus and will continuous improvement, it is a “unicorn team” !</li></ol><p>If you want to see more detail about my experience, you can see this post.</p><p>&gt; <a href="http://note.drx.tw/2017/09/the-phoenix-poject-workshop.html">一群臺灣老司機參與《鳳凰項目》沙盤的持續成長故事 | 凍仁的筆記</a></p><p>Enjoy it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5514caf3c0f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[Presentation] Continuous Delivery with Ansible x GitLab CI (2/e)]]></title>
            <link>https://chusiang.medium.com/presentation-continuous-delivery-with-ansible-x-gitlab-ci-2-e-d16049f75a7e?source=rss-64e78f2559e6------2</link>
            <guid isPermaLink="false">https://medium.com/p/d16049f75a7e</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[ansible]]></category>
            <category><![CDATA[gitlab-ci]]></category>
            <category><![CDATA[gitlab]]></category>
            <category><![CDATA[continuous-delivery]]></category>
            <dc:creator><![CDATA[Chu-Siang Lai]]></dc:creator>
            <pubDate>Wed, 23 Aug 2017 15:02:51 GMT</pubDate>
            <atom:updated>2017-09-03T14:15:56.192Z</atom:updated>
            <content:encoded><![CDATA[<p>I have released the second edition slides of <strong>Continuous Delivery with Ansible x GitLab CI </strong>at 2017/08/19, and I freeze it, today.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.slideshare.net%2Fslideshow%2Fembed_code%2Fkey%2F1zWP9feXTk3rDr&amp;url=https%3A%2F%2Fwww.slideshare.net%2Ffreezejonny%2Fcontinuous-delivery-withansible-x-gitlab-ci-2e&amp;image=https%3A%2F%2Fcdn.slidesharecdn.com%2Fss_thumbnails%2Fcontinuousdeliverywithansiblexgitlab-ci-2e-170819054705-thumbnail-4.jpg%3Fcb%3D1503499556&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=slideshare" width="600" height="500" frameborder="0" scrolling="no"><a href="https://medium.com/media/36e0583dd0ed7d6086c0159893799f14/href">https://medium.com/media/36e0583dd0ed7d6086c0159893799f14/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FQHim_JxB4ZY%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DQHim_JxB4ZY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FQHim_JxB4ZY%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/082791b5c1fbf1924ef0500cccc5f9fc/href">https://medium.com/media/082791b5c1fbf1924ef0500cccc5f9fc/href</a></iframe><p>I have wrote my perception with Chinese on <a href="http://note.drx.tw/2017/08/continuous-delivery-with-ansible-x-gitlab-ci.html">http://note.drx.tw/2017/08/continuous-delivery-with-ansible-x-gitlab-ci.html</a> .</p><p>Enjoy it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d16049f75a7e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hello Medium !]]></title>
            <link>https://chusiang.medium.com/hello-medium-ab0a758b4dfe?source=rss-64e78f2559e6------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab0a758b4dfe</guid>
            <dc:creator><![CDATA[Chu-Siang Lai]]></dc:creator>
            <pubDate>Tue, 22 Aug 2017 00:42:07 GMT</pubDate>
            <atom:updated>2017-08-22T00:42:07.702Z</atom:updated>
            <content:encoded><![CDATA[<p>I just register the Medium.com for follow my friends, maybe I will write something in here.</p><p>By the way, my old blog is <a href="http://note.drx.tw/">http://note.drx.tw</a>, and powered by Blogger.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab0a758b4dfe" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>