<?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>PhpMyAdmin &#8211; NhanVPH&#039;s Blog</title>
	<atom:link href="https://blntech.io.vn/tag/phpmyadmin/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>PhpMyAdmin &#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>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>Thiết lập Web Station</title>
		<link>https://blntech.io.vn/thiet-lap-web-station/</link>
		
		<dc:creator><![CDATA[nhanvph]]></dc:creator>
		<pubDate>Mon, 14 Jul 2025 09:19:42 +0000</pubDate>
				<category><![CDATA[Xpenology]]></category>
		<category><![CDATA[PhpMyAdmin]]></category>
		<category><![CDATA[Synology]]></category>
		<category><![CDATA[xpenology]]></category>
		<guid isPermaLink="false">https://blntech.io.vn/?p=100</guid>

					<description><![CDATA[Cài đặt thêm các gói bổ trợ. Sau khi cài đặt xong Web Station thì bạn cần cài đặt thêm [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading" id="ftoc-heading-1">Cài đặt thêm các gói bổ trợ.</h3>



<p class="wp-block-paragraph">Sau khi cài đặt xong Web Station thì bạn cần cài đặt thêm các gói sau trong Package Center:&nbsp;<strong>MariaDB 10</strong>,&nbsp;<strong>phpMyAdmin</strong>, các gói&nbsp;<strong>PHP</strong>&nbsp;(5.6, 7.0, 7.2, 7.3),&nbsp;<strong>Apache HTTP Server</strong>&nbsp;(2.2 hoặc 2.4).</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="547" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-143.png" alt="" class="wp-image-4900" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-143.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-143-300x160.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-143-768x410.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="545" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-144.png" alt="" class="wp-image-4901" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-144.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-144-300x160.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-144-768x409.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="573" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-145.png" alt="" class="wp-image-4902" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-145.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-145-300x168.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-145-768x430.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h4 class="wp-block-heading" id="ftoc-heading-2">Thiết lập CSDL với MariaDB và phpMyAdmin.</h4>



<p class="wp-block-paragraph"><strong>Cài MariaDB</strong></p>



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



<p class="wp-block-paragraph" id="caption-attachment-2037">Mật khẩu tài khoản <em><strong>root</strong></em> để đăng nhập vào phpMyAdmin.</p>



<p class="wp-block-paragraph" id="caption-attachment-2037"></p>



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



<p class="wp-block-paragraph"><strong>Cài phpMyAdmin.</strong></p>



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



<p class="wp-block-paragraph" id="caption-attachment-2038">phpMyAdmin sẽ yêu cầu bạn cài thêm gói&nbsp;<em><strong>PHP 5.6</strong></em>. Đây là bắt buộc, kể cả bạn có cài PHP 7.3 rồi thì nó vẫn cứ bắt cài thêm PHP 5.6&nbsp;😛</p>



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



<p class="wp-block-paragraph" id="caption-attachment-2040">Quá trình cài đặt các gói ứng dụng hoàn toàn tự động cho đến lúc xong.</p>



<p class="wp-block-paragraph">Xem cách sử dụng MariaDB và phpMyAdmin tại đây.</p>



<h3 class="wp-block-heading" id="ftoc-heading-3">Thiết lập Web Station.</h3>



<p class="wp-block-paragraph">Sau khi cài đặt xong các gói trên, các bạn vào Web Station để tiến hành các thiết lập cơ bản.</p>



<h4 class="wp-block-heading" id="ftoc-heading-4">Status – Trạng thái.</h4>



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



<h4 class="wp-block-heading" id="ftoc-heading-5">General Settings – Thiết lập cơ bản.</h4>



<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/07/image-151.png" alt="" class="wp-image-4908" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-151.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-151-300x161.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-151-768x413.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<ul class="wp-block-list">
<li><strong>HTTP back-end server.</strong>
<ul class="wp-block-list">
<li>Ở đây bạn nền máy chủ Web Server của bạn. Mặc định là <strong>NGINX</strong> bạn có thể chọn <strong>Apache</strong> (Bạn có thể lên google để tìm hiểu ưu nhược điểm của 2 ông này để xem ông nào phù hợp với nhu cầu của bạn 😆 ) Nếu bạn dùng WordPress để làm web thì bạn lên chọn Apache để dùng được luôn Permalink.</li>
</ul>
</li>



<li><strong>PHP.</strong>
<ul class="wp-block-list">
<li>Chọn phiên bản ngôn ngữ lập trình PHP. Mặc định <strong>Not Configured</strong> (Website chỉ hỗ trợ html cơ bản). Bạn có thể chọn các phiên bản <strong>PHP 5.6</strong> hoặc <strong>PHP 7.0</strong> hoặc<strong> PHP 7.2</strong> hoặc <strong>PHP 7.3</strong> (sau khi đã cài đặt các gói này trong Package Center). Quan điểm của mình cứ mới nhất mà dùng 😆</li>
</ul>
</li>



<li><strong>Enable personal website.</strong>
<ul class="wp-block-list">
<li>Đây là chế độ cho phép các tài khoản người dùng trong DSM cũng có thể tạo website riêng cho mình. Để kích hoạt chế độ này thì yêu cầu bạn phải cài gói PHP 5.6 và Apache 2.2. Sau khi kích hoạt sẽ tự động tạo thư mục con <strong>www</strong> trong thư mục <strong>home</strong> của người dùng để lưu trữ website. Mình thì không dùng chức năng này nên sẽ giới thiệu ở một bài khác.</li>
</ul>
</li>
</ul>



<p class="wp-block-paragraph"><strong>Lưu ý:</strong>&nbsp;Mục này là cài đặt chung cho Web Station (áp dụng chung cho thư mục&nbsp;<strong>web</strong>). Bạn hoàn toàn có thể tùy chỉnh lại các phần cấu hình trên cho từng trang web trong mục&nbsp;<strong>Virtual Host</strong>.</p>



<h4 class="wp-block-heading" id="ftoc-heading-6">PHP Settings – Thiết lập PHP.</h4>



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



<p class="wp-block-paragraph" id="caption-attachment-2049">Tại đây bạn có thể thêm mới, sửa, xóa cấu hình các phiên bản PHP. Mình ví dụ với cấu hình mặc định với PHP 7.3, phần này bắt buộc phải làm để thêm các Extensions (tiện ích), chỉnh sửa thông số trong phpinfo…</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-153.png" alt="" class="wp-image-4910" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-153.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-153-300x162.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-153-768x416.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-2050">Bạn nên thêm tất các tiện ích</p>



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



<p class="wp-block-paragraph" id="caption-attachment-2051">Chỉnh thông số FPM, bạn có thể để mặc định hoặc chỉnh theo thông số mình đang dùng như trên.</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-155.png" alt="" class="wp-image-4912" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-155.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-155-300x162.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-155-768x416.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-2052">Thiết lập các thông số trong php.ini – Bạn có thể Google để tìm hiểu thêm cách thiết lập các thông số.</p>



<ul class="wp-block-list">
<li>Mục <strong>Core</strong> bạn có thể sửa lại như sau:
<ul class="wp-block-list">
<li>mysql.default_port=3307 (cổng mặc định của MariaDB 10)</li>



<li>memory_limit=512M</li>



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



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



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



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



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



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



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



<li>upload_max_filesize=128M</li>



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



<p class="wp-block-paragraph">Lưu ý: Bạn có thể&nbsp;<strong>Create</strong>&nbsp;(tạo thêm) các cấu hình để áp dụng cho từng website (nếu cần) trong&nbsp;<strong>Virtual Host</strong>.</p>



<h4 class="wp-block-heading" id="ftoc-heading-7">Virtual Host – Máy chủ ảo.</h4>



<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-156.png" alt="" class="wp-image-4913" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-156.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-156-300x164.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-156-768x421.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph" id="caption-attachment-1976">Với chức năng bạn có thể tạo rất nhiều các website chỉ trên một thiết bị Synology NAS hoặc XPEnology một cách dễ dàng (như hình trên).</p>



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



<p class="wp-block-paragraph">Các Virtual Host có thông số cấu hình hoàn toàn độc lập với nhau và với General Settings trong Web Station. Chính vì vậy bạn hoàn toàn chủ động trong việc chia sẻ và có những thiết lập phù hợp cho từng trang web của bạn.</p>



<h3 class="wp-block-heading" id="ftoc-heading-8">Cấu hình thư mục Web – thư mục lưu trữ trang web.</h3>



<p class="wp-block-paragraph">Mặc định thư mục&nbsp;<strong>Web</strong>&nbsp;(hoặc thư mục lưu trữ trang web), Synology DSM chỉ cho&nbsp;<strong><em>tài khoản http</em></strong>&nbsp;và&nbsp;<strong><em>nhóm tài khoản http</em></strong>&nbsp;được phép&nbsp;<em>Read</em>&nbsp;(xem) chứ không cho phép&nbsp;<em>Write</em>&nbsp;(chỉnh sửa). Chính vì vậy bạn cần thiết lập thêm cho phép&nbsp;<em>Write</em>.</p>



<p class="wp-block-paragraph"><strong><em>Tài khoản http</em></strong>&nbsp;và&nbsp;<strong><em>Nhóm tài khoản http</em></strong>&nbsp;được tạo ra sau khi cài đặt Web Station. Mọi thay đổi từ trang web vào NAS đều thông&nbsp;<strong><em>tài khoản http</em></strong>&nbsp;và&nbsp;<strong><em>nhóm tài khoản http</em></strong>, vì vậy bắt buộc phải thiết cho phép chỉnh sửa.</p>



<p class="wp-block-paragraph">Bạn có thể làm như sau: Bạn vào&nbsp;<strong>File Station</strong>&nbsp;=&gt; phải chuột thư mục&nbsp;<strong>web</strong>&nbsp;=&gt;&nbsp;<strong>Properties</strong>&nbsp;=&gt;&nbsp;<strong>Permission</strong>.</p>



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



<p class="wp-block-paragraph" id="caption-attachment-2057">Làm tương tự với&nbsp;<em>nhóm tài khoản http</em></p>



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



<p class="wp-block-paragraph">Cơ bản là như vậy đã. Với nhu cầu không quá cao mình thấy rằng Web Station quá đầy đủ những gì mình cần mà không mấy khó khăn trong thiết lập 😀</p>



<p class="wp-block-paragraph">Mình sẽ làm ví dụ từ a đến z về xây dựng một trang WordPrees 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>



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