<!DOCTYPE html>
	<html lang="vi" xmlns="http://www.w3.org/1999/xhtml" prefix="og: http://ogp.me/ns#">
	<head>
<title>Đưa Website NukeViet từ localhost lên hosting</title>
<meta name="description" content="Đưa Website NukeViet từ localhost lên hosting - Savefile - Tin Tức -...">
<meta name="author" content="NukeViet">
<meta name="copyright" content="NukeViet [admin@nukeviet.vn]">
<meta name="generator" content="NukeViet v4.6">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta property="og:title" content="Đưa Website NukeViet từ localhost lên hosting">
<meta property="og:type" content="website">
<meta property="og:description" content="Savefile - Tin Tức - https&#x3A;&#x002F;&#x002F;nukeviet.vn&#x002F;vi&#x002F;news&#x002F;savefile&#x002F;Thong-tin-da-chieu&#x002F;Dua-Website-NukeViet-tu-localhost-len-hosting-41.html">
<meta property="og:site_name" content="NukeViet">
<meta property="og:url" content="https://nukeviet.vn/vi/news/savefile/Thong-tin-da-chieu/Dua-Website-NukeViet-tu-localhost-len-hosting-41.html">
<link rel="shortcut icon" href="https://www.nukeviet.vn/favicon.ico">
<link rel="canonical" href="https://nukeviet.vn/vi/news/savefile/Thong-tin-da-chieu/Dua-Website-NukeViet-tu-localhost-len-hosting-41.html">
<link rel="alternate" href="https://www.nukeviet.vn/vi/news/rss/" title="Tin Tức" type="application/rss+xml">
<link rel="alternate" href="https://www.nukeviet.vn/vi/news/rss/Tin-tuc/" title="Tin Tức - Tin tức NukeViet" type="application/rss+xml">
<link rel="alternate" href="https://www.nukeviet.vn/vi/news/rss/thong-cao-bao-chi/" title="Tin Tức - Thông cáo báo chí" type="application/rss+xml">
<link rel="alternate" href="https://www.nukeviet.vn/vi/news/rss/Tin-an-ninh/" title="Tin Tức - Bản tin an ninh" type="application/rss+xml">
<link rel="alternate" href="https://www.nukeviet.vn/vi/news/rss/phat-hanh/" title="Tin Tức - Bản tin phát hành" type="application/rss+xml">
<link rel="alternate" href="https://www.nukeviet.vn/vi/news/rss/nhom-phat-trien/" title="Tin Tức - Tin từ nhóm phát triển" type="application/rss+xml">
<link rel="alternate" href="https://www.nukeviet.vn/vi/news/rss/community/" title="Tin Tức - Cộng đồng NukeViet" type="application/rss+xml">
<link rel="alternate" href="https://www.nukeviet.vn/vi/news/rss/Tin-hoat-dong/" title="Tin Tức - Tin hoạt động" type="application/rss+xml">
<link rel="alternate" href="https://www.nukeviet.vn/vi/news/rss/To-chuc-Su-kien/" title="Tin Tức - Tổ chức - Sự kiện" type="application/rss+xml">
<link rel="alternate" href="https://www.nukeviet.vn/vi/news/rss/Guong-mat-tieu-bieu/" title="Tin Tức - Gương mặt tiêu biểu" type="application/rss+xml">
<link rel="alternate" href="https://www.nukeviet.vn/vi/news/rss/hop-tac-phat-trien/" title="Tin Tức - Hợp tác - Phát triển" type="application/rss+xml">
<link rel="alternate" href="https://www.nukeviet.vn/vi/news/rss/thong-bao-moi-thau/" title="Tin Tức - Thông báo mời thầu" type="application/rss+xml">
<link rel="alternate" href="https://www.nukeviet.vn/vi/news/rss/viec-lam/" title="Tin Tức - Việc làm" type="application/rss+xml">
<link rel="alternate" href="https://www.nukeviet.vn/vi/news/rss/Danh-sach-doi-tac/" title="Tin Tức - Danh sách đối tác" type="application/rss+xml">
<link rel="alternate" href="https://www.nukeviet.vn/vi/news/rss/Thong-tin-da-chieu/" title="Tin Tức - Thông tin đa chiều" type="application/rss+xml">
<link rel="alternate" href="https://www.nukeviet.vn/vi/news/rss/Bao-chi-viet/" title="Tin Tức - Báo chí viết" type="application/rss+xml">
<link rel="alternate" href="https://www.nukeviet.vn/vi/news/rss/Website-tieu-bieu/" title="Tin Tức - Website tiêu biểu" type="application/rss+xml">
<link rel="alternate" href="https://www.nukeviet.vn/vi/news/rss/the-gioi-cong-nghe/" title="Tin Tức - Thế giới công nghệ" type="application/rss+xml">
<link rel="alternate" href="https://www.nukeviet.vn/vi/news/rss/website/" title="Tin Tức - Thế giới Web" type="application/rss+xml">
<link rel="alternate" href="https://www.nukeviet.vn/vi/news/rss/An-ninh-mang/" title="Tin Tức - An ninh mạng" type="application/rss+xml">
<link rel="alternate" href="https://www.nukeviet.vn/vi/news/rss/Cong-dong-nguon-mo/" title="Tin Tức - Cộng đồng nguồn mở" type="application/rss+xml">
<link rel="alternate" href="https://www.nukeviet.vn/vi/news/rss/nukeviet-va-seo/" title="Tin Tức - NukeViet và SEO" type="application/rss+xml">
<link rel="alternate" href="https://www.nukeviet.vn/vi/news/rss/Huong-dan-su-dung/" title="Tin Tức - Hướng dẫn sử dụng" type="application/rss+xml">
<link rel="preload" as="style" href="https://www.nukeviet.vn/assets/css/font-awesome.min.css" type="text/css">
<link rel="preload" as="style" href="https://www.nukeviet.vn/themes/nukeviet4_vn/css/bootstrap.min.css" type="text/css">
<link rel="preload" as="style" href="https://www.nukeviet.vn/themes/nukeviet4_vn/css/style.css" type="text/css">
<link rel="preload" as="style" href="https://www.nukeviet.vn/themes/nukeviet4_vn/css/style.responsive.css" type="text/css">
<link rel="preload" as="style" href="https://www.nukeviet.vn/themes/nukeviet4_vn/css/news.css" type="text/css">
<link rel="preload" as="script" href="https://www.nukeviet.vn/assets/js/jquery/jquery.min.js" type="text/javascript">
<link rel="preload" as="script" href="https://www.nukeviet.vn/assets/js/language/vi.js" type="text/javascript">
<link rel="preload" as="script" href="https://www.nukeviet.vn/assets/js/DOMPurify/purify3.js" type="text/javascript">
<link rel="preload" as="script" href="https://www.nukeviet.vn/assets/js/global.js" type="text/javascript">
<link rel="preload" as="script" href="https://www.nukeviet.vn/assets/js/site.js" type="text/javascript">
<link rel="preload" as="script" href="https://www.nukeviet.vn/themes/default/js/news.js" type="text/javascript">
<link rel="preload" as="script" href="https://www.nukeviet.vn/themes/nukeviet4_vn/js/main.js" type="text/javascript">
<link rel="preload" as="script" href="https://www.nukeviet.vn/themes/nukeviet4_vn/js/bootstrap.min.js" type="text/javascript">
<link rel="StyleSheet" href="https://www.nukeviet.vn/assets/css/font-awesome.min.css">
<link rel="StyleSheet" href="https://www.nukeviet.vn/themes/nukeviet4_vn/css/bootstrap.min.css">
<link rel="StyleSheet" href="https://www.nukeviet.vn/themes/nukeviet4_vn/css/style.css">
<link rel="StyleSheet" href="https://www.nukeviet.vn/themes/nukeviet4_vn/css/style.responsive.css">
<link rel="StyleSheet" href="https://www.nukeviet.vn/themes/nukeviet4_vn/css/news.css">
<style type="text/css">
body{background-image:none!important;background-color:#f4f4f4}
.panel-default .panel-body{background-color:#fff}
</style>
<style type="text/css">
	body{background: #fff;}
</style>
<script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-71522940-3', '.nukeviet.vn');
ga('send', 'pageview');
</script>
<meta name="robots" content="noindex, nofollow">
</head>
	<body>
		<noscript>
			<div class="alert alert-danger">Trình duyệt của bạn đã tắt chức năng hỗ trợ JavaScript.<br />Website chỉ làm việc khi bạn bật nó trở lại.<br />Để tham khảo cách bật JavaScript, hãy click chuột <a href="http://wiki.nukeviet.vn/support:browser:enable_javascript">vào đây</a>!</div>
		</noscript>
<div id="print">
	<div id="hd_print">
		<h2 class="pull-left">NukeViet</h2>
		<p class="pull-right"><a title="NukeViet" href="https://www.nukeviet.vn/">https://www.nukeviet.vn</a></p>
	</div>
	<div class="clear"></div>
	<hr />
	<div id="content">
		<h1>Đưa Website NukeViet từ localhost lên hosting</h1>
		<ul class="list-inline">
			<li>Thứ hai - 01/11/2010 02:34</li>
			<li class="hidden-print txtrequired"><em class="fa fa-print">&nbsp;</em><a title="In ra" href="javascript:;" onclick="window.print()">In ra</a></li>
			<li class="hidden-print txtrequired"><em class="fa fa-power-off">&nbsp;</em><a title="Đóng cửa sổ này" href="javascript:;" onclick="window.close()">Đóng cửa sổ này</a></li>
		</ul>
		<div class="clear"></div>
		<div id="hometext">
			XHTTOnline đã giới thiệu nhiều bài viết về cài đặt và thiết kế Website bằng NukeViet  trên localhost. Việc đưa Website lên hosting đang được nhiều bạn quan tâm, đặc biệt là các bạn đang làm quen với lĩnh vực tạo web bằng mã nguồn mở.
		</div>
		<div id="bodytext" class="clearfix">
			<p style="text-indent: 42.55pt; text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">XHTTOnline đã giới thiệu nhiều bài viết về cài đặt và thiết kế Website bằng <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">NukeViet </span>&nbsp;trên localhost. Việc đưa Website lên hosting đang được nhiều bạn quan tâm, đặc biệt là các bạn đang làm quen với lĩnh vực tạo web bằng mã nguồn mở. </span></p><p style="text-indent: 42.55pt; text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Để đưa website lên Internet, bạn cần chuẩn bị một hosting, tên miền và thực hiện theo các bước sau đây.</span></p><p style="text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-weight: bold; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">I. Các bước chuẩn bị</span></p><p style="text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-weight: bold; font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Bước 1: </span><span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Đăng kí hosting và tên miền</span></span></p><p style="text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; font-style: italic; color: rgb(51, 51, 51); font-family: Times New Roman;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Nếu đang trong giai đoạn thử nghiệm, tập làm Website thì bạn có thể sử dụng các dịch vụ hosting miễn phí như <span style="font-weight: bold; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"><span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Byethost</span>, <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">000webhost</span></span>, tên miền miễn phí như <span style="font-weight: bold; font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">co.cc</span>, <span style="font-weight: bold; font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">cz.cc</span>, <span style="font-weight: bold; font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">dot.tk</span>. Bài viết này sử dụng hai dịch vụ <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Byethost</span> và <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">cz.cc</span>.</span></p><p style="text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sau khi đăng kí <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Byethost</span>, bạn cần ghi nhớ các </span><span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">thông tin quản lý <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">hosting</span>, trong đó quan trọng nhất là các thông số: <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">FTP user name</span>, <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">FTP password</span>, <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">FTP host name</span> và <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">MySQL host</span>. </span></p><div style="text-align: center; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <img _fl="" src="http://images.xhtt.vn/Images/Uploaded/Share/2010/10/20101027082056853/nukeviet-1.jpg" style="margin: 5px; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;" /></div><p style="text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Trong hộp thoại <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">VistaPanel</span>, bạn nhập vào <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Username </span>và <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Password</span> của <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">FTP server</span>, bấm <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Login</span>. Đầu tiên, bạn cần tạo một cơ sở dữ liệu tại mục <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Data Managenment</span>, bấm vào liên kết <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">MySQL Databases</span>, nhập vài kí tự vào ô <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Cre-ate a new database </span>(ví dụ là số 24, <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Database Name </span>sẽ có dạng <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">b7_6016462_24</span>), bấm <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Cre-ate Database</span>. Bạn cần nhớ tên cơ sở dữ liệu này để sử dụng trong việc kết nối mã nguồn với cơ sở dữ liệu.<span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> </span>Tại mục <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Domains</span>, bạn bấm vào liên kết <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Addon Domains</span> rồi nhập tên miền đã đăng kí ở dịch vụ <span style="font-weight: bold; font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">cz.cc </span>(ví dụ: <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">webthunghiem.cz.cc</span>), bấm <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Add Domain</span>. Ngoài ra, bạn còn có thể tạo ra nhiều tên miền con (dịch vụ <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Byethost</span> hỗ trợ miễn phí) bằng tính năng <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Sub-domains</span>. Bây giờ, bạn cần đăng nhập vào tên miền đã đăng kí để cài đặt <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Name Server</span>, bằng cách </span><span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">nhập vào hai ô <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Name Server 1 </span>và <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Name Server 2</span> lần lượt các giá trị <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">ns1.byet.org</span> và <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">ns2.byet.org</span>, bấm <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Cài đặt</span>. Việc còn lại là bạn phải chờ một khoảng thời gian để thay đổi có hiệu lực (thông thường khoảng 2 giờ đồng hồ nhưng đôi khi mất đến 48 giờ). </span></p><p style="text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Để đăng kí sử dụng dịch vụ tên miền miễn phí <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Cz.cc</span>, bạn </span><span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">truy cập vào trang <span style="font-weight: bold; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"><span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">www.cz.cc</span> </span>rồi nhập tên miền muốn tạo vào ô, ví dụ <span style="font-weight: bold; font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">www.webthunghiem.cz.cc</span>, nhấn <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Check Availability</span> để kiểm tra tên miền có tồn tại không?</span></p><div style="text-align: center; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <img _fl="" src="http://images.xhtt.vn/Images/Uploaded/Share/2010/10/20101027082056853/nukeviet-2.jpg" style="margin: 5px; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;" width="576" /></div><p> <span style="font-size: 12pt; font-family: Times New Roman; color: rgb(51, 51, 51);">Nếu tên miền chưa ai đăng kí thì mục <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Available</span> sẽ được đánh dấu màu xanh. Khi đó, sẽ có hai hình thức đăng kí ở mục <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Domain Option</span>, bạn bấm vào nút xổ xuống chọn <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Register 2 year</span>, nhấn <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Add to cart</span>, rồi tiếp tục nhấn <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Checkout </span>ở khung<span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> Shopping Cart</span>.</span></p><p style="text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> &nbsp;</p><br style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;" /><div style="text-align: center; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; font-family: Times New Roman; color: rgb(51, 51, 51);"><img _fl="" src="http://images.xhtt.vn/Images/Uploaded/Share/2010/10/20101027082056853/nukeviet-3.jpg" style="margin: 5px; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;" width="454" /></span></div><p style="text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Tiếp theo, bạn điền đầy đủ các thông tin mà dịch vụ yêu cầu để đăng kí tài khoản mới: <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Username </span>(tên đăng nhập), <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Password </span>(mật khẩu), <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Repeat Password </span>(nhập lại mật khẩu), <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Fullname </span>(họ và tên), <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Street/Number</span>, <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">City</span>, <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Post Code </span>(có thể nhập tùy ý), <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Country </span>(được chọn sẵn là Việt Nam), <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Email</span> (địa chỉ thư điện tử), nhập mã hiển thị ở <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Security Code</span> vào ô <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Verify Code</span>, xong nhấn <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Cre-ate Account</span>.</span></p><p> <span style="font-size: 12pt; font-family: Times New Roman; color: rgb(51, 51, 51);">Khi đăng kí xong, bạn nhận được thông báo việc cài đặt tên miền đã hoàn tất, nhấn vào liên kết <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">My Domain</span> phía trên và nhấn nút <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Manage</span> để chuyển đến trang quản lý tên miền.<br style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;" /> </span></p><div style="text-align: center; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; font-family: Times New Roman; color: rgb(51, 51, 51);"><img _fl="" src="http://images.xhtt.vn/Images/Uploaded/Share/2010/10/20101027082056853/nukeviet-4.jpg" style="margin: 5px; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;" width="589" /></span></div><p style="text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Để trỏ từ tên miền đã đăng kí đến hosting <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Byethost</span>, bạn nhấn vào mục <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Name Server</span> rồi nhập vào địa chỉ máy chủ vào hai ô tương ứng <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Nameserver 1</span>và <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Nameserver 2</span>, nhấn nút <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Up-date</span>. Ngoài ra, bạn có thể nhấn <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Add more Nameserver</span> để thêm vào ba địa chỉ còn lại.</span></p><div style="text-align: center; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <img _fl="" src="http://images.xhtt.vn/Images/Uploaded/Share/2010/10/20101027082056853/nukeviet-5.jpg" style="margin: 5px; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;" width="527" /></div><p style="text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-weight: bold; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"><span style="font-size: 12pt; font-style: italic; color: rgb(51, 51, 51); font-family: Times New Roman;">Bước 2:</span></span><span style="font-size: 12pt; font-style: italic; color: rgb(51, 51, 51); font-family: Times New Roman;"> Xuất bản cơ sở dữ liệu </span></p><p style="text-indent: 36pt; text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Đầu tiên, bạn đăng nhập vào <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">phpMyAdmin </span>của localhost bằng trình duyệt <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Internet Explorer </span>(http://localhost/phpMyAdmin). Trong trường <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Database </span>ở bên trái, bạn chọn tên cơ sở dữ liệu lúc cài đặt <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">NukeViet</span>, ví dụ <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">home</span>. Một danh sách gồm nhiều bảng cơ sở dữ liệu hiện ra, kéo thanh trượt bên phải xuống đến cuối trang rồi bấm vào chữ <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Check All</span>.</span></p><p style="text-indent: 36pt; text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> &nbsp;</p><div style="text-align: center; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <img _fl="" src="http://images.xhtt.vn/Images/Uploaded/Share/2010/10/20101027082056853/nukeviet-6.jpg" style="margin: 5px; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;" width="585" /></div><p style="text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; font-family: Times New Roman; color: rgb(51, 51, 51);">Khi xong, trở về đầu trang rồi bấm nút <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Export</span> rồi kiểm tra trong khung <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">View dump (schema) of database</span> mục <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">SQL </span>đã được đánh dấu chọn hay chưa, các mục còn lại giữ mặc định. </span></p><div style="text-align: center; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <img _fl="" src="http://images.xhtt.vn/Images/Uploaded/Share/2010/10/20101027082056853/nukeviet-7.jpg" style="margin: 5px; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;" width="586" /></div><p style="text-indent: 36pt; text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Riêng đối với khung <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Save as type</span>, bạn đặt tên cho tập tin cơ sở dữ liệu vào ô <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">File name template</span>, rồi đánh dấu chọn vào ô <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">zipped</span> ở mục <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Compression</span>, bấm nút <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Go</span>. Theo kinh nghiệm của người viết, việc đặt tên cơ sở dữ liệu cần gắn liền với ngày tháng sao lưu để tiện phục hồi đúng thời điểm khi cần thiết. Ý nghĩa của việc làm này là xuất bản cơ sở dữ liệu trên localhost ra một tập tin và dùng nó nhập vào cơ sở dữ liệu trên hosting. </span></p><div style="text-align: center; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <img _fl="" src="http://images.xhtt.vn/Images/Uploaded/Share/2010/10/20101027082056853/nukeviet-8.jpg" style="margin: 5px; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;" width="585" /></div><p style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-weight: bold; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"><span style="font-size: 12pt; font-style: italic; color: rgb(51, 51, 51); font-family: Times New Roman;">Bước 3: Xóa bộ nhớ đệm</span></span></p><p style="text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-weight: bold; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"><span style="font-size: 12pt; font-style: italic; color: rgb(51, 51, 51); font-family: Times New Roman;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Thư mục <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Cache</span> trong thư mục gốc <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">www</span> là nơi lưu trữ những thông tin tạm thời trên localhost, dùng để nạp nhanh giao diện web của <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">NukeViet</span>, đặc biệt là tập tin <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">.htaccess</span> sẽ ngăn cản tiến trình tải lên máy chủ. Để xóa hết những tập tin trong thư mục này, chúng ta vào đường dẫn <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">nukeviet/cache</span> trong thư mục <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">AppServ</span>. Lưu ý, nếu không xóa hết tập tin trong thư mục <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Cache</span> thì không thể tải gói mã nguồn lên hosting.</span></p><p> <span style="font-size: 12pt; font-family: Times New Roman; color: rgb(51, 51, 51);">&nbsp;&nbsp;&nbsp; <span style="font-weight: bold; font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Bước 4: Tải toàn bộ mã nguồn lên hosting</span></span></p><div style="text-align: center; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <img _fl="" src="http://images.xhtt.vn/Images/Uploaded/Share/2010/10/20101027082056853/nukeviet-9.jpg" style="margin: 5px; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;" width="586" /></div><p style="text-indent: 36pt; text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Khởi động phần mềm <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">FileZilla FTP Client</span> rồi </span><span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">nhập các thông số đã được cung cấp từ lúc đăng kí hosting: <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Host</span> (địa chỉ của máy chủ, chẳng hạn <span style="font-weight: bold; font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">ftp.byethost24.com</span>), <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Usename</span> (tên đăng nhập, dạng b24_6129815), <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Password</span> (mật khẩu), <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Port</span> (nhập vào số 21), bấm <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Quickconnect</span>. Ở khung <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Local site</span>, bạn duyệt đến thư mục gốc <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">nukeviet</span>, bên cạnh đó cũng phải duyệt đến thư mục <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">htdocs</span> của tên miền (hoặc <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">public_html</span> ở một số hosting khác),chọn tất cả thư mục con và tập tin của <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">nukeviet </span>và bấm chuột phải chọn <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Upload.</span></span></p><p style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-weight: bold; font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Bước 5: CHMOD 777 một số thư mục</span></span></p><p style="text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-weight: bold; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"><span style="font-size: 12pt; font-style: italic; color: rgb(51, 51, 51); font-family: Times New Roman;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Chmod</span></span><span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> là chữ viết tắt của từ <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Change mod</span>, một lệnh đặc biệt được dùng trên máy chủ <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Unix</span> và nó được sử dụng để thay đổi quyền lực của một người bất kỳ đối với tập tin và thư mục trên Website. Tức là, bạn sử dụng lệnh này để cấp quyền đọc (<span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Read</span>), viết (<span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Write</span>) và thực thi (<span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Execute</span>)<span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> </span>cho người sử dụng Website. </span></p><p style="text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Giá trị <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Chmod</span> luôn được biểu thị bằng một cụm gồm ba chữ số, đại diện cho ba nhóm sử dụng <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Owner </span>(chủ sở hữu Website), <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Group </span>(nhóm cộng tác), <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Public </span>(tất cả mọi người). Giá trị 777 thể hiện quyền lực tuyệt đối đối với tập tin, thư mục, áp dụng cho cả ba nhóm người dùng.</span></p><p style="text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ở Website động thì người dùng thường xuyên phải làm với một số tập tin và thư mục trên máy chủ, bao gồm cả thành viên, người truy cập thông thường. Do đó, với trang web được tạo bằng mã nguồn <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">NukeViet</span>, bạn cần thiết lập <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Chmod 777 </span>cho các tập tin và thư mục sau:</span></p><p style="text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">data</span>, <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">sess</span>, <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">logs</span>, <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">logs/data_logs</span>, <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">log/dump_backup</span>, <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">logs/error_logs</span>, <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">logs/error_logs/error256</span>, <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">logs/error_logs/old</span>, <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">logs/error_logs/tmp</span>, <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">logs/ip_logs</span>, <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">logs/ref_logs, logs/voting_logs</span>, <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">cache</span>, <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">uploads</span>, <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">tmp</span>, <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">.htaccess</span>.</span></p><p style="text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Để thực hiện <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Chmod</span>, bạn bấm chuột phải vào thư mục hay tập tin trong khung <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Remote site </span>của <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">FileZilla FTP Client</span>, chọn <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">File permissions</span>. Trong hộp thoại <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Change file attributes</span>, bạn đánh dấu kiểm vào các ô cần chọn hoặc có thể nhập ngay số 777 vào ô <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Numeric value</span>.</span></p><div style="text-align: center; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <img _fl="" src="http://images.xhtt.vn/Images/Uploaded/Share/2010/10/20101027082056853/nukeviet-10.jpg" style="margin: 5px; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;" width="316" /></div><p style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-weight: bold; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"><span style="font-size: 12pt; font-style: italic; color: rgb(51, 51, 51); font-family: Times New Roman;">Bước 6: Nhập khẩu cơ sở dữ liệu</span></span></p><p style="text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-weight: bold; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"><span style="font-size: 12pt; font-style: italic; color: rgb(51, 51, 51); font-family: Times New Roman;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Ở phần tạo cơ sở dữ liệu của bước 1, chúng ta đã được cung cấp các thông số quan trọng để quản lý cơ sở dữ liệu và tạo được cơ sở dữ liệu rỗng. Bây giờ, bạn cần đưa cơ sở dữ liệu đã sao lưu trên localhost vào cơ sở dữ liệu rỗng này. Sau khi truy cập vào trang quản trị hosting (<span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">panel.byethost.com</span>), bấm vào liên kết <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">phpMyAdmin</span> ở mục <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Database Managenment</span>, bấm <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Connect now</span> ở tên cơ sở dữ liệu rỗng.</span></p><p style="text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> &nbsp;</p><div style="text-align: center; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"><img _fl="" src="http://images.xhtt.vn/Images/Uploaded/Share/2010/10/20101027082056853/nukeviet-11.jpg" style="margin: 5px; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;" /></span></div><p style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Trong trang <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">phpMyAdmin</span> hiện ra, bấm nút <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Import</span>, rồi duyệt đến tập tin trên máy bằng nút <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Browse </span>ở khung <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">File to import</span>, bấm <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Go</span>.</span></p><p> <span style="font-size: 12pt; font-family: Times New Roman; color: rgb(51, 51, 51);">Khi xong bấm vào nút <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Structure</span> để kiểm tra danh sách các bảng cơ sở dữ liệu được nhập vào.<br style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;" /> </span></p><div style="text-align: center; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; font-family: Times New Roman; color: rgb(51, 51, 51);"><img _fl="" src="http://images.xhtt.vn/Images/Uploaded/Share/2010/10/20101027082056853/nukeviet-12.jpg" style="margin: 5px; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;" width="578" /></span></div><p style="text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-weight: bold; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">II.<span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> </span>Kết nối mã nguồn với cơ sở dữ liệu</span></p><p style="text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-weight: bold; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"><span style="font-size: 12pt; font-style: italic; color: rgb(51, 51, 51); font-family: Times New Roman;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Để kết nối gói mã nguồn đã tải lên hosting và cơ sở dữ liệu thì bạn cần can thiệp vào những dòng lệnh của hai tập tin <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">config.php </span>(thư mục gốc của hosting) và <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">config_global.php</span> (thư mục <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">data</span>). Bạn cần chuẩn bị các thông số để khai báo vào hai tập tin này: tên miền (không cần phải nhập http://), </span><span style="font-size: 12pt; font-style: italic; color: rgb(51, 51, 51); font-family: Times New Roman;">MySQL Hostname </span><span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">(tên máy chủ <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">MySQL</span>), <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">MySQL Username </span>(tên đăng nhập cơ sở dữ liệu), <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Database name </span>(tên cơ sở dữ liệu) và <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">MySQL Password </span>(mật khẩu đăng nhập cơ sở dữ liệu).</span></p><p style="text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Nếu sử dụng phần mềm <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">FileZile FTP Client</span> thì cần phải tải hai tập tin trên về máy để chỉnh sửa bằng <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">Notepad</span>, rồi tải lên và ghi đè tập tin cũ.</span></p><p style="text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +Đối với tập tin <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">config.php</span>, tìm đến dòng lệnh:</span></p><p style="text-indent: 36pt; text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">$db_config[&#039;dbhost&#039;] = &quot;<span style="font-weight: bold; font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">localhost</span>&quot;; </span></p><p style="text-indent: 36pt; text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">$db_config[&#039;dbport&#039;] = &quot;&quot;;</span></p><p style="text-indent: 36pt; text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">$db_config[&#039;dbname&#039;] = &quot;<span style="font-weight: bold; font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">home</span>&quot;;</span></p><p style="text-indent: 36pt; text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">$db_config[&#039;dbuname&#039;] = &quot;<span style="font-weight: bold; font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">root</span>&quot;;</span></p><p style="text-indent: 36pt; text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">$db_config[&#039;dbpass&#039;] = &quot;<span style="font-weight: bold; font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">123</span>&quot;;</span></p><p style="text-indent: 36pt; text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">$db_config[&#039;prefix&#039;] = &quot;nv3&quot;;</span></p><p style="text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">thay thế <span style="font-weight: bold; font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">localhost</span><span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> </span>bằng địa chỉ </span><span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">MySQL Hostname, <span style="font-weight: bold; font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">home </span>bằng thông số Database name, <span style="font-weight: bold; font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">root </span>bằng thông số MySQL Username, <span style="font-weight: bold; font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">123 </span>bằng thông số MySQL Password.</span></p><p style="text-align: justify; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +Đối với tập tin <span style="font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">config_global.php</span>, tìm đến dòng lệnh:</span></p><p style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-weight: bold; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">$global_config[&#039;my_domains&#039;] = &quot;<span style="font-weight: bold; font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">localhost</span>&quot;;</span></p><p style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">thay thế <span style="font-weight: bold; font-style: italic; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">localhost </span>bằng tên miền, ví dụ: tonghop24.com.</span></p><p style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Đến đây, Website đã vận hành được bình thường trên Internet.</span></p><p style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> &nbsp;</p><div style="text-align: center; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"> <span style="font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;"><img _fl="" src="http://images.xhtt.vn/Images/Uploaded/Share/2010/10/20101027082056853/nukeviet-13.jpg" style="margin: 5px; font-size: 12pt; color: rgb(51, 51, 51); font-family: Times New Roman;" width="575" /></span></div>
		</div>
				<div id="author">
						<p>
				<strong>Tác giả:</strong>
				BÙI THANH LIÊM
			</p>
						<p>
				<strong>Nguồn tin:</strong>
				xahoithongtin.com.vn
			</p>
		</div>
	</div>
	<div id="footer" class="clearfix">
		<div id="url">
			<strong>URL của bản tin này: </strong><a href="https://nukeviet.vn/vi/news/savefile/Thong-tin-da-chieu/Dua-Website-NukeViet-tu-localhost-len-hosting-41.html" title="Đưa Website NukeViet từ localhost lên hosting">https://nukeviet.vn/vi/news/savefile/Thong-tin-da-chieu/Dua-Website-NukeViet-tu-localhost-len-hosting-41.html</a>

		</div>
		<div class="clear"></div>
		<div class="copyright">
			&copy; NukeViet
		</div>
		<div id="contact">
			<a href="mailto:admin@nukeviet.vn">admin@nukeviet.vn</a>
		</div>
	</div>
</div>

		<!-- SiteModal Required!!! -->
		<div id="sitemodal" class="modal fade" role="dialog">
			<div class="modal-dialog">
				<div class="modal-content">
					<div class="modal-body">
						<em class="fa fa-spinner fa-spin">&nbsp;</em>
					</div>
					<button type="button" class="close" data-dismiss="modal">
						<span class="fa fa-times"></span>
					</button>
				</div>
			</div>
		</div>
        <div id="timeoutsess" class="chromeframe">
            Bạn đã không sử dụng Site, <a onclick="timeoutsesscancel();" href="https://www.nukeviet.vn/#">Bấm vào đây để duy trì trạng thái đăng nhập</a>. Thời gian chờ: <span id="secField"> 60 </span> giây
        </div>
        <div id="openidResult" class="nv-alert" style="display:none"></div>
        <div id="openidBt" data-result="" data-redirect=""></div>
<script src="https://www.nukeviet.vn/assets/js/jquery/jquery.min.js"></script>
<script>var nv_base_siteurl="/",nv_lang_data="vi",nv_lang_interface="vi",nv_name_variable="nv",nv_fc_variable="op",nv_lang_variable="language",nv_module_name="news",nv_func_name="savefile",nv_is_user=0, nv_my_ofs=-4,nv_my_abbr="EDT",nv_cookie_prefix="nv4c_b1Sp",nv_check_pass_mstime=1738000,nv_area_admin=0,nv_safemode=0,theme_responsive=1,nv_recaptcha_ver=2,nv_recaptcha_sitekey="6LeCch0UAAAAAKrftQUTIjPOxFo5KYJTiFmaH-DJ",nv_recaptcha_type="image",XSSsanitize=1;</script>
<script src="https://www.nukeviet.vn/assets/js/language/vi.js"></script>
<script src="https://www.nukeviet.vn/assets/js/DOMPurify/purify3.js"></script>
<script src="https://www.nukeviet.vn/assets/js/global.js"></script>
<script src="https://www.nukeviet.vn/assets/js/site.js"></script>
<script src="https://www.nukeviet.vn/themes/default/js/news.js"></script>
<script src="https://www.nukeviet.vn/themes/nukeviet4_vn/js/main.js"></script>
<script src="https://www.nukeviet.vn/themes/nukeviet4_vn/js/bootstrap.min.js"></script>
</body>
</html>