{"id":8451,"date":"2022-04-01T01:03:40","date_gmt":"2022-03-31T18:03:40","guid":{"rendered":"https:\/\/hostify.vn\/blog\/?p=8451"},"modified":"2022-04-01T01:03:40","modified_gmt":"2022-03-31T18:03:40","slug":"xampp-la-gi-huong-dan-su-dung-va-cai-dat-xampp","status":"publish","type":"post","link":"https:\/\/www.hostify.vn\/blog\/xampp-la-gi-huong-dan-su-dung-va-cai-dat-xampp\/","title":{"rendered":"Xampp l\u00e0 g\u00ec? H\u01b0\u1edbng d\u1eabn c\u00e1ch s\u1eed d\u1ee5ng v\u00e0 c\u00e0i \u0111\u1eb7t xampp tr\u00ean Windows v\u00e0 Linux"},"content":{"rendered":"<div class=\"domain-title\">\n<h2>Xampp l\u00e0 g\u00ec?<\/h2>\n<!-- \/wp:post-content -->\n\n<!-- wp:paragraph --> <strong>XAMPP<\/strong> l\u00e0 m\u1ed9t ph\u1ea7n m\u1ec1m cho ph\u00e9p\u00a0gi\u1ea3 l\u1eadp\u00a0m\u00f4i tr\u01b0\u1eddng server hosting ngay tr\u00ean m\u00e1y t\u00ednh c\u1ee7a b\u1ea1n, cho ph\u00e9p b\u1ea1n\u00a0ch\u1ea1y demo website\u00a0m\u00e0\u00a0kh\u00f4ng c\u1ea7n ph\u1ea3i<a href=\"https:\/\/www.hostify.vn\/\"><strong> mua Hosting<\/strong><\/a> hay<strong>\u00a0<a href=\"https:\/\/www.hostify.vn\/cloud-server\">VPS<\/a><\/strong>. Ch\u00ednh v\u00ec v\u1eady, <strong>XAMPP<\/strong> th\u01b0\u1eddng \u0111\u01b0\u1ee3c ph\u1ee5c v\u1ee5 cho ho\u1ea1t \u0111\u1ed9ng h\u1ecdc t\u1eadp, gi\u1ea3ng d\u1ea1y, th\u1ef1c h\u00e0nh v\u00e0 ph\u00e1t tri\u1ec3n web.<\/div>\n<div class=\"domain-title\"><!-- \/wp:paragraph -->\n\n<!-- wp:paragraph --> XAMPP l\u00e0 ph\u1ea7n m\u1ec1m r\u1ea5t ph\u1ed5 bi\u1ebfn, mi\u1ec5n ph\u00ed v\u00e0 lu\u00f4n c\u00f3 c\u00e1c b\u1ea3n c\u1eadp nh\u1eadt li\u00ean t\u1ee5c. <strong>XAMPP<\/strong> \u0111\u01b0\u1ee3c vi\u1ebft t\u1eaft t\u1eeb: <!-- \/wp:paragraph -->\n\n<!-- wp:list -->\n<ul>\n<li><strong>X<\/strong>: Ch\u1eef X l\u00e0 vi\u1ebft t\u1eaft c\u1ee7a h\u1ec7 \u0111i\u1ec1u h\u00e0nh m\u00e0 ph\u1ea7n m\u1ec1m n\u00e0y \u0111ang ho\u1ea1t \u0111\u00f4ng: Windows, Mac OS X, Linux, Solaris.<\/li>\n<li><strong>Apache\u00a0(A)<\/strong>: Ch\u1eef A ti\u1ebfp theo l\u00e0 Apache, \u0111\u00e2y l\u00e0 ph\u1ea7n m\u1ec1m Web Server m\u00e3 ngu\u1ed3n m\u1edf \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng r\u1ed9ng r\u00e3i tr\u00ean to\u00e0n th\u1ebf gi\u1edbi. Apache hay c\u00f2n \u0111\u01b0\u1ee3c g\u1ecdi v\u1edbi t\u00ean ch\u00ednh th\u1ee9c l\u00e0 Apache HTTP Server \u0111\u01b0\u1ee3c \u0111i\u1ec1u h\u00e0nh v\u00e0 ph\u00e1t tri\u1ec3n b\u1edfi<a href=\"https:\/\/www.apache.org\/\" target=\"_blank\" rel=\"noopener\">\u00a0Apache Software Foundation<\/a>.<\/li>\n<li><strong>MariaDB\u00a0(M)<\/strong>: Ch\u1eef M l\u00e0 MariaDB l\u00e0 ph\u1ea7n m\u1ec1m m\u00e3 ngu\u1ed3n m\u1edf \u0111\u01b0\u1ee3c t\u00e1ch ra m\u1ed9t nh\u00e1nh do c\u1ed9ng \u0111\u1ed3ng ph\u00e1t tri\u1ec3n c\u1ee7a\u00a0h\u1ec7 qu\u1ea3n tr\u1ecb c\u01a1 s\u1edf d\u1eef li\u1ec7u MySQL.<\/li>\n<li><strong>PHP<\/strong>\u00a0(P): L\u00e0\u00a0ng\u00f4n ng\u1eef l\u1eadp tr\u00ecnh\u00a0ph\u00eda m\u00e1y ch\u1ee7, cho ph\u00e9p ng\u01b0\u1eddi d\u00f9ng s\u1eed d\u1ee5ng \u0111\u1ec3 t\u1ea1o ra c\u00e1c trang web v\u00e0 c\u00e1c \u1ee9ng d\u1ee5ng \u0111\u1ed9ng. PHP h\u1ed7 tr\u1ee3 m\u1ed9t s\u1ed1 h\u1ec7 th\u1ed1ng c\u01a1 s\u1edf d\u1eef li\u1ec7u \u0111a d\u1ea1ng.<\/li>\n<li><strong>Perl<\/strong> (P): \u0110\u01b0\u1ee3c s\u1eed d\u1ee5ng trong qu\u1ea3n tr\u1ecb h\u1ec7 th\u1ed1ng, l\u1eadp tr\u00ecnh m\u1ea1ng hay x\u00e2y d\u1ef1ng web v\u00e0 c\u00e1c d\u1ee9ng d\u1ee5ng ho\u1ea1t \u0111\u1ed9ng gi\u1ed1ng v\u1edbi ng\u00f4n ng\u1eef PHP.<\/li>\n<\/ul>\n<div id=\"attachment_9985\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9985\" class=\"wp-image-9985\" title=\"Xampp l\u00e0 g\u00ec? H\u01b0\u1edbng d\u1eabn c\u00e1ch c\u00e0i \u0111\u1eb7t xampp v\u00e0 s\u1eed d\u1ee5ng tr\u00ean Linux v\u00e0 Winodws n\u0103m 2022\" src=\"https:\/\/www.hostify.vn\/blog\/wp-content\/uploads\/2022\/04\/xampp-la-gi-huong-dan-cach-cai-dat-xampp.jpg\" alt=\"Xampp l\u00e0 g\u00ec? H\u01b0\u1edbng d\u1eabn c\u00e1ch c\u00e0i \u0111\u1eb7t xampp v\u00e0 s\u1eed d\u1ee5ng tr\u00ean Linux v\u00e0 Winodws n\u0103m 2022\" width=\"800\" height=\"419\" srcset=\"https:\/\/www.hostify.vn\/blog\/wp-content\/uploads\/2022\/04\/xampp-la-gi-huong-dan-cach-cai-dat-xampp.jpg 1200w, https:\/\/www.hostify.vn\/blog\/wp-content\/uploads\/2022\/04\/xampp-la-gi-huong-dan-cach-cai-dat-xampp-300x157.jpg 300w, https:\/\/www.hostify.vn\/blog\/wp-content\/uploads\/2022\/04\/xampp-la-gi-huong-dan-cach-cai-dat-xampp-1024x536.jpg 1024w, https:\/\/www.hostify.vn\/blog\/wp-content\/uploads\/2022\/04\/xampp-la-gi-huong-dan-cach-cai-dat-xampp-768x402.jpg 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><p id=\"caption-attachment-9985\" class=\"wp-caption-text\">H\u01b0\u1edbng d\u1eabn c\u00e1ch c\u00e0i \u0111\u1eb7t xampp v\u00e0 s\u1eed d\u1ee5ng tr\u00ean Linux v\u00e0 Winodws n\u0103m 2022<\/p><\/div>\n\u0110\u1ed1i v\u1edbi ng\u01b0\u1eddi l\u00e0m l\u1eadp tr\u00ecnh web ch\u1eafc ch\u1eafn kh\u00f4ng c\u00f2n xa l\u1ea1 v\u1edbi XAMPP. B\u1edfi \u0111\u00e2y l\u00e0 ch\u01b0\u01a1ng tr\u00ecnh t\u1ea1o m\u00e1y ch\u1ee7 web tr\u00ean m\u00e1y t\u00ednh c\u00e1 nh\u00e2n r\u1ea5t th\u00f4ng d\u1ee5ng v\u00e0 \u0111\u01b0\u1ee3c t\u00edch h\u1ee3p nhi\u1ec1u c\u00f4ng c\u1ee5 h\u1eefu \u00edch.<\/div>\n<div class=\"domain-content\">\n<h2><b>Th\u00f4ng tin v\u1ec1 XAMPP<\/b><\/h2>\n\u0110i\u1ec3m n\u1ed5i b\u1eadt nh\u1ea5t c\u1ee7a XAMPP l\u00e0 ho\u00e0n to\u00e0n mi\u1ec5n ph\u00ed v\u00e0 \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng m\u00e3 ngu\u1ed3n m\u1edf. Ngo\u00e0i ra, c\u1ea5u h\u00ecnh c\u1ee7a web server t\u01b0\u01a1ng \u0111\u1ed1i g\u1ecdn nh\u1eb9, \u0111\u01a1n gi\u1ea3n n\u00ean ch\u00fang ng\u00e0y c\u00e0ng \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng ph\u1ed5 bi\u1ebfn. XAMPP c\u00f3 giao di\u1ec7n qu\u1ea3n l\u00fd ti\u1ec7n l\u1ee3i, d\u1ec5 d\u00e0ng s\u1eed d\u1ee5ng, cho ph\u00e9p ng\u01b0\u1eddi d\u00f9ng ch\u1ee7 \u0111\u1ed9ng b\u1eadt, t\u1eaft hay t\u00e1i kh\u1edfi \u0111\u1ed9ng c\u00e1c d\u1ecbch v\u1ee5 m\u00e1y ch\u1ee7 theo nhu c\u1ea7u s\u1eed d\u1ee5ng.<\/div>\n<div class=\"domain-content\"><strong>C\u00e1c th\u00f4ng tin c\u01a1 b\u1ea3n kh\u00e1c:<\/strong>\n<ul>\n<li>Nh\u00e0 ph\u00e2n ph\u1ed1i: thu\u1ed9c b\u1ea3n quy\u1ec1n c\u1ee7a GNU General Public Licence v\u00e0 do Apache Friends ph\u00e1t tri\u1ec3n, ph\u00e2n ph\u1ed1i.<\/li>\n<li>Ng\u00f4n ng\u1eef l\u1eadp tr\u00ecnh: t\u00edch h\u1ee3p nhi\u1ec1u ng\u00f4n ng\u1eef l\u1eadp tr\u00ecnh.<\/li>\n<li>H\u1ec7 \u0111i\u1ec1u h\u00e0nh: \u0111\u01b0\u1ee3c \u1ee9ng d\u1ee5ng tr\u00ean 5 h\u1ec7 \u0111i\u1ec1u h\u00e0nh: Windows, Linux, MacOS,<\/li>\n<li>C\u00e1c phi\u00ean b\u1ea3n: XAMPP li\u00ean t\u1ee5c \u0111\u01b0\u1ee3c n\u00e2ng c\u1ea5p v\u00e0 ph\u00e1t tri\u1ec3n.<\/li>\n<\/ul>\n<h2><b>H\u01b0\u1edbng d\u1eabn c\u00e0i \u0111\u1eb7t XAMPP<\/b><\/h2>\n<h3>1. C\u00e1ch c\u00e0i \u0111\u1eb7t XAMPP tr\u00ean Windows<\/h3>\n<ul>\n<li><strong>B\u01b0\u1edbc 1<\/strong>: Download ph\u1ea7n m\u1ec1m t\u1ea1i trang ch\u1ee7 c\u1ee7a XAMPP\u00a0<a href=\"https:\/\/www.apachefriends.org\/download.html\" target=\"_blank\" rel=\"noopener\">https:\/\/www.apachefriends.org\/download.html<\/a><\/li>\n<li><strong>B\u01b0\u1edbc 2:<\/strong> Trong file v\u1eeba t\u1ea3i xu\u1ed1ng, click chu\u1ed9t ch\u1ecdn t\u1ec7p tin c\u00f3 \u0111u\u00f4i .exe.<\/li>\n<li><strong>B\u01b0\u1edbc 3:<\/strong> Trong c\u1eeda s\u1ed5 \u201cSet up\u201d, ch\u1ecdn c\u00e1c ph\u1ea7n m\u1ec1m mu\u1ed1n c\u00e0i \u0111\u1eb7t. N\u1ebfu mu\u1ed1n c\u00e0i WordPress tr\u00ean XAMPP, b\u1ea1n b\u1eaft bu\u1ed9c ph\u1ea3i ch\u1ecdn 3 ph\u1ea7n m\u1ec1m l\u00e0 MySQL, Apache, PHPMyAdmin. Sau \u0111\u00f3, nh\u1ea5n Next.<\/li>\n<\/ul>\n<\/div>\n<div class=\"domain-content\">\n<div id=\"attachment_9980\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9980\" class=\"wp-image-9980 size-full\" title=\"Nh\u1ea5n next \u0111\u1ec3 c\u00e1i \u0111\u1eb7t XAMPP\" src=\"https:\/\/www.hostify.vn\/blog\/wp-content\/uploads\/2022\/04\/xampp-la-gi-huong-dan-cach-cai-dat-xampp_01.jpg\" alt=\"Xampp l\u00e0 g\u00ec?\" width=\"800\" height=\"500\" srcset=\"https:\/\/www.hostify.vn\/blog\/wp-content\/uploads\/2022\/04\/xampp-la-gi-huong-dan-cach-cai-dat-xampp_01.jpg 800w, https:\/\/www.hostify.vn\/blog\/wp-content\/uploads\/2022\/04\/xampp-la-gi-huong-dan-cach-cai-dat-xampp_01-300x188.jpg 300w, https:\/\/www.hostify.vn\/blog\/wp-content\/uploads\/2022\/04\/xampp-la-gi-huong-dan-cach-cai-dat-xampp_01-768x480.jpg 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><p id=\"caption-attachment-9980\" class=\"wp-caption-text\">Nh\u1ea5n next \u0111\u1ec3 c\u00e0i \u0111\u1eb7t XAMPP<\/p><\/div>\n<\/div>\n<div class=\"domain-content\">\n<div id=\"attachment_9981\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9981\" class=\"wp-image-9981 size-full\" title=\"B\u1eaft bu\u1ed9c ph\u1ea3i ch\u1ecdn 3 ph\u1ea7n m\u1ec1m l\u00e0 MySQL, Apache, PHPMyAdmin\" src=\"https:\/\/www.hostify.vn\/blog\/wp-content\/uploads\/2022\/04\/xampp-la-gi-huong-dan-cach-cai-dat-xampp_02.jpg\" alt=\"Xampp l\u00e0 g\u00ec?\" width=\"800\" height=\"500\" srcset=\"https:\/\/www.hostify.vn\/blog\/wp-content\/uploads\/2022\/04\/xampp-la-gi-huong-dan-cach-cai-dat-xampp_02.jpg 800w, https:\/\/www.hostify.vn\/blog\/wp-content\/uploads\/2022\/04\/xampp-la-gi-huong-dan-cach-cai-dat-xampp_02-300x188.jpg 300w, https:\/\/www.hostify.vn\/blog\/wp-content\/uploads\/2022\/04\/xampp-la-gi-huong-dan-cach-cai-dat-xampp_02-768x480.jpg 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><p id=\"caption-attachment-9981\" class=\"wp-caption-text\">B\u1eaft bu\u1ed9c ph\u1ea3i ch\u1ecdn 3 ph\u1ea7n m\u1ec1m l\u00e0 MySQL, Apache, PHPMyAdmin<\/p><\/div>\n\u00a0\n<ul>\n<li><strong>B\u01b0\u1edbc 4:<\/strong> Ch\u1ecdn th\u01b0 m\u1ee5c \u0111\u1ec3 c\u00e0i \u0111\u1eb7t r\u1ed3i click Next.<\/li>\n<\/ul>\n\u00a0\n<div id=\"attachment_9982\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9982\" class=\"wp-image-9982 size-full\" title=\"Ch\u1ecdn th\u01b0 m\u1ee5c \u0111\u1ec3 c\u00e0i \u0111\u1eb7t r\u1ed3i click Next.\" src=\"https:\/\/www.hostify.vn\/blog\/wp-content\/uploads\/2022\/04\/xampp-la-gi-huong-dan-cach-cai-dat-xampp_03.jpg\" alt=\"Xampp l\u00e0 g\u00ec?\" width=\"800\" height=\"500\" srcset=\"https:\/\/www.hostify.vn\/blog\/wp-content\/uploads\/2022\/04\/xampp-la-gi-huong-dan-cach-cai-dat-xampp_03.jpg 800w, https:\/\/www.hostify.vn\/blog\/wp-content\/uploads\/2022\/04\/xampp-la-gi-huong-dan-cach-cai-dat-xampp_03-300x188.jpg 300w, https:\/\/www.hostify.vn\/blog\/wp-content\/uploads\/2022\/04\/xampp-la-gi-huong-dan-cach-cai-dat-xampp_03-768x480.jpg 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><p id=\"caption-attachment-9982\" class=\"wp-caption-text\">Ch\u1ecdn th\u01b0 m\u1ee5c \u0111\u1ec3 c\u00e0i \u0111\u1eb7t r\u1ed3i click Next.<\/p><\/div>\n<div id=\"attachment_9983\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9983\" class=\"wp-image-9983 size-full\" title=\"Thi\u1ebft l\u1eadp ng\u00f4n ng\u1eef\" src=\"https:\/\/www.hostify.vn\/blog\/wp-content\/uploads\/2022\/04\/xampp-la-gi-huong-dan-cach-cai-dat-xampp_04.jpg\" alt=\"Xampp l\u00e0 g\u00ec?\" width=\"800\" height=\"500\" srcset=\"https:\/\/www.hostify.vn\/blog\/wp-content\/uploads\/2022\/04\/xampp-la-gi-huong-dan-cach-cai-dat-xampp_04.jpg 800w, https:\/\/www.hostify.vn\/blog\/wp-content\/uploads\/2022\/04\/xampp-la-gi-huong-dan-cach-cai-dat-xampp_04-300x188.jpg 300w, https:\/\/www.hostify.vn\/blog\/wp-content\/uploads\/2022\/04\/xampp-la-gi-huong-dan-cach-cai-dat-xampp_04-768x480.jpg 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><p id=\"caption-attachment-9983\" class=\"wp-caption-text\">Thi\u1ebft l\u1eadp ng\u00f4n ng\u1eef<\/p><\/div>\n<ul>\n<li><strong>B\u01b0\u1edbc 5:<\/strong> Nh\u1ea5n Finish \u0111\u1ec3 k\u1ebft th\u00fac.<\/li>\n<\/ul>\n<div id=\"attachment_9984\" style=\"width: 810px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9984\" class=\"wp-image-9984 size-full\" title=\"Nh\u1ea5n finish \u0111\u1ec3 k\u1ebft th\u00fac\" src=\"https:\/\/www.hostify.vn\/blog\/wp-content\/uploads\/2022\/04\/xampp-la-gi-huong-dan-cach-cai-dat-xampp_05.jpg\" alt=\"Xampp l\u00e0 g\u00ec?\" width=\"800\" height=\"500\" srcset=\"https:\/\/www.hostify.vn\/blog\/wp-content\/uploads\/2022\/04\/xampp-la-gi-huong-dan-cach-cai-dat-xampp_05.jpg 800w, https:\/\/www.hostify.vn\/blog\/wp-content\/uploads\/2022\/04\/xampp-la-gi-huong-dan-cach-cai-dat-xampp_05-300x188.jpg 300w, https:\/\/www.hostify.vn\/blog\/wp-content\/uploads\/2022\/04\/xampp-la-gi-huong-dan-cach-cai-dat-xampp_05-768x480.jpg 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><p id=\"caption-attachment-9984\" class=\"wp-caption-text\">Nh\u1ea5n finish \u0111\u1ec3 k\u1ebft th\u00fac<\/p><\/div>\n<h3>2. C\u00e1ch c\u00e0i \u0111\u1eb7t XAMPP tr\u00ean Linux<\/h3>\n<ul>\n<li><strong>B\u01b0\u1edbc 1<\/strong>: Download XAMPP d\u00f9ng cho h\u1ec7 \u0111i\u1ec1u h\u00e0nh Linux. Link download nh\u01b0 tr\u00ean.<\/li>\n<li><strong>B\u01b0\u1edbc 2<\/strong>: Trong file c\u00e0i \u0111\u1eb7t, ch\u1ecdn t\u1ec7p tin xampp-linux-x64-7.2.8-0-installer.run<\/li>\n<\/ul>\n\u0110\u1ea7u ti\u00ean, b\u1ea1n s\u1eed d\u1ee5ng c\u00fa ph\u00e1p sau \u0111\u1ec3 th\u00eam quy\u1ec1n th\u1ef1c thi cho file c\u00e0i \u0111\u1eb7t: <em>cd <strong>thu_muc_chua_file_cai_dat<\/strong>\/<\/em> <i>sudo chmod +x xampp-linux-x64-7.2.8-0-installer.run<\/i><\/div>\n<div class=\"domain-content\">Sau \u0111\u00f3, ch\u1ecdn c\u00e0i \u0111\u1eb7t v\u1edbi quy\u1ec1n sudo.<\/div>\n<div class=\"domain-content\">C\u00fa ph\u00e1p c\u00e2u l\u1ec7nh: <i>sudo .\/xampp-linux-x64-7.2.8-0-installer.run<\/i><\/div>\n<div class=\"domain-content\">Nh\u1ea5n Next \u0111\u1ec3 ti\u1ebfn h\u00e0nh c\u00e0i \u0111\u1eb7t.\n<ul>\n<li><strong>B\u01b0\u1edbc 3:<\/strong> T\u1ea1i c\u1eeda s\u1ed5 \u201cSet up\u201d, click ch\u1ecdn Next t\u1ea1i t\u1ea5t c\u1ea3 c\u00e1c c\u1eeda s\u1ed5 hi\u1ec7n ra.<\/li>\n<li><strong>B\u01b0\u1edbc 4:<\/strong> Nh\u1ea5n Finish \u0111\u1ec3 k\u1ebft th\u00fac.<\/li>\n<\/ul>\n<\/div>\n<h2><b>H\u01b0\u1edbng d\u1eabn s\u1eed d\u1ee5ng XAMPP<\/b><\/h2>\n<h3>1. C\u00e1ch s\u1eed d\u1ee5ng XAMPP tr\u00ean Windows<\/h3>\n<ul>\n<li>Kh\u1edfi \u0111\u1ed9ng localhost<\/li>\n<\/ul>\n<p>Khi \u0111\u00e3 c\u00e0i \u0111\u1eb7t XAMPP th\u00e0nh c\u00f4ng, b\u1ea1n truy c\u1eadp v\u00e0o th\u01b0 m\u1ee5c c:\\xampp, m\u1edf file xampp-panel.exe \u0111\u1ec3 b\u1ea3ng \u0111i\u1ec1u khi\u1ec3n hi\u1ec3n th\u1ecb.<\/p>\n<p>Nh\u1ea5p v\u00e0o n\u00fat Start c\u1ee7a \u1ee9ng d\u1ee5ng Apache v\u00e0 MySQL \u0111\u1ec3 b\u1eaft \u0111\u1ea7u kh\u1edfi \u0111\u1ed9ng web server.<\/p>\n<p>Khi 2 \u1ee9ng d\u1ee5ng chuy\u1ec3n sang m\u00e0u xanh th\u00ec localhost \u0111\u00e3 \u0111\u01b0\u1ee3c kh\u1edfi \u0111\u1ed9ng.<\/p>\n<p>&#8211; Thao t\u00e1c tr\u00ean Localhost<\/p>\n<p>&#8211; C\u01a1 ch\u1ebf ph\u00e2n th\u01b0 m\u1ee5c<\/p>\n<p>&#8211; M\u1edf th\u01b0 m\u1ee5c C:\\xampp\\htdocs, sau \u0111\u00f3 t\u1ea1o m\u1ed9t th\u01b0 m\u1ee5c \u0111\u1ec3 ch\u1ee9a website.<\/p>\n<p>&#8211; \u0110\u1eb7t t\u00ean cho th\u01b0 m\u1ee5c, v\u00ed d\u1ee5 l\u00e0 hophuong.<\/p>\n<p>&#8211; Truy c\u1eadp v\u00e0o C:\\xampp\\htdocs\\hophuong \u0111\u1ec3 ch\u1ea1y ch\u01b0\u01a1ng tr\u00ecnh.<\/p>\n<p>&#8211; Trong tr\u01b0\u1eddng h\u1ee3p, b\u1ea1n sao ch\u00e9p b\u1ea5t k\u1ef3 t\u1eadp tin n\u00e0o v\u00e0o C:\\xampp\\htdocs\\hophuong, th\u00ec t\u1ec7p \u0111\u00f3 c\u0169ng xu\u1ea5t hi\u1ec7n trong https:\/\/localhost\/hophuong.<\/p>\n<p>\u0110i\u1ec1u n\u00e0y c\u00f3 ngh\u0129a https:\/\/localhosthophuong l\u00e0 th\u01b0 m\u1ee5c g\u1ed1c c\u1ee7a C:\\xampp\\htdocs\\hophuong.<\/p>\n<p>&#8211; C\u00f2n khi click v\u00e0o file \u1ea3nh b\u1ea5t k\u1ef3 trong th\u01b0 m\u1ee5c, th\u00ec \u0111\u01b0\u1eddng d\u1eabn c\u1ee7a \u1ea3nh \u0111\u01b0\u1ee3c hi\u1ec3n th\u1ecb l\u00e0 http:\/\/localhost\/hophuong\/t\u00ean-t\u1eadp-tin.<\/p>\n<p>N\u00f3i t\u00f3m l\u1ea1i, c\u01a1 ch\u1ebf ph\u00e2n chia c\u1ee7a t\u1ea5t c\u1ea3 c\u00e1c \u0111\u01b0\u1eddng d\u1eabn tr\u00ean website s\u1ebd \u0111\u01b0\u1ee3c c\u0103n c\u1ee9 d\u1ef1a v\u00e0o c\u1ea5u tr\u00fac th\u01b0 m\u1ee5c c\u00f9ng v\u1edbi c\u00e1c file ch\u1ee9a trong \u0111\u00f3.<\/p>\n<ul>\n<li>T\u1ea1o c\u01a1 s\u1edf d\u1eef li\u1ec7u mySQL<\/li>\n<\/ul>\n<p><em><strong>B\u01b0\u1edbc 1:<\/strong><\/em> Truy c\u1eadp\u00a0<a href=\"http:\/\/localhost\/phpmyadmin\" target=\"_blank\" rel=\"noopener\">http:\/\/localhost\/phpmyadmin<\/a>, nh\u1ea5p chu\u1ed9t ch\u1ecdn m\u1ee5c Databases.<\/p>\n<p><em><strong>B\u01b0\u1edbc 2:<\/strong><\/em> T\u1ea1i ph\u1ea7n \u201cCreate database\u201d, b\u1ea1n nh\u1eadp t\u00ean \u201cdatabase\u201d mu\u1ed1n t\u1ea1o v\u00e0o \u00f4 \u201cDatabase name\u201d. Ti\u1ebfp \u0111\u1ebfn, ch\u1ecdn \u201cutf8_unicode_ci\u201d trong ph\u1ea7n \u201cCollation\u201d, sau c\u00f9ng nh\u1ea5p n\u00fat \u201cCreate\u201d.<\/p>\n<p><em><strong>B\u01b0\u1edbc 3:<\/strong><\/em> T\u1ea1i ph\u1ea7n menu b\u00ean tr\u00e1i, n\u1ebfu th\u1ea5y xu\u1ea5t hi\u1ec7n t\u00ean database v\u1eeba t\u1ea1o, c\u00f3 ngh\u0129a \u0111\u00e3 ho\u00e0n t\u1ea5t qu\u00e1 tr\u00ecnh t\u1ea1o c\u01a1 s\u1edf d\u1eef li\u1ec7u MySQL.<\/p>\n<h3>2. C\u00e1ch s\u1eed d\u1ee5ng XAMPP cho Linux<\/h3>\n<p>S\u1eed d\u1ee5ng c\u00e2u l\u1ec7nh sau \u0111\u1ec3 kh\u1edfi \u0111\u1ed9ng ph\u1ea7n m\u1ec1m XAMPP b\u1eb1ng command line: <i>sudo \/opt\/lampp\/lampp start<\/i><\/p>\n<p>Ti\u1ebfp \u0111\u1ebfn, \u0111\u1ec3 kh\u1edfi ch\u1ea1y tr\u00ecnh qu\u1ea3n l\u00fd th\u00ec d\u00f9ng l\u1ec7nh: <i>sudo \/opt\/lampp\/manager-linux-x64.run<\/i> \u00a0<\/p>\n<p>&nbsp;<\/p>\n<p>&#8212;&gt; Xem th\u00eam: \u00a0<a href=\"https:\/\/hostify.vn\/blog\/mysql-la-gi-kien-thuc-cho-nguoi-moi-bat-dau\/\" target=\"_blank\" rel=\"noopener\">MySQL l\u00e0 g\u00ec? Chi ti\u1ebft ki\u1ebfn th\u1ee9c MySQL cho ng\u01b0\u1eddi m\u1edbi b\u1eaft \u0111\u1ea7u 2022<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Xampp l\u00e0 g\u00ec? XAMPP l\u00e0 m\u1ed9t ph\u1ea7n m\u1ec1m cho ph\u00e9p\u00a0gi\u1ea3 l\u1eadp\u00a0m\u00f4i tr\u01b0\u1eddng server hosting ngay tr\u00ean m\u00e1y t\u00ednh c\u1ee7a b\u1ea1n, cho ph\u00e9p b\u1ea1n\u00a0ch\u1ea1y demo website\u00a0m\u00e0\u00a0kh\u00f4ng c\u1ea7n ph\u1ea3i mua Hosting hay\u00a0VPS. Ch\u00ednh v\u00ec v\u1eady, XAMPP th\u01b0\u1eddng \u0111\u01b0\u1ee3c ph\u1ee5c v\u1ee5 cho ho\u1ea1t \u0111\u1ed9ng h\u1ecdc t\u1eadp, gi\u1ea3ng d\u1ea1y, th\u1ef1c h\u00e0nh v\u00e0 ph\u00e1t tri\u1ec3n web. XAMPP l\u00e0 ph\u1ea7n m\u1ec1m&#8230;<\/p>\n","protected":false},"author":1,"featured_media":9985,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[390,391,392,393],"class_list":["post-8451","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-chuyen-muc-khac","tag-cach-cai-dat-xampp","tag-cach-cai-dat-xampp-va-su-dung-tren-linux-va-winodws","tag-su-dung-xampp-tren-linux-va-winodws","tag-xampp-la-gi"],"_links":{"self":[{"href":"https:\/\/www.hostify.vn\/blog\/wp-json\/wp\/v2\/posts\/8451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostify.vn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostify.vn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostify.vn\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostify.vn\/blog\/wp-json\/wp\/v2\/comments?post=8451"}],"version-history":[{"count":0,"href":"https:\/\/www.hostify.vn\/blog\/wp-json\/wp\/v2\/posts\/8451\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostify.vn\/blog\/wp-json\/wp\/v2\/media\/9985"}],"wp:attachment":[{"href":"https:\/\/www.hostify.vn\/blog\/wp-json\/wp\/v2\/media?parent=8451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostify.vn\/blog\/wp-json\/wp\/v2\/categories?post=8451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostify.vn\/blog\/wp-json\/wp\/v2\/tags?post=8451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}