<?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>Web Station &#8211; NhanVPH&#039;s Blog</title>
	<atom:link href="https://blntech.io.vn/tag/web-station/feed/" rel="self" type="application/rss+xml" />
	<link>https://blntech.io.vn</link>
	<description></description>
	<lastBuildDate>Thu, 26 Mar 2026 08:23:08 +0000</lastBuildDate>
	<language>vi</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://blntech.io.vn/wp-content/uploads/2026/04/cropped-cropped-Logo-BLN-32x32.jpg</url>
	<title>Web Station &#8211; NhanVPH&#039;s Blog</title>
	<link>https://blntech.io.vn</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Cài Đặt WordPress (Phần 2)</title>
		<link>https://blntech.io.vn/huong-dan-cai-dat-wordpress-phan-2/</link>
		
		<dc:creator><![CDATA[nhanvph]]></dc:creator>
		<pubDate>Thu, 26 Mar 2026 08:13:11 +0000</pubDate>
				<category><![CDATA[Xpenology]]></category>
		<category><![CDATA[MariaDB]]></category>
		<category><![CDATA[PhpMyAdmin]]></category>
		<category><![CDATA[Synology]]></category>
		<category><![CDATA[Web Station]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[xpenology]]></category>
		<guid isPermaLink="false">https://blntech.io.vn/?p=4224</guid>

					<description><![CDATA[Note này mình sẽ giới thiệu Phần 2: Cài thủ công. Đây là phương pháp cài WordPress trên Synology NAS [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Note này mình sẽ giới thiệu Phần 2: Cài thủ công. Đây là phương pháp cài WordPress trên Synology NAS hoặc XPEnology mình khuyên các bạn nên dùng.</p>



<h3 class="wp-block-heading" id="ftoc-heading-1">Chuẩn bị</h3>



<p class="wp-block-paragraph"><strong>Trước hết bạn cần phải xem qua các bài viết và làm các việc sau:</strong></p>



<ul class="wp-block-list">
<li>Hướng dẫn cài đặt Web Station.</li>



<li>Hướng dẫn DDNS cho Domain (tên miền).</li>



<li>Tạo chứng chỉ SSL cho Domain</li>



<li><a href="https://blntech.io.vn/cai-dat-wordpress-phan-1/" data-type="post" data-id="4226" target="_blank" rel="noreferrer noopener">Cài đặt WordPress tự động qua Package Center</a>.</li>
</ul>



<h3 class="wp-block-heading" id="ftoc-heading-2">Phần 2: Cài đặt thủ công</h3>



<ul class="wp-block-list">
<li><strong>Ưu điểm:</strong>
<ul class="wp-block-list">
<li>Chạy full toàn bộ các chức năng của WordPress.</li>



<li>Phù hợp cho chạy online (internet). Bản thân trang này của mình đang dùng.</li>
</ul>
</li>



<li><strong>Nhược điểm:</strong>
<ul class="wp-block-list">
<li>Khó cài đặt hơn so với cách cài qua Package Center.</li>



<li>Không có Photo Station Tinymce Plugin và Photo Station WordPress Plugin. Mình không dùng nên cũng không quan tâm&nbsp;<img decoding="async" src="blob:https://blntech.io.vn/befdb56f-669d-4b74-b028-d3f8eb5e113e" alt=":mrgreen:"></li>
</ul>
</li>
</ul>



<h4 class="wp-block-heading" id="ftoc-heading-3">B1: Tải mã nguồn WordPress.</h4>



<ul class="wp-block-list">
<li>Bạn truy cập vào trang chủ của&nbsp;<a href="https://wordpress.org/" target="_blank" rel="noreferrer noopener">WordPress</a>&nbsp;để tải bản mới nhất.
<ul class="wp-block-list">
<li>Bản tiếng Việt:&nbsp;<a href="https://vi.wordpress.org/download/" target="_blank" rel="noreferrer noopener">https://vi.wordpress.org/download/</a></li>



<li>Bản tiếng Anh:&nbsp;<a href="https://wordpress.org/download/" target="_blank" rel="noreferrer noopener">https://wordpress.org/download/</a></li>
</ul>
</li>
</ul>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="1024" height="665" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-38.png" alt="" class="wp-image-5304" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-38.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/10/image-38-300x195.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-38-768x499.png 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><a href="https://nguyenvinh.net/wp-content/uploads/2020/05/DSM-WordPress-TC.png"></a></p>



<p class="wp-block-paragraph" id="caption-attachment-2277">Thông thường thì bản tiếng Việt sẽ chưa được cập nhật mới nhất ngay. Để đỡ phải mất công cập nhật sau khi cài xong thì bạn tải bản tiếng Anh về cài. Sau đó vào Settings chuyển ngôn ngữ thành tiếng Việt là được.</p>



<figure class="wp-block-image size-full"><img decoding="async" width="1024" height="565" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-39.png" alt="" class="wp-image-5305" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-39.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/10/image-39-300x166.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-39-768x424.png 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-2279">Sau khi tải xong bạn tiến hành gải nén và copy vào thư mục&nbsp;<strong>web</strong>. Mặc định khi giải nén ra tên thư mục là&nbsp;<strong>wordpress</strong>, bạn có thể đổi lại thành bất kỳ tên gì. Ở đây mình đổi thành&nbsp;<strong>blog</strong>.</p>



<h4 class="wp-block-heading" id="ftoc-heading-4">B2: Tạo CSDL trong phpMyAdmin.</h4>



<p class="wp-block-paragraph">Bạn vào&nbsp;<strong>Main Menu</strong>&nbsp;mở ứng dụng&nbsp;<strong>phpMyAdmin</strong>.&nbsp;Xem hướng dẫn tại đây&nbsp;nếu bạn chưa cài phpMyAdmin.</p>



<figure class="wp-block-image size-full"><img decoding="async" width="1024" height="392" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-40.png" alt="" class="wp-image-5306" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-40.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/10/image-40-300x115.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-40-768x294.png 768w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1022" height="557" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-43.png" alt="" class="wp-image-5309" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-43.png 1022w, https://blntech.io.vn/wp-content/uploads/2025/10/image-43-300x164.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-43-768x419.png 768w" sizes="auto, (max-width: 1022px) 100vw, 1022px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-2283">Đăng nhập vào phpMyAdmin với tài khoản&nbsp;<strong>root</strong></p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="508" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-44.png" alt="" class="wp-image-5310" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-44.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/10/image-44-300x149.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-44-768x381.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-2287">Tạo mới một CSDL</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="483" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-45.png" alt="" class="wp-image-5311" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-45.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/10/image-45-300x142.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-45-768x362.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-2286">Nhập tên CSDL cần tạo, ở đây mình để là&nbsp;<strong>blog</strong></p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="473" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-46.png" alt="" class="wp-image-5312" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-46.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/10/image-46-300x139.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-46-768x355.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-2285">Như vậy là tạo xong CSDL</p>



<p class="wp-block-paragraph">Nếu bạn không dùng tên miền riêng để truy câp hoặc để trang offline (trong mạng Lan) thì truy cập vào địa chỉ&nbsp;<strong>/blog</strong>&nbsp;để cài đặt WordPress (bỏ qua bước 3). Trong trường hợp bạn có domain, sub domain và muốn trang WordPress truy cập bằng domain, sub domain thì làm bước 3.</p>



<h4 class="wp-block-heading" id="ftoc-heading-5">B3: Tạo Virtual Host – Truy cập trang web bằng domain.</h4>



<ul class="wp-block-list">
<li><strong>Trỏ tên miền về IP.</strong>
<ul class="wp-block-list">
<li>Vào trang quản lý tên miền trỏ về IP của bạn. Nếu mạng internet nhà bạn có ip tĩnh.</li>



<li>Trường hợp không có IP tĩnh thì bạn tham khảo bài viết&nbsp;Hướng dẫn DDNS cho Domain (tên miền).</li>
</ul>
</li>
</ul>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="405" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-47.png" alt="" class="wp-image-5313" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-47.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/10/image-47-300x119.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-47-768x304.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<ul class="wp-block-list">
<li><strong>Tạo Virtual Host trong Web Station.</strong>
<ul class="wp-block-list">
<li>Bạn xem qua bài viết&nbsp;Hướng dẫn cài đặt Web Station.</li>
</ul>
</li>
</ul>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="937" height="591" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-48.png" alt="" class="wp-image-5314" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-48.png 937w, https://blntech.io.vn/wp-content/uploads/2025/10/image-48-300x189.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-48-768x484.png 768w" sizes="auto, (max-width: 937px) 100vw, 937px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="505" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-49.png" alt="" class="wp-image-5315" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-49.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/10/image-49-300x148.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-49-768x379.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-2293">Lưu ý: bạn cần cấu hình&nbsp;<strong>PHP 7.3</strong>&nbsp;nếu chưa làm. Xem hướng dẫn&nbsp;tại đây.</p>



<p class="wp-block-paragraph">Xem cấu hình PHP tối ưu cho WordPress trên Synology NAS&nbsp;tại đây.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="941" height="595" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-50.png" alt="" class="wp-image-5316" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-50.png 941w, https://blntech.io.vn/wp-content/uploads/2025/10/image-50-300x190.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-50-768x486.png 768w" sizes="auto, (max-width: 941px) 100vw, 941px" /></figure>



<p class="wp-block-paragraph">Nếu bạn không dùng SSL – HTTPS đến đây là xong bước này.</p>



<ul class="wp-block-list">
<li><strong>Cấu hình SSL.</strong>
<ul class="wp-block-list">
<li>Bạn xem bài viết&nbsp;Tạo chứng chỉ SSL cho Domian.</li>



<li>Nếu tên miền của bạn đã tạo SSL và đặt là chứng chỉ mặc định thì xong, không phải thao tác gì nữa. Vì Synology DSM sẽ tự add về chứng chỉ mặc định. Trong trường hợp không phải chứng chỉ mặc định bạn cần phải cấu hình lại như sau.</li>
</ul>
</li>
</ul>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="602" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-51.png" alt="" class="wp-image-5317" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-51.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/10/image-51-300x176.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-51-768x452.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-2297">Bạn vào&nbsp;<strong>Control Panel</strong>&nbsp;=&gt;&nbsp;<strong>Security</strong>&nbsp;=&gt;&nbsp;<strong>Certificate</strong></p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="601" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-52.png" alt="" class="wp-image-5318" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-52.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/10/image-52-300x176.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-52-768x451.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="605" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-53.png" alt="" class="wp-image-5319" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-53.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/10/image-53-300x177.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-53-768x454.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h4 class="wp-block-heading" id="ftoc-heading-6">B4: Cài đặt WordPress.</h4>



<p class="wp-block-paragraph">Bạn truy cập vào địa chỉ tên miền vừa thêm vào Virtual Host hoặc&nbsp;<strong>/blog</strong>&nbsp;nếu bạn không dùng Virtual Host để tiến hành cài đặt WordPress.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="525" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-54.png" alt="" class="wp-image-5320" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-54.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/10/image-54-300x154.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-54-768x394.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="926" height="614" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-55.png" alt="" class="wp-image-5321" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-55.png 926w, https://blntech.io.vn/wp-content/uploads/2025/10/image-55-300x199.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-55-768x509.png 768w" sizes="auto, (max-width: 926px) 100vw, 926px" /></figure>



<ul class="wp-block-list">
<li><strong>Database Name</strong>:&nbsp;<em>blog</em>&nbsp;– tên CSDL bạn vừa tạo ở bước 2.</li>



<li><strong>Username</strong>:&nbsp;<em>root</em>&nbsp;– tên tài khoản đăng nhập vào CSDL.</li>



<li><strong>Password</strong>:&nbsp;<em>mật khẩu tài khoản đăng nhập vào CSDL</em>.</li>



<li><strong>Database Host</strong>:&nbsp;<em>localhost:/run/mysqld/mysqld10.sock</em></li>



<li><strong>Table Prefix</strong>:&nbsp;<em>wp_</em>&nbsp;– bạn có thể thay đổi túy ý. (mục đích để phân biệt khi dùng chung CSDL cho nhiều trang).</li>
</ul>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="927" height="429" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-56.png" alt="" class="wp-image-5322" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-56.png 927w, https://blntech.io.vn/wp-content/uploads/2025/10/image-56-300x139.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-56-768x355.png 768w" sizes="auto, (max-width: 927px) 100vw, 927px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="682" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-57.png" alt="" class="wp-image-5323" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-57.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/10/image-57-300x200.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-57-768x512.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="899" height="496" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-58.png" alt="" class="wp-image-5324" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-58.png 899w, https://blntech.io.vn/wp-content/uploads/2025/10/image-58-300x166.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-58-768x424.png 768w" sizes="auto, (max-width: 899px) 100vw, 899px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="468" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-59.png" alt="" class="wp-image-5325" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-59.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/10/image-59-300x137.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-59-768x351.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<ul class="wp-block-list">
<li>Đến đây cơ bản là xong. Tiếp theo bạn cần chỉnh sửa file&nbsp;<strong><em>wp-config.php</em></strong>&nbsp;để có thể upload, update mà không cần đến ftp.</li>
</ul>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="832" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-60.png" alt="" class="wp-image-5326" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-60.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/10/image-60-300x244.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-60-768x624.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-2304">Nếu chưa cài&nbsp;<strong><em>Text Editor</em></strong>, bạn vào Package Center để cài</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="703" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-61.png" alt="" class="wp-image-5327" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-61.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/10/image-61-300x206.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-61-768x527.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Bạn thêm dòng sau vào cuối file&nbsp;<strong><em>wp-config.php</em></strong>.</p>



<pre class="wp-block-code has-subtle-background-background-color has-background"><code>//**The next line allows direct downloads*/
define('FS_METHOD', 'direct');</code></pre>



<p class="wp-block-paragraph"><strong>Vậy là xong !</strong>&nbsp;<img decoding="async" src="blob:https://blntech.io.vn/702b069f-eb00-42b8-9078-10da3dd4dcd6" alt=":mrgreen:"></p>



<h3 class="wp-block-heading" id="ftoc-heading-7">Kết !</h3>



<p class="wp-block-paragraph">Như vậy là mình đã chia sẻ xong hai cách cơ bản để cài WordPress trên Synology NAS hoặc XPEnology. Trên thực tế để chạy ổn định thì bạn lên cài thủ công và dùng Virtual Host. Như vậy giúp bạn dễ dàng quản lý và chia sẻ nếu cần 😀</p>



<p class="wp-block-paragraph"><em><strong>Chúc các bạn thành công !</strong></em></p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p class="wp-block-paragraph">Nguồn: nguyenvinh.net</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Cài Đặt WordPress (Phần 1)</title>
		<link>https://blntech.io.vn/cai-dat-wordpress-phan-1/</link>
		
		<dc:creator><![CDATA[nhanvph]]></dc:creator>
		<pubDate>Thu, 26 Mar 2026 07:59:28 +0000</pubDate>
				<category><![CDATA[Xpenology]]></category>
		<category><![CDATA[MariaDB]]></category>
		<category><![CDATA[PhpMyAdmin]]></category>
		<category><![CDATA[Synology]]></category>
		<category><![CDATA[Web Station]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[xpenology]]></category>
		<guid isPermaLink="false">https://blntech.io.vn/?p=4226</guid>

					<description><![CDATA[Note này mình sẽ chia sẻ cách làm một website bằng WordPress Chuẩn bị. Trước hết bạn cần phải xem [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Note này mình sẽ chia sẻ cách làm một website bằng WordPress</p>



<ol class="wp-block-list">
<li>Cài đặt tự động qua Package Center.</li>



<li><a href="https://blntech.io.vn/huong-dan-cai-dat-wordpress-phan-2/" data-type="post" data-id="4224" target="_blank" rel="noreferrer noopener">Cài đặt thủ công (khuyên dùng).</a></li>
</ol>



<h3 class="wp-block-heading" id="ftoc-heading-1">Chuẩn bị.</h3>



<p class="wp-block-paragraph"><strong>Trước hết bạn cần phải xem qua các bài viết và làm các việc sau:</strong></p>



<ul class="wp-block-list">
<li>Hướng dẫn cài đặt Web Station.</li>



<li>Hướng dẫn DDNS cho Domain (tên miền).</li>



<li>Tạo chứng chỉ SSL cho Domain</li>
</ul>



<h3 class="wp-block-heading" id="ftoc-heading-2">Phần 1: Cài đặt qua Package Center.</h3>



<ul class="wp-block-list">
<li><strong>Ưu điểm:</strong>
<ul class="wp-block-list">
<li>Dễ dàng cài đặt.</li>



<li>Đã được Synology tùy chỉnh qua để phù hợp với HĐH Synology DSM.</li>



<li>Có Photo Station Tinymce Plugin và Photo Station WordPress Plugin</li>



<li>Phù hợp cho chạy offline (localhost) phục cho nghiên cứu, phát triển trước.</li>
</ul>
</li>



<li><strong>Nhược điểm:</strong>
<ul class="wp-block-list">
<li>Không update được phiên bản mới nhất nếu như Synology chưa update trong Package Center</li>



<li>Không linh hoạt.</li>
</ul>
</li>
</ul>



<h4 class="wp-block-heading" id="ftoc-heading-3">B1: Tải và cài đặt trong Package Center</h4>



<p class="wp-block-paragraph">Bạn vào&nbsp;<strong>Package Center</strong>&nbsp;tìm kiếm cới từ khóa&nbsp;<strong>WordPress</strong>.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="915" height="574" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-19.png" alt="" class="wp-image-5270" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-19.png 915w, https://blntech.io.vn/wp-content/uploads/2025/10/image-19-300x188.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-19-768x482.png 768w" sizes="auto, (max-width: 915px) 100vw, 915px" /></figure>



<p class="wp-block-paragraph">Thời điểm này WordPress phiên bản mới nhất 5.4.1 nhưng trong Package Center vẫn bản 5.2.4</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="915" height="574" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-20.png" alt="" class="wp-image-5271" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-20.png 915w, https://blntech.io.vn/wp-content/uploads/2025/10/image-20-300x188.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-20-768x482.png 768w" sizes="auto, (max-width: 915px) 100vw, 915px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-2242">Bản WordPress trong Package Center sẽ chạy với PHP 7.2. Nếu bạn chưa cài sẽ yêu cầu cài thêm.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="917" height="575" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-21.png" alt="" class="wp-image-5272" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-21.png 917w, https://blntech.io.vn/wp-content/uploads/2025/10/image-21-300x188.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-21-768x482.png 768w" sizes="auto, (max-width: 917px) 100vw, 917px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="915" height="574" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-22.png" alt="" class="wp-image-5273" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-22.png 915w, https://blntech.io.vn/wp-content/uploads/2025/10/image-22-300x188.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-22-768x482.png 768w" sizes="auto, (max-width: 915px) 100vw, 915px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="914" height="575" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-23.png" alt="" class="wp-image-5274" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-23.png 914w, https://blntech.io.vn/wp-content/uploads/2025/10/image-23-300x189.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-23-768x483.png 768w" sizes="auto, (max-width: 914px) 100vw, 914px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="912" height="575" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-24.png" alt="" class="wp-image-5275" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-24.png 912w, https://blntech.io.vn/wp-content/uploads/2025/10/image-24-300x189.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-24-768x484.png 768w" sizes="auto, (max-width: 912px) 100vw, 912px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-2238">Quá trình cài đặt trong 1-3 phút</p>



<h4 class="wp-block-heading" id="ftoc-heading-4">B2: Cài đặt WordPress</h4>



<p class="wp-block-paragraph">Tới đây coi như cơ bản đã hoàn thành. Việc tiếp theo tiến hành cài đặt WordPress.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="575" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-25.png" alt="" class="wp-image-5276" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-25.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/10/image-25-300x168.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-25-768x431.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-2237">Vào&nbsp;<strong>Main Menu</strong>&nbsp;mở ứng dụng&nbsp;<strong>WordPress</strong>&nbsp;vừa cài xong. Địa chỉ trang&nbsp;<strong>/wordpress</strong></p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="854" height="702" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-26.png" alt="" class="wp-image-5277" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-26.png 854w, https://blntech.io.vn/wp-content/uploads/2025/10/image-26-300x247.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-26-768x631.png 768w" sizes="auto, (max-width: 854px) 100vw, 854px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="682" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-27.png" alt="" class="wp-image-5278" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-27.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/10/image-27-300x200.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-27-768x512.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="899" height="496" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-28.png" alt="" class="wp-image-5279" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-28.png 899w, https://blntech.io.vn/wp-content/uploads/2025/10/image-28-300x166.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-28-768x424.png 768w" sizes="auto, (max-width: 899px) 100vw, 899px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="920" height="609" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-29.png" alt="" class="wp-image-5280" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-29.png 920w, https://blntech.io.vn/wp-content/uploads/2025/10/image-29-300x199.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-29-768x508.png 768w" sizes="auto, (max-width: 920px) 100vw, 920px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-2233">Chỉ cập nhật được&nbsp;<strong>Plugins</strong>&nbsp;và&nbsp;<strong>Theme</strong></p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="545" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-30.png" alt="" class="wp-image-5281" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-30.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/10/image-30-300x160.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-30-768x409.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-2250">Thư mục lưu trữ trong File Satation =&gt;&nbsp;<strong>web/wordpress</strong></p>



<p class="wp-block-paragraph">Như vậy là chúng ta đã cài xong WordPress, nhanh chóng và dễ dàng chỉ trong vòng có 5 phút. Nếu bạn nào để chạy offline hoặc chạy dạng&nbsp;<strong><em>http:///wordpress</em></strong>&nbsp;đến đây là xong. Trong trường hợp bạn có domain, sub domain và muốn trang WordPress truy cập bằng domain, sub domain thì đến với bước 3.</p>



<h4 class="wp-block-heading" id="ftoc-heading-5">B3: Truy cập trang web bằng domain (tên miền)</h4>



<ul class="wp-block-list">
<li><strong>Trỏ tên miền về IP.</strong>
<ul class="wp-block-list">
<li>Vào trang quản lý tên miền trỏ về IP của bạn. Nếu mạng internet nhà bạn có ip tĩnh.</li>



<li>Trường hợp không có IP tĩnh thì bạn tham khảo bài viết&nbsp;Hướng dẫn DDNS cho Domain (tên miền).</li>
</ul>
</li>
</ul>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="362" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-31.png" alt="" class="wp-image-5282" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-31.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/10/image-31-300x106.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-31-768x272.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<ul class="wp-block-list">
<li><strong>Tạo Virtual Host trong Web Station.</strong>
<ul class="wp-block-list">
<li>Bạn xem qua bài viết&nbsp;Hướng dẫn cài đặt Web Station.</li>
</ul>
</li>
</ul>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="551" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-32.png" alt="" class="wp-image-5283" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-32.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/10/image-32-300x161.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-32-768x413.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-2258">Lưu ý: bạn cần cấu hình&nbsp;<strong>PHP 7.2</strong>&nbsp;nếu chưa làm. Xem hướng dẫn&nbsp;tại đây.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="931" height="584" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-33.png" alt="" class="wp-image-5284" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-33.png 931w, https://blntech.io.vn/wp-content/uploads/2025/10/image-33-300x188.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-33-768x482.png 768w" sizes="auto, (max-width: 931px) 100vw, 931px" /></figure>



<p class="wp-block-paragraph">Nếu bạn không dùng SSL – HTTPS đến đây là xong bước này.</p>



<ul class="wp-block-list">
<li><strong>Cấu hình SSL.</strong>
<ul class="wp-block-list">
<li>Bạn xem bài viết&nbsp;Tạo chứng chỉ SSL cho Domian.</li>



<li>Nếu tên miền của bạn đã tạo SSL và đặt là chứng chỉ mặc định thì xong, không phải thao tác gì nữa. Vì Synology DSM sẽ tự add về chứng chỉ mặc định. Trong trường hợp không phải chứng chỉ mặc định bạn cần phải cấu hình lại như sau.</li>
</ul>
</li>
</ul>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="479" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-34.png" alt="" class="wp-image-5285" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-34.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/10/image-34-300x140.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-34-768x359.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-2266">Bạn vào&nbsp;<strong>Control Panel</strong>&nbsp;=&gt;&nbsp;<strong>Security</strong>&nbsp;=&gt;&nbsp;<strong>Certificate</strong></p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="478" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-35.png" alt="" class="wp-image-5286" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-35.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/10/image-35-300x140.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-35-768x359.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="479" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-36.png" alt="" class="wp-image-5287" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-36.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/10/image-36-300x140.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-36-768x359.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h4 class="wp-block-heading" id="ftoc-heading-6">B4: Thay đổi lại địa chỉ truy cập trong WordPress Settings</h4>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="476" src="https://blntech.io.vn/wp-content/uploads/2025/10/image-37.png" alt="" class="wp-image-5288" srcset="https://blntech.io.vn/wp-content/uploads/2025/10/image-37.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/10/image-37-300x139.png 300w, https://blntech.io.vn/wp-content/uploads/2025/10/image-37-768x357.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading" id="ftoc-heading-7">Tạm kết !</h3>



<p class="wp-block-paragraph">Trên thực tế nếu dùng Synology NAS làm máy chủ web thì không mấy ai dùng cách này. Như trang này của mình cũng không dùng theo cách này. Mình cài thủ công, tải mã nguồn về rồi tự cấu hình để cài</p>



<p class="wp-block-paragraph"><strong><em>Chúc các bạn thành công !</em></strong></p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p class="wp-block-paragraph">Nguồn: nguyenvinh.net</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Chia Sẻ Cách Tăng Tốc WordPress</title>
		<link>https://blntech.io.vn/chia-se-cach-tang-toc-wordpress/</link>
		
		<dc:creator><![CDATA[nhanvph]]></dc:creator>
		<pubDate>Wed, 25 Mar 2026 08:19:34 +0000</pubDate>
				<category><![CDATA[Xpenology]]></category>
		<category><![CDATA[Synology]]></category>
		<category><![CDATA[Web Station]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[WP Fastest Cach]]></category>
		<category><![CDATA[xpenology]]></category>
		<guid isPermaLink="false">https://blntech.io.vn/?p=36</guid>

					<description><![CDATA[Phần cứng Synology NAS (XPEnology). Một số thiết lập trên Synology DSM Thiết lập trên Web Station tối ưu WordPress. [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading" id="ftoc-heading-1">Phần cứng Synology NAS (XPEnology).</h3>



<ul class="wp-block-list">
<li><strong>Synology NAS (XPEnology)</strong> – Tất nhiên model có phần cứng càng cao thì WordPress chạy càng nhanh. Mình đang dùng DS920+ up ram 12GB.</li>



<li>Dữ liệu chạy <strong>Web Station</strong> và mã nguồn <strong>WordPress</strong> tốt nhất là lưu trên SSD.</li>



<li><strong>Gói mạng Internet</strong> – Càng cao càng tốt, có IP tĩnh thì quá ngon. Theo cá nhân mình thì tối thiểu cũng phải 70Mbps</li>
</ul>



<h3 class="wp-block-heading" id="ftoc-heading-2">Một số thiết lập trên Synology DSM</h3>



<h4 class="wp-block-heading" id="ftoc-heading-3">Thiết lập trên Web Station tối ưu WordPress.</h4>



<p class="wp-block-paragraph">Riêng về thiết lập trên Web Station mình đã có một bài Cấu hình PHP tối ưu cho WordPress. bạn có thể xem lại</p>



<h4 class="wp-block-heading" id="ftoc-heading-4">Thiết lập thư mục gốc lưu mã nguồn, code…</h4>



<ul class="wp-block-list">
<li>Khi bạn tạo một thư gốc với mục đích để lưu mã nguồn, code web, bạn lưu ý trong phần <strong>Configure advanced settings</strong> thì không tick vào <em><strong>Enable data checksum…</strong> </em>Khi bạn bật chức năng thì hệ thống sẽ quét, kiểm tra dữ liệu gây ảnh hưởng đến tốc độ truy xuất file…
<ul class="wp-block-list">
<li>Ngay trong ghi chú ở dưới Synology đã khuyến nghị như vậy <img decoding="async" src="blob:https://blntech.io.vn/f66550ae-a23b-4da2-9901-0f9c3b707075" alt=":mrgreen:"></li>
</ul>
</li>
</ul>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="795" height="582" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-219.png" alt="" class="wp-image-5052" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-219.png 795w, https://blntech.io.vn/wp-content/uploads/2025/07/image-219-300x220.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-219-768x562.png 768w" sizes="auto, (max-width: 795px) 100vw, 795px" /></figure>



<ul class="wp-block-list">
<li>Synology cũng rất vui tính… <img decoding="async" src="blob:https://blntech.io.vn/13f440de-a2c8-49ce-b7a2-d69c0ac8896c" alt=":mrgreen:"> Ghi chú lưu ý là như vậy nhưng mặc định thư mục <strong>web</strong> khi cài đặt <strong>Web Station</strong> tạo ra thì “ông” tick luôn 😆 . Để xử lý thì đơn giản thôi – 3 phương án như sau.
<ul class="wp-block-list">
<li>Tạo một thư mục lưu trữ khác (mình đang làm như vậy).</li>



<li>Tắt <strong>Web Station</strong> đi thì bạn có thể <strong>Edit</strong> để bỏ cái tick đấy.</li>



<li>Trước khi cài <strong>Web Station</strong> thì tạo trước thư mục <strong>web</strong> và không tick vào <strong><em>Enable data checksum…</em></strong></li>
</ul>
</li>
</ul>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="852" height="586" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-220.png" alt="" class="wp-image-5053" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-220.png 852w, https://blntech.io.vn/wp-content/uploads/2025/07/image-220-300x206.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-220-768x528.png 768w" sizes="auto, (max-width: 852px) 100vw, 852px" /></figure>



<h4 class="wp-block-heading" id="ftoc-heading-5">Một số thiết lập trong Control Panel.</h4>



<ul class="wp-block-list">
<li>Để ổ cứng HDD luôn thức <img decoding="async" src="blob:https://blntech.io.vn/d42b1450-60df-485e-887b-e37445de435f" alt=":mrgreen:"> . Giúp cho việc truy cập dữ liệu luôn sẵn sàng mà không phải chờ đợi đánh thức ổ cứng 😆 . Món này chỉ áp dụng cho những bạn dùng HDD thôi nhé, còn đối với SSD thì lúc nào cũng sẵn sàng rồi 😀 .</li>
</ul>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="605" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-221.png" alt="" class="wp-image-5054" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-221.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-221-300x177.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-221-768x454.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-6773">Hardware &amp; Power => HDD Hibernation</p>



<p class="wp-block-paragraph">Bật <strong>HTTP/2</strong>.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="606" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-222.png" alt="" class="wp-image-5055" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-222.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-222-300x178.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-222-768x455.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-6775">Network => Connectivity</p>



<ul class="wp-block-list">
<li>Tắt các <strong>File Services</strong> không dùng. Bạn xem cái nào không dùng thì tắt hết nó đi. Mục đích để giảm tải hệ thống => tăng tốc hệ thống => WordPress cũng thơm lây </li>
</ul>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1010" height="448" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-223.png" alt="" class="wp-image-5056" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-223.png 1010w, https://blntech.io.vn/wp-content/uploads/2025/07/image-223-300x133.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-223-768x341.png 768w" sizes="auto, (max-width: 1010px) 100vw, 1010px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1012" height="448" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-224.png" alt="" class="wp-image-5057" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-224.png 1012w, https://blntech.io.vn/wp-content/uploads/2025/07/image-224-300x133.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-224-768x340.png 768w" sizes="auto, (max-width: 1012px) 100vw, 1012px" /></figure>



<h3 class="wp-block-heading" id="ftoc-heading-6">Các plugin mình dùng để tăng tốc WordPress.</h3>



<p class="wp-block-paragraph">Note này mình chỉ giới thiệu qua các plugin thôi nhé, không nói về cách dùng vì trên Google tìm ra “cả đống” 😀</p>



<h4 class="wp-block-heading" id="ftoc-heading-7">Cache Plugin cho WordPress.</h4>



<ul class="wp-block-list">
<li>Về plugin cache cho WordPress thì rất nhiều, đa phần chúng đều chạy tốt trên WordPress – Synology NAS. Mình đã dùng thử nhiều cache plugin nhưng ấn tượng nhất là <a href="https://wp-rocket.me/" target="_blank" rel="noreferrer noopener"><strong>WP Rocket</strong></a>, chạy cực kỳ mượt mà và ổn định. Tạo file cache nhanh và dễ cài đặt… mỗi tội là WP Rocket không có bản miễn. Trước kia mình dùng WP Rocket (null <img decoding="async" src="blob:https://blntech.io.vn/4871acb7-7d21-403b-9ce3-0ef3a0c07ee8" alt=":mrgreen:"> ).</li>
</ul>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="550" height="300" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-225.png" alt="" class="wp-image-5058" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-225.png 550w, https://blntech.io.vn/wp-content/uploads/2025/07/image-225-300x164.png 300w" sizes="auto, (max-width: 550px) 100vw, 550px" /></figure>



<ul class="wp-block-list">
<li>Giờ thì mình chuyển sang dùng <a href="https://vi.wordpress.org/plugins/wp-fastest-cache/" target="_blank" rel="noreferrer noopener"><strong>WP Fastest Cache</strong></a>. Plugin này có bản miễn phí và dễ dàng cài đặt qua Thư viện Plugin WordPress. Mình thì mới chuyển sang dùng WP Fastest Cache được mấy hôm thôi vì WP Rocket làm chậm một số nội dung liên quan đến AJAX. Mình thì không biết nhiều về món code để khắc phúc nên xóa WP Rocket, một phần là không muốn dùng đồ null nữa <img decoding="async" src="blob:https://blntech.io.vn/19cddbc3-9cd9-46a1-af02-926fb3c9f9cf" alt=":mrgreen:"></li>
</ul>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="957" height="436" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-226.png" alt="" class="wp-image-5059" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-226.png 957w, https://blntech.io.vn/wp-content/uploads/2025/07/image-226-300x137.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-226-768x350.png 768w" sizes="auto, (max-width: 957px) 100vw, 957px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="811" height="791" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-227.png" alt="" class="wp-image-5060" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-227.png 811w, https://blntech.io.vn/wp-content/uploads/2025/07/image-227-300x293.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-227-768x749.png 768w" sizes="auto, (max-width: 811px) 100vw, 811px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-6747">Về cơ bản thì&nbsp;<strong>WP Fastest Cache</strong>&nbsp;có giao diện đơn giản và dễ dùng. Nhưng có nhược điểm là tạo file cache chậm…</p>



<ul class="wp-block-list">
<li>Tiếp theo plugin <a href="https://wordpress.org/plugins/autoptimize/" target="_blank" rel="noreferrer noopener"><strong>Autoptimize</strong></a> cache – optimize (tối ưu) cho HTML, CSS và JavaScript. Thực tế các cache plugin đa phần đều có chức năng optimize cho HTML, CSS và JavaScript nhưng không sâu và dễ gây lỗi trang. Với Autoptimize thì bạn có nhiều tùy chọn hơn để tối ưu. Lưu ý khi dùng Autoptimize mình khuyên nên tick từng cái một rồi kiểm tra xem trang có lỗi không <img decoding="async" src="blob:https://blntech.io.vn/232dbca3-92ac-45b9-87f1-46e18b82c184" alt=":mrgreen:"> . Plugin Autoptimize miễn phí và có thể dùng kèm với các cache plugin.</li>
</ul>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="954" height="433" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-228.png" alt="" class="wp-image-5061" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-228.png 954w, https://blntech.io.vn/wp-content/uploads/2025/07/image-228-300x136.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-228-768x349.png 768w" sizes="auto, (max-width: 954px) 100vw, 954px" /></figure>



<ul class="wp-block-list">
<li><strong>Lưu ý:</strong> Đối với các Cache Plugin thì bạn chỉ dùng một plugin thôi nhé. Còn với những plugin kiểu như Autoptimize (tối ưu HTML, CSS và JavaScript) thì có thể dùng kèm được.</li>
</ul>



<h4 class="wp-block-heading" id="ftoc-heading-8">Plugin tối ưu CSDL, nén ảnh cho WordPress…</h4>



<ul class="wp-block-list">
<li>Thực tế các Cache Plugin cũng có chức năng tối CSDL và nén ảnh nhưng nó cũng không sâu <img decoding="async" src="blob:https://blntech.io.vn/fd2cc23d-04d4-4ccd-859f-53b3c4d80c3e" alt=":mrgreen:"> . Hiện giờ mình đang dùng plugin <strong>WP-Optimize</strong> (có bản miễn phí) để thực hiện tối ưu CSDL và nén ảnh. <strong>WP-Optimize</strong> là plugin tất cả trong 1 gồm có: cache, tối ưu CSDL, HTML, CSS và JavaScript và nén ảnh. Mình thì chỉ dùng WP-Optimize để tối ưu CSDL và nén ảnh.</li>
</ul>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="951" height="419" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-229.png" alt="" class="wp-image-5062" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-229.png 951w, https://blntech.io.vn/wp-content/uploads/2025/07/image-229-300x132.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-229-768x338.png 768w" sizes="auto, (max-width: 951px) 100vw, 951px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="571" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-230.png" alt="" class="wp-image-5063" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-230.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-230-300x167.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-230-768x428.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-6754">Về tối ưu CSDL thì <strong>WP-Optimize</strong> thuộc “đỉnh chóp” của các pluin thuộc loại này</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="351" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-231.png" alt="" class="wp-image-5064" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-231.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-231-300x103.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-231-768x263.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-6755">Về nén ảnh thì&nbsp;<strong>WP-Optimize</strong>&nbsp;cho mình thấy nó làm việc hiệu quả và thiết lập cực kỳ đơn giản…</p>



<ul class="wp-block-list">
<li><strong>P/S</strong> Mình thấy mọi người giới thiệu <strong>WP Smush</strong> hay một số phần mềm nén ảnh khác…, mình có dùng qua thì thấy nó lằng nhằng, khó dùng và cảm giác nén không được nhanh 😛 . Với <strong>WP-Optimize</strong> đa phần mọi người sẽ nghĩ đến plugin để tối ưu CSDL mà không thấy ai nhắc đến nó về đề nén ảnh <img decoding="async" src="blob:https://blntech.io.vn/bd0f0eba-179e-40aa-8e03-9025eb6bff05" alt=":mrgreen:"> . Mình chỉ cần ảnh up lên và nó tự động nén…hết ! <strong>WP-Optimize</strong> đáp ứng đúng nhu cầu của mình.</li>



<li><strong>Một số plugin khác:</strong>
<ul class="wp-block-list">
<li><strong><a href="https://perfmatters.io/" target="_blank" rel="noreferrer noopener">Perfmatters</a></strong> giúp bạn Disable hoặc Remove những thành phần không cần thiết như RSS, XML-RPC, RSD Link, Emojis… Tùy biến đường dẫn đăng nhập trang admin, giới hạn số lượng bản nháp của bài viết… Còn hơn thế nữa plugin Perfmatters không có bản miễn phí <img decoding="async" src="blob:https://blntech.io.vn/936f54bd-f295-4dc9-bd96-74188c6cae1d" alt=":mrgreen:"></li>



<li><a href="https://vi.wordpress.org/plugins/disable-wordpress-updates/" target="_blank" rel="noreferrer noopener"><strong>Disable All WordPress Updates</strong></a> là plugin giúp bạn tắt chế độ cập nhật của WordPress. Mục đinh là để tăng tốc độ truy cập vào trang admin… Nếu dùng thì bạn nên tắt plugin một tuần một lần để còn nhận được các bản cập nhật.</li>
</ul>
</li>
</ul>



<h3 class="wp-block-heading" id="ftoc-heading-9">Kết !</h3>



<p class="wp-block-paragraph">Để tăng tốc độ&nbsp;<strong>WordPress</strong>&nbsp;nói chung và WordPress trên&nbsp;<strong>Synology NAS (XPEnology)</strong>&nbsp;nói riêng thì nó còn nhiều vẫn đề và yếu tố khác nữa…&nbsp;&nbsp;<img decoding="async" src="blob:https://blntech.io.vn/628afc13-9db1-4bb6-b62f-390a0000e1eb" alt=":mrgreen:">&nbsp;. Note này tạm thời mình chia sẻ vậy đã, trong thời gian tới mình tiếp tục ngâm cứu và tiếp tục chia sẻ ở các bài viết sau…</p>



<p class="wp-block-paragraph"><strong><em>Chúc các bạn thành công !</em></strong></p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p class="wp-block-paragraph">Nguồn: nguyenvinh.net</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Cấu Hình PHP Tối Ưu Cho WordPress</title>
		<link>https://blntech.io.vn/cau-hinh-php-toi-uu-cho-wordpress/</link>
		
		<dc:creator><![CDATA[nhanvph]]></dc:creator>
		<pubDate>Wed, 25 Mar 2026 07:54:19 +0000</pubDate>
				<category><![CDATA[Xpenology]]></category>
		<category><![CDATA[PhpMyAdmin]]></category>
		<category><![CDATA[Synology]]></category>
		<category><![CDATA[Web Station]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[xpenology]]></category>
		<guid isPermaLink="false">https://blntech.io.vn/?p=50</guid>

					<description><![CDATA[Mình đang rà lại các bài viết để update hướng dẫn cho DSM 7 mới ngỡ rằng chưa có bài [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Mình đang rà lại các bài viết để update hướng dẫn cho DSM 7 mới ngỡ rằng chưa có bài viết chia sẻ về cấu hình PHP sao cho ngon nhất để chạy một trang WordPress trên Synology NAS hoặc thiết bị chạy XPEnology. Oke!!! Note này mình sẽ chia sẻ cấu hình PHP 7.4 (phiên bản mới nhất mà Synology NAS hỗ trợ tại thời điểm này) mình đang dùng để chạy trang Note này của mình 😀</p>



<h3 class="wp-block-heading" id="ftoc-heading-1">Thẻ Settings</h3>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="597" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-211.png" alt="" class="wp-image-5033" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-211.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-211-300x175.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-211-768x448.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Tick vào&nbsp;<strong>Enable PHP cache</strong>.</p>



<h3 class="wp-block-heading" id="ftoc-heading-2">Thẻ Extension.</h3>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="596" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-212.png" alt="" class="wp-image-5034" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-212.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-212-300x175.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-212-768x447.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-6167">Đây là Web Station trên DSM 7, còn với DSM 6 thì Extension ở luôn trong thẻ Settings</p>



<ul class="wp-block-list">
<li><strong>Bạn thêm các Extension (tiện ích) sau:</strong>
<ul class="wp-block-list">
<li><strong>curl</strong></li>



<li><strong>exif</strong></li>



<li><strong>ftp</strong></li>



<li><strong>gd</strong></li>



<li><strong>iconv</strong></li>



<li><strong>imagick</strong></li>



<li><strong>imap</strong></li>



<li><strong>ldap</strong></li>



<li><strong>mysqli</strong></li>



<li><strong>openssl</strong></li>



<li><strong>phar</strong></li>



<li><strong>posix</strong></li>



<li><strong>soap</strong></li>



<li><strong>sockets</strong></li>



<li><strong>sodium</strong></li>



<li><strong>ssh2</strong></li>



<li><strong>xmlrpc</strong></li>



<li><strong>xsl</strong></li>



<li><strong>zip</strong></li>



<li><strong>zlib</strong></li>
</ul>
</li>
</ul>



<p class="wp-block-paragraph">Về cơ bản như vậy là đủ để bạn chạy WordPress trên Synology NAS nhanh, ngon nghẻ mà không sợ thiếu extension.</p>



<h3 class="wp-block-heading" id="ftoc-heading-3">Thẻ FPM.</h3>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="597" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-213.png" alt="" class="wp-image-5035" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-213.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-213-300x175.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-213-768x448.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<ul class="wp-block-list">
<li><strong>FPM mode</strong>: <strong><em>Static</em></strong>
<ul class="wp-block-list">
<li><strong>Dynamic</strong>: Chế độ động – nó cho phép máy chủ tự sắp xếp số lượng các tiến trình PHP được tạo ra.</li>



<li><strong>On demand</strong>: Chế độ theo yêu cầu –  không có tiến trình tối thiểu, một khi các yêu cầu dừng lại, tất cả các tiến trình sẽ dừng lại.</li>



<li><strong>Static</strong>: Chế độ tĩnh – Nó cho phép các tiến trình PHP lấy tối đa tài nguyên của máy chủ, tốt nhất cho hiệu suất. (mình chọn thèng này :D)</li>
</ul>
</li>



<li><strong>Max processes</strong>: <strong>30</strong> (Số tiến trình tối đa)</li>



<li>3 giá trị <strong>Start servers</strong>, <strong>Min spare servers</strong>, <strong>Max spare servers</strong> sẽ không có tác dụng khi bạn chọn <strong>FPM mode</strong>:<strong> Static</strong>. (Bạn cứ điền như hình <img decoding="async" src="blob:https://blntech.io.vn/645bb5f3-300f-428a-b590-4a621d34018f" alt=":mrgreen:"> )</li>
</ul>



<h3 class="wp-block-heading" id="ftoc-heading-4">Thẻ Core</h3>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="596" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-214.png" alt="" class="wp-image-5036" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-214.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-214-300x175.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-214-768x447.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<ul class="wp-block-list">
<li><strong>memory_limit = 512M</strong></li>



<li><strong>opcache.enable = 1</strong></li>



<li><strong>opcache.enable_cli = 1</strong></li>



<li><strong>opcache.interned_strings_buffer = 8</strong></li>



<li><strong>opcache.max_accelerated_files = 10000</strong></li>



<li><strong>opcache.memory_consumption = 128</strong></li>



<li><strong>opcache.save_comments = 1</strong></li>



<li><strong>opcache.revalidate_freq = 1</strong></li>



<li><strong>upload_max_filesize = 128M</strong></li>



<li><strong>post_max_size = 128M</strong></li>
</ul>



<p class="wp-block-paragraph"><strong>OK !!!</strong>&nbsp;Bạn&nbsp;<strong><em>Save</em></strong>&nbsp;để lưu lại là xong.</p>



<p class="wp-block-paragraph"><em><strong>Chúc các bạn thành công !</strong></em></p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p class="wp-block-paragraph">Nguồn: nguyenvinh.net</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Truy Cập PhpMyAdmin Bằng Tên Miền</title>
		<link>https://blntech.io.vn/truy-cap-phpmyadmin-bang-ten-mien/</link>
		
		<dc:creator><![CDATA[nhanvph]]></dc:creator>
		<pubDate>Wed, 25 Mar 2026 07:43:33 +0000</pubDate>
				<category><![CDATA[Xpenology]]></category>
		<category><![CDATA[MariaDB]]></category>
		<category><![CDATA[PhpMyAdmin]]></category>
		<category><![CDATA[Synology]]></category>
		<category><![CDATA[Web Station]]></category>
		<category><![CDATA[xpenology]]></category>
		<guid isPermaLink="false">https://blntech.io.vn/?p=68</guid>

					<description><![CDATA[Note này mình sẽ chia sẻ – hướng dẫn các bạn tạo tên miền để truy cập vào phpMyAdmin. Thông [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Note này mình sẽ chia sẻ – hướng dẫn các bạn tạo tên miền để truy cập vào phpMyAdmin. Thông thường bạn sẽ mở phpMyAdmin từ Main Menu thì nó link ra đường dẫn&nbsp;/phpMyAdmin. Nhìn nó sẽ ko được chuyên nghiệp 😀 , hoặc trong trường hợp bạn tạo tên miền truy cập tên DSM thì khi bạn truy cập phpMyAdmin từ Main Menu sẽ bị lỗi 404. (Vì sao lại có lỗi này, bạn chỉ cần hiểu đơn giản là lúc này tên miền truy cập DSM nó không index thư mục&nbsp;<strong><em>web</em></strong>, chính vì vậy khi chạy đường dẫn /phpMyAdmin sẽ bị lỗi 404).</p>



<p class="wp-block-paragraph">Để khắc phục thì đơn giản thôi, hãy tạo một tên miền để truy cập nó 😀 . Tiến hành thôi nào.</p>



<h3 class="wp-block-heading" id="ftoc-heading-1">Chuẩn bị</h3>



<p class="wp-block-paragraph">Bạn cần trỏ IP của bạn về tên miền cần miền mà bạn định làm tên miền (hoặc subdomain) truy cập phpMyAdmin.</p>



<ul class="wp-block-list">
<li>Bạn có thể xem qua các bài viết sau:
<ul class="wp-block-list">
<li>Cấu hình DDNS tên miền bất kỳ</li>



<li>Tạo chứng chỉ SSL cho Domain miễn phí</li>
</ul>
</li>



<li>Xem hướng dẫn cài đặt và sử dụng phpMyAdmin:
<ul class="wp-block-list">
<li>Thiết lập Web Server dễ dàng với Web Station</li>



<li>Hướng dẫn sử dụng MariaBD và phpMyAdmin</li>
</ul>
</li>
</ul>



<p class="wp-block-paragraph">Sau khi cài đặt xong&nbsp;<strong><em>phpMyAdmin</em></strong>&nbsp;tại thư mục&nbsp;<strong><em>web</em></strong>&nbsp;sẽ có thêm một thư mục&nbsp;<strong><em>phpMyAdmin</em></strong>.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="457" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-195.png" alt="" class="wp-image-5013" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-195.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-195-300x134.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-195-768x343.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h3 class="wp-block-heading" id="caption-attachment-3807">Tạo Virtual Host cho phpMyAdmin.</h3>



<p class="wp-block-paragraph">Bạn vào ứng dụng&nbsp;<em><strong>Web Station</strong></em>&nbsp;=&gt;&nbsp;<strong><em>Virtual Host</em></strong>. Bạn tạo mới một Vitrual Host như hình dưới.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="456" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-196.png" alt="" class="wp-image-5014" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-196.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-196-300x134.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-196-768x342.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="455" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-197.png" alt="" class="wp-image-5015" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-197.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-197-300x133.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-197-768x341.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<ul class="wp-block-list">
<li><strong>Hostname:</strong> Bạn nhập tên miền để truy cập phpMyAdmin.</li>



<li><strong>Document root:</strong> Bạn trỏ về thư mục <strong><em>web/phpMyAdmin</em></strong>.</li>
</ul>



<p class="wp-block-paragraph">Như vậy là xong, giờ bạn có thể truy cập vào phpMyAdmin với tên miền của bạn</p>



<h3 class="wp-block-heading" id="ftoc-heading-3">Sửa lỗi phân quyền thư mục phpMyAdmin.</h3>



<p class="wp-block-paragraph">Thường khi bạn tạo Virtual Host trỏ về thư mục nào thì thư mục ấy sẽ bị thây đổi phân quyền đọc ghi dữ liệu. Trong trường hợp bạn truy cập phpMyAdmin bị lỗi phân quyền đọc ghi dữ liệu thì bạn tiến hành lại phân quyền như sau.</p>



<p class="wp-block-paragraph">Quay lại với thư mục&nbsp;<strong><em>web/phpMyAdmin</em></strong>&nbsp;ở bước 1. Click phải chuột vào thư mục&nbsp;<strong><em>phpMyAdmin</em></strong>&nbsp;chọn&nbsp;<strong><em>Properties</em></strong>, chọn sang thẻ&nbsp;<strong><em>Permission</em></strong>. Bạn vào&nbsp;<strong><em>Advanced options tick</em></strong>&nbsp;chọn&nbsp;<strong><em>Exclude inherited permissions</em></strong>.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="749" height="589" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-198.png" alt="" class="wp-image-5016" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-198.png 749w, https://blntech.io.vn/wp-content/uploads/2025/07/image-198-300x236.png 300w" sizes="auto, (max-width: 749px) 100vw, 749px" /></figure>



<p class="wp-block-paragraph">Sau khi tick chọn Exclude inherited permissions bạn hãy xóa hết những phân quyền nếu còn.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="749" height="588" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-199.png" alt="" class="wp-image-5017" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-199.png 749w, https://blntech.io.vn/wp-content/uploads/2025/07/image-199-300x236.png 300w" sizes="auto, (max-width: 749px) 100vw, 749px" /></figure>



<p class="wp-block-paragraph">Sau khi xóa hết các phân quyền nếu có bạn tiến hành tạo mới 3 phân quyền sau.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="746" height="588" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-200.png" alt="" class="wp-image-5018" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-200.png 746w, https://blntech.io.vn/wp-content/uploads/2025/07/image-200-300x236.png 300w" sizes="auto, (max-width: 746px) 100vw, 746px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="748" height="589" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-201.png" alt="" class="wp-image-5019" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-201.png 748w, https://blntech.io.vn/wp-content/uploads/2025/07/image-201-300x236.png 300w" sizes="auto, (max-width: 748px) 100vw, 748px" /></figure>



<p class="wp-block-paragraph">Với phân quyền tài khoản&nbsp;<em><strong>admin</strong></em>&nbsp;bạn phân quyền như sau.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="761" height="594" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-202.png" alt="" class="wp-image-5020" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-202.png 761w, https://blntech.io.vn/wp-content/uploads/2025/07/image-202-300x234.png 300w" sizes="auto, (max-width: 761px) 100vw, 761px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-3819"><strong>Read:</strong>&nbsp;Bạn tick full luôn.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="749" height="594" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-203.png" alt="" class="wp-image-5021" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-203.png 749w, https://blntech.io.vn/wp-content/uploads/2025/07/image-203-300x238.png 300w" sizes="auto, (max-width: 749px) 100vw, 749px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-3820"><strong>Write:</strong>&nbsp;Bạn bỏ tick mục Delete dưới cùng.</p>



<p class="wp-block-paragraph">Còn với 2 phân quyền nhóm <strong><em>administration</em></strong> và <strong><em>Everyone</em> </strong>bạn chỉ tick full Read.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="749" height="593" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-204.png" alt="" class="wp-image-5022" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-204.png 749w, https://blntech.io.vn/wp-content/uploads/2025/07/image-204-300x238.png 300w" sizes="auto, (max-width: 749px) 100vw, 749px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="750" height="590" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-205.png" alt="" class="wp-image-5023" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-205.png 750w, https://blntech.io.vn/wp-content/uploads/2025/07/image-205-300x236.png 300w" sizes="auto, (max-width: 750px) 100vw, 750px" /></figure>



<p class="wp-block-paragraph">Sau khi tạo 3 phân quyền xong. Bạn tick vào&nbsp;<strong><em>Apply to this folder…</em></strong>&nbsp;=&gt;&nbsp;<strong>OK</strong>&nbsp;là xong.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="746" height="588" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-206.png" alt="" class="wp-image-5024" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-206.png 746w, https://blntech.io.vn/wp-content/uploads/2025/07/image-206-300x236.png 300w" sizes="auto, (max-width: 746px) 100vw, 746px" /></figure>



<p class="wp-block-paragraph">Bây giờ bạn có thể truy cập vào phpMyAdmin mà không còn lỗi liên quan đến phân quyền nữa.</p>



<h3 class="wp-block-heading" id="ftoc-heading-4">Update DSM 7.</h3>



<p class="wp-block-paragraph">Với DSM 6 để truy cập phpMyAdmin bằng tên miền thì bạn hiểu rằng là chúng ta tạo Virtual Host và index thư mục phpMyAdmin chính vì vậy sẽ xảy ra lỗi phân quyền dẫn đến việc có thể chạy thiếu ổn định hoặc phát sinh lỗi. Còn với DSM 7 thì việc tạo tên miền truy cập quá là đơn giản mà không lo bị lỗi. Vì giờ đây phpMyAdmin là một gói dịch vụ (Package Service) nằm trong Web Station và có thể tùy biến tên miền để truy cập cực kỳ dễ dàng.</p>



<p class="wp-block-paragraph">Bạn mở&nbsp;<strong><em>Web Station</em></strong>&nbsp;=&gt;&nbsp;<strong><em>Web Service Portal</em></strong>&nbsp;=&gt;&nbsp;<strong><em>Create Service Portal</em></strong>&nbsp;=&gt;&nbsp;<strong><em>Package Service Portal</em></strong>&nbsp;=&gt; chọn&nbsp;<strong><em>phpMyAdmin</em></strong>&nbsp;và tiến hành thiết lập.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="531" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-207.png" alt="" class="wp-image-5025" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-207.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-207-300x156.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-207-768x398.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="596" height="595" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-208.png" alt="" class="wp-image-5026" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-208.png 596w, https://blntech.io.vn/wp-content/uploads/2025/07/image-208-300x300.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-208-150x150.png 150w" sizes="auto, (max-width: 596px) 100vw, 596px" /></figure>





<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="587" height="593" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-210.png" alt="" class="wp-image-5028" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-210.png 587w, https://blntech.io.vn/wp-content/uploads/2025/07/image-210-297x300.png 297w" sizes="auto, (max-width: 587px) 100vw, 587px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-4173"><strong><em>Hostname</em></strong>: Bạn điền tên miền muốn dùng để truy cập vào phpMyAdmin</p>



<p class="wp-block-paragraph"><strong><em>Chúc các bạn thành công !</em></strong></p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p class="wp-block-paragraph">Nguồn: nguyenvinh.net</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Xây dựng Web Server</title>
		<link>https://blntech.io.vn/xay-dung-web-server/</link>
		
		<dc:creator><![CDATA[nhanvph]]></dc:creator>
		<pubDate>Mon, 14 Jul 2025 09:19:43 +0000</pubDate>
				<category><![CDATA[Xpenology]]></category>
		<category><![CDATA[Docker]]></category>
		<category><![CDATA[Synology]]></category>
		<category><![CDATA[Web Station]]></category>
		<category><![CDATA[xpenology]]></category>
		<guid isPermaLink="false">https://blntech.io.vn/?p=102</guid>

					<description><![CDATA[Synology NAS là một thiết bị rất đa dụng trong thân hình nhỏ bé của nó. Bạn muốn xây dựng [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Synology NAS là một thiết bị rất đa dụng trong thân hình nhỏ bé của nó. Bạn muốn xây dựng một Web Server tại gia trên các thiệt bị Synology NAS hoặc XPEnology??? Note này mình sẽ chia sẻ các phương pháp để biến Synology thành một Web Server. Mình chỉ chia sẻ các cách mà mình biết, còn cụ thể làm thế nào thì mình chia sẻ ở bài khác.</p>



<h3 class="wp-block-heading" id="ftoc-heading-1">Cách 1: Web Station.</h3>



<p class="wp-block-paragraph">Nếu bạn có một thiết bị Synology NAS hoặc XPEnology mà muốn xây dựng một Web Server thì không cần bàn cãi gì, Web Station chính là lựa chọn tối ưu nhất dành cho bạn. Để tải ứng dụng bạn vào Package Center tìm với từ khóa Web Station.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="544" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-114.png" alt="" class="wp-image-4856" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-114.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-114-300x159.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-114-768x408.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="557" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-115.png" alt="" class="wp-image-4857" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-115.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-115-300x163.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-115-768x418.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-1975">Giao diện ứng dụng<a href="https://nguyenvinh.net/wp-content/uploads/2020/04/DSM-WebStation-4.png"></a></p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="590" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-116.png" alt="" class="wp-image-4858" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-116.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-116-300x173.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-116-768x443.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-1978">Sau khi cài xong sẽ tự tạo thư mục&nbsp;<strong>web</strong>&nbsp;để bạn lưu trữ trang web tại đây</p>



<p class="wp-block-paragraph">Mặc định Synology DSM sẽ lấy&nbsp;<em>NGINX Server</em>&nbsp;làm Web Server, các bạn có thể tải&nbsp;<em>Apache</em>&nbsp;trên Package Center về để thay thế. Với các bạn có nhu cầu chỉ làm những trang web tĩnh html đơn giản thế là đủ. Các bạn có nhu cầu cao hơn thì tải thêm các gói&nbsp;<em>MariaDB</em>,&nbsp;<em>phpMyAdmin</em>, các gói ngôn ngữ lập trình&nbsp;<em>PHP</em>. Để xây dựng các trang Web dùng mã nguồn như: WordPress, phpBB… túm lại là xây dựng các trang web dùng ngôn ngữ lập trình PHP và CSDL là MariaDB – MySQL 😛 .</p>



<p class="wp-block-paragraph">Một điểm ăn tiền của Web Station là nó cực kỳ dễ dùng, không câu lệnh lằng nhằng. Chỉ cú nhấp chuột là xong, mà vẫn đầy đủ các chức năng như hỗ trợ SSL, tạo Virtual Host… với Virtual Host bạn có thể tạo được rất nhiều các trang Web chỉ trong vòng 1 nốt nhạc 😎 .</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="561" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-117.png" alt="" class="wp-image-4859" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-117.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-117-300x164.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-117-768x421.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Hiện tại trang này của mình cũng dùng Web Station trên Synology DSM để làm 😀 </p>



<p class="wp-block-paragraph">Tạm thời vậy đã. Mình sẽ có bài chia sẻ cụ thể cách làm sau.</p>



<h3 class="wp-block-heading" id="ftoc-heading-2">Cách 2. Dùng Docker.</h3>



<p class="wp-block-paragraph">Trên thực tế thì mình nghĩ không mấy ai dùng Docker trên Synology DSM để xây dựng một Web Server. Trên Docker cũng đầy đủ NGINX, Apache, MySQL, PHP… Nhưng Web Station cũng có đầy đủ những cái này thì tội gì phải phức tạp hóa để cài rồi phải cấu hình lằng nhằng trên Docker.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="554" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-118.png" alt="" class="wp-image-4860" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-118.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-118-300x162.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-118-768x416.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Trong trường hợp bạn muốn dùng mã nguồn Ghost (<a href="https://ghost.org/" target="_blank" rel="noreferrer noopener">ghost.org</a>) để xây dựng một trang web trên Synology NAS. Docker sẽ là lựa chọn dễ dàng nhất cho bạn</p>



<h3 class="wp-block-heading" id="ftoc-heading-3">Kết !</h3>



<p class="wp-block-paragraph">Hiện tại trang này của mình cũng được lưu trữ trên một thiết bị NAS Synology và để tại nhà, dùng gói Viettel 70mb. Tại thời điểm này trang này của mình chưa có nhiều người truy cập nên cũng chưa đánh giá được cụ thể về tốc độ và “sức chịu tải” của em nó 😆 . Mình có biết vài trang cũng dùng Synology NAS làm Web Server, anh em cộng đồng Synology đánh giá khá ổn. Theo mình đánh giá là hơn hẳn Shared Hosting hoặc 1 gói VPS cùi 😀 . Theo mình nghĩ để làm một Web Blog cá nhân vui vẻ thì cũng ổn. Cũng với một công tiền điện, tiền mạng thì tội gì không dùng&nbsp;<img decoding="async" src="blob:https://blntech.io.vn/c5ab075f-acff-4132-81e3-e17d96b234d4" alt=":mrgreen:">&nbsp;.</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p class="wp-block-paragraph">Nguồn: nguyenvinh.net</p>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
