<?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>SnipeIT &#8211; NhanVPH&#039;s Blog</title>
	<atom:link href="https://blntech.io.vn/tag/snipeit/feed/" rel="self" type="application/rss+xml" />
	<link>https://blntech.io.vn</link>
	<description></description>
	<lastBuildDate>Fri, 10 Apr 2026 08:13:41 +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>SnipeIT &#8211; NhanVPH&#039;s Blog</title>
	<link>https://blntech.io.vn</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>SnipeIT – Hướng Dẫn Sử Dụng Cơ Bản</title>
		<link>https://blntech.io.vn/snipeit-huong-dan-su-dung-co-ban/</link>
		
		<dc:creator><![CDATA[nhanvph]]></dc:creator>
		<pubDate>Fri, 10 Apr 2026 08:13:25 +0000</pubDate>
				<category><![CDATA[Audit]]></category>
		<category><![CDATA[Thủ Thuật]]></category>
		<category><![CDATA[Hướng Dẫn]]></category>
		<category><![CDATA[SnipeIT]]></category>
		<guid isPermaLink="false">https://blntech.io.vn/?p=3069</guid>

					<description><![CDATA[Bài hướng dẫn sử dụng SnipeIT được viết dựa theo phiên bản sử dụng tiếng việt Đầu tiên chúng ta cần [&#8230;]]]></description>
										<content:encoded><![CDATA[
<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">Bài hướng dẫn sử dụng SnipeIT được viết dựa theo phiên bản sử dụng <strong>tiếng việt</strong> </p>
</blockquote>



<p class="wp-block-paragraph">Đầu tiên chúng ta cần xem các trường bắt buộc và nên có của 1 tài sản là những gì:</p>



<ul class="wp-block-list">
<li>Công Ty</li>



<li>Thẻ tài sản</li>



<li>Kiểu tài sản</li>



<li>Tình trạng</li>



<li>Tên tài sản</li>



<li>Ngày mua</li>



<li>Nhà cung cấp</li>



<li>Vị trí mặc định</li>



<li>Hình</li>



<li>Người đang sử dụng</li>
</ul>



<p class="wp-block-paragraph">Mình sẽ Demo 1 tài sản với các thông tin như sau: </p>



<ul class="wp-block-list">
<li>Công ty TCX</li>



<li>Văn phòng tại HCM – Võ Văn Tần</li>



<li> Màn hình DELL 21.5″ mua tại Phong Vũ</li>



<li>nhân viên Annlt đang sử dụng</li>



<li>Ngày mua 1/1/2021</li>
</ul>



<p class="wp-block-paragraph">Sau đây bắt đầu tạo các thông tin cần thiết để đưa được tài sản vào phần mềm.</p>



<h5 class="wp-block-heading"><strong>Công ty</strong></h5>



<p class="wp-block-paragraph">Các bạn có thể tạo nhiều công ty dựa theo quy mô và cách tổ chức của công ty cần sử dụng. Như ở đây mình tạo 1 công ty để làm mẫu – Công ty TCX</p>



<ul class="wp-block-list">
<li>Cài đặt -> Các Công ty – Tạo mới</li>
</ul>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="517" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-304-1024x517.png" alt="" class="wp-image-5461" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-304-1024x517.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-304-300x151.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-304-768x388.png 768w, https://blntech.io.vn/wp-content/uploads/2025/07/image-304-1536x776.png 1536w, https://blntech.io.vn/wp-content/uploads/2025/07/image-304.png 1919w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">&nbsp;&nbsp;&nbsp;&nbsp;Nhập tên công ty, thêm logo nếu có (nên có để nhìn cho chuyên nghiệp xíu) -&gt; Lưu</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="262" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-305-1024x262.png" alt="" class="wp-image-5462" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-305-1024x262.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-305-300x77.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-305-768x197.png 768w, https://blntech.io.vn/wp-content/uploads/2025/07/image-305-1536x394.png 1536w, https://blntech.io.vn/wp-content/uploads/2025/07/image-305.png 1690w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h5 class="wp-block-heading"><strong>Danh mục tài sản</strong></h5>



<p class="wp-block-paragraph">Chúng ta xác định màn hình này thuộc về đống tài sản CNTT – tùy vào tài sản mà bạn cần quản lý thuộc danh mục nào mà tạo (vd nội ngoại thất, dụng cụ văn phòng, vật liệu xây dựng…), nên sẽ tạo danh mục như sau:</p>



<p class="wp-block-paragraph">Cài đặt -&gt; Danh mục -&gt; Tạo mới</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="518" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-306-1024x518.png" alt="" class="wp-image-5463" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-306-1024x518.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-306-300x152.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-306-768x388.png 768w, https://blntech.io.vn/wp-content/uploads/2025/07/image-306-1536x776.png 1536w, https://blntech.io.vn/wp-content/uploads/2025/07/image-306.png 1919w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Nhập tên danh mục (<strong>Thiết bị CNTT</strong>) -&gt; loại (ở đây có nhiều loại tùy theo mà các bạn chọn, ở đây mình chọn nó là asset) -&gt; Lưu (phần này không cần có hình cũng được)</p>



<p class="wp-block-paragraph">“Loại” ở đây các bạn có thể thay đổi ví như là bản quyền, phụ kiện hay vật tư, tùy theo các bạn muốn quản lý cái gì, ở đây chủ yếu mình chỉ quản lý tài sản (asset).</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="517" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-307-1024x517.png" alt="" class="wp-image-5464" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-307-1024x517.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-307-300x152.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-307-768x388.png 768w, https://blntech.io.vn/wp-content/uploads/2025/07/image-307-1536x776.png 1536w, https://blntech.io.vn/wp-content/uploads/2025/07/image-307.png 1689w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h5 class="wp-block-heading"><strong>Nhà sản xuất</strong></h5>



<p class="wp-block-paragraph">Cài đặt -&gt; Nhà sản xuất -&gt; Tạo mới</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="516" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-308-1024x516.png" alt="" class="wp-image-5465" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-308-1024x516.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-308-300x151.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-308-768x387.png 768w, https://blntech.io.vn/wp-content/uploads/2025/07/image-308-1536x774.png 1536w, https://blntech.io.vn/wp-content/uploads/2025/07/image-308.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Điền tên hãng thiết bị (<strong>DELL</strong>) -&gt; Lưu</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="347" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-309-1024x347.png" alt="" class="wp-image-5466" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-309-1024x347.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-309-300x102.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-309-768x260.png 768w, https://blntech.io.vn/wp-content/uploads/2025/07/image-309-1536x520.png 1536w, https://blntech.io.vn/wp-content/uploads/2025/07/image-309.png 1686w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h5 class="wp-block-heading"><strong>Kiểu tài sản</strong></h5>



<p class="wp-block-paragraph">Phần này thì tùy các bạn xác định tùy theo các loại thiết bị trong công ty bạn– ví dụ công ty mình chỉ có màn 21.5″ thôi nhưng sẽ có nhiều hãng</p>



<p class="wp-block-paragraph">Cài đặt -&gt; Kiểu tài sản -&gt; Tạo mới</p>



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



<p class="wp-block-paragraph">Điền tên kiểu tài sản (<strong>Màn hình 21.5</strong>) -&gt; chọn nhà sản xuất (<strong>DELL&nbsp;</strong>– đã tạo phía trên) -&gt; Chọn tên hạng mục (<strong>Thiết bị CNTT</strong>&nbsp;– đã tạo ở phần danh mục) -&gt; Lưu</p>



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



<h5 class="wp-block-heading"><strong>Nhà cung cấp</strong></h5>



<p class="wp-block-paragraph">Tạo đơn vị cung cấp thiết bị – ở đây sẽ là Phong Vũ</p>



<p class="wp-block-paragraph">Cài đặt -&gt; Nhà cung cấp -&gt; Tạo mới</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="516" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-312-1024x516.png" alt="" class="wp-image-5469" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-312-1024x516.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-312-300x151.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-312-768x387.png 768w, https://blntech.io.vn/wp-content/uploads/2025/07/image-312-1536x774.png 1536w, https://blntech.io.vn/wp-content/uploads/2025/07/image-312.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Điền tên nhà cung cấp (<strong>Phong Vũ</strong>) -&gt; Lưu</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="563" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-313-1024x563.png" alt="" class="wp-image-5470" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-313-1024x563.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-313-300x165.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-313-768x423.png 768w, https://blntech.io.vn/wp-content/uploads/2025/07/image-313-1536x845.png 1536w, https://blntech.io.vn/wp-content/uploads/2025/07/image-313.png 1663w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h5 class="wp-block-heading"><strong>Địa Phương</strong></h5>



<p class="wp-block-paragraph">Tạo đia chỉ công ty bạn, nếu có chi nhánh khác thì tạo thêm, hoặc dạng tập đoàn đứng tên nhiều công ty thì bạn tạo thêm công ty ở phần 1</p>



<p class="wp-block-paragraph">Cài đặt -&gt; địa phương -&gt; tạo mới</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="498" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-314-1024x498.png" alt="" class="wp-image-5471" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-314-1024x498.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-314-300x146.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-314-768x373.png 768w, https://blntech.io.vn/wp-content/uploads/2025/07/image-314-1536x746.png 1536w, https://blntech.io.vn/wp-content/uploads/2025/07/image-314.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Điền tên địa phương (<strong>Võ Văn Tần</strong>) -&gt; Lưu</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="497" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-315-1024x497.png" alt="" class="wp-image-5472" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-315-1024x497.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-315-300x146.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-315-768x373.png 768w, https://blntech.io.vn/wp-content/uploads/2025/07/image-315-1536x746.png 1536w, https://blntech.io.vn/wp-content/uploads/2025/07/image-315.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h5 class="wp-block-heading"><strong>Thành viên</strong></h5>



<p class="wp-block-paragraph">Về cơ bản thì tạo người dùng để gán tài sản là chính, các tính năng khác mình sẽ giới thiệu thêm sau</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="516" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-316-1024x516.png" alt="" class="wp-image-5473" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-316-1024x516.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-316-300x151.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-316-768x387.png 768w, https://blntech.io.vn/wp-content/uploads/2025/07/image-316-1536x774.png 1536w, https://blntech.io.vn/wp-content/uploads/2025/07/image-316.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Những thông tin có dấu cam phía sau là bắt buộc</p>



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



<h5 class="wp-block-heading"><strong>Tạo tài sản</strong></h5>



<p class="wp-block-paragraph">Bắt đầu tạo tài sản dựa theo thông tin đã tạo. Lưu ý:</p>



<ul class="wp-block-list">
<li><strong>Thẻ tài sản</strong> : bạn phải tư duy hoặc thống nhất theo chuẩn bên kế toán đã lưu để sau này kiểm kê trích xuất dữ liệu cho đồng bộ 2 bên dễ dàng kiểm tra.</li>



<li><strong>Kiểu tài sản</strong> : bạn sẽ thấy có tùy chọn theo các thông tin đã tạo bên trên với logic: danh mục – hãng / kiểu tài sản (còn ở phần cài đặt – kiểu tài sản thì hiển thị sẽ không giống).</li>



<li><strong>Tình trạng</strong> : thì thường sẽ là ready to deploy do hiện tại chúng ta kiểm kê và nhập liệu cho tài sản đang sử dụng được, khác cái là bạn có check out vào đối tượng nào hay chưa – nếu chưa check out thì xem như đó là hàng tồn kho chờ được cấp, phần này bạn nhập chừng 10 20 thiết bị thì sẽ thấy được. Và bạn có thể tạo thêm nhiều tình trạng tài sản khác tùy theo nhu cầu của bạn tại Cài đặt -> tình trạng nhãn.</li>



<li><strong>Check out đến</strong> : thường bạn sẽ tạo danh sách thành viên cho toàn bộ nhân viên trong công ty rồi check out tài sản theo người dùng, hoặc tùy nhu cầu mà check out theo địa phương.</li>



<li><strong>Tên tài sản</strong>: ở đây bạn có thể ghi cho đầy đủ thông tin cơ bản của tài sản để nhìn vào biết cơ bản đó là món gì, thông tin này có thể giống nhau giữa các tài sản.</li>



<li>Nên có hình ảnh cho từng tài sản để kiểm kê dễ hơn.</li>
</ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="541" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-318-1024x541.png" alt="" class="wp-image-5475" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-318-1024x541.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-318-300x159.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-318-768x406.png 768w, https://blntech.io.vn/wp-content/uploads/2025/07/image-318-1536x812.png 1536w, https://blntech.io.vn/wp-content/uploads/2025/07/image-318.png 1718w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>*** </strong>Về cơ bản thì sau phần này thì các bạn đã nhập liệu cho tài sản, sau khi nhập thủ công để nắm cơ chế hoạt động thì bạn có thể đến bược tiếp theo xịn xò hơn, là import file vào hàng loạt với sample csv tải <a href="https://snipe-it.readme.io/docs/importing" data-type="link" data-id="https://snipe-it.readme.io/docs/importing" target="_blank" rel="noreferrer noopener"><strong>tại đây</strong></a>, hay xem report các kiểu.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="260" src="https://blntech.io.vn/wp-content/uploads/2025/07/image-319-1024x260.png" alt="" class="wp-image-5476" srcset="https://blntech.io.vn/wp-content/uploads/2025/07/image-319-1024x260.png 1024w, https://blntech.io.vn/wp-content/uploads/2025/07/image-319-300x76.png 300w, https://blntech.io.vn/wp-content/uploads/2025/07/image-319-768x195.png 768w, https://blntech.io.vn/wp-content/uploads/2025/07/image-319-1536x390.png 1536w, https://blntech.io.vn/wp-content/uploads/2025/07/image-319.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>*&nbsp;</strong>Hướng dẫn sử dụng SnipeIT cơ bản đến đây gần như là tạm đủ để các bạn nhập liệu được tài sản của công ty để đưa vào thực tế.</p>



<p class="wp-block-paragraph"><strong>**&nbsp;</strong>Các thông tin trên mình điền là cơ bản, các bạn có thể điền thêm thông tin đầy đủ vào.</p>



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



<p class="wp-block-paragraph">Nguồn: ITForVN </p>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>SnipeIT – Phần Mềm Quản Lý Tài Sản Trên Win Server 2016</title>
		<link>https://blntech.io.vn/snipeit-phan-mem-quan-ly-tai-san-tren-win-server-2016/</link>
		
		<dc:creator><![CDATA[nhanvph]]></dc:creator>
		<pubDate>Fri, 10 Apr 2026 07:42:45 +0000</pubDate>
				<category><![CDATA[Audit]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[SnipeIT]]></category>
		<category><![CDATA[Win Server 2016]]></category>
		<category><![CDATA[Windows Server]]></category>
		<guid isPermaLink="false">https://blntech.io.vn/?p=3073</guid>

					<description><![CDATA[Các công cụ cần download trước khi cài đặt: Kính hoạt tính năng Web Server Cài đặt Notepab++ Cài đặt [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h5 class="wp-block-heading"><strong>Các công cụ cần download trước khi cài đặt:</strong></h5>



<ol class="wp-block-list">
<li>Notepad++</li>



<li>PHP download</li>



<li>C++ 2015</li>



<li>C++ 2012</li>



<li>URL Rewrite Module</li>



<li>PHP Manager</li>



<li>MariaDB/MySQL</li>



<li>Snipe-it</li>



<li>Composer</li>
</ol>



<h5 class="wp-block-heading"><strong>Kính hoạt tính năng Web Server</strong></h5>



<ul class="wp-block-list">
<li>Mở Server Manager -> Dashboard -> Add roles and features</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci2.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Nhấn Next</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci3.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Chọn Role-based or feature-based installation. Nhấn Next</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci4.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Chọn Select a server from the server pool, chọn tên server bạn muốn cài đặt. Nhấn Next</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci5.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Chọn Web Server -> Add Feauter. Nhấn Next</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci6.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Nhấn Next, Chọn Application Development -> Chọn CGI. Nhấn Next</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci7.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Chọn Restart the destination server automatically if required. Nhấn Install</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci8.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Thành công</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci9.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Để tắt bảo mật trình duyệt web, Vào Server Manager -> Local Server -> IE Enhanced Security Configuration, nhấn vào On, Tick vào 2 dòng Off. Nhấn OK</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci10.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Truy cập link: <a href="http://localhost/">http://localhost/</a>, nếu hiện ra giao diện web, bạn đã bật thành công Web Server</li>
</ul>



<h5 class="wp-block-heading"><strong>Cài đặt Notepab++</strong></h5>



<ul class="wp-block-list">
<li>Mở danh sách phần mềm dowload ban đầu, cài đặt notepad++</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci12.png" alt=""/></figure>



<h2 class="wp-block-heading">Cài đặt PHP</h2>



<ul class="wp-block-list">
<li>Copy thư mục &#8220;php-7.4.7-nts-Win32-vc15-x64&#8221; đã Dowload, phần mềm dowload số 2. Dán vào ổ đĩa C. Đổi tên thư mục thành PHP</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci13.png" alt=""/></figure>



<h2 class="wp-block-heading">Cài đặt Visual C++2015</h2>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci14.png" alt=""/></figure>



<h2 class="wp-block-heading">Cài đặt Visual C++2012</h2>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci15.png" alt=""/></figure>



<h2 class="wp-block-heading">Cài đặt URL Rewrite</h2>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci16.png" alt=""/></figure>



<h2 class="wp-block-heading">Cài đặt PHP Manager</h2>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci17.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Vào Server Manager -> IIS -> Click phải vào tên Server của bạn -> Internet Information Services IIS Manager</li>



<li>Click phải vào Icon dưới thanh Taskbar, chọn Pin to taskbar, để dễ thao tác về sau</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci18.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Chọn server, nhấn vào PHP Manager</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci19.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Tại mục PHP Manager -> Register new PHP version, tìm đến đường dẫn C://PHP, chọn file &#8220;php-cgi&#8221;, nhấn Open. Nhấn OK</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci20.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Kết quả</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci21.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Cũng trong PHP Manager -> PHP Extensions, nhấn Enable or disable an extension</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci22.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Enable các tính năng giống như hình dưới</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci23.png" alt=""/></figure>



<ul class="wp-block-list">
<li>PHP Manager -> PHP Settings, nhấn Manage all settings</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci24.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Nhấn Add bên góc phải, đặt tên theo hình. Nhấn OK</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci25.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Truy cập đường dẫn: C:\inetpub\wwwroot</li>



<li>Tạo 1 file notepad tên &#8220;phpinfo.php&#8221; với nội dung &#8220;&lt;?php phpinfo(); ?>&#8221;, bạn có thể tạo trên Desktop và copy dán file vào đường dẫn trên</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci26.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Mở Internet Information Services (IIS) Manager đã Pin dưới Taskbard. Nhấn Restart bên góc phải</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci27.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Truy cập Link: <a href="http://localhost/phpinfo.php">http://localhost/phpinfo.php</a>, hiện ra giao diện web như hình</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci28.png" alt=""/></figure>



<h2 class="wp-block-heading">Cài đặt MariaDB</h2>



<ul class="wp-block-list">
<li>Tạo password cho user root. Tick chọn Enable access from remote machines. Nhấn Next</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci29.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Chọn hết. Nhấn Next.</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci30.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Next tiếp, Install</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci31.png" alt=""/></figure>



<h2 class="wp-block-heading">Cấu hình MySQL Database và User</h2>



<ul class="wp-block-list">
<li>Trên Desktop, mở phần mềm tên &#8220;HeidiSQL&#8221;</li>



<li>Nhấn New , nhập Password vừa tạo ở bước trên. Nhấn Open</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci32.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Click phải vào khoảng trống bên trái, Create New -> Database</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci33.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Đặt tên cho database. Collation chọn: utf8mb4_unicode_ci. Nhấn OK</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci34.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Chọn database Snipeit, Tools -> User manager</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci35.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Nhấn Add, đặt tên User, password. Nhấn Add object, chọn snipeit. Nhấn OK</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci36.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Tick chọn tất cả. Nhấn Save</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci37.png" alt=""/></figure>



<h2 class="wp-block-heading">Cài đặt Snipe IT</h2>



<ul class="wp-block-list">
<li>Copy phần mềm đã dowload tên &#8220;snipe-it-4.9.2&#8221; dán vào đường dẫn C:\inetpub\wwwroot. Đổi tên thư mục thành &#8220;snipe-it&#8221;</li>



<li>Truy cập đường dẫn: C:\inetpub\wwwroot\snipe-it. Mở file &#8220;.env.example&#8221; bằng notepab. Save As file notepad rename thành &#8220;.env&#8221; có định dang đuôi .all lưu ở Desktop. Copy file .env dán lại vào C:\inetpub\wwwroot\snipe-it</li>



<li>Mở file .env lên sửa nội dung: APP_URL: địa chỉ IP tĩnh của Windows Server. Cách chỉnh địa chỉ IP tĩnh bên dưới</li>



<li>Điền tên, user name, password truy cập database, được tạo ở bước trên DB_DUMP_PATH: dán đường dẫn: C:\Program Files\MariaDB 10.1\bin</li>



<li>Save file</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci38.png" alt=""/></figure>



<h3 class="wp-block-heading">Cách chỉnh địa chỉ IP tĩnh cho Windows Server</h3>



<ul class="wp-block-list">
<li>Mở đường dẫn: Control Panel -> Network and Internet -> Network Connections</li>



<li>Click phải Ethernet -> Properties<img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci39.png" alt=""></li>



<li>Mở Ipv4</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci40.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Gán địa chỉ IP tĩnh -> OK -> OK</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci41.png" alt=""/></figure>



<h2 class="wp-block-heading">Cài đặt Composer</h2>



<ul class="wp-block-list">
<li>Copy file &#8220;9. Composer-Setup&#8221; trong Folder dowload ban đầu dán vào đường dẫn: C:\inetpub\wwwroot\snipe-it</li>



<li>Mở file &#8220;Composer-Setup&#8221; để cài đặt</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci42.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Tại thư mục trong đường dẫn: C:\inetpub\wwwroot\snipe-it. Nhấn File -> Open Windows PowerShell -> Open Windows PowerShell as administrator</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci43.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Chạy lệnh: ping 8.8.8.8 , để kiểm tra có kết nối Internet Chạy lệnh: composer install, chờ dowload tầm 5 phút Chạy lệnh: php artisan key:generate, nhấn Yes</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci44.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Copy Key trên dán vào C:\inetpub\wwwroot\snipe-it.env tại mục APP_KEY. Save lại</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci45.png" alt=""/></figure>



<h2 class="wp-block-heading">Tạo và mở Port truy cập website</h2>



<ul class="wp-block-list">
<li>Mở Internet Information Server dưới Taskbard. Click phải Sites chọn Add Website</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci46.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Đặt tên, chọn đường dẫn C:\inetpub\wwwroot\snipe-it\public Gán Port tùy ý: ở đây mình để Port 3456.</li>



<li>Nhấn OK</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci47.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Chọn Snipe IT -> Handler Mappings</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci48.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Php-7.4.7 -> Request Restrictions</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci49.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Nhập theo hình dưới, nhấn OK</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci50.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Truy cập: C:\inetpub\wwwroot\snipe-it\public. Click phải vào Folder Upload -> Properties -> Security -> Edit<img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci51.png" alt=""></li>



<li>Gõ tên User Windows Server bạn đang dùng -> Check Names -> OK. Chọn User, Tick vào Full Controll.</li>



<li>Nhấn OK</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci52.png" alt=""/></figure>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci53.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Truy cập C:\inetpub\wwwroot\snipe-it\bootstrap, Click phải Folder &#8220;cache&#8221;. Phân quyền Full Controll tương tự như trên</li>



<li>Truy cập: C:\inetpub\wwwroot\snipe-it, Click phải Folder &#8220;Storage&#8221;. Phân quyền Full Controll tương tự như trên</li>



<li>Truy cập: C:\Windows, Click phải Folder &#8220;Temp&#8221;. Phân quyền Full Controll tương tự như trên</li>



<li>Restart lại Web Server</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci54.png" alt=""/></figure>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci55.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Truy cập <a href="http://localhost:3456/">http://localhost:3456</a> , điền các thông tin theo yêu cầu. Và bạn đã có thành quả.</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci56.png" alt=""/></figure>



<ul class="wp-block-list">
<li>Để truy cập từ bên ngoài Windows Server. Bạn hãy NAT port trên Google Cloud Platform.</li>



<li><a href="https://itforvn.com/huong-dan-cai-dat-wiki-js-tren-windows-server-2016-google-cloud-platform/#Cai_dat_Wiki_JS">Nat Port</a></li>



<li>Sau đó truy cập: <a href="http://12.34.56.78:3456/">http://12.34.56.78:3456</a>, trong đó 12.34.56.78 là IPWAN của Windows Server</li>



<li>Cách lấy IPWAN: Trên giao diện Google Cloud Platform nhấn Menu -> VPC netword -> External IP addresses, copy địa chỉ External IP addresses dán vào ô Site URL bên trên.<img decoding="async" src="https://itforvn.com/uploads/2020/06/062320_0915_Hngdnci57.png" alt=""></li>
</ul>



<p class="wp-block-paragraph">Vậy là xong</p>



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



<p class="wp-block-paragraph">Nguồn : ITForVn</p>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>SnipeIT &#8211; Phần Mềm Quản Lý Tài Sản Trên Ubuntu</title>
		<link>https://blntech.io.vn/snipeit-phan-mem-quan-ly-tai-san-tren-ubuntu/</link>
		
		<dc:creator><![CDATA[nhanvph]]></dc:creator>
		<pubDate>Fri, 10 Apr 2026 06:45:30 +0000</pubDate>
				<category><![CDATA[Audit]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SnipeIT]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<guid isPermaLink="false">https://blntech.io.vn/?p=3071</guid>

					<description><![CDATA[Giới Thiệu Trong mỗi công ty, doanh nghiệp có rất nhiều tài sản khác nhau: laptop, máy tính, màn hình, [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h4 class="wp-block-heading"><strong>Giới Thiệu</strong></h4>



<p class="wp-block-paragraph">Trong mỗi công ty, doanh nghiệp có rất nhiều tài sản khác nhau: laptop, máy tính, màn hình, tivi, camera, license, điện thoại, …</p>



<p class="wp-block-paragraph">Việc quản lý những tài sản này là một vấn đề khá đau đầu, đặc biệt với các công ty có nhiều nhân viên thường xuyên ra vào nghỉ việc.</p>



<p class="wp-block-paragraph">Làm sao kiểm tra được ngay: hiện tại đang có bao nhiêu laptop, những ai đang sử dụng và lịch sử người dùng nó trước kia, các thông số kỹ thuật, hạn bảo hành, nhà cung cấp, giá tiền, lịch sử sữa chữa hư hỏng…</p>



<p class="wp-block-paragraph"><strong>Snipe IT</strong> là 1 phần mềm open source miễn phí sẽ giúp bạn xử lý các vấn đề trên</p>



<h4 class="wp-block-heading"><strong>Các Bước Cài Đặt</strong></h4>



<h5 class="wp-block-heading">Cài đặt Apache2 HTTP</h5>



<ul class="wp-block-list">
<li>Apache2 HTTP Server: là máy chủ web phổ biến, để cài đặt Apache2 HTTP trên máy chủ Ubuntu, các bạn hãy chạy các lệnh bên dưới đây</li>
</ul>



<pre class="wp-block-code"><code>sudo apt update

sudo apt install apache2</code></pre>



<ul class="wp-block-list">
<li>Bật tính năng khởi động dịch vụ Apache2 HTTP chạy cùng máy chủ Ubuntu mỗi khi khởi động lên</li>
</ul>



<pre class="wp-block-code"><code>sudo systemctl stop apache2.service

sudo systemctl start apache2.service

sudo systemctl enable apache2.service</code></pre>



<h5 class="wp-block-heading">Cài đặt máy chủ MariaDB Database</h5>



<ul class="wp-block-list">
<li>MariaDB Database: là ứng dụng quản lý lưu trữ dữ liệu cho SnipeIT, để cài đặt MariaDB, các bạn hãy chạy các lệnh bên dưới đây:</li>
</ul>



<pre class="wp-block-code"><code>sudo apt install mariadb-server mariadb-client</code></pre>



<ul class="wp-block-list">
<li>Bật tính năng khởi động dịch vụ MariaDB Database chạy cùng máy chủ Ubuntu mỗi khi khởi động lên</li>
</ul>



<pre class="wp-block-code"><code>sudo systemctl stop mariadb.service

sudo systemctl start mariadb.service

sudo systemctl enable mariadb.service</code></pre>



<ul class="wp-block-list">
<li>Để bảo mật máy chủ MariaDB, hãy tạo mật khẩu root và không cho phép truy cập root từ xa.</li>
</ul>



<pre class="wp-block-code"><code>sudo mysql_secure_installation</code></pre>



<ul class="wp-block-list">
<li>Sau đó làm theo như dưới:</li>
</ul>



<pre class="wp-block-code"><code>Enter current password for root (enter for none):  <strong>nhấn Enter</strong>

Set root password? &#91;Y/n]: <strong>Y</strong>

New password: <strong>nhập password mới</strong> bạn muốn đặt vào

Re-enter new password: <strong>nhập lại password</strong> vừa tạo ở trên

Remove anonymous users? &#91;Y/n]: <strong>Y</strong>

Disallow root login remotely? &#91;Y/n]: <strong>Y</strong>

Remove test database and access to it? &#91;Y/n]: <strong>Y</strong>

Reload privilege tables now? &#91;Y/n]: <strong>Y</strong></code></pre>



<ul class="wp-block-list">
<li>Để kiểm tra xem MariaDB đã được cài đặt chưa, gõ lệnh</li>
</ul>



<pre class="wp-block-code"><code>sudo mysql -u root -p</code></pre>



<ul class="wp-block-list">
<li>Sau đó, nhập mật khẩu root bạn đã tạo ở trên để đăng nhập… nếu thành công, bạn sẽ thấy thông báo chào mừng MariaDB</li>
</ul>



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



<ul class="wp-block-list">
<li>Nhấn Ctrl C để trở về root</li>
</ul>



<h5 class="wp-block-heading">Cài đặt PHP và các Modules liên quan</h5>



<ul class="wp-block-list">
<li>PHP 7.2 có thể không có sẵn trong kho lưu trữ mặc định của Ubunt. Nên để cài đặt nó, bạn sẽ phải lấy từ kho của bên thứ ba, chạy lệnh sau:</li>
</ul>



<pre class="wp-block-code"><code>sudo apt-get install software-properties-common

sudo add-apt-repository ppa:ondrej/php

sudo apt update</code></pre>



<ul class="wp-block-list">
<li>Cài đặt các PHP module liên quan cần thiết để chạy được SnipeIT</li>
</ul>



<pre class="wp-block-code"><code>sudo apt install php7.2 libapache2-mod-php7.2 php7.2-common php7.2-gmp php7.2-curl php7.2-intl php7.2-mbstring php7.2-xmlrpc php7.2-mysql php7.2-gd php7.2-xml php7.2-cli php7.2-zip php7.2-sqlite php7.2-ldap</code></pre>



<ul class="wp-block-list">
<li>Sau khi cài đặt PHP 7.2, hãy chạy các lệnh bên dưới để mở tệp cấu hình mặc định PHP cho Apache2… Lưu ý cần cài đặt Nano Text Editor trước bằng lệnh</li>
</ul>



<pre class="wp-block-code"><code>sudo apt-get install nano

sudo nano /etc/php/7.2/apache2/php.ini</code></pre>



<ul class="wp-block-list">
<li>Thay đổi các thông số cấu hình cho phù hợp. Để làm nhanh, trên terminal Linix, các bạn nhấn Ctrl W, copy từng dòng text ở dưới, dán vào Terminal (Click chuột phải để dán), để tìm kiếm nhanh đến nơi cần chỉnh sửa</li>
</ul>



<pre class="wp-block-code"><code>file_uploads = On

allow_url_fopen = On

short_open_tag = On

memory_limit = 256M

upload_max_filesize = 100M

max_execution_time = 360

max_input_vars = 1500

date.timezone = Ho Chi Minh</code></pre>



<ul class="wp-block-list">
<li>Nhấn Ctrl O, Enter, để lưu lại. Nhấn Ctrl X để thoát ra</li>



<li>Để kiểm tra cài đặt PHP 7.2 với Apache2, hãy tạo tệp phpinfo.php trong thư mục gốc Apache2 bằng cách chạy các lệnh bên dưới</li>
</ul>



<pre class="wp-block-code"><code>sudo nano /var/www/html/phpinfo.php</code></pre>



<ul class="wp-block-list">
<li>Copy đoạn text dưới, dán vào, và lưu lại bằng cách CTRL O, Enter, CTRL X để thoát ra</li>
</ul>



<h5 class="wp-block-heading">Tạo database cho SnipeIT</h5>



<ul class="wp-block-list">
<li>Chạy các lệnh bên dưới để đăng nhập vào MariaDB. Khi được nhắc nhập mật khẩu, hãy nhập mật khẩu root bạn đã tạo ở trên.</li>
</ul>



<pre class="wp-block-code"><code>sudo mysql -u root -p</code></pre>



<ul class="wp-block-list">
<li>Tạo database tên snipeit</li>
</ul>



<pre class="wp-block-code"><code>CREATE DATABASE snipeit;</code></pre>



<ul class="wp-block-list">
<li>Tạo user truy cập vào database SnipeIT với mật khẩu mới</li>
</ul>



<pre class="wp-block-code"><code>CREATE USER '<strong>snipeituser</strong>'@'<strong>localhost</strong>' IDENTIFIED BY '<strong>nhập mật khẩu mới ở đây</strong>';</code></pre>



<ul class="wp-block-list">
<li>Cấp cho user toàn quyền truy cập vào SnipeIT database</li>
</ul>



<pre class="wp-block-code"><code>GRANT ALL ON snipeit.* TO 'snipeituser'@'localhost' WITH GRANT OPTION;</code></pre>



<ul class="wp-block-list">
<li>Lưu lại và thoát ra</li>
</ul>



<pre class="wp-block-code"><code>FLUSH PRIVILEGES;

EXIT;</code></pre>



<h5 class="wp-block-heading">Tải về SnipeIT bản mới nhất</h5>



<ul class="wp-block-list">
<li>Bạn sẽ dowload bản SnipeIT mới nhất từ kho lưu trữ Github. Bạn cần cài đặt trước Composer và Curl</li>
</ul>



<pre class="wp-block-code"><code>sudo apt install curl git

sudo apt install composer

curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=compose</code></pre>



<p class="wp-block-paragraph">Dowload SnipeIT</p>



<pre class="wp-block-preformatted">cd /var/www/<br><br>sudo git clone https://github.com/snipe/snipe-it snipeit<br><br>sudo cp /var/www/snipeit/.env.example /var/www/snipeit/.env</pre>



<ul class="wp-block-list">
<li>Chỉnh sửa file .env vừa tạo trên để thiết lập cấu hình cho SnipeIT</li>
</ul>



<pre class="wp-block-code"><code>sudo nano /var/www/snipeit/.env</code></pre>



<ul class="wp-block-list">
<li>Copy đoạn code dưới, dán vào file .env. Chỉnh sửa lại APP_URL, DB_DATABASE, DB_USERNAME, DB_PASSWORD.</li>



<li>Tại mục APP_URL bạn có thể gán địa chỉ IP WAN public ( truy cập để xem IP WAN: https://www.canyouseeme.org/), hoặc tên miền của bạn (tên miền cần mua)</li>
</ul>



<pre class="wp-block-code"><code># --------------------------------------------

# REQUIRED: BASIC APP SETTINGS

# --------------------------------------------

APP_ENV=production

APP_DEBUG=false

APP_KEY=ChangeMe

APP_URL=example.com

APP_TIMEZONE='UTC'

APP_LOCALE=en

MAX_RESULTS=500

# --------------------------------------------

# REQUIRED: DATABASE SETTINGS

# --------------------------------------------

DB_CONNECTION=mysql

DB_HOST=127.0.0.1

DB_DATABASE=snipeit

DB_USERNAME=snipeituser

DB_PASSWORD=type_password_here

DB_PREFIX=null

DB_DUMP_PATH='/usr/bin'

DB_CHARSET=utf8mb4

DB_COLLATION=utf8mb4_unicode_ci

# --------------------------------------------

# OPTIONAL: SSL DATABASE SETTINGS</code></pre>



<ul class="wp-block-list">
<li>Nhấn tổ hợp phím Ctrl O, nhấn Enter để lưu lại. Nhấn Ctrl X để thoát ra</li>



<li>Gõ lệnh cd để quay về màn hình chủ root. Sau đó cập nhật tất cả các gói dữ liệu bằng Composer</li>
</ul>



<pre class="wp-block-code"><code>cd /var/www/snipeit

sudo composer install --no-dev --prefer-source</code></pre>



<ul class="wp-block-list">
<li>Chờ đợi 1 lúc, sau đó chạy lệnh dưới, nhấn yes</li>
</ul>



<pre class="wp-block-code"><code>sudo php artisan key:generate</code></pre>



<ul class="wp-block-list">
<li>Hiện thị ra một dãy mã</li>
</ul>



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



<ul class="wp-block-list">
<li>Vì bạn vừa chạy máy chủ web dưới dạng root, bạn nên đảm bảo mọi tệp mới được tạo đều thuộc sở hữu của người dùng và nhóm www-data.</li>
</ul>



<pre class="wp-block-code"><code>cd

sudo chown -R www-data:www-data /var/www/snipeit/

sudo chmod -R 755 /var/www/snipeit/</code></pre>



<h5 class="wp-block-heading">Cấu hình Apache2</h5>



<ul class="wp-block-list">
<li>Tạo 1 file cấu hình truy cập SnipeIT trong Apache2</li>
</ul>



<pre class="wp-block-code"><code>sudo nano /etc/apache2/sites-available/snipeit.conf</code></pre>



<ul class="wp-block-list">
<li>Sau đó copy và dán những lệnh dưới vào.</li>



<li>Tại mục ServerName bạn có thể gán địa chỉ IP WAN public ( truy cập để xem IP WAN: https://www.canyouseeme.org/), hoặc tên miền của bạn (tên miền cần mua)</li>
</ul>



<pre class="wp-block-preformatted">&lt;VirtualHost *:80><br><br>ServerAdmin [admin@example.com]<br><br>DocumentRoot /var/www/snipeit/public<br><br>ServerName example.com<br><br>ServerAlias www.example.com<br><br>&lt;Directory /var/www/snipeit/public/><br><br>Options +FollowSymlinks<br><br>AllowOverride All<br><br>Require all granted<br><br>&lt;/Directory><br><br>ErrorLog ${APACHE_LOG_DIR}/error.log<br><br>CustomLog ${APACHE_LOG_DIR}/access.log combined<br><br>&lt;/VirtualHost></pre>



<ul class="wp-block-list">
<li>Lưu lại bằng cách Ctrl O, Enter, Ctrl X để thoát ra</li>
</ul>



<h5 class="wp-block-heading">Khởi động SnipeIT lên</h5>



<ul class="wp-block-list">
<li>Chạy các lệnh sau, khởi động lại dịch vụ apache2</li>
</ul>



<pre class="wp-block-code"><code>sudo a2ensite snipeit.conf

sudo a2enmod rewrite

sudo systemctl restart apache2.service</code></pre>



<ul class="wp-block-list">
<li>Mở trình duyệt web, nhập địa IP hoặc tên miền, trùng với tên ServerName và ServerAlias mà bạn đã cấu hình trong file <strong>/etc/apache2/sites-available/snipeit.conf</strong> mà bạn đã nhập ở bước trên. Hiện lên giao diện như hình</li>
</ul>



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



<ul class="wp-block-list">
<li>Tạo tài khoản admin để quản lý và đăng nhập vào SnipeIT</li>



<li>Đặt tên cho Site của bạn.</li>
</ul>



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



<ul class="wp-block-list">
<li>Thành quả của bạn sẽ như hình. Vậy là các bạn đã cài xong phần mềm mở SnipeIT dùng để quản lý thiết bị hiệu quả.</li>
</ul>



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



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



<p class="wp-block-paragraph">Nguồn bài viết: ITForVN<br>Nguồn tham khảo: https://websiteforstudents.com/install-snipe-it-on-ubuntu-18-04-18-04-with-apache2/</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
