<?xml version="1.0" encoding="UTF-8" ?><!-- generator=Zoho Sites --><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><atom:link href="https://www.daihockhonggiay.com/blogs/tag/tao-website/feed" rel="self" type="application/rss+xml"/><title>Đại học Không Giấy - Blog #tao website</title><description>Đại học Không Giấy - Blog #tao website</description><link>https://www.daihockhonggiay.com/blogs/tag/tao-website</link><lastBuildDate>Wed, 10 Sep 2025 19:16:17 -0700</lastBuildDate><generator>http://zoho.com/sites/</generator><item><title><![CDATA[Cài đặt một Website thực tế trên Windows Server]]></title><link>https://www.daihockhonggiay.com/blogs/post/cai-dat-mot-website-thuc-te-tren-windows-server-2012</link><description><![CDATA[<img align="left" hspace="5" src="https://www.daihockhonggiay.com/af675458-921f-477a-b5bf-9a23741c9fb9.jpg"/>Trong bài này sẽ hướng dẫn các bạn cài đặt một hệ thống Website thực tế trên Windows Server. Từ đó giúp bạn có góc nhìn rõ hơn về cơ chế hoạt động của Website]]></description><content:encoded><![CDATA[<div class="zpcontent-container blogpost-container "><div data-element-id="elm_imXbrEj-TriYtZyJGzoCMg" data-element-type="section" class="zpsection "><style type="text/css"></style><div class="zpcontainer-fluid zpcontainer"><div data-element-id="elm_W0nTNi7hRIi6ygAtu8dXbw" data-element-type="row" class="zprow zprow-container zpalign-items- zpjustify-content- " data-equal-column=""><style type="text/css"></style><div data-element-id="elm_kwhJcVTDT-Gj7BspsKlAIw" data-element-type="column" class="zpelem-col zpcol-12 zpcol-md-12 zpcol-sm-12 zpalign-self- "><style type="text/css"></style><div data-element-id="elm_rcnelPYoSEuUj9W1x9w-6g" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_rcnelPYoSEuUj9W1x9w-6g"].zpelem-text { border-style:none; } </style><div class="zptext zptext-align-left " data-editor="true"><p style="margin-bottom:20px;"><span style="font-size:12pt;"><span style="font-weight:700;">I. Giới thiệu về dịch vụ WEB</span></span></p><p style="margin-bottom:20px;"><span style="font-size:12pt;"><span style="font-weight:700;">1. Dịch vụ Web&nbsp;là:&nbsp;</span>dịch vụ liên kết trang siêu văn bản. Dùng để truyền thông tin tới người dùng một cách đa dạng và phong phú như Video, văn bản, hình ảnh…</span></p><ul><li><span style="font-size:12pt;">Dịch vụ Web dùng 2 giao thức để gửi dữ liệu tới người dùng đó là HTTP (không bảo mật) và HTTPS (có bảo mật).</span></li><li><span style="font-size:12pt;">Để dịch vụ Web hoạt động được nó phải có 2 thành phần: Web Server và Web Client</span></li><li><span style="font-size:12pt;">Web Server là nơi cung cấp dữ liệu Web. Người ta xây dựng lên một Website tĩnh hoặc động để người dùng truy cập vào. Web Server sẽ chạy ở Port 80 hoặc 443. Các phần mềm cài đặt trên Web Server như: Apache, PHP, Mariadb, PHPMyadmin, Code Web</span></li><li><span style="font-size:12pt;">Web Client là phía người dùng. Người dùng mở IE hoặc Firefox truy cập vào tên miền của trang Web.</span></li></ul><p style="margin-bottom:20px;"><span style="font-size:12pt;"><span style="font-weight:700;">2. Cơ chế hoạt động</span></span></p><ul><li><span style="font-size:12pt;">Bước 1: Người dùng truy cập tên miền Website bằng Web Client là IE hoặc Firefox. Web Client sẽ sinh ra một Port cao và dữ liệu từ tầng Application sẽ chuyển xuống tầng Transport.</span></li><li><span style="font-size:12pt;">Bước 2:. Đồng thời Web Client sẽ nhờ DNS Client phân giải hộ tên miền ra địa chỉ IP Web Server.</span></li><li><span style="font-size:12pt;">Bước 3: Transport thấy dữ liệu là Web nó sẽ sử dụng giao thức TCP đóng Port nguồn là Port cao và Port đích là Port Web Server. Port Web Server là 80 (http) hoặc 443 (https). Sau đó sẽ truyền xuống tầng Internet.</span></li><li><span style="font-size:12pt;">Bước 4: Dữ liệu sẽ được tầng Internet đóng IP máy mình và IP máy Web Server (IP Web Server được DNS Client nhờ DNS Server phân giải hộ).</span></li><li><span style="font-size:12pt;">Bước 5: Sau khi dữ liệu đóng IP sẽ đưa xuống tầng Network Access. Tầng này sẽ dùng giao thức MAC kết hợp với các giao thức khác để truyền gói tin tới Swicht, tới Router và tới Máy chủ Web Server.</span></li><li><span style="font-size:12pt;">Bước 6: Sau khi dữ liệu tới được Web Server nó sẽ được chuyển lên tầng Internet để kiểm tra IP, nếu đúng sẽ chuyển lên tầng Transport và chuyển lên tầng Application theo Port 80 hoặc 443.</span></li><li><span style="font-size:12pt;">Bước 7: Webserver sẽ xử lý yêu cầu và Sau đó dữ liệu được đóng lại và gửi xuống đường truyền. Gói tin sẽ truyền lại tới máy Web Client</span></li><li><span style="font-size:12pt;">Bước 8: Khi Client nhận được nó sẽ được Transport chuyển lên IE hoặc Firefox đúng vào Port cao khi khởi tạo (do có Port cao này nên ta có thể mở nhiều cửa sổ trên một trình duyệt với nhiều Website khác nhau mà không sợ bị trùng).</span></li></ul><p style="margin-bottom:20px;"><span style="font-size:12pt;"><span style="font-weight:700;">II. Triển khai</span></span></p><p style="margin-bottom:20px;"><span style="font-size:12pt;"><span style="font-weight:700;">1. Yêu cầu chuẩn bị</span></span></p><p style="margin-bottom:20px;"><span style="font-size:12pt;">Một máy chủ cài đặt Hệ điều hành Windows Server 2012</span></p><p style="margin-bottom:20px;"><span style="font-size:12pt;">Một máy tính cài Windows 10, ping thông tới máy chủ&nbsp;</span></p><p style="margin-bottom:20px;"><span style="font-size:12pt;"><span style="font-weight:700;">2. Nội dung công việc cần thực hiện</span></span></p><p style="margin-bottom:20px;"><span style="font-size:12pt;">Cấu hình đường truyền thông qua giả lập GNS3</span></p><p style="margin-bottom:20px;"><span style="font-size:12pt;">Cài đặt dịch vụ IIS</span></p><p style="margin-bottom:20px;"><span style="font-size:12pt;">Cài đặt cơ sở dữ liệu SQL Server</span></p><p style="margin-bottom:20px;"><span style="font-size:12pt;">Cấu hình cơ sở dữ liệu cho Website</span></p><p style="margin-bottom:20px;"><span style="font-size:12pt;">Cấu hình file config</span></p><p style="margin-bottom:20px;"><span style="font-size:12pt;">Add Website lên hệ thống</span></p><p style="margin-bottom:20px;"><span style="font-size:12pt;">Kiểm tra&nbsp;</span></p><p><span style="color:inherit;"></span></p><p style="margin-bottom:20px;"><span style="font-size:12pt;">-----&amp;-----&amp;-----</span></p><p style="margin-bottom:20px;"><span style="color:inherit;"><span style="font-weight:700;font-size:16px;">3. Video hướng dẫn</span></span><span style="font-size:12pt;"><br></span></p></div>
</div><div data-element-id="elm_RvRzcsz3w0Cc4XJXQl4c4Q" data-element-type="video" class="zpelement zpelem-video "><style type="text/css"> [data-element-id="elm_RvRzcsz3w0Cc4XJXQl4c4Q"].zpelem-video{ border-style:none; border-radius:1px; box-shadow:0px 0px 0px 0px #000000; } </style><div class="zpvideo-container zpiframe-align-center zpiframe-mobile-align- zpiframe-tablet-align-"><iframe class="zpvideo " width="560" height="315" src="https://www.youtube.com/embed/WKExXwDHfh0" frameborder="0" allowfullscreen></iframe></div>
</div></div></div></div></div></div> ]]></content:encoded><pubDate>Fri, 03 May 2019 00:39:52 +0700</pubDate></item></channel></rss>