﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#">
  <channel>
    <title>Nhân Duyên's Blog</title>
    <description>Let's Share to Be Shared</description>
    <link>http://blog.nhanduyen.vn/</link>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>BlogEngine.NET 2.0.0.36</generator>
    <language>en-GB</language>
    <blogChannel:blogRoll>http://blog.nhanduyen.vn/opml.axd</blogChannel:blogRoll>
    <blogChannel:blink>http://www.dotnetblogengine.net/syndication.axd</blogChannel:blink>
    <dc:creator>My name</dc:creator>
    <dc:title>Nhân Duyên's Blog</dc:title>
    <geo:lat>0.000000</geo:lat>
    <geo:long>0.000000</geo:long>
    <item>
      <title>Cài đặt vCloud Director 5.1 trên CentOS</title>
      <description>&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Vmware.jpg"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Vmware" src="http://blog.nhanduyen.vn/image.axd?picture=Vmware_thumb.jpg" border="0" alt="Vmware" width="455" height="184" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;C&amp;ugrave;ng với VMware vShphere, VMware vCloud Director cung cấp cho kh&amp;aacute;ch h&amp;agrave;ng khả năng x&amp;acirc;y dựng hệ thống private cloud một c&amp;aacute;ch nhanh ch&amp;oacute;ng, thay đổi c&amp;aacute;ch thiết lập, vận h&amp;agrave;nh quản l&amp;yacute; hệ thống IT v&amp;agrave; c&amp;aacute;ch từng user c&amp;oacute; thể truy cập v&amp;agrave; sử dụng những dịch vụ tr&amp;ecirc;n. B&amp;agrave;i viết sẽ hướng dẫn c&amp;aacute;c bước cần thiết để c&amp;agrave;i đặt vCloud Director để x&amp;acirc;y dựng v&amp;agrave; quản l&amp;yacute; hệ thống cloud của tổ chức.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1/ Y&amp;ecirc;u cầu&lt;/p&gt;
&lt;p&gt;B&amp;agrave;i lab n&amp;agrave;y y&amp;ecirc;u cầu một&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Database server, ở đ&amp;acirc;y m&amp;igrave;nh sẽ sử dụng MSSQL&lt;/li&gt;
&lt;li&gt;CentOS 6.4. M&amp;aacute;y CentOS n&amp;agrave;y sẽ c&amp;oacute; 3 card mạng.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;2/ C&amp;aacute;c bước thực hiện&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Chuẩn bị Database để c&amp;agrave;i đặt vCloud Director. &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Tr&amp;ecirc;n m&amp;aacute;y Database, lần lượt tạo database vCloud v&amp;agrave; user vCloud. User vCloud sẽ được x&amp;eacute;t l&amp;agrave; owner của database vCloud. C&amp;aacute;c bước thực hiện chi tiết như sau.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_0001.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_0001" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_0001_thumb.png" border="0" alt="Cai_dat_vCloud_Director_0001" width="472" height="421" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Tạo Database vCloud&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_0002.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_0002" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_0002_thumb.png" border="0" alt="Cai_dat_vCloud_Director_0002" width="474" height="425" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Set quyền db_owner cho user vCloud&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_0003.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_0003" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_0003_thumb.png" border="0" alt="Cai_dat_vCloud_Director_0003" width="480" height="430" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thử đăng nhập bằng user vCloud.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_0004.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_0004" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_0004_thumb.png" border="0" alt="Cai_dat_vCloud_Director_0004" width="318" height="241" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Đăng nhập th&amp;agrave;nh c&amp;ocirc;ng.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_0005.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_0005" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_0005_thumb.png" border="0" alt="Cai_dat_vCloud_Director_0005" width="523" height="166" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;C&amp;agrave;i đặt vCloud Director, thực hiện tr&amp;ecirc;n m&amp;aacute;y CentOS &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Thực hiện download file c&amp;agrave;i đặt vCloud Director ở link &lt;a href="https://my.vmware.com/web/vmware/details?downloadGroup=VCL-VCD512&amp;amp;productId=289&amp;amp;rPId=3722"&gt;n&amp;agrave;y&lt;/a&gt;. Sau khi download, copy v&amp;agrave;o thư mục /opt/ tr&amp;ecirc;n m&amp;aacute;y CentOS. chmod lại file n&amp;agrave;y để c&amp;oacute; quyền thực thi.&lt;/p&gt;
&lt;pre class="brush: c-sharp;"&gt;[ root@vCloud opt]# chmod +x vmware-vcloud-director-5.1.2-1068441.bin&lt;/pre&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_0006.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_0006" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_0006_thumb.png" border="0" alt="Cai_dat_vCloud_Director_0006" width="522" height="330" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Sau đ&amp;oacute; chạy c&amp;agrave;i đặt bằng lệnh&lt;/p&gt;
&lt;p&gt;
&lt;pre class="brush: c-sharp;"&gt;[ root@vCloud opt]# ./vmware-vcloud-director-5.1.2-1068441.bin&lt;/pre&gt;
&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_0007.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_0007" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_0007_thumb.png" border="0" alt="Cai_dat_vCloud_Director_0007" width="508" height="321" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_0008.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_0008" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_0008_thumb.png" border="0" alt="Cai_dat_vCloud_Director_0008" width="512" height="324" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hệ thống sẽ hỏi l&amp;agrave; c&amp;oacute; bắt đầu việc cấu h&amp;igrave;nh cho dịch vụ hay kh&amp;ocirc;ng, ở bước n&amp;agrave;y ta chọn No.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_0009.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border-width: 0px;" title="Cai_dat_vCloud_Director_0009" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_0009_thumb.png" border="0" alt="Cai_dat_vCloud_Director_0009" width="516" height="326" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Tạo SSL key cho dịch vụ vCloud Director. &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Sử dụng keytool nằm ở /opt/vmware/vcloud-director/jre/bin/ để tạo key&lt;/p&gt;
&lt;pre class="brush: c-sharp;"&gt;cd /opt/vmware/vcloud-director/jre/bin&lt;/pre&gt;
&lt;p&gt;Tạo certificate key cho dịch vụ http&lt;/p&gt;
&lt;pre class="brush: c-sharp;"&gt;./keytool -keystore certificates.ks -storetype JCEKS -storepass Password123 -genkey -keyalg RSA -alias http&lt;/pre&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00010.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_00010" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00010_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00010" width="534" height="337" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hệ thống sẽ y&amp;ecirc;u cầu nhập một số th&amp;ocirc;ng tin cần thiết. Bạn c&amp;oacute; thể bấm enter để sử dụng những gi&amp;aacute; trị mặc định&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00011.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_00011" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00011_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00011" width="530" height="335" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Tạo certificate key cho dịch vụ console proxy&lt;/p&gt;
&lt;pre class="brush: c-sharp;"&gt;./keytool -keystore certificates.ks -storetype JCEKS -storepass Password123 -genkey -keyalg RSA -alias consoleproxy&lt;/pre&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00012.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_00012" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00012_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00012" width="527" height="333" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Kiểm tra lại tệp tin certificates.ks bằng c&amp;aacute;ch liệt k&amp;ecirc; c&amp;aacute;c key c&amp;oacute; được&lt;/p&gt;
&lt;pre class="brush: c-sharp;"&gt;# keytool -storetype JCEKS -storepass Password123 -keystore certificates.ks &amp;ndash;list&lt;/pre&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00013.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_00013" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00013_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00013" width="510" height="322" /&gt;&lt;/a&gt; &lt;br /&gt;Nếu tạo th&amp;agrave;nh c&amp;ocirc;ng, ta sẽ c&amp;oacute; được đường dẫn của file certificates.ks như sau:&lt;/p&gt;
&lt;pre class="brush: c-sharp;"&gt;/opt/vmware/vcloud-director/jre/bin/certificates.ks&lt;/pre&gt;
&lt;p&gt;Sau khi c&amp;oacute; certificate, tiến h&amp;agrave;nh cấu h&amp;igrave;nh con vCloud Director. Thực hiện lệnh sau.&lt;/p&gt;
&lt;pre class="brush: c-sharp;"&gt;/opt/vmware/vcloud-director/bin/configure&lt;/pre&gt;
&lt;p&gt;Hệ thống sẽ hỏi sử dụng IP n&amp;agrave;o cho HTTP&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00014.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_00014" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00014_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00014" width="501" height="317" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Tiếp theo l&amp;agrave; IP cho dịch vụ Console Proxy&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00015.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_00015" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00015_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00015" width="526" height="332" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Nhập đường dẫn tới nơi lưu SSL certificates đ&amp;atilde; tạo ở bước tr&amp;ecirc;n, nhập password. L&amp;uacute;c n&amp;agrave;y hơi l&amp;acirc;u một x&amp;iacute;u, ki&amp;ecirc;n nhẫn chờ đợi.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00016.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_00016" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00016_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00016" width="520" height="329" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Chọn serer lưu logfile, ở đ&amp;acirc;y m&amp;igrave;nh để mặc định sẽ lưu local, Enter lu&amp;ocirc;n.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00017.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_00017" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00017_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00017" width="509" height="322" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Ở bước n&amp;agrave;y hệ thống y&amp;ecirc;u cầu cho biết th&amp;ocirc;ng tin về Database server, m&amp;igrave;nh sử dụng MSSQL c&amp;oacute; ip l&amp;agrave; 20.20.0.10. Lần lượt nhập những th&amp;ocirc;ng tin cần thiết.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00018.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_00018" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00018_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00018" width="501" height="317" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00019.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_00019" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00019_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00019" width="510" height="322" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00020.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_00020" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00020_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00020" width="520" height="329" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00021.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_00021" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00021_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00021" width="526" height="332" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Đợi một l&amp;aacute;t cho qu&amp;aacute; tr&amp;igrave;nh c&amp;agrave;i đặt ho&amp;agrave;n tất. Hệ thống sẽ hỏi c&amp;oacute; start dịch vụ ngay lu&amp;ocirc;n kh&amp;ocirc;ng. Chọn yes.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00022.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_00022" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00022_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00022" width="530" height="334" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Lỗi rồi &lt;img class="wlEmoticon wlEmoticon-sadsmile" style="border-style: none;" src="http://blog.nhanduyen.vn/image.axd?picture=wlEmoticon-sadsmile.png" alt="Sad smile" /&gt;. Để xem n&amp;agrave;o&lt;/p&gt;
&lt;pre class="brush: c-sharp;"&gt;ERROR: Unable to source /lib/lsb/init-functions, cannot proceed&amp;rdquo;&lt;/pre&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00023.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_00023" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00023_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00023" width="539" height="341" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Google thần chưởng, h&amp;oacute;a ra l&amp;agrave; thiếu packet &amp;ldquo;redhat-lsb&amp;rdquo;, c&amp;agrave;i v&amp;ocirc; n&amp;agrave;o&lt;/p&gt;
&lt;pre class="brush: c-sharp;"&gt;yum install redhat-lsb &amp;ndash;y&lt;/pre&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00024.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_00024" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00024_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00024" width="526" height="333" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00025.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_00025" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00025_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00025" width="529" height="335" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Đợt một x&amp;iacute;u cho việc c&amp;agrave;i đặt ho&amp;agrave;n tất, khởi động lại dịch vụ vmware-vcd.&lt;/p&gt;
&lt;pre class="brush: c-sharp;"&gt;service vmware-vcd start&lt;/pre&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00027.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_00027" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00027_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00027" width="535" height="338" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Khởi động được rồi &lt;img class="wlEmoticon wlEmoticon-openmouthedsmile" style="border-style: none;" src="http://blog.nhanduyen.vn/image.axd?picture=wlEmoticon-openmouthedsmile_14.png" alt="Open-mouthed smile" /&gt;. Kiểm tra qu&amp;aacute; tr&amp;igrave;nh khởi động dịch vụ bằng c&amp;aacute;ch xem file cell.log nằm ở thư mục /opt/vmware/vcloud-director/logs/cell.log&lt;/p&gt;
&lt;p&gt;
&lt;pre class="brush: c-sharp;"&gt;tail &amp;ndash;f /opt/vmware/vcloud-director/logs/cell.log&lt;/pre&gt;
&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00028.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_00028" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00028_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00028" width="523" height="331" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00029.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_00029" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00029_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00029" width="515" height="325" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00031.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_00031" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00031_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00031" width="520" height="329" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Khởi động th&amp;agrave;nh c&amp;ocirc;ng. Tiến h&amp;agrave;nh đăng nhập website để ho&amp;agrave;n tất qu&amp;aacute; tr&amp;igrave;nh c&amp;agrave;i đặt.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00032.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_00032" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00032_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00032" width="521" height="400" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00033.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_00033" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00033_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00033" width="520" height="400" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00034.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border-width: 0px;" title="Cai_dat_vCloud_Director_00034" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00034_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00034" width="499" height="384" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Nhập user name v&amp;agrave; password sử dụng để login vCloud Director.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00035.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border-width: 0px;" title="Cai_dat_vCloud_Director_00035" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00035_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00035" width="503" height="387" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00036.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border-width: 0px;" title="Cai_dat_vCloud_Director_00036" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00036_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00036" width="494" height="380" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00037.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border-width: 0px;" title="Cai_dat_vCloud_Director_00037" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00037_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00037" width="502" height="386" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00038.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_00038" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00038_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00038" width="505" height="388" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Đăng nhập th&amp;agrave;nh c&amp;ocirc;ng, đ&amp;acirc;y l&amp;agrave; giao diện ch&amp;iacute;nh của vCloud director.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00039.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vCloud_Director_00039" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCloud_Director_00039_thumb.png" border="0" alt="Cai_dat_vCloud_Director_00039" width="505" height="388" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Ch&amp;uacute;c c&amp;aacute;c bạn th&amp;agrave;nh c&amp;ocirc;ng.&lt;/p&gt;
&lt;p style="text-align: right;"&gt;Nguyễn Trọng Nh&amp;acirc;n (&lt;a href="http://Blog.NhanDuyen.Vn"&gt;http://Blog.NhanDuyen.Vn&lt;/a&gt;)&lt;/p&gt;</description>
      <link>http://blog.nhanduyen.vn/post/2013/05/12/Cai-đat-vCloud-Director-51-tren-CentOS.aspx</link>
      <comments>http://blog.nhanduyen.vn/post/2013/05/12/Cai-đat-vCloud-Director-51-tren-CentOS.aspx#comment</comments>
      <guid>http://blog.nhanduyen.vn/post.aspx?id=f580cb23-5871-4fb2-8e49-431be99c693c</guid>
      <pubDate>Sun, 12 May 2013 10:56:00 +0700</pubDate>
      <category>VMware</category>
      <dc:publisher>Trọng Nhân</dc:publisher>
      <pingback:server>http://blog.nhanduyen.vn/pingback.axd</pingback:server>
      <pingback:target>http://blog.nhanduyen.vn/post.aspx?id=f580cb23-5871-4fb2-8e49-431be99c693c</pingback:target>
      <slash:comments>3</slash:comments>
      <trackback:ping>http://blog.nhanduyen.vn/trackback.axd?id=f580cb23-5871-4fb2-8e49-431be99c693c</trackback:ping>
      <wfw:comment>http://blog.nhanduyen.vn/post/2013/05/12/Cai-đat-vCloud-Director-51-tren-CentOS.aspx#comment</wfw:comment>
      <wfw:commentRss>http://blog.nhanduyen.vn/syndication.axd?post=f580cb23-5871-4fb2-8e49-431be99c693c</wfw:commentRss>
    </item>
    <item>
      <title>Cài đặt vShield Edge</title>
      <description>&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=image.jpg"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="image" src="http://blog.nhanduyen.vn/image.axd?picture=image_thumb.jpg" border="0" alt="image" width="410" height="197" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;vShield Edge một th&amp;agrave;nh phần trong bộ sản phẩm &amp;ldquo;VMware vCloud Networking and Security&amp;rdquo; của VMware. vShield Edge kết hợp với vShield App, vShield Endpoint, vShield Data Security tạo th&amp;agrave;nh giải ph&amp;aacute;p bảo mật tổng thể, gi&amp;uacute;p bảo vệ to&amp;agrave;n bộ hệ thống ảo h&amp;oacute;a của doanh nghiệp. Loạt b&amp;agrave;i n&amp;atilde;y sẽ đi qua từng th&amp;agrave;nh phần cụ thể, t&amp;igrave;m hiểu chức năng cũng như vai tr&amp;ograve; của từng th&amp;agrave;nh phần để c&amp;oacute; c&amp;aacute;i nh&amp;igrave;n tổng quan hơn về bảo mật trong m&amp;ocirc;i trường ảo h&amp;oacute;a.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0000.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0000" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0000_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0000" width="413" height="368" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;vShield Edge cung cấp khả năng bảo vệ b&amp;ecirc;n ngo&amp;agrave;i hệ thống Virtual Datacenter (vDC) nhờ c&amp;aacute;c dịch vụ như Firewall, VPN, NAT, DHCP, Static Routing v&amp;agrave; Web Load-balacing. vShield Edge thiết lập v&amp;agrave;nh đai bảo mật xung quanh vDC, c&amp;ocirc; lập traffic giữa mạng b&amp;ecirc;n trong v&amp;agrave; b&amp;ecirc;n ngo&amp;agrave;i vDC, kiểm so&amp;aacute;t luồng dữ liệu ra v&amp;agrave;o vDC.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1/ Deploy vShield Edge.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Sau khi login v&amp;agrave;o vCenter, chọn ở DataCenter, chọn &lt;em&gt;Network Virtualization &lt;/em&gt;chọn tab Edges, chọn v&amp;agrave;o dấu + m&amp;agrave;u xanh để tạo một m&amp;aacute;y vShield Edge mới.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0001.png"&gt;&lt;img style="background-image: none; padding-top: 0px; padding-left: 0px; margin: 0px 10px 0px 0px; display: inline; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0001" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0001_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0001" width="608" height="111" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Một cửa sổ mới hiện ra, y&amp;ecirc;u cầu một số th&amp;ocirc;ng tin cơ bản của vShield Edge.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0002.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0002" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0002_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0002" width="555" height="394" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0003.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0003" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0003_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0003" width="548" height="396" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Chọn nơi lưu vShield Edge&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0004.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0004" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0004_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0004" width="553" height="395" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Chọn card mạng cho vShield Edge. vShield Edge cần c&amp;oacute; tối thiểu 2 card mạng, nối với 2 mạng l&amp;agrave; internal v&amp;agrave; external.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0006.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0006" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0006_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0006" width="539" height="387" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Đối với card mạng nối với external, trong type cần chọn l&amp;agrave; &lt;em&gt;&lt;span style="text-decoration: underline;"&gt;Uplink&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0007.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0007" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0007_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0007" width="546" height="390" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0008.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0008" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0008_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0008" width="547" height="391" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Chọn Default gateway.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0009.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0009" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0009_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0009" width="535" height="385" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Review lại lần cuối rồi chọn Finish&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0010.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0010" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0010_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0010" width="548" height="391" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Đợi một l&amp;aacute;t cho qu&amp;aacute; tr&amp;igrave;nh deploy được thực hiện xong.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0011.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0011" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0011_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0011" width="570" height="141" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0012.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0012" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0012_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0012" width="571" height="148" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Đ&amp;atilde; xong bước c&amp;agrave;i đặt, tiếp theo l&amp;agrave; phần cấu h&amp;igrave;nh c&amp;aacute;c dịch vụ cơ bản tr&amp;ecirc;n vShield Edge.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2/ Cấu h&amp;igrave;nh vShield Edge&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Đ&amp;acirc;y l&amp;agrave; trang quản l&amp;yacute; của vShield Edge&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0013.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0013" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0013_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0013" width="580" height="256" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Ở đ&amp;acirc;y sẽ hiện thị những th&amp;ocirc;ng tin chi tiết về vShield Edge, c&amp;aacute;c dịch vụ đang chạy&amp;hellip;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2.1/ Firewall&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Đầu ti&amp;ecirc;n ta sẽ chọn tab Firewall để cấu h&amp;igrave;nh firewall cho hệ thống. Mặc định vShield sẽ chặn tất cả c&amp;aacute;c traffic ra v&amp;agrave;o hệ thống. Cần sử dụng dịch vụ n&amp;agrave;o chỉ cần th&amp;ecirc;m rule để cho ph&amp;eacute;p traffic đ&amp;oacute; được ph&amp;eacute;p đi qua firewall.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=image_11.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border-width: 0px;" title="image" src="http://blog.nhanduyen.vn/image.axd?picture=image_thumb_11.png" border="0" alt="image" width="629" height="98" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Giao diện cấu h&amp;igrave;nh firewall rất trực quan, dễ hiểu. Bao gồm chọn t&amp;ecirc;n, Source v&amp;agrave; Destination ( ở đ&amp;acirc;y c&amp;oacute; thể chọn một range ip hoặc interface), loại Service, v&amp;agrave; h&amp;agrave;nh động. Rất trực quan v&amp;agrave; dễ d&amp;agrave;ng. Sau khi cấu h&amp;igrave;nh xong, nhớ chọn Publish để rule được &amp;aacute;p đặt.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0013_3.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0013_3" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0013_3_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0013_3" width="648" height="119" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Ngo&amp;agrave;i firewall, vShield Edge c&amp;ograve;n cung cấp c&amp;aacute;c dịch vụ Gateway kh&amp;aacute;c như DHCP, NAT, Load-Balancer, VPN. Ch&amp;uacute;ng ta sẽ tiếp tục t&amp;igrave;m hiểu những dịch vụ đ&amp;oacute;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2.2/ Dynamic Host Configuration Protocol (DHCP)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Để cấu h&amp;igrave;nh DHCP tr&amp;ecirc;n vShield Edge, chọn tab DHCP v&amp;agrave; lần lượt thực hiện c&amp;aacute;c bước sau&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0014.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0014" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0014_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0014" width="636" height="281" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Tạo DHCP Pool&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0018.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0018" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0018_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0018" width="291" height="242" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Sau khi tạo Pool xong, Enable service v&amp;agrave; Publish Changes để lưu lại việc thiết lập.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0020.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0020" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0020_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0020" width="612" height="270" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thử kết quả tr&amp;ecirc;n m&amp;aacute;y WinXP.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0021.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0021" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0021_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0021" width="467" height="237" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2.3/ Network address translation (NAT)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Dịch vụ NAT tr&amp;ecirc;n vShield Edge được chia l&amp;agrave;m 2 loại, đ&amp;oacute; l&amp;agrave;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;+DNAT( Destination NAT): Tương tự như chức năng port fowarding.&lt;/p&gt;
&lt;p&gt;+SNAT ( Source NAT): Chuyển IP Internal th&amp;agrave;nh IP external để ra ngo&amp;agrave;i&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Đầu ti&amp;ecirc;n sẽ l&amp;agrave; cấu h&amp;igrave;nh DNAT.&lt;/p&gt;
&lt;p&gt;Y&amp;ecirc;u cầu l&amp;agrave; sẽ port fowarding port 3389 từ IP 192.168.1.5 đến port 3389 của m&amp;aacute;y c&amp;oacute; ip l&amp;agrave; 10.100.100.1. Với y&amp;ecirc;u cầu như tr&amp;ecirc;n, cấu h&amp;igrave;nh sẽ l&amp;agrave;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0025.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0025" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0025_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0025" width="302" height="348" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Sau khi cấu h&amp;igrave;nh xong, nhớ chọn Publish Changes.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0026.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0026" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0026_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0026" width="608" height="95" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Test kết quả.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0027.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0027" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0027_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0027" width="416" height="258" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0028.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0028" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0028_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0028" width="419" height="386" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0029.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0029" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0029_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0029" width="474" height="272" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Th&amp;agrave;nh c&amp;ocirc;ng rồi nha &lt;img class="wlEmoticon wlEmoticon-openmouthedsmile" style="border-style: none;" src="http://blog.nhanduyen.vn/image.axd?picture=wlEmoticon-openmouthedsmile_13.png" alt="Open-mouthed smile" /&gt;&lt;/p&gt;
&lt;p&gt;Tiếp theo l&amp;agrave; SNAT.&lt;/p&gt;
&lt;p&gt;Y&amp;ecirc;u cầu ở đ&amp;acirc;u l&amp;agrave; sẽ NAT range IP internal th&amp;agrave;nh IP external để c&amp;aacute;c m&amp;aacute;y trong internal c&amp;oacute; thể truy cập được internet.&lt;/p&gt;
&lt;p&gt;Với y&amp;ecirc;u cầu n&amp;agrave;y, cấu h&amp;igrave;nh sẽ l&amp;agrave;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0030.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0030" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0030_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0030" width="384" height="284" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0031.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0031" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0031_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0031" width="569" height="93" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;V&amp;agrave; đ&amp;acirc;y l&amp;agrave; kết quả.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0032.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0032" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0032_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0032" width="483" height="289" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3/ Load Balancer&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Ch&amp;uacute;ng ta sẽ tận dụng vShield Edge dể Load Balancer cho 2 web server c&amp;oacute; ip l&amp;agrave; 10.100.100.1 v&amp;agrave; 10.100.100.2. Ở đ&amp;acirc;y m&amp;igrave;nh sẽ đặt 2 file html kh&amp;aacute;c nhau để thấy r&amp;otilde; được qu&amp;aacute; tr&amp;igrave;nh load-balancer giữa 2 server.&lt;/p&gt;
&lt;p&gt;Thử truy cập v&amp;agrave;o 2 ip 10.100.100.1 v&amp;agrave; 10.100.100.2. Ta c&amp;oacute; kết quả như sau.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0034.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0034" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0034_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0034" width="449" height="301" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0033.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0033" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0033_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0033" width="457" height="310" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Tiến h&amp;agrave;nh cấu h&amp;igrave;nh tr&amp;ecirc;n vShield Edge.&lt;/p&gt;
&lt;p&gt;Đầu ti&amp;ecirc;n l&amp;agrave; chọn Pool.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0039.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0039" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0039_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0039" width="475" height="340" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0036.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0036" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0036_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0036" width="463" height="331" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Ở bước n&amp;agrave;y, ta chọn 2 Server sẽ tham gia v&amp;agrave;o qu&amp;aacute; tr&amp;igrave;nh Load-Balancer.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0037.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0037" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0037_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0037" width="449" height="323" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0038.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0038" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0038_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0038" width="539" height="238" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Tiếp theo l&amp;agrave; cấu h&amp;igrave;nh Virtual Server.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0040.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0040" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0040_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0040" width="531" height="355" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Sau khi cấu h&amp;igrave;nh xong, chọn Enable để bật dịch vụ.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0041.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0041" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0041_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0041" width="541" height="239" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Kiểm tra kết quả.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0042.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0042" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0042_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0042" width="510" height="392" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0043.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0043" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0043_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0043" width="509" height="391" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thử F5 v&amp;agrave;i lần sẽ thấy kết quả hiện thị kh&amp;aacute;c nhau. &lt;img class="wlEmoticon wlEmoticon-openmouthedsmile" style="border-style: none;" src="http://blog.nhanduyen.vn/image.axd?picture=wlEmoticon-openmouthedsmile_13.png" alt="Open-mouthed smile" /&gt;. Nghĩa l&amp;agrave; request đ&amp;atilde; được đẩy lu&amp;acirc;n phi&amp;ecirc;n về 2 webserver ri&amp;ecirc;ng biệt. Qu&amp;aacute; tr&amp;igrave;nh cấu h&amp;igrave;nh Load-Balancer đ&amp;atilde; th&amp;agrave;nh c&amp;ocirc;ng.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2.4/ VPN&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Ngo&amp;agrave;i t&amp;iacute;nh năng tr&amp;ecirc;n, vShiled Edge c&amp;ograve;n c&amp;oacute; khả năng l&amp;agrave;m VPN gateway hỗ trợ việc kết nối Site-to-Site giữa c&amp;aacute;c chi nh&amp;aacute;nh hoặc l&amp;agrave;m Gateway cho c&amp;aacute;c user b&amp;ecirc;n ngo&amp;agrave;i c&amp;oacute; thể connect v&amp;agrave;o hệ thống internal để l&amp;agrave;m việc một c&amp;aacute;ch an to&amp;agrave;n. M&amp;igrave;nh sẽ giới thiểu c&amp;aacute;ch triển khai SSL VPN Plus tr&amp;ecirc;n vShield Edge.&lt;/p&gt;
&lt;p&gt;Đầu ti&amp;ecirc;n chọn tab VPN, SSL VPN-Plus&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0044.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0044" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0044_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0044" width="561" height="248" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0045.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0045" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0045_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0045" width="557" height="246" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0046.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0046" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0046_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0046" width="559" height="374" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0047.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0047" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0047_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0047" width="563" height="249" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Cấu h&amp;igrave;nh IP Pool. Đ&amp;acirc;y l&amp;agrave; range IP sẽ được cấp cho User sau khi kết nối v&amp;agrave;o VPN.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0048.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0048" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0048_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0048" width="580" height="256" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Ở đ&amp;acirc;y m&amp;igrave;nh chọn range từ 172.16.10.10-172.16.10.100&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0051.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0051" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0051_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0051" width="564" height="377" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Tiếp theo l&amp;agrave; Private Network. Đ&amp;acirc;y l&amp;agrave; mạng m&amp;agrave; VPN User c&amp;oacute; thể kết nối tới. Ở đ&amp;acirc;y m&amp;igrave;nh chọn l&amp;agrave; 10.0.0.0/8&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0052.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border-width: 0px;" title="Cai_dat_vShied_Edge_0052" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0052_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0052" width="563" height="249" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0053.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border-width: 0px;" title="Cai_dat_vShied_Edge_0053" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0053_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0053" width="495" height="331" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0054.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0054" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0054_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0054" width="633" height="279" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Authentication: C&amp;aacute;c VPN server x&amp;aacute;c thực user. vShield Edge hỗ trợ nhiều c&amp;aacute;ch x&amp;aacute;c thực như qu&amp;aacute; AD, Radius server&amp;hellip; Để đơn giản, m&amp;igrave;nh chọn c&amp;aacute;ch local. Nghĩa l&amp;agrave; ch&amp;uacute;ng ta sẽ tạo User tr&amp;ecirc;n vShield Edge, những user n&amp;agrave;y sẽ c&amp;oacute; thể truy cập v&amp;agrave;o VPN.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0055.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0055" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0055_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0055" width="561" height="248" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0056.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0056" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0056_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0056" width="488" height="325" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0057.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border-width: 0px;" title="Cai_dat_vShied_Edge_0057" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0057_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0057" width="489" height="329" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0058.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0058" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0058_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0058" width="496" height="219" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Installation Package: Tạo VPN Client cho VPN user.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0059.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0059" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0059_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0059" width="468" height="313" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;User: Tạo user c&amp;oacute; thể access v&amp;agrave;o VPN server. Ở đ&amp;acirc;y m&amp;igrave;nh tạo user VPN01.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0060.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0060" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0060_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0060" width="473" height="209" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0061.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border-width: 0px;" title="Cai_dat_vShied_Edge_0061" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0061_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0061" width="468" height="313" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Cuối c&amp;ugrave;ng l&amp;agrave; khởi động Service.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0062.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0062" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0062_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0062" width="458" height="203" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0063.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0063" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0063_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0063" width="457" height="202" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thử kết nối v&amp;agrave;o VPN server:&lt;/p&gt;
&lt;p&gt;Truy cập địa chỉ &lt;a href="https://&amp;lt;vshiled-edge&amp;gt;/sslvpn-plus/"&gt;/sslvpn-plus/"&amp;gt;/sslvpn-plus/"&amp;gt;/sslvpn-plus/"&amp;gt;https://&amp;lt;vshiled-edge&amp;gt;/sslvpn-plus/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0064.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0064" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0064_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0064" width="489" height="368" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Tiến h&amp;agrave;nh đăng nhập bằng user đ&amp;atilde; tạo ở bước tr&amp;ecirc;n.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0066.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0066" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0066_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0066" width="500" height="376" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Sau khi đăng nhập th&amp;agrave;nh c&amp;ocirc;ng, chọn VPN client để download VPN Client về m&amp;aacute;y.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0068.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0068" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0068_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0068" width="498" height="374" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0069.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0069" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0069_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0069" width="504" height="379" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0071.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0071" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0071_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0071" width="494" height="372" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0070.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0070" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0070_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0070" width="495" height="372" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Tiến h&amp;agrave;nh c&amp;agrave;i đặt tr&amp;ecirc;n m&amp;aacute;y client.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0072.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0072" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0072_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0072" width="482" height="362" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0073.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0073" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0073_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0073" width="486" height="366" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0074.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0074" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0074_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0074" width="489" height="368" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thử connect&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0076.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0076" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0076_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0076" width="491" height="370" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Đăng nhập th&amp;agrave;nh c&amp;ocirc;ng.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0077.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0077" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0077_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0077" width="498" height="374" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Xem IP của m&amp;aacute;y v&amp;agrave; thử kết nối tới mạng nội bộ.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0080.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="Cai_dat_vShied_Edge_0080" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vShied_Edge_0080_thumb.png" border="0" alt="Cai_dat_vShied_Edge_0080" width="498" height="374" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Kết nối th&amp;agrave;nh c&amp;ocirc;ng. Qu&amp;aacute; tr&amp;igrave;nh c&amp;agrave;i đặt SSL-VPN Plus th&amp;agrave;nh c&amp;ocirc;ng,&lt;/p&gt;</description>
      <link>http://blog.nhanduyen.vn/post/2013/05/06/Cai-đat-vShield-Edge.aspx</link>
      <comments>http://blog.nhanduyen.vn/post/2013/05/06/Cai-đat-vShield-Edge.aspx#comment</comments>
      <guid>http://blog.nhanduyen.vn/post.aspx?id=b02d0a20-bbdd-4013-bfa7-12591ebad977</guid>
      <pubDate>Mon, 06 May 2013 09:31:00 +0700</pubDate>
      <category>VMware</category>
      <dc:publisher>Trọng Nhân</dc:publisher>
      <pingback:server>http://blog.nhanduyen.vn/pingback.axd</pingback:server>
      <pingback:target>http://blog.nhanduyen.vn/post.aspx?id=b02d0a20-bbdd-4013-bfa7-12591ebad977</pingback:target>
      <slash:comments>1</slash:comments>
      <trackback:ping>http://blog.nhanduyen.vn/trackback.axd?id=b02d0a20-bbdd-4013-bfa7-12591ebad977</trackback:ping>
      <wfw:comment>http://blog.nhanduyen.vn/post/2013/05/06/Cai-đat-vShield-Edge.aspx#comment</wfw:comment>
      <wfw:commentRss>http://blog.nhanduyen.vn/syndication.axd?post=b02d0a20-bbdd-4013-bfa7-12591ebad977</wfw:commentRss>
    </item>
    <item>
      <title>Cài đặt VMware vCenter 5.1</title>
      <description>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_1.jpg"&gt;&lt;img title="Cai_dat_vCenter_51_1" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; border-left: 0px; display: block; padding-right: 0px; margin-right: auto" border="0" alt="Cai_dat_vCenter_51_1" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_1_thumb.jpg" width="405" height="192" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;VMware vCenter Server nằm trong bộ sản phẩm VMware vSphere cung cấp khả năng quản lý tập trung máy chủ của ESXi, triển khai các tính năng cao cấp như cấu hình HA, FT, DRS và vMotion. Hiện tại phiên bản mới nhất của vCenter là 5.1.   &lt;br /&gt;    &lt;br /&gt;Mô hình bài lab hôm nay sẽ là một máy chạy Window Server 2008 R2 sẽ cài đặt vCenter 5.1. Để đơn giản, chúng ta sẽ cài đặt theo hình thức simple install. Với cách này, tất cả các thành phần cần thiết sẽ được cài đặt trên cùng một Server. Cách cài đặt này với ưu điểm nhanh chóng, tiện lợi nhưng cũng tiềm tàng những rủi ro nếu máy cài đặt vCenter có vấn đề mất mát dữ liệu thì sẽ ảnh hưởng toàn hệ thống. Bên cạnh đó, việc cài đặt này cũng có giới hạn về số lượng ESXi host được vCenter quản lý, tối đa 5 ESXi host và 50 Virtual Machine.     &lt;br /&gt;Quá trình cài đặt cần lần lượt thực hiện những bước sau     &lt;br /&gt;Bước 1: Cài đặt DNS server. Mục đích để phân giải Domain và IP cho vCenter. Ở đây mình đặt domain cho máy vCenter là vCenter.Local có ip là 20.20.0.10. Lần lượt tạo A record và PTR record cho domain này. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_2.png"&gt;&lt;img title="Cai_dat_vCenter_51_2" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="Cai_dat_vCenter_51_2" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_2_thumb.png" width="507" height="61" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_3.png"&gt;&lt;img title="Cai_dat_vCenter_51_3" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="Cai_dat_vCenter_51_3" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_3_thumb.png" width="506" height="62" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Sau khi cài đặt thành công, thử phân giải domain này nào. Đã thành công.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_5.png"&gt;&lt;img title="Cai_dat_vCenter_51_5" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="Cai_dat_vCenter_51_5" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_5_thumb.png" width="509" height="254" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Bước 2: Vô phần chính nào. Chọn option đầu tiên và Install &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_6.png"&gt;&lt;img title="Cai_dat_vCenter_51_6" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="Cai_dat_vCenter_51_6" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_6_thumb.png" width="500" height="388" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Đầu tiên là quá trình cài đặt Singgle Sign On. Đây là tính năng mới xuất hiện trên vCenter 5.1. Lúc đầu chạy cái này hơi lâu xíu, chịu khó đợi tí.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_7.png"&gt;&lt;img title="Cai_dat_vCenter_51_7" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="Cai_dat_vCenter_51_7" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_7_thumb.png" width="506" height="392" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Có xuất hiện cảnh báo máy cài vCenter chưa join domain. Ok tiếp nào. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_9.png"&gt;&lt;img title="Cai_dat_vCenter_51_9" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="Cai_dat_vCenter_51_9" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_9_thumb.png" width="506" height="383" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Next vài lần, tới chỗ này. Yêu cầu nhập master password cho Single Sign On. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_92.png"&gt;&lt;img title="Cai_dat_vCenter_51_92" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="Cai_dat_vCenter_51_92" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_92_thumb.png" width="356" height="269" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Next tiếp nào.&lt;/p&gt;  &lt;p&gt;Xuất hiện tùy chọn cài đặt SQL server mới hay sử dụng SQL server đã có sẵn. Thôi cứ để nó tự cài cho lẹ nhỉ .&lt;img class="wlEmoticon wlEmoticon-openmouthedsmile" style="border-top-style: none; border-left-style: none; border-bottom-style: none; border-right-style: none" alt="Open-mouthed smile" src="http://blog.nhanduyen.vn/image.axd?picture=wlEmoticon-openmouthedsmile_12.png" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_93.png"&gt;&lt;img title="Cai_dat_vCenter_51_93" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="Cai_dat_vCenter_51_93" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_93_thumb.png" width="478" height="360" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Tạo password cho 2 user RSA_DB và RSA_USER. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_95.png"&gt;&lt;img title="Cai_dat_vCenter_51_95" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="Cai_dat_vCenter_51_95" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_95_thumb.png" width="484" height="366" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Next nữa. &lt;/p&gt;  &lt;p&gt;Nhập domain hoặc IP của máy Single Sign On. Do mình cài tất cả trên một máy nên sẽ sử dụng domain là vCenter.Local trỏ về chính máy của mình.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_94.png"&gt;&lt;img title="Cai_dat_vCenter_51_94" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="Cai_dat_vCenter_51_94" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_94_thumb.png" width="478" height="362" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Tiếp theo là port của SSO. Cứ next tiếp thôi.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_96.png"&gt;&lt;img title="Cai_dat_vCenter_51_96" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="Cai_dat_vCenter_51_96" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_96_thumb.png" width="473" height="356" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Đợi một xíu cho quá trình cài đặt diễn ra, do có cài SQL Server nữa nên hơi lâu một tí. Kiếm gì ăn khuya đã. &lt;img class="wlEmoticon wlEmoticon-openmouthedsmile" style="border-top-style: none; border-left-style: none; border-bottom-style: none; border-right-style: none" alt="Open-mouthed smile" src="http://blog.nhanduyen.vn/image.axd?picture=wlEmoticon-openmouthedsmile_12.png" /&gt;.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_97.png"&gt;&lt;img title="Cai_dat_vCenter_51_97" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="Cai_dat_vCenter_51_97" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_97_thumb.png" width="476" height="352" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Sau khi cài đặt Single Sign On xong, hệ thống sẽ tiếp tục cài vCenter Inventory Service. Lại Next nữa nào.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_98.png"&gt;&lt;img title="Cai_dat_vCenter_51_98" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="Cai_dat_vCenter_51_98" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_98_thumb.png" width="470" height="357" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Tiếp theo là tới vCenter.&lt;/p&gt;  &lt;p&gt;Nhập license key. Nếu không nhập sẽ được sử dụng 60 ngày miễn phí, quá đủ cho các bài lab. Next tiếp nào.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_9901.png"&gt;&lt;img title="Cai_dat_vCenter_51_9901" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="Cai_dat_vCenter_51_9901" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_9901_thumb.png" width="471" height="368" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Chọn tùy chọn cài đặt SQL Server. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_9902.png"&gt;&lt;img title="Cai_dat_vCenter_51_9902" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="Cai_dat_vCenter_51_9902" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_9902_thumb.png" width="481" height="366" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Tiếp tục Next và đợi quá trình cài đặt hoàn thành. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_9903.png"&gt;&lt;img title="Cai_dat_vCenter_51_9903" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="Cai_dat_vCenter_51_9903" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_9903_thumb.png" width="483" height="374" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Và cuối cùng đây là kết quả.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_9908.png"&gt;&lt;img title="Cai_dat_vCenter_51_9908" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="Cai_dat_vCenter_51_9908" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_9908_thumb.png" width="495" height="373" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Đã cài đặt thành công. Thử login bằng vSphere Client nào. &lt;img class="wlEmoticon wlEmoticon-openmouthedsmile" style="border-top-style: none; border-left-style: none; border-bottom-style: none; border-right-style: none" alt="Open-mouthed smile" src="http://blog.nhanduyen.vn/image.axd?picture=wlEmoticon-openmouthedsmile_12.png" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_9909.png"&gt;&lt;img title="Cai_dat_vCenter_51_9909" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="Cai_dat_vCenter_51_9909" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_9909_thumb.png" width="384" height="344" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_99010.png"&gt;&lt;img title="Cai_dat_vCenter_51_99010" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="Cai_dat_vCenter_51_99010" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_99010_thumb.png" width="507" height="334" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Một điểm mới của phiên bản vCenter 5.1 là WebClient. Ở các phiên bản trước, WebClient không giúp được gì nhiều trong quá trình quản trị hệ thống, tuy nhiên điều này đã thay đổi ở bản 5.1. Thực tế có nhiều tính năng không thể dùng được trên vSphere Client nhưng lại hiện hữu ở WebClient. &lt;/p&gt;  &lt;p&gt;Để cài đặt WebClient, lần lượt làm những bước sau.&lt;/p&gt;  &lt;p&gt;Chọn WebClient ở phần này.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_99011.png"&gt;&lt;img title="Cai_dat_vCenter_51_99011" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="Cai_dat_vCenter_51_99011" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_99011_thumb.png" width="420" height="324" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Next tiếp nào. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_99012.png"&gt;&lt;img title="Cai_dat_vCenter_51_99012" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="Cai_dat_vCenter_51_99012" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_99012_thumb.png" width="421" height="315" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Đây là các port mặc định, chúng ta có thể thay đổi nếu muốn.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_99013.png"&gt;&lt;img title="Cai_dat_vCenter_51_99013" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="Cai_dat_vCenter_51_99013" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_99013_thumb.png" width="430" height="329" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Yêu cầu nhập password của Single Sign On. Next tiếp nào.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_99014.png"&gt;&lt;img title="Cai_dat_vCenter_51_99014" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="Cai_dat_vCenter_51_99014" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_99014_thumb.png" width="436" height="330" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Đợi một lát cho quá trình cài đặt hoàn tất. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_99015.png"&gt;&lt;img title="Cai_dat_vCenter_51_99015" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="Cai_dat_vCenter_51_99015" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_99015_thumb.png" width="434" height="327" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_99016.png"&gt;&lt;img title="Cai_dat_vCenter_51_99016" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="Cai_dat_vCenter_51_99016" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_99016_thumb.png" width="443" height="333" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Thử login bằng trình duyệt nào. Để truy cập bằng trình duyệt, sử dụng link sau&lt;/p&gt;  &lt;p&gt;&lt;a href="https://&amp;lt;IP"&gt;https://&amp;lt;IP&lt;/a&gt; hay domain vCenter&amp;gt;:9443/vsphere-client/&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_99017.png"&gt;&lt;img title="Cai_dat_vCenter_51_99017" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="Cai_dat_vCenter_51_99017" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_99017_thumb.png" width="458" height="349" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Đăng nhập bằng tài khoản Administrator. &lt;/p&gt;  &lt;p&gt;Đã thành công. Và đây là giao diện của WebClient.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_99018.png"&gt;&lt;img title="Cai_dat_vCenter_51_99018" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; border-left: 0px; display: block; padding-right: 0px" border="0" alt="Cai_dat_vCenter_51_99018" src="http://blog.nhanduyen.vn/image.axd?picture=Cai_dat_vCenter_51_99018_thumb.png" width="423" height="321" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Đã xong. &lt;img class="wlEmoticon wlEmoticon-openmouthedsmile" style="border-top-style: none; border-left-style: none; border-bottom-style: none; border-right-style: none" alt="Open-mouthed smile" src="http://blog.nhanduyen.vn/image.axd?picture=wlEmoticon-openmouthedsmile_12.png" /&gt;    &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;Trên đây là những bước cơ bản để cài đặt vCenter 5.1 bằng cách Simple Install. Rất đơn giản phải không nào. Qua bài này có một điểm cần lưu ý là chúng ta bắc buộc phải phân giải được domain và IP của vCenter. Bằng cách này hay cách khác. &lt;img class="wlEmoticon wlEmoticon-openmouthedsmile" style="border-top-style: none; border-left-style: none; border-bottom-style: none; border-right-style: none" alt="Open-mouthed smile" src="http://blog.nhanduyen.vn/image.axd?picture=wlEmoticon-openmouthedsmile_12.png" /&gt;. Chúc các bạn thành công.&lt;/p&gt;  &lt;p align="right"&gt;Nguyễn Trọng Nhân (&lt;a href="http://Blog.NhanDuyen.Vn"&gt;http://Blog.NhanDuyen.Vn&lt;/a&gt;) &lt;/p&gt;</description>
      <link>http://blog.nhanduyen.vn/post/2013/04/23/Cai-đat-VMware-vCenter-51.aspx</link>
      <comments>http://blog.nhanduyen.vn/post/2013/04/23/Cai-đat-VMware-vCenter-51.aspx#comment</comments>
      <guid>http://blog.nhanduyen.vn/post.aspx?id=66c29101-5ae0-4a3a-a108-027ec3ee1597</guid>
      <pubDate>Tue, 23 Apr 2013 18:00:17 +0700</pubDate>
      <category>VMware</category>
      <dc:publisher>Trọng Nhân</dc:publisher>
      <pingback:server>http://blog.nhanduyen.vn/pingback.axd</pingback:server>
      <pingback:target>http://blog.nhanduyen.vn/post.aspx?id=66c29101-5ae0-4a3a-a108-027ec3ee1597</pingback:target>
      <slash:comments>6</slash:comments>
      <trackback:ping>http://blog.nhanduyen.vn/trackback.axd?id=66c29101-5ae0-4a3a-a108-027ec3ee1597</trackback:ping>
      <wfw:comment>http://blog.nhanduyen.vn/post/2013/04/23/Cai-đat-VMware-vCenter-51.aspx#comment</wfw:comment>
      <wfw:commentRss>http://blog.nhanduyen.vn/syndication.axd?post=66c29101-5ae0-4a3a-a108-027ec3ee1597</wfw:commentRss>
    </item>
    <item>
      <title>vSphere Command-Line Interface</title>
      <description>&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=image.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border-width: 0px;" title="image" src="http://blog.nhanduyen.vn/image.axd?picture=image_thumb.png" border="0" alt="image" width="324" height="170" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Trong một số trường hợp, việc tương t&amp;aacute;c với ESXi th&amp;ocirc;ng qua vSphere Client kh&amp;ocirc;ng thể. V&amp;iacute; dụ như bạn đang ở ngo&amp;agrave;i qu&amp;aacute; cafe nhưng c&amp;aacute;c Virtual Machine bị sự cố, kh&amp;ocirc;ng c&amp;oacute; vSphere Client để xử l&amp;yacute;, th&amp;igrave; VMware CLI l&amp;agrave; một giải ph&amp;aacute;p gi&amp;uacute;p xử l&amp;yacute; kịp thời nhất&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Để sử dụng t&amp;iacute;nh năng n&amp;agrave;y, ch&amp;uacute;ng ta cần phải Enable Service SSH tr&amp;ecirc;n ESXi. Về cơ bản, cấu tr&amp;uacute;c lệnh của VMware CLI c&amp;oacute; cấu tr&amp;uacute;c ph&amp;acirc;n cấp, giống như c&amp;acirc;y thư mục, n&amp;ecirc;n việc sử dụng tương đối dễ d&amp;agrave;ng. Sau đ&amp;acirc;y l&amp;agrave; một số lệnh cơ bản, thường d&amp;ugrave;ng để xử l&amp;yacute; c&amp;aacute;c sự cố đơn giản.    &lt;br /&gt;&lt;strong&gt;Nh&amp;oacute;m lệnh tương t&amp;aacute;c với Virtual Machine tr&amp;ecirc;n Host      &lt;br /&gt;&lt;/strong&gt;Ta c&amp;oacute; thể sử dụng lệnh vim-cmd vmsvc để hiển thị c&amp;aacute;c lệnh c&amp;oacute; thể d&amp;ugrave;ng để tương t&amp;aacute;c với Virtual Machine&lt;/p&gt;
&lt;p&gt;
&lt;pre class="brush: c-sharp;"&gt;vim-cmd vmsvc&lt;/pre&gt;
&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=image_1.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="image" src="http://blog.nhanduyen.vn/image.axd?picture=image_thumb_1.png" border="0" alt="image" width="611" height="211" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Đơn cử như:&lt;/p&gt;
&lt;p&gt;
&lt;pre class="brush: c-sharp;"&gt;vim-cmd vmsvc/getallvms&lt;/pre&gt;
&lt;/p&gt;
&lt;p&gt;Hiển thị th&amp;ocirc;ng tin to&amp;agrave;n bộ c&amp;aacute;c VM đang c&amp;oacute; tr&amp;ecirc;n ESXi Host, k&amp;egrave;m theo VMID của c&amp;aacute;c VM.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=image_2.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="image" src="http://blog.nhanduyen.vn/image.axd?picture=image_thumb_2.png" border="0" alt="image" width="619" height="230" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;
&lt;pre class="brush: c-sharp;"&gt;vim-cmd vmsvc/power.getstate vmid&lt;/pre&gt;
&lt;/p&gt;
&lt;p&gt;Lấy th&amp;ocirc;ng tin trạng th&amp;aacute;i của một VM&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=image_3.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="image" src="http://blog.nhanduyen.vn/image.axd?picture=image_thumb_3.png" border="0" alt="image" width="612" height="50" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;
&lt;pre class="brush: c-sharp;"&gt;vim-cmd vmsvc/power.off VMID&lt;/pre&gt;
&lt;/p&gt;
&lt;p&gt;Tắt VM c&amp;oacute; VMID lấy từ lệnh getallvms&lt;/p&gt;
&lt;p&gt;
&lt;pre class="brush: c-sharp;"&gt;vim-cmd vmsvc/power.on vmid&lt;/pre&gt;
&lt;/p&gt;
&lt;p&gt;Bật VM c&amp;oacute; VMID lấy từ lệnh getallvms    &lt;br /&gt;Tương tự thế ta c&amp;ograve;n c&amp;oacute; c&amp;aacute;c lệnh kh&amp;aacute;c như&lt;/p&gt;
&lt;p&gt;
&lt;pre class="brush: c-sharp;"&gt;vim-cmd vmsvc/power.hibernate 
vim-cmd vmsvc/power.reboot 
vim-cmd vmsvc/power.reset 
vim-cmd vmsvc/power.shutdown 
vim-cmd vmsvc/power.suspend 
vim-cmd vmsvc/power.suspendResume&lt;/pre&gt;
&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Nh&amp;oacute;m lệnh tương t&amp;aacute;c với ESXi Host:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Tương tự như với Virtual Machine, ta c&amp;oacute; thể d&amp;ugrave;ng lệnh vim-cmd hostsvc để hiện thị c&amp;aacute;c lệnh c&amp;oacute; thể tương t&amp;aacute;c được ESXi Host&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=image_4.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border-width: 0px;" title="image" src="http://blog.nhanduyen.vn/image.axd?picture=image_thumb_4.png" border="0" alt="image" width="573" height="191" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;V&amp;iacute; dụ&lt;/p&gt;
&lt;p&gt;
&lt;pre class="brush: c-sharp;"&gt;vim-cmd hostsvc/datastore/listsummary&lt;/pre&gt;
&lt;/p&gt;
&lt;p&gt;Hiển thị th&amp;ocirc;ng tin c&amp;aacute;c DataStore đang c&amp;oacute; tr&amp;ecirc;n host.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=image_5.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border-width: 0px;" title="image" src="http://blog.nhanduyen.vn/image.axd?picture=image_thumb_5.png" border="0" alt="image" width="572" height="215" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;
&lt;pre class="brush: c-sharp;"&gt;vim-cmd hostsvc/datastore/listvm &amp;lt;DatastoreName&amp;gt;&lt;/pre&gt;
&lt;/p&gt;
&lt;p&gt;Hiển thị c&amp;aacute;c VM đang được lưu trữ tr&amp;ecirc;n Datastore cụ thể. Gi&amp;aacute; trị trả về sẽ l&amp;agrave; VMID&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=image_6.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border-width: 0px;" title="image" src="http://blog.nhanduyen.vn/image.axd?picture=image_thumb_6.png" border="0" alt="image" width="572" height="113" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Ngo&amp;agrave;i ra, c&amp;ograve;n c&amp;oacute; một số lệnh kh&amp;aacute;c như.&lt;/p&gt;
&lt;p&gt;
&lt;pre class="brush: c-sharp;"&gt;esxtop&lt;/pre&gt;
&lt;/p&gt;
&lt;p&gt;Giống như lệnh Top trong Linux&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=image_7.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border-width: 0px;" title="image" src="http://blog.nhanduyen.vn/image.axd?picture=image_thumb_7.png" border="0" alt="image" width="547" height="332" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;
&lt;pre class="brush: c-sharp;"&gt;esxcfg-nics -l&lt;/pre&gt;
&lt;/p&gt;
&lt;p&gt;Hiển thị th&amp;ocirc;ng tin chi tiết c&amp;aacute;c card mạng c&amp;oacute; tr&amp;ecirc;n host&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=image_8.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin: 0px auto; display: block; padding-right: 0px; border-width: 0px;" title="image" src="http://blog.nhanduyen.vn/image.axd?picture=image_thumb_8.png" border="0" alt="image" width="636" height="120" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;
&lt;pre class="brush: c-sharp;"&gt;esxicfg-vswitch &amp;ndash;l&lt;/pre&gt;
&lt;/p&gt;
&lt;p&gt;Hiển thị th&amp;ocirc;ng tin c&amp;aacute;c Virtual Switch, Distributed Switch tr&amp;ecirc;n host&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=image_9.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border-width: 0px;" title="image" src="http://blog.nhanduyen.vn/image.axd?picture=image_thumb_9.png" border="0" alt="image" width="636" height="207" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;
&lt;pre class="brush: c-sharp;"&gt;dcui&lt;/pre&gt;
&lt;/p&gt;
&lt;p&gt;Lệnh kh&amp;aacute; th&amp;uacute; vị :D&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=image_10.png"&gt;&lt;img style="background-image: none; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; margin-right: auto; border-width: 0px;" title="image" src="http://blog.nhanduyen.vn/image.axd?picture=image_thumb_10.png" border="0" alt="image" width="487" height="334" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;V&amp;agrave; c&amp;ograve;n nhiều, nhiều lệnh kh&amp;aacute;c nữa. C&amp;ugrave;ng kh&amp;aacute;m ph&amp;aacute; những lệnh kh&amp;aacute;c gi&amp;uacute;p cho c&amp;ocirc;ng việc h&amp;agrave;ng ng&amp;agrave;y dễ d&amp;agrave;ng hơn.&lt;/p&gt;</description>
      <link>http://blog.nhanduyen.vn/post/2013/04/22/vSphere-Command-Line-Interface.aspx</link>
      <comments>http://blog.nhanduyen.vn/post/2013/04/22/vSphere-Command-Line-Interface.aspx#comment</comments>
      <guid>http://blog.nhanduyen.vn/post.aspx?id=6e8cd451-065f-4232-a481-ed50d919a306</guid>
      <pubDate>Mon, 22 Apr 2013 12:31:00 +0700</pubDate>
      <category>VMware</category>
      <dc:publisher>Trọng Nhân</dc:publisher>
      <pingback:server>http://blog.nhanduyen.vn/pingback.axd</pingback:server>
      <pingback:target>http://blog.nhanduyen.vn/post.aspx?id=6e8cd451-065f-4232-a481-ed50d919a306</pingback:target>
      <slash:comments>3764</slash:comments>
      <trackback:ping>http://blog.nhanduyen.vn/trackback.axd?id=6e8cd451-065f-4232-a481-ed50d919a306</trackback:ping>
      <wfw:comment>http://blog.nhanduyen.vn/post/2013/04/22/vSphere-Command-Line-Interface.aspx#comment</wfw:comment>
      <wfw:commentRss>http://blog.nhanduyen.vn/syndication.axd?post=6e8cd451-065f-4232-a481-ed50d919a306</wfw:commentRss>
    </item>
    <item>
      <title>Cấu hình DHCP cho Router Juniper</title>
      <description>&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Juniper-logo_1.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Juniper-logo" border="0" alt="Juniper-logo" src="http://blog.nhanduyen.vn/image.axd?picture=Juniper-logo_thumb_1.jpg" width="667" height="225" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Hôm nay mình sẽ cùng các bạn cấu hình dịch vụ DHCP trên router của Juniper.&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;1/ Chuẩn bị:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;- Máy ảo VMware có cài đặt JunOS và giả lập Router J4300 của Juniper&lt;/p&gt;  &lt;p&gt;- Client chạy WinXP để nhận IP từ DHCP Server.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;2/ Mục đích:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt; Cấp được địa chỉ ip cho 2 máy client chạy WinXP. &lt;/p&gt;  &lt;p&gt;Dải Ip cho client thứ nhất là: 172.16.10.100-172.16.100.20&lt;/p&gt;  &lt;p&gt;Dải IP cho client thứ hai là:10.10.10.100-10.10.10.200&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;3/ Tiến hành:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Tiến hành đăng nhập dưới quyền root hoặc supper-user. &lt;/p&gt;  &lt;p&gt;Sử dụng lệnh &lt;em&gt;show version&lt;/em&gt; để xem version mình đang sử dụng,&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=DHCP-Juniper-3.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="DHCP-Juniper-3" border="0" alt="DHCP-Juniper-3" src="http://blog.nhanduyen.vn/image.axd?picture=DHCP-Juniper-3_thumb.png" width="629" height="403" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Chuyển vào mode&amp;#160; cấu hình bằng lệnh &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font face="Arial"&gt;configure (Enter)&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Ở đây mình sử dụng 2 card mạng là em0 và em1. Thực tế trên Router của Juniper sẽ không có loại card mạng này mà sẽ có 2 loại chính là fe và ge tương ứng với tốc độ truyền của từng card mạng.&lt;/p&gt;  &lt;p&gt;- Cấu hình ip cho từng interface bằng lệnh&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font face="Arial"&gt;set interface &amp;lt;tên interface&amp;gt; unit 0 famiy inet address &amp;lt;địa chỉ ip&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=DHCP-Juniper-4.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="DHCP-Juniper-4" border="0" alt="DHCP-Juniper-4" src="http://blog.nhanduyen.vn/image.axd?picture=DHCP-Juniper-4_thumb.png" width="637" height="112" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;- Tạo DHCP Pool 172.16.0.0/16. &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font face="Arial"&gt;set system service dhcp pool 172.16.0.0/16&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Trong đó 172.16.0.0/16 là địa chỉ lớp mạng mà chúng ta cần cấp IP.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=DHCP-Juniper-6.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="DHCP-Juniper-6" border="0" alt="DHCP-Juniper-6" src="http://blog.nhanduyen.vn/image.axd?picture=DHCP-Juniper-6_thumb.png" width="642" height="120" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Lần lượt thiết lập các thông số default gateway, address-range, dns server, domain name, default lease time cho Pool này bằng các lệnh sau như trong hình&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=DHCP-Juniper-7.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="DHCP-Juniper-7" border="0" alt="DHCP-Juniper-7" src="http://blog.nhanduyen.vn/image.axd?picture=DHCP-Juniper-7_thumb.png" width="648" height="401" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Kiểm tra cấu hình của chúng ta bằng lệnh&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font face="Arial"&gt;show&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=DHCP-Juniper-8.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="DHCP-Juniper-8" border="0" alt="DHCP-Juniper-8" src="http://blog.nhanduyen.vn/image.axd?picture=DHCP-Juniper-8_thumb.png" width="653" height="221" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Làm tương tự với Pool còn lại là 10.0.0.0/8. Kiểm tra lại nào &lt;img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-openmouthedsmile" alt="Open-mouthed smile" src="http://blog.nhanduyen.vn/image.axd?picture=wlEmoticon-openmouthedsmile_10.png" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=DHCP-Juniper-9.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="DHCP-Juniper-9" border="0" alt="DHCP-Juniper-9" src="http://blog.nhanduyen.vn/image.axd?picture=DHCP-Juniper-9_thumb.png" width="658" height="217" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Kiểm tra lại cấu hình của 2 Pool trên bằng cách&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font face="Arial"&gt;top (enter)&lt;/font&gt;&lt;/p&gt;    &lt;p&gt;&lt;font face="Arial"&gt;show system service dhcp (enter)&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Nhưng trong hình này là được rồi. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=DHCP-Juniper-10.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="DHCP-Juniper-10" border="0" alt="DHCP-Juniper-10" src="http://blog.nhanduyen.vn/image.axd?picture=DHCP-Juniper-10_thumb.png" width="675" height="418" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Đừng quên lệnh commit để áp đặt những gì bạn đã cấu hình nãy giờ nhé.&lt;img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-openmouthedsmile" alt="Open-mouthed smile" src="http://blog.nhanduyen.vn/image.axd?picture=wlEmoticon-openmouthedsmile_10.png" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;4/ Kiểm tra&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Cùng test trên 2 máy client.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Client thứ nhất:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=DHCP-Juniper-11.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="DHCP-Juniper-11" border="0" alt="DHCP-Juniper-11" src="http://blog.nhanduyen.vn/image.axd?picture=DHCP-Juniper-11_thumb.png" width="674" height="345" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Client thứ hai:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=DHCP-Juniper-12.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="DHCP-Juniper-12" border="0" alt="DHCP-Juniper-12" src="http://blog.nhanduyen.vn/image.axd?picture=DHCP-Juniper-12_thumb.png" width="679" height="344" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Chúc các bạn thành công.&lt;/p&gt;</description>
      <link>http://blog.nhanduyen.vn/post/2011/10/13/Cau-hinh-DHCP-cho-Juniper.aspx</link>
      <comments>http://blog.nhanduyen.vn/post/2011/10/13/Cau-hinh-DHCP-cho-Juniper.aspx#comment</comments>
      <guid>http://blog.nhanduyen.vn/post.aspx?id=1d402f50-311e-45c1-bdf3-ba3c6558b482</guid>
      <pubDate>Thu, 13 Oct 2011 19:14:32 +0700</pubDate>
      <category>Juniper</category>
      <dc:publisher>Trọng Nhân</dc:publisher>
      <pingback:server>http://blog.nhanduyen.vn/pingback.axd</pingback:server>
      <pingback:target>http://blog.nhanduyen.vn/post.aspx?id=1d402f50-311e-45c1-bdf3-ba3c6558b482</pingback:target>
      <slash:comments>1167</slash:comments>
      <trackback:ping>http://blog.nhanduyen.vn/trackback.axd?id=1d402f50-311e-45c1-bdf3-ba3c6558b482</trackback:ping>
      <wfw:comment>http://blog.nhanduyen.vn/post/2011/10/13/Cau-hinh-DHCP-cho-Juniper.aspx#comment</wfw:comment>
      <wfw:commentRss>http://blog.nhanduyen.vn/syndication.axd?post=1d402f50-311e-45c1-bdf3-ba3c6558b482</wfw:commentRss>
    </item>
    <item>
      <title>Triển khai FTP Server trên CentOS</title>
      <description>&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=banner.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="banner" border="0" alt="banner" src="http://blog.nhanduyen.vn/image.axd?picture=banner_thumb.jpg" width="602" height="274"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;1/ Sơ lượt về FTP&lt;/p&gt; &lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FTP (File Transfer Protocol) thường được dùng để trao đổi tập tin qua mạng lưới truyền thông dùng giao thức TCP/IP. Hoạt động của FTP cần có tối thiểu là 2 máy tính, trong đó 1 máy là FTP Server chạy úng dụng cung cấp dịch vụ FTP lắng nghe các yêu cầu kết nối của máy client. Máy FTP client chạy các ứng dụng dùng để kết nối với FTP Server. Khi 2 máy đã kết nối với nhau, máy client có thể thực hiện một số thao tác về tập tin như upload file, đổi tên, download file, tạo thư mục, xóa file, thư mục.&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;2/ Triển khai dịch vụ FTP cho CentOS&lt;/p&gt; &lt;p&gt;Bài này sẽ hướng dẫn các bạn tạo một server FTP đơn giản trên hệ điều hành CentOS. Mình sẽ sử dụng vsftpd ( Very Secure FTP Daemon).&lt;/p&gt; &lt;p&gt;Ta có thể cài đặt bằng cách sau&lt;/p&gt; &lt;blockquote&gt;&lt;pre&gt;#yum install vsftpd &lt;/pre&gt;&lt;/blockquote&gt;&lt;pre&gt;Hoặc sử dụng bộ cài đặt có sẵn trong DVD CentOS. Mình sẽ dùng cách này. &lt;/pre&gt;&lt;pre&gt;Tiến hành mount thiết bị cdrom&lt;/pre&gt;
&lt;blockquote&gt;&lt;pre&gt;#mount /dev/cdrom /media/&lt;/pre&gt;&lt;/blockquote&gt;&lt;pre&gt;Và tiến hành cài bằng lệnh&lt;/pre&gt;
&lt;blockquote&gt;&lt;pre&gt;#rpm –ivh /media/CentOS/vsf(tab)&lt;/pre&gt;&lt;/blockquote&gt;&lt;pre&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install-VSFTPD-1.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Install-VSFTPD-1" border="0" alt="Install-VSFTPD-1" src="http://blog.nhanduyen.vn/image.axd?picture=Install-VSFTPD-1_thumb.png" width="613" height="125"&gt;&lt;/a&gt;&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;Sau khi quá trình cài đặt hoàn tất, tiến hành cấu hình nào. Các tập tin cấu hình của vsftpd nằm ở /etc/vsftpd.&lt;/pre&gt;&lt;pre&gt;Ở đây có 3 file cấu hình chính là:&lt;/pre&gt;
&lt;blockquote&gt;&lt;pre&gt;ftpuser: Chứa các user không được login bằng ftp&lt;/pre&gt;&lt;pre&gt;user_list: Chỉ các user có trong file này được đăng nhập ftp nếu userlist_deny=NO&lt;/pre&gt;&lt;pre&gt;vsftp_config: File cấu hình chính của chúng ta.&lt;/pre&gt;&lt;/blockquote&gt;
&lt;p&gt;Mở file cấu hình chính lên&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;font face="Arial"&gt;vi /etc/vsftpd/vsftpd.conf&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Ta cần chú ý những dòng sau:&lt;/p&gt;
&lt;p&gt;Dòng 12:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;anonymous_enable=YES/NO&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Cho phép người dùng anonymous đăng nhập vào FTP Server.&lt;/p&gt;
&lt;p&gt;Dòng 15:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;font face="Arial"&gt;local_enable=YES&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Cho phép các user mà chúng ta tạo ra trong hệ thống có thể đăng nhập FTP Server.&lt;/p&gt;
&lt;p&gt;Dòng 18:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;font face="Arial"&gt;write_enable=YES&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Cho phép ghi dữ liệu lên FTP Server.&lt;/p&gt;
&lt;p&gt;Dòng 27:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;font face="Arial"&gt;anon_upload_enable=YES/NO&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Cho phép user anonymous upload file. Tùy chọn này chỉ có ý nghĩa khi wirte_enable=YES.&lt;/p&gt;
&lt;p&gt;Dòng 30&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;font face="Arial"&gt;anon_mkdir_write_enable=YES&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Cho phép user anonymous tạo thư mục mới trong thư mục cha có quyền ghi&lt;/p&gt;
&lt;p&gt;Một số Option khác cũng khá quan trọng&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;anon_root: &lt;/strong&gt;Thư mục gốc của user anonymous. Mặc định là /var/ftp&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;chmod_enable&lt;/strong&gt;: Cho phép user có thể chmod lên tập tin mình up lên. Giá trị YES/NO&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;local_max_rate: &lt;/strong&gt;Tốc độ tối đa kết nối giữa client và server. Mặc định là 0 (unlimited)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;max_clients: &lt;/strong&gt;Số lượng tối đa các kết nối tới FTP server. Nếu vượt số lượng này sẽ thông báo lỗi. Mặc định là 0 (unlimited)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;deny_file: &lt;/strong&gt;Những file không được up lên server, được định dạng theo mẫu sau&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;deny_file={*.mp3,*.mov}&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;ftpd_banner: &lt;/strong&gt;Chuỗi xuất hiện khi connect tới server.&lt;/p&gt;
&lt;p&gt;Khởi động dịch vụ và cho cho dịch vụ khởi động cùng máy tính.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install-VSFTPD-4.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Install-VSFTPD-4" border="0" alt="Install-VSFTPD-4" src="http://blog.nhanduyen.vn/image.axd?picture=Install-VSFTPD-4_thumb.png" width="633" height="111"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Chúc các bạn may mắn. &lt;img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-openmouthedsmile" alt="Open-mouthed smile" src="http://blog.nhanduyen.vn/image.axd?picture=wlEmoticon-openmouthedsmile_9.png"&gt;&lt;/p&gt;</description>
      <link>http://blog.nhanduyen.vn/post/2011/10/04/Trien-khai-FTP-Server-tren-CentOS.aspx</link>
      <comments>http://blog.nhanduyen.vn/post/2011/10/04/Trien-khai-FTP-Server-tren-CentOS.aspx#comment</comments>
      <guid>http://blog.nhanduyen.vn/post.aspx?id=b3569569-4c3b-416b-a9a4-3839284661c2</guid>
      <pubDate>Tue, 04 Oct 2011 21:37:52 +0700</pubDate>
      <category>IT-Linux</category>
      <dc:publisher>Trọng Nhân</dc:publisher>
      <pingback:server>http://blog.nhanduyen.vn/pingback.axd</pingback:server>
      <pingback:target>http://blog.nhanduyen.vn/post.aspx?id=b3569569-4c3b-416b-a9a4-3839284661c2</pingback:target>
      <slash:comments>841</slash:comments>
      <trackback:ping>http://blog.nhanduyen.vn/trackback.axd?id=b3569569-4c3b-416b-a9a4-3839284661c2</trackback:ping>
      <wfw:comment>http://blog.nhanduyen.vn/post/2011/10/04/Trien-khai-FTP-Server-tren-CentOS.aspx#comment</wfw:comment>
      <wfw:commentRss>http://blog.nhanduyen.vn/syndication.axd?post=b3569569-4c3b-416b-a9a4-3839284661c2</wfw:commentRss>
    </item>
    <item>
      <title>Cài đặt FreeBSD</title>
      <description>&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=FreeBSD_logo.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="FreeBSD_logo" border="0" alt="FreeBSD_logo" src="http://blog.nhanduyen.vn/image.axd?picture=FreeBSD_logo_thumb.jpg" width="577" height="226" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;I/ Giới thiệu chung&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;FreeBSD&lt;/strong&gt; là một hệ điều hành kiểu Unix được phát triển từ Unix theo nhánh phát triển của BSD dựa trên 386BSD và 4.4BSD. Nó có khả năng chạy trên các bộ vi xử lý tương thích với họ vi xử lý x86 của Intel, cũng như trên các máy DEC Alpha, các bộ xử lý UltraSPARC của Sun Microsystems, các bộ xử lý Itanium (IA-64) và AMD64. Khả năng hỗ trợ cho kiến trúcPowerPC đang được phát triển. FreeBSD thường được đánh giá cao nhờ vào tính tin cậy và mạnh mẽ của nó.&lt;/p&gt;  &lt;p&gt;Các bạn có thể tìm hiểu chi tiết về freeBSD theo link sau: &lt;a href="http://vi.wikipedia.org/wiki/FreeBSD"&gt;http://vi.wikipedia.org/wiki/FreeBSD&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;II/ Cài đặt:&lt;/p&gt;  &lt;p&gt;1/ Bộ cài đặt:&lt;/p&gt;  &lt;p&gt;Chúng ta có thể tải bộ cài đặt freeBSD theo &lt;a href="ftp://128.205.32.24/pub/FreeBSD-Archive/old-releases/i386/ISO-IMAGES/4.11/4.11-RELEASE-i386-miniinst.iso"&gt;link sau.&lt;/a&gt; Hoặc tìm những phiên bản mới hơn ở &lt;a href="http://www.freebsd.org/where.html"&gt;http://www.freebsd.org/where.html&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;2/ Cài đặt:&lt;/p&gt;  &lt;p&gt;Dùng VMware tạo một máy ảo mới, sau khi chỉnh những thông số cần thiết, chúng ta được máy ảo có cấu hình như sau:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_1.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install_BSD_1" border="0" alt="Install_BSD_1" src="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_1_thumb.png" width="592" height="399" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Mở nguồn nào &lt;img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-openmouthedsmile" alt="Open-mouthed smile" src="http://blog.nhanduyen.vn/image.axd?picture=wlEmoticon-openmouthedsmile_8.png" /&gt;. &lt;/p&gt;  &lt;p&gt;Đợi một tí chúng ta sẽ tới màn hình cài đặt sau. Chọn &lt;strong&gt;Skip kernel configuration and continue with installation &lt;/strong&gt;để cài đặt&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install_BSD_2" border="0" alt="Install_BSD_2" src="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_2_thumb.png" width="592" height="330" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Chọn Standard&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_3.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install_BSD_3" border="0" alt="Install_BSD_3" src="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_3_thumb.png" width="584" height="326" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_4.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install_BSD_4" border="0" alt="Install_BSD_4" src="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_4_thumb.png" width="588" height="318" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Trong FDISK Partition Editor, bấm C tạo ổ đĩa cài đặt mới&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_5.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install_BSD_5" border="0" alt="Install_BSD_5" src="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_5_thumb.png" width="570" height="313" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Để mặc định 165&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_6.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install_BSD_6" border="0" alt="Install_BSD_6" src="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_6_thumb.png" width="569" height="319" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Sau đó chọn Q để thoát. Tiếp theo chọn BootMgr để tạo phân vùng mới và thiết lật khởi động&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_7.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install_BSD_7" border="0" alt="Install_BSD_7" src="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_7_thumb.png" width="572" height="324" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Trong FreeBSD Disklabel Editor, bấm C để tạo mới. Cứ như thế chúng ta lần lượt tao các&amp;#160; phân vùng cần thiết cho hệ thống&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_8.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install_BSD_8" border="0" alt="Install_BSD_8" src="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_8_thumb.png" width="568" height="319" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_9.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install_BSD_9" border="0" alt="Install_BSD_9" src="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_9_thumb.png" width="572" height="319" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_10.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install_BSD_10" border="0" alt="Install_BSD_10" src="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_10_thumb.png" width="573" height="319" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Sau khi tạo các phân vùng cần thiết(như hình), bấm Q hoàn tất.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_11.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install_BSD_11" border="0" alt="Install_BSD_11" src="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_11_thumb.png" width="570" height="322" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Tiến hành cài đặt từ CD.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_12.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install_BSD_12" border="0" alt="Install_BSD_12" src="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_12_thumb.png" width="576" height="323" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Đợi một lát cho quá trình cài đặt tiến hành:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_13.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install_BSD_13" border="0" alt="Install_BSD_13" src="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_13_thumb.png" width="578" height="320" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Xong&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_14.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install_BSD_14" border="0" alt="Install_BSD_14" src="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_14_thumb.png" width="580" height="311" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Hệ thống yêu cầu chúng ta thiết lập một số thông số cần thiết. Đầu tiên là Network devices.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_15.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install_BSD_15" border="0" alt="Install_BSD_15" src="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_15_thumb.png" width="582" height="310" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Chọn card mạng em0 để cấu hình. Ở đây có 2 card em0 và em1 vì lúc đầu mình đã chọn máy ảo có 2 card mạng là VM2 và VM3.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_16.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install_BSD_16" border="0" alt="Install_BSD_16" src="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_16_thumb.png" width="587" height="325" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Bước cấu hình card mạng.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_17.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install_BSD_17" border="0" alt="Install_BSD_17" src="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_17_thumb.png" width="590" height="329" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Nếu bạn lỡ tay bỏ qua bước này cũng ko sao, chúng ta có thể làm lại ở bước cuối cùng hoặc có thể chỉnh sau khi đăng nhập hệ thống. &lt;img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-openmouthedsmile" alt="Open-mouthed smile" src="http://blog.nhanduyen.vn/image.axd?picture=wlEmoticon-openmouthedsmile_8.png" /&gt;. &lt;/p&gt;  &lt;p&gt;Sau đó hệ thống sẽ tiếp tục hỏi ta những Option khác, tùy mục đích mà có thể chọn Yes hay No. &lt;/p&gt;  &lt;p&gt;Chọn Yes để tạo một User khác user root trên hệ thống&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_18.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install_BSD_18" border="0" alt="Install_BSD_18" src="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_18_thumb.png" width="595" height="331" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_19.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install_BSD_19" border="0" alt="Install_BSD_19" src="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_19_thumb.png" width="599" height="339" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Nhập tên user, password chú ý đánh cẩn thận vì chỉ đánh một lần.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_20.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install_BSD_20" border="0" alt="Install_BSD_20" src="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_20_thumb.png" width="591" height="329" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Chọn Ok để thoát. Sau đó hệ thống yêu cầu tạo password cho user Root.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_21.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install_BSD_21" border="0" alt="Install_BSD_21" src="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_21_thumb.png" width="603" height="323" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Gõ password 2 lần.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_22.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install_BSD_22" border="0" alt="Install_BSD_22" src="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_22_thumb.png" width="607" height="339" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Đây là bước cuối cùng, một cửa sổ hiện ra yêu cầu bạn xác nhận những tùy chọn ở trên, nếu các bạn muốn chỉnh lại ở bước nào, có thể chọn yes để quay về menu Config các dịch vụ và chọn No để thoát.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_23.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install_BSD_23" border="0" alt="Install_BSD_23" src="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_23_thumb.png" width="607" height="338" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Chọn Exit Install.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_24.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install_BSD_24" border="0" alt="Install_BSD_24" src="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_24_thumb.png" width="608" height="339" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Hệ thống sẽ khởi động lại. Lần đâu tiên khỏi động, có thể rất lâu vì các dịch vụ mặc định của hệ thống sẽ khởi động theo, đặc biệt là cái sendmail. Mình sẽ hướng dẫn các bạn một mẹo nhỏ để tiết kiệm thời gian chờ đợi này nha. &lt;img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-openmouthedsmile" alt="Open-mouthed smile" src="http://blog.nhanduyen.vn/image.axd?picture=wlEmoticon-openmouthedsmile_8.png" /&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_25.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install_BSD_25" border="0" alt="Install_BSD_25" src="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_25_thumb.png" width="611" height="340" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;III/ Cấu hình cơ bản&lt;/p&gt;  &lt;p&gt;Sau khi đăng nhập xong bằng user root, chúng ta sẽ tiến hành những bước cấu hình cơ bản sau:&lt;/p&gt;  &lt;p&gt;-&amp;#160; Thiết lập IP và các dịch vụ khởi động cùng hệ thống&lt;/p&gt;  &lt;p&gt;Nếu lúc cài đặt bạn quên cấu hình IP của card mạng, phải đợi lâu khi khởi động,đừng lo lắng chúng tao có thể sửa lại bằng cách sửa lại file rc.conf nằm ở thư mục /etc&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font face="Arial"&gt;vi /etc/rc.conf&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Đây là file ban đầu trước khi sửa.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_26.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install_BSD_26" border="0" alt="Install_BSD_26" src="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_26_thumb.png" width="605" height="339" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Và sau khi sửa &lt;img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-openmouthedsmile" alt="Open-mouthed smile" src="http://blog.nhanduyen.vn/image.axd?picture=wlEmoticon-openmouthedsmile_8.png" /&gt;. Chúng ta có thể khởi động lại máy và cảm nhận được sự khác biệt rồi đó.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_27.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Install_BSD_27" border="0" alt="Install_BSD_27" src="http://blog.nhanduyen.vn/image.axd?picture=Install_BSD_27_thumb.png" width="609" height="340" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Về chuyện đặt ip, chúng ta còn có cách khác là dùng lệnh sau:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font face="Arial"&gt;ifconfig &amp;lt;interface name&amp;gt; inet &amp;lt;Ip can dat&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Ví dụ ở đây mình đặt ip cho interface có tên là em0 như sau&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font face="Arial"&gt;ifconfig em0 inet 172.16.0.2/16&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Sau khi đặt ip xong, ta dùng lệnh&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font face="Arial"&gt;/etc/netstart restart&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;để khởi động lại dịch vụ và giúp cho thiết lập của chúng ta đc áp đặt.&lt;/p&gt;</description>
      <link>http://blog.nhanduyen.vn/post/2011/08/17/Cai-đat-freeBSD.aspx</link>
      <comments>http://blog.nhanduyen.vn/post/2011/08/17/Cai-đat-freeBSD.aspx#comment</comments>
      <guid>http://blog.nhanduyen.vn/post.aspx?id=b1ec141c-5edd-42df-b49f-33a9e45e7616</guid>
      <pubDate>Wed, 17 Aug 2011 19:57:11 +0700</pubDate>
      <category>IT-Linux</category>
      <dc:publisher>Trọng Nhân</dc:publisher>
      <pingback:server>http://blog.nhanduyen.vn/pingback.axd</pingback:server>
      <pingback:target>http://blog.nhanduyen.vn/post.aspx?id=b1ec141c-5edd-42df-b49f-33a9e45e7616</pingback:target>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://blog.nhanduyen.vn/trackback.axd?id=b1ec141c-5edd-42df-b49f-33a9e45e7616</trackback:ping>
      <wfw:comment>http://blog.nhanduyen.vn/post/2011/08/17/Cai-đat-freeBSD.aspx#comment</wfw:comment>
      <wfw:commentRss>http://blog.nhanduyen.vn/syndication.axd?post=b1ec141c-5edd-42df-b49f-33a9e45e7616</wfw:commentRss>
    </item>
    <item>
      <title>Triển khai dịch vụ Mail cho Server CentOS</title>
      <description>&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=3737cb915596e1e220c7646f459931db21672a039fc087f58976ff46bdbc3c7d5g_5.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="3737cb915596e1e220c7646f459931db21672a039fc087f58976ff46bdbc3c7d5g" border="0" alt="3737cb915596e1e220c7646f459931db21672a039fc087f58976ff46bdbc3c7d5g" src="http://blog.nhanduyen.vn/image.axd?picture=3737cb915596e1e220c7646f459931db21672a039fc087f58976ff46bdbc3c7d5g_thumb_5.jpg" width="693" height="282" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;Hôm nay chúng ta sẽ tiếp tục tiến hành cấu hình cho dịch vụ mail trên Server3. Let’s go&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;Mình sẽ dùng Postfix để dựng mail server trong Linux và dùng Dovecot để cho client có thể nhận mail về máy mình theo giao thức POP3 . Postfix là một MTA (Mail Transport Agent), được viết bởi Wietse Venema khi ông đang làm việc ở trung tâm nghiên cứu T. J. Watson của IBM. Đặc điểm của Postfix: dễ quản lý, nhanh, an toàn. Chỉ cần một server với hardware thông thường. Tiến hành nào.&lt;/p&gt;  &lt;p&gt;1/ Cài đặt Postfix&lt;/p&gt;  &lt;p&gt;Tiến hành Mount Cd-rom&amp;#160; vào hệ thống để lấy các bộ cài đặt. Sau đó cài đặt Postfix bằng lệnh:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font face="Arial"&gt;rpm –ivh /media/CentOS/postfix-2 (tab 1 cái)&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=1_9.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="1" border="0" alt="1" src="http://blog.nhanduyen.vn/image.axd?picture=1_thumb_9.png" width="695" height="105" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Mặc định CentOS có 1 dịch vụ mail đó là sendmail. Mình cũng chưa sử dụng nó nên cũng chưa biết nhiều. Ở đây chúng ta dùng postfix nên tốt nhất nên stop dịch vụ send mail đi và chuyển dịch vu mail mặc định là postfix. Bằng lệnh sau&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font face="Arial"&gt;service sendmail stop&lt;/font&gt;&lt;/p&gt;    &lt;p&gt;&lt;font face="Arial"&gt;alternatives –config mta&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=2_8.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="2" border="0" alt="2" src="http://blog.nhanduyen.vn/image.axd?picture=2_thumb_8.png" width="694" height="240" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Những file cấu hình của Postfix nằm trong thư mục &lt;b&gt;/etc/postfix&lt;/b&gt;. Để cấu hình một mail server cơ bản, chỉ cần vài thay đổi nhỏ trong cấu hình main.cf. Để chỉnh sửa file cấu hình, ta dùng lệnh sau&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font face="Arial"&gt;vi /etc/postfix/main.cf&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Để tiện theo dõi, ta bật chức năng hiển thị số dòng trong vi bằng cách gõ&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font face="Arial"&gt;: set nu&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=3_7.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="3" border="0" alt="3" src="http://blog.nhanduyen.vn/image.axd?picture=3_thumb_7.png" width="613" height="342" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Chúng ta di chuyển tới dòng 70, đây là tên máy chủ, mình đã thay đổi thành &lt;strong&gt;mai.nhanduyen.vn. &lt;/strong&gt;Các bạn chắc chắn rằng domain này đã được phân giải trước ở bài &lt;a href="http://blog.nhanduyen.vn/post/2011/06/29/Cai-%C4%91at-dich-vu-DNS-cho-may-chu-CentOS.aspx"&gt;DNS&lt;/a&gt;. Chúng ta thêm dòng &lt;font face="Arial"&gt;&lt;strong&gt;data_directory= /usr/lib/postfix&lt;/strong&gt; &lt;/font&gt;&lt;font face="Arial"&gt;để lưu trữ&lt;/font&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font face="Arial"&gt;data_directory= /usr/lib/postfix&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Tới dòng 77, khai báo tên domain của hệ thống, ở đây là nhanduyen.vn&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=4_6.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="4" border="0" alt="4" src="http://blog.nhanduyen.vn/image.axd?picture=4_thumb_6.png" width="634" height="46" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Tới dòng 93.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=5_6.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="5" border="0" alt="5" src="http://blog.nhanduyen.vn/image.axd?picture=5_thumb_6.png" width="646" height="36" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Dòng 107, nhận mail trên tất cả interfaces. Vì mình chọn all ở dòng 107 nên dòng 110, các bạn thêm dấu # vào nha&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=6_5.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="6" border="0" alt="6" src="http://blog.nhanduyen.vn/image.axd?picture=6_thumb_5.png" width="646" height="60" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Tiếp theo là dòng 155, ta thêm dấu # vào đầu dòng và bỏ dấu # ở dòng 156. Như hình là được nha.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=7_3.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="7" border="0" alt="7" src="http://blog.nhanduyen.vn/image.axd?picture=7_thumb_3.png" width="653" height="80" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;Cuối cùng là dòng 255, khai báo mạng của chúng ta:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=8_3.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="8" border="0" alt="8" src="http://blog.nhanduyen.vn/image.axd?picture=8_thumb_3.png" width="660" height="50" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;Đã xong phần cấu hình, lưu lại và khởi động lại dịch vụ, cho dịch vụ khởi động cùng hệ thống:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=9_3.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="9" border="0" alt="9" src="http://blog.nhanduyen.vn/image.axd?picture=9_thumb_3.png" width="669" height="82" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Tiếp theo, ta tiến hành tạo cách user để sử dụng mail. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=10_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="10" border="0" alt="10" src="http://blog.nhanduyen.vn/image.axd?picture=10_thumb_2.png" width="668" height="225" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Chú ý&lt;/b&gt;: Theo mặc định, Postfix chuyển mail đến &lt;b&gt;Mailbox&lt;/b&gt;. Mailbox là kiểu lưu giữ tất cả các mail trong một file (thường ở thư mục &lt;b&gt;/var/spool/mail&lt;/b&gt;). Khác với Mailbox, Maildir là kiểu lưu giữ mỗi mail thành một file riêng (tất cả đặt trong thư mục /home/user/Maildir). Bạn cần biết đặc điểm (ưu, khuyết điểm) của mỗi cách và chọn cho mình cách thích hợp.&lt;/p&gt;  &lt;p&gt;2/ Cài đặt dịch vụ Dovecot:&lt;/p&gt;  &lt;p&gt;Dịch vụ này hỗ trợ client có thể lấy mail từ server thông qua giao thức POP3 hoặc IMAP&lt;/p&gt;  &lt;p&gt;Cài đặt bằng lệnh&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font face="Arial"&gt;rpm –ivh /media/CentOS/dovecot-1 (tab 1 cái) rùi Enter 1 cái &lt;img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-openmouthedsmile" alt="Open-mouthed smile" src="http://blog.nhanduyen.vn/image.axd?picture=wlEmoticon-openmouthedsmile_7.png" /&gt;&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=11_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="11" border="0" alt="11" src="http://blog.nhanduyen.vn/image.axd?picture=11_thumb_2.png" width="687" height="67" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Xong, vào cấu hình nào.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font face="Arial"&gt;vi&lt;/font&gt; /etc/dovecot.conf&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Tới dòng 20, bỏ dấu # ở dòng này, nghĩa là dovecot sẽ hỗ trợ các&amp;#160; giao thức imap, imaps, pop3, pop3s.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=12_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="12" border="0" alt="12" src="http://blog.nhanduyen.vn/image.axd?picture=12_thumb_2.png" width="704" height="54" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Sau đó save lại, khởi động dịch vụ và cho khỏi động cùng hệ thống:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=13_2.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="13" border="0" alt="13" src="http://blog.nhanduyen.vn/image.axd?picture=13_thumb_2.png" width="699" height="79" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Kiểm tra lại quá trình cài đặt, bằng cách xem các cổng đã mở chưa. Lần lượt các cổng 25 của SMTP, 110 của POP3, 143 của IMAP&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=14_1.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="14" border="0" alt="14" src="http://blog.nhanduyen.vn/image.axd?picture=14_thumb_1.png" width="695" height="156" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;Chúng ta thấy đều đã LISTEN, như thế này đã thành công rồi đó. Chúng ta có thể test bằng cách xài outlook trên các máy con để thử. Chúc các bạn thành công&lt;/p&gt;</description>
      <link>http://blog.nhanduyen.vn/post/2011/07/05/Trien-khai-dich-vu-Mail-cho-Server-CentOS.aspx</link>
      <comments>http://blog.nhanduyen.vn/post/2011/07/05/Trien-khai-dich-vu-Mail-cho-Server-CentOS.aspx#comment</comments>
      <guid>http://blog.nhanduyen.vn/post.aspx?id=4babbde4-5c79-4039-93f6-1be023575b54</guid>
      <pubDate>Tue, 05 Jul 2011 10:21:33 +0700</pubDate>
      <category>IT-Linux</category>
      <dc:publisher>Trọng Nhân</dc:publisher>
      <pingback:server>http://blog.nhanduyen.vn/pingback.axd</pingback:server>
      <pingback:target>http://blog.nhanduyen.vn/post.aspx?id=4babbde4-5c79-4039-93f6-1be023575b54</pingback:target>
      <slash:comments>2892</slash:comments>
      <trackback:ping>http://blog.nhanduyen.vn/trackback.axd?id=4babbde4-5c79-4039-93f6-1be023575b54</trackback:ping>
      <wfw:comment>http://blog.nhanduyen.vn/post/2011/07/05/Trien-khai-dich-vu-Mail-cho-Server-CentOS.aspx#comment</wfw:comment>
      <wfw:commentRss>http://blog.nhanduyen.vn/syndication.axd?post=4babbde4-5c79-4039-93f6-1be023575b54</wfw:commentRss>
    </item>
    <item>
      <title>Radio Online 21 - Xuân Hiếu - Chỉ Còn Ánh Mắt </title>
      <description>&lt;p&gt;&lt;img src="http://blog.nhanduyen.vn/image.axd?picture=2011%2f7%2f200_cover.jpg" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/Media/mp3/http://wmusic.no-ip.info/vnmedia/hoaihung/RadioOnline/Chi_Con_Anh_Mat/01-312529-www.woim.net.mp3"&gt;http://wmusic.no-ip.info/vnmedia/hoaihung/RadioOnline/Chi_Con_Anh_Mat/01-312529-www.woim.net.mp3&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="border-collapse: collapse; font-family: arial, helvetica, sans-serif; line-height: 15px; font-size: medium;"&gt;Con người sinh ra kh&amp;ocirc;ng phải để tan biến đi như một hạt c&amp;aacute;t v&amp;ocirc; danh.. Họ sinh ra để in dấu lại tr&amp;ecirc;n mặt đất, in dấu lại trong tr&amp;aacute;i tim người kh&amp;aacute;c. C&amp;oacute; thể l&amp;agrave; những c&amp;ocirc;ng tr&amp;igrave;nh đồ sộ, những t&amp;aacute;c phẩm bất hủ, những &amp;yacute; tưởng đột ph&amp;aacute;t, hay cũng chỉ đơn giản in dấu bằng ch&amp;iacute;nh sự tồn tại của con người n&amp;agrave;y, của t&amp;igrave;nh y&amp;ecirc;u trao đi, một nụ cười an ủi, một c&amp;aacute;i &amp;ocirc;m xoa dịu. V&amp;agrave; c&amp;oacute; khi điều vương vấn sau cuối, sau tất cả những vật chất bề bộn ấy, Chỉ C&amp;ograve;n L&amp;agrave;&amp;hellip; &amp;Aacute;nh Mắt... ta kh&amp;ocirc;ng thể n&amp;agrave;o qu&amp;ecirc;n...&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="border-collapse: collapse; color: #dcb334; font-family: verdana, arial, helvetica, sans-serif; line-height: 15px; font-size: medium;"&gt;&lt;span style="color: #000000; font-family: arial, helvetica, sans-serif;"&gt;Radio Online 21: Xu&amp;acirc;n Hiếu - Chỉ C&amp;ograve;n &amp;Aacute;nh Mắt&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000000; font-family: arial, helvetica, sans-serif;"&gt;Người đọc: IVy&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000000; font-family: arial, helvetica, sans-serif;"&gt;Email:&amp;nbsp;&lt;a class="smarterwiki-linkify" style="text-decoration: none; color: #e4da76;" href="mailto:woim.radio@gmail.com"&gt;woim.radio@gmail.com&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000000; font-family: arial, helvetica, sans-serif;"&gt;List c&amp;aacute;c b&amp;agrave;i sử dụng trong Radio 21&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #000000; font-family: arial, helvetica, sans-serif;"&gt;01. Chỉ C&amp;ograve;n &amp;Aacute;nh Mắt&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000000; font-family: arial, helvetica, sans-serif;"&gt;02. La Vie,C'est Une Histoire D'amour&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000000; font-family: arial, helvetica, sans-serif;"&gt;03. La Maritza&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000000; font-family: arial, helvetica, sans-serif;"&gt;04. 13 Jours En France&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000000; font-family: arial, helvetica, sans-serif;"&gt;05. Đường Xưa&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000000; font-family: arial, helvetica, sans-serif;"&gt;06. Đ&amp;ecirc;m Nghe Tiếng Mưa&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000000; font-family: arial, helvetica, sans-serif;"&gt;07. Bản T&amp;igrave;nh Cuối&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000000; font-family: arial, helvetica, sans-serif;"&gt;08. Tombe La Neige&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #000000; font-family: arial, helvetica, sans-serif;"&gt;09. Chỉ C&amp;ograve;n &amp;Aacute;nh Mắt&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description>
      <link>http://blog.nhanduyen.vn/post/2011/07/03/Radio-Online-21-Xuan-Hieu-Chi-Con-Anh-Mat-.aspx</link>
      <comments>http://blog.nhanduyen.vn/post/2011/07/03/Radio-Online-21-Xuan-Hieu-Chi-Con-Anh-Mat-.aspx#comment</comments>
      <guid>http://blog.nhanduyen.vn/post.aspx?id=faa4118e-1b87-4a52-86de-41f3d90e0bad</guid>
      <pubDate>Sun, 03 Jul 2011 17:31:00 +0700</pubDate>
      <category>Cuộc Sống</category>
      <dc:publisher>Trọng Nhân</dc:publisher>
      <pingback:server>http://blog.nhanduyen.vn/pingback.axd</pingback:server>
      <pingback:target>http://blog.nhanduyen.vn/post.aspx?id=faa4118e-1b87-4a52-86de-41f3d90e0bad</pingback:target>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://blog.nhanduyen.vn/trackback.axd?id=faa4118e-1b87-4a52-86de-41f3d90e0bad</trackback:ping>
      <wfw:comment>http://blog.nhanduyen.vn/post/2011/07/03/Radio-Online-21-Xuan-Hieu-Chi-Con-Anh-Mat-.aspx#comment</wfw:comment>
      <wfw:commentRss>http://blog.nhanduyen.vn/syndication.axd?post=faa4118e-1b87-4a52-86de-41f3d90e0bad</wfw:commentRss>
    </item>
    <item>
      <title>Cài đặt WebServer cho Server CentOS</title>
      <description>&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=3737cb915596e1e220c7646f459931db21672a039fc087f58976ff46bdbc3c7d5g_4.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="3737cb915596e1e220c7646f459931db21672a039fc087f58976ff46bdbc3c7d5g" border="0" alt="3737cb915596e1e220c7646f459931db21672a039fc087f58976ff46bdbc3c7d5g" src="http://blog.nhanduyen.vn/image.axd?picture=3737cb915596e1e220c7646f459931db21672a039fc087f58976ff46bdbc3c7d5g_thumb_4.jpg" width="648" height="214"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Tiếp theo loạt bài trước, hôm nay mình sẽ cùng các bạn cài đặt Webserver lên máy 10.0.0.3. Phần này có hơi khác so với bộ video của Nhất Nghệ vì mình có bổ xung phần cài đặt MySQL, PHP cho máy này để trở thành 1 webserver tương đối hoàn chỉnh cho các bạn. Nào chúng ta cùng bắt đầu nào &lt;img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-openmouthedsmile" alt="Open-mouthed smile" src="http://blog.nhanduyen.vn/image.axd?picture=wlEmoticon-openmouthedsmile_6.png"&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;1/ Cài đặt MySQL cho Webserver:&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;- Sau khi đăng nhập, ta gõ lệnh sau:&lt;/p&gt;&lt;pre&gt;yum install mysql-server&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Trong quá trình cài đặt, hệ thống sẽ hỏi bạn có đồng ý tải về các bộ cài đặt hay không, chọn Yes nhé. Sau khi cài đặt thành công, kết quả sẽ như thế này:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=5_5.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="5" border="0" alt="5" src="http://blog.nhanduyen.vn/image.axd?picture=5_thumb_5.png" width="600" height="405"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Khởi động dịch vụ bằng lệnh:&lt;/p&gt;&lt;pre&gt;#service mysqld start&lt;/pre&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=6_4.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="6" border="0" alt="6" src="http://blog.nhanduyen.vn/image.axd?picture=6_thumb_4.png" width="596" height="367"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Tiếp theo chúng ta sẽ đặt mật khẩu cho MySQL. Bằng lệnh sau:&lt;/p&gt;&lt;pre class="brush: c-sharp;"&gt;/usr/bin/mysqladmin -u root password ‘new-password’&lt;/pre&gt;
&lt;p&gt;hoặc&lt;/p&gt;&lt;pre class="brush: c-sharp;"&gt;/usr/bin/mysqladmin -u root –h server3.nhanduyen.vn password ‘new-password’&lt;/pre&gt;
&lt;p&gt;Bạn có thể thấy câu lệnh này phía trên hình vẽ. Tham số –h ở đây là hostname.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=7_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="7" border="0" alt="7" src="http://blog.nhanduyen.vn/image.axd?picture=7_thumb_2.png" width="607" height="54"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Tiến hành đăng nhập vào MySQL bằng lệnh sau:&lt;/p&gt;&lt;pre&gt;mysql --user=root –p&lt;/pre&gt;
&lt;p&gt;Sau đó nhập password chúng ta đã tạo ở trên&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=8_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="8" border="0" alt="8" src="http://blog.nhanduyen.vn/image.axd?picture=8_thumb_2.png" width="609" height="130"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Cấu hình để MySQL Server khởi động mỗi khi khởi động lại Server&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=9_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="9" border="0" alt="9" src="http://blog.nhanduyen.vn/image.axd?picture=9_thumb_2.png" width="622" height="48"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Oài, thế là xong phần MySQL Server, tiếp theo là Apache&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2/ &lt;/strong&gt;&lt;strong&gt;Cài đặt Apache&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Cài đặt Apache bằng lệnh sau&lt;span style="font-family: arial"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;pre class="brush: c-sharp;"&gt;yum install httpd&lt;/pre&gt;
&lt;p&gt;Chọn Yes khi hệ thống yêu cầu Download bộ cài đặt. Kết quả cài đặt thành công.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=1_8.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="1" border="0" alt="1" src="http://blog.nhanduyen.vn/image.axd?picture=1_thumb_8.png" width="630" height="353"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Khởi động dịch vụ nào &lt;img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-openmouthedsmile" alt="Open-mouthed smile" src="http://blog.nhanduyen.vn/image.axd?picture=wlEmoticon-openmouthedsmile_6.png"&gt;&lt;span style="font-family: arial"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;service httpd start&lt;/pre&gt;

&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=2_7.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="2" border="0" alt="2" src="http://blog.nhanduyen.vn/image.axd?picture=2_thumb_7.png" width="639" height="49"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Và đây là kết quả:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=3_6.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="3" border="0" alt="3" src="http://blog.nhanduyen.vn/image.axd?picture=3_thumb_6.png" width="569" height="435"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Lưu ý: Trên CentOs, thư mục lưu trữ web mặc định của Apache được lưu ở đường dẫn &lt;strong&gt;/var/www/html&lt;/strong&gt; và tệp tin cấu hình được lưu tại &lt;strong&gt;/etc/httpd/conf/httpd.conf&lt;/strong&gt;. Các file cấu hình khác được lưu tại thư mục &lt;strong&gt;/etc/httpd/conf.d/&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3/ Cài đặt PHP cho Webserver:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Cài đặt php bằng lệnh:&lt;/p&gt;
&lt;p&gt;&lt;span style="white-space: pre"&gt;&lt;pre&gt;yum install php&lt;/pre&gt;
&lt;/span&gt;

&lt;p&gt;&lt;span style="white-space: pre"&gt;&amp;nbsp;&lt;/span&gt;Vẫn câu quen thuộc, chọn Yes nhé &lt;img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-openmouthedsmile" alt="Open-mouthed smile" src="http://blog.nhanduyen.vn/image.axd?picture=wlEmoticon-openmouthedsmile_6.png"&gt;. Xong rồi nè.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=4_5.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="4" border="0" alt="4" src="http://blog.nhanduyen.vn/image.axd?picture=4_thumb_5.png" width="573" height="89"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Khởi động lại dịch vụ httpd&lt;/p&gt;
&lt;p&gt;&lt;span style="white-space: pre"&gt;&lt;pre&gt;service httpd restart&lt;/pre&gt;
&lt;/span&gt;

&lt;p&gt;Tạo file &lt;strong&gt;phpinfo.php&lt;/strong&gt; chứa trong /&lt;strong&gt;var/www/html&lt;/strong&gt; với nội dung như sau:&lt;/p&gt;
&lt;p&gt;&amp;lt;?php&lt;br&gt;phpinfo();&lt;br&gt;?&amp;gt;&lt;br&gt;&lt;br&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;để kiểm tra kết quả cài đặt:&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=16_1.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="16" border="0" alt="16" src="http://blog.nhanduyen.vn/image.axd?picture=16_thumb_1.png" width="617" height="464"&gt;&lt;/a&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Như thế này là ổn rồi nè.&lt;/p&gt;
&lt;p&gt;Tiếp theo là cài đặt để MySQL hỗ trợ cho PHP&lt;/p&gt;
&lt;p&gt;Để hỗ trợ MySQL cho PHP5, ta cần cài đặt thêm gói&lt;strong&gt; php-mysql&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Mình tiến hành cài đặt các gói sau:&lt;/p&gt;&lt;pre&gt;yum install php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc&lt;/pre&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=10_1.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="10" border="0" alt="10" src="http://blog.nhanduyen.vn/image.axd?picture=10_thumb_1.png" width="637" height="73"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Đợi một lát cho quá trình cài đặt tiến hành. Xong rồi nè.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=11_1.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="11" border="0" alt="11" src="http://blog.nhanduyen.vn/image.axd?picture=11_thumb_1.png" width="648" height="211"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Khởi động lại dịch vụ nào&lt;span style="font-family: arial"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;service httpd restart&lt;/pre&gt;

&lt;p&gt;Kiểm tra lại kết quả, như thế này là xong rồi nè:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=17.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="17" border="0" alt="17" src="http://blog.nhanduyen.vn/image.axd?picture=17_thumb.png" width="615" height="462"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3/ Cài đặt phpMyAdmin&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Hẳn ai dùng host rồi thì cũng biết cái này nhỉ. phpMyAdmin giúp ta quản lý cơ sỡ dữ liệu trên MySQL Server một cách dễ dàng qua giao diện trực quan, dễ hiểu. &lt;img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-openmouthedsmile" alt="Open-mouthed smile" src="http://blog.nhanduyen.vn/image.axd?picture=wlEmoticon-openmouthedsmile_6.png"&gt;. Thôi cũng không cần nói nhiều về nó, tiến hành nào&lt;/p&gt;
&lt;p&gt;Đầu tiên vẫn là sử dụng yum để cài đặt:&lt;/p&gt;
&lt;p&gt;&lt;span style="white-space: pre"&gt;&lt;pre&gt;yum install phpmyadmin&lt;/pre&gt;
&lt;/span&gt;

&lt;p&gt;Lưu ý: Nếu bạn gõ lệnh trên mà thấy xuất hiện thông báo "No package phpmyadmin available", thì bạn cần cập nhật lại gói yum của mình. Vào &lt;strong&gt;&lt;a href="http://rpmrepo.org/RPMforge/Using"&gt;http://rpmrepo.org/RPMforge/Using&lt;/a&gt;&lt;/strong&gt; và tải về phiên bản phù hợp với bản CentOS hiện tại của bạn. Mình dụng lệnh wget để download và dùng rpm để cài đặt&lt;/p&gt;
&lt;p&gt;&lt;span style="white-space: pre"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm&lt;/pre&gt;
&lt;pre&gt;rpm -Uhv rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm&lt;/pre&gt;
&lt;pre&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=18_1.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="18" border="0" alt="18" src="http://blog.nhanduyen.vn/image.axd?picture=18_thumb_1.png" width="644" height="268"&gt;&lt;/a&gt;&lt;/pre&gt;
&lt;p&gt;Cái này hơi lâu 1 xíu, trong khi chờ đợi bạn có thể nghỉ giải lao 1 xíu, nãy h làm cũng mệt rồi nhỉ. &lt;img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-openmouthedsmile" alt="Open-mouthed smile" src="http://blog.nhanduyen.vn/image.axd?picture=wlEmoticon-openmouthedsmile_6.png"&gt;.&lt;/p&gt;
&lt;p&gt;Sau khi cài đặt thành công, ta thực hiện lại lệnh&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span style="font-family: arial"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;pre class="brush: c-sharp;"&gt;&lt;/pre&gt;&lt;pre class="brush: c-sharp;"&gt;yum install phpmyadmin&lt;/pre&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=19.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="19" border="0" alt="19" src="http://blog.nhanduyen.vn/image.axd?picture=19_thumb.png" width="650" height="382"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Đã xong.&lt;/p&gt;
&lt;p&gt;Bây giờ sẽ đi vào phần quan trọng không kém, là cấu hình nào.&lt;/p&gt;&lt;pre&gt;vi /etc/httpd/conf.d/phpmyadmin.conf&lt;/pre&gt;

&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=20.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="20" border="0" alt="20" src="http://blog.nhanduyen.vn/image.axd?picture=20_thumb.png" width="639" height="380"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Ở dòng "Allow from 127.0.0.1" bạn điền vào các ip của các máy client có thể truy cập vào phpMyAdmin. Hoặc bạn cũng có thể mở cho tất cả các client đều được phép truy cập bằng cách sửa lại là "Allow from all". Ở đây mình sẽ để là Allow from all. Sau khi sửa file xong, lưu lại và khởi động lại dịch vụ httpd&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=21_2.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="21" border="0" alt="21" src="http://blog.nhanduyen.vn/image.axd?picture=21_thumb_2.png" width="654" height="373"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Bây giờ, bạn có thể truy cập vào phpMyAdmin bằng địa chỉ &lt;strong&gt;&lt;a href="http://IP_Server_or_Domain/phpmyadmin"&gt;http://IP_Server_or_Domain/phpmyadmin&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=22_1.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="22" border="0" alt="22" src="http://blog.nhanduyen.vn/image.axd?picture=22_thumb_1.png" width="651" height="422"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Có lỗi rồi. &lt;img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-confusedsmile" alt="Confused smile" src="http://blog.nhanduyen.vn/image.axd?picture=wlEmoticon-confusedsmile.png"&gt;. Xem nó nói rì nào&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The configuration file now needs a secret passphrase (blowfish_secret).&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;À, là do bạn chưa tạo secret passphrase. Bạn cần sửa lại file &lt;strong&gt;config.inc.php&lt;/strong&gt;&amp;nbsp; trong thư mục &lt;strong&gt;/usr/share/phpmyadmin&lt;/strong&gt;&lt;span style="font-family: arial"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;vi /usr/share/phpmyadmin/config.inc.php&lt;/pre&gt;
&lt;p&gt;Và sử lại dòng như trong hình&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=23_1.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="23" border="0" alt="23" src="http://blog.nhanduyen.vn/image.axd?picture=23_thumb_1.png" width="650" height="385"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thử lại xem nào:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.nhanduyen.vn/image.axd?picture=end.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: 0px 10px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="end" border="0" alt="end" src="http://blog.nhanduyen.vn/image.axd?picture=end_thumb.png" width="652" height="424"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-openmouthedsmile" alt="Open-mouthed smile" src="http://blog.nhanduyen.vn/image.axd?picture=wlEmoticon-openmouthedsmile_6.png"&gt;Hết lỗi rồi nhé. Tiến hành đăng nhập bằng user và pass của MySQL Server đã tạo ở trên.&lt;/p&gt;
&lt;p&gt;Mình đã giới thiệu xong cách cấu hình một webserver tương đối hoàn chỉnh. Cũng tốn khá nhiều thời gian nhỉ. Chúc các bạn thành công.&lt;/p&gt;</description>
      <link>http://blog.nhanduyen.vn/post/2011/07/03/Cai-đat-WebServer-cho-Server-CentOS.aspx</link>
      <comments>http://blog.nhanduyen.vn/post/2011/07/03/Cai-đat-WebServer-cho-Server-CentOS.aspx#comment</comments>
      <guid>http://blog.nhanduyen.vn/post.aspx?id=323ab44e-3327-4231-bee4-86a4b1e4ad3c</guid>
      <pubDate>Sun, 03 Jul 2011 16:43:00 +0700</pubDate>
      <category>IT-Linux</category>
      <dc:publisher>Trọng Nhân</dc:publisher>
      <pingback:server>http://blog.nhanduyen.vn/pingback.axd</pingback:server>
      <pingback:target>http://blog.nhanduyen.vn/post.aspx?id=323ab44e-3327-4231-bee4-86a4b1e4ad3c</pingback:target>
      <slash:comments>1</slash:comments>
      <trackback:ping>http://blog.nhanduyen.vn/trackback.axd?id=323ab44e-3327-4231-bee4-86a4b1e4ad3c</trackback:ping>
      <wfw:comment>http://blog.nhanduyen.vn/post/2011/07/03/Cai-đat-WebServer-cho-Server-CentOS.aspx#comment</wfw:comment>
      <wfw:commentRss>http://blog.nhanduyen.vn/syndication.axd?post=323ab44e-3327-4231-bee4-86a4b1e4ad3c</wfw:commentRss>
    </item>
  </channel>
</rss>