Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 – Part 2 Cài đặt Web Server trong Windows XP với Apache2, PHP5 và MySQL4 - Phần 2
Part 2 – Install Apache 2 Phần 2 - Cài đặt Apache 2
Run the Apache Windows Installer that downloaded in Apache chạy Windows mà tải về cài đặt trong Part 1 Phần 1 . . The installation is easy, just follow the on screen instruction. Việc lắp đặt rất dễ dàng, chỉ cần làm theo các hướng dẫn trên màn hình. 
Click on “Next”. Bấm vào nút "Tiếp".

Accept the terms and click “Next”. Chấp nhận các điều khoản và nhấp vào "Tiếp".

Click “Next”. Bấm vào "Tiếp".

The fields' values are auto-detected. Các lĩnh vực "giá trị được tự động phát hiện. You may want to change it if it's not correct. Bạn có thể muốn thay đổi nó nếu nó không chính xác.

Choose Typical Installation and click “Next”. Chọn tiêu biểu cài đặt và nhấp vào "Tiếp".

The default folder for Apache installation is C:\Program Files\Apache Group\Apache2. Mặc định cho các thư mục cài đặt Apache C: \ Program Files \ Apache Group \ Apache2. You can change that to anywhere in your hard disk. Bạn có thể thay đổi mà đến bất cứ nơi nào trong đĩa cứng của bạn. Here it's change to C:\Server\Apache2 for example. Dưới đây là thay đổi C: \ Server \ Apache2 ví dụ. Then click “Next”. Sau đó bấm vào nút "Tiếp".

Installation done. Cài đặt hoàn tất.
Testing Apache Installation Kiểm tra cài đặt Apache
Try to access Hãy thử truy cập vào http://localhost/ http://localhost/ . .
A simple Apache index page in English should be shown. Đáp Apache đơn giản chỉ mục trang in Tiếng Anh nên được hiển thị. It means that the installation is succesful. Nó có nghĩa là việc cài đặt là thành công.
If there is problem, try the following the steps. Nếu có vấn đề, hãy thử làm theo các bước sau. Go to Start -> All Programs – Apache HTTP Server 2.x.xx – Control Apache Server. Đi đến Bắt đầu -> All Programs - Apache HTTP Server 2.x.xx - Kiểm soát Apache Server. Try to Stop and then Start or Restart the Apache server (The Apache tray icon may also appear in Windows System Tray, where the above controls can be accessed there). Ngừng thử và sau đó bắt đầu hoặc khởi động lại máy chủ Apache (The Apache khay biểu tượng cũng có thể xuất hiện trong Windows Khay hệ thống, nơi mà các kiểm soát trên đây có thể được truy cập có).
After installation is successful, the Apache configuration file httpd.conf should be updated if you want change the web root directory instead of default one at Apache2/htdocs . Sau khi cài đặt là thành công, các tập tin cấu hình Apache httpd.conf nên được cập nhật nếu bạn muốn thay đổi các trang web thay vì các thư mục gốc mặc định tại một trong những Apache2/htdocs. The httpd.conf located in “C:/ Installation_Path /Apache2/conf/httpd.conf”. Các httpd.conf nằm trong "C: / Installation_Path / Apache2/conf/httpd.conf". Use a text script editor to open it. Sử dụng một trình soạn thảo văn bản chữ viết để mở nó.
Search for DocumentRoot “C:/Server/Apache 2/Apache2/htdocs” . Tìm DocumentRoot "C: / Server / Apache 2/Apache2/htdocs". It should be found at line 228. Nó sẽ được tìm thấy tại dòng 228. Change it to your preferred web root folder. Thay đổi nó vào trang web ưa thích của bạn thư mục gốc. For illustration purpose, we change it to folder C:/Server/www. Mục đích để minh hoạ, chúng tôi thay đổi nó vào thư mục C: / Server / www. So the new line should looks like DocumentRoot “C:/Server/www” . Vì vậy, các dòng mới nên hình như DocumentRoot "C: / Server / www".
There is another same directory at line 253. Còn có một thư mục tương tự tại dòng 253. Copy and paste the DocumentRoot from line 228 to line 253. Sao chép và dán dòng DocumentRoot từ 228 đến đường 253.
Save the configuration file. Lưu các tập tin cấu hình. Make sure the new document root directory (ie C:/Server/www) exists. Hãy đảm bảo rằng các tài liệu mới thư mục gốc (ví dụ: C: / Server / www) tồn tại. Then restart the Apache server. Sau đó khởi động lại máy chủ Apache. Depending on the directory contents, you'll either see an index file or a list of files in the directory. Tùy thuộc vào nội dung thư mục, bạn sẽ thấy một hoặc tập tin chỉ mục hoặc một danh sách các tập tin trong thư mục.
IMPORTANT : The page is machine translated and provided "as is" without warranty. Lưu ý: Các trang web là máy tính dịch và cung cấp "như là" mà không có bảo hành. Machine translation may be difficult to understand. Máy dịch thuật có thể là khó hiểu. Please refer to Xin vui lòng tham khảo original English article Tiếng Anh bản gốc bài viết whenever possible. bất cứ khi nào có thể.
Related Articles Bài viết liên quan
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 – Part 3 Cài đặt Web Server trong Windows XP với Apache2, PHP5 và MySQL4 - Phần 3
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 – Part 1 Cài đặt Web Server trong Windows XP với Apache2, PHP5 và MySQL4 - Phần 1
- Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 – Part 4 Cài đặt Web Server trong Windows XP với Apache2, PHP5 và MySQL4 - Phần 4
- Install, Setup and Configure CGI and Perl in Windows XP Cài đặt, thiết lập và cấu hình CGI và Perl trong Windows XP
- Improve Apache Web Server Security: Use ServerTokens and ServerSignature to Disable Header Cải thiện Apache Web Server Bảo mật: Sử dụng ServerTokens và ServerSignature vào Vô hiệu hoá Tiêu đề
- Apache Status (whm-server-status) in cPanel WebHost Manager Returns Blank Page Tình trạng apache (whm--tình trạng máy chủ) trong cPanel WebHost Trưởng Returns Trống Trang
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 5 Cài đặt Web Server trong FreeBSD 6,0 với 2,2 Apache, MySQL 5.0 và PHP 5 - Phần 5
- Install phpBB 2 in Windows XP running on Apache 2, PHP 5 and MySQL 4 Cài đặt phpBB 2 trong Windows XP đang chạy trên Apache 2, PHP 5 và MySQL 4
- How to Install and Use Windows Server 2008 240 Days for Free Làm thế nào để cài đặt và sử dụng Windows Server 2008 240 ngày miễn phí
- Workaround Fix to Install Virtual PC Additions on Windows Server 2008 Core Workaround Sửa chữa cài đặt vào máy PC bổ ảo trên Windows 2008 Server Core










































November 19th, 2008 06:06 19 tháng mười một, 2008 06:06
hhola alguien me puede ayudar de como subir un cgiproxy a mi sitio web polq noc nada de eso tengo un subdominio en siteburg.com pero quisiera q me ayuden mi correo es hhola alguien me puede ayudar của subir como un cgiproxy một mi sitio web polq Nóc nada de eso tengo un subdominio vi siteburg.com pero quisiera q tôi ayuden mi correo es max11_2@hotmail.com max11_2@hotmail.com
April 20th, 2007 14:59 20 tháng tư, 2007 14:59
Which better guide you have found? Trong đó hướng dẫn bạn tốt hơn có được tìm thấy? What should be updated? Tôi phải được cập nhật?
April 20th, 2007 14:07 20 tháng tư, 2007 14:07
yourguide sux a phatty, learn to update you piece of shit. yourguide sux một phatty, tìm hiểu để cập nhật thông tin bạn piece of shit. i get nothing but a bunch of errors with this setup, and i only made it to step 3. i không có gì, nhưng một bunch sai với thiết lập này, và tôi chỉ làm cho nó vào bước 3. thanks to google, i found a much better guide. nhờ vào google, tôi tìm thấy một tài liệu hướng dẫn tốt hơn. later noob! sau Noob!
November 3rd, 2006 10:56 3 tháng mười một, 2006 10:56
[...] Once you get a web server, install a proxy on the website. [...] Sau khi bạn nhận được một máy chủ trang web, cài đặt một proxy trên trang web. There are a lot of proxy server program available, such as PHPproxy and CGIproxy that can be installed to set up a proxy server. Hiện có rất nhiều máy chủ proxy có sẵn chương trình, chẳng hạn như PHPproxy và CGIproxy rằng có thể được cài đặt để thiết lập một máy chủ proxy. You will need to install Apache and PHP or CGI on your web server too to run as proxy. Bạn sẽ cần phải cài đặt Apache và PHP hay CGI trên máy chủ web của bạn cũng như để chạy máy chủ. You may also want to setup a domain name for your proxy for easy remembrance, or you can always use the IP address to access it. Bạn cũng có thể muốn thiết lập một tên miền cho máy chủ của bạn dễ dàng cho Remembrance, hoặc bạn có thể luôn luôn sử dụng các địa chỉ IP để truy cập vào nó. If you're using home based PC as proxy server, remember that IP address may not be static, so you can use dynamic DNS service to set up a domain name which will point to your correct dynamic IP address when changed, with service such DynDNS and No-IP. Nếu bạn đang sử dụng nhà dựa trên máy tính như máy chủ proxy, hãy nhớ rằng địa chỉ IP có thể không được tĩnh, do đó, bạn có thể sử dụng dịch vụ DNS động để thiết lập một tên miền đó của bạn sẽ trỏ đến đúng địa chỉ IP động khi thay đổi, chẳng hạn với dịch vụ DynDNS và No-IP. [...] [...]
January 2nd, 2006 02:18 2 tháng một, 2006 02:18
[...] Obvioulsy, a web server needs to be running on the Windows machine. [...] Obvioulsy, một máy chủ trang web cần phải được chạy trên máy Windows. Refer to this post for instructions on how to install Apache2 in Windows. Tham khảo các bài đăng này để xem hướng dẫn về việc làm thế nào để cài đặt Apache2 trong Windows. [...] [...]