Cài đặt Web Server XAMPP trên Linux
Số trang: 5
Loại file: doc
Dung lượng: 119.00 KB
Lượt xem: 9
Lượt tải: 0
Xem trước 2 trang đầu tiên của tài liệu này:
Thông tin tài liệu:
Thông thường khi cài đặt Server với một hệ điều hành họ Linux (VD: CentOS, Fedora, SuSE,Redhat Linux, Ubuntu...) chúng ta có thể chọn cài đặt phần mềm Apache (dùng làm Web Server)và MySQL (dùng làm hệ quản trị CSDL) trong gói phần mềm kèm theo. Tuy nhiên rất có thể bạnđã quên hoặc không thích cài chúng hoặc cảm thấy khó khăn khi cấu hình để chúng làm việc vớinhau và chạy được PHP, bạn có thể chọn một giải pháp khác...
Nội dung trích xuất từ tài liệu:
Cài đặt Web Server XAMPP trên Linux Cài đặt Web Server XAMPP trên Linux Thursday, 24 May 2007 13:56 Thông thường khi cài đặt Server với một hệ điều hành họ Linux (VD: CentOS, Fedora, SuSE,Redhat Linux, Ubuntu...) chúng ta có thể chọn cài đặt phần mềm Apache (dùng làm Web Server)và MySQL (dùng làm hệ quản trị CSDL) trong gói phần mềm kèm theo. Tuy nhiên rất có thể bạnđã quên hoặc không thích cài chúng hoặc cảm thấy khó khăn khi cấu hình để chúng làm việc với nhau và chạy được PHP, bạn có thể chọn một giải pháp khác: Cài đặt gói phần mềm XAMPP (gồm Apache + MySQL + PHP + PHPMyAdmin). Các bước tiến hành như sau: Bước 1: Download Download link: http://www.apachefriends.org/ Bước 2: Cài đặt - Mở Linux shell và đăng nhập bằng tài khoản root su - Giải nén file cài đặt vào thư mục /opt tar xvfz xampp-linux-1.5.3a.tar.gz -C /opt Bước 3: Khởi động XAMPP /opt/lampp/lampp start Bước 4: Kiểm tra Mở trình duyệt và gõ: http://localhost Các chú ý khác [1]. Sau khi cài đặt XAMPP khi gõ http://localhost trình duyệt sẽ tự động chuyển hướng tớihttp://localhost/xampp. Để thay đổi mặc định ban đầu này: Vào thư mục xampp/htdocs thay đổi (hoặc đổi tên hoặc xóa) file index.php cho phù hợp với mục đích của mình. [2]. Để tạo site dạng http://localhost/Joomla cần thêm đoạn code sau vào file xampp/apache/conf/httpd.conf Alias /Joomla/ /www/Joomla/ Options Indexes FollowSymLinks MultiViews AllowOverride all Order allow,deny Allow from all Trong đó /www/Joomla/ là đường dẫn tới thư mục Joomla của bạn [3]. Để tăng cường bảo mật mở Linux Shell và chay dòng lệnh sau: /opt/lampp/lampp security [4]. Để XAMPP tự chạy sau khi Reboot (giống như một service trong Windows chạy ở chế độ Automatic). Xem hướng dẫn sau: http://www.apachefriends.org/en/faq-xampp-linux.html#fsl1. Install and upgrade XAMPP How to upgrade XAMPP? An error occurred during the upgrade! What now?2. Starting XAMPP Whats the meaning of the messages while starting XAMPP? I got the error /lib/libc.so.6: version `GLIBC_2.2 not found. What now? Whats the secret about Error 1? Apache doesnt seems to start. What can I do? What do I do if the error message is Invalid argument: Could not set permissions on ssl_mutex? What do I do if the error message is Invalid argument: Unable to create scoreboard? What do I do if the error message is »Invalid argument: Configuration failed«? What do I do if the error message is »The configuration file now needs a secret passphrase(blowfish_secret)« shows up? What do I do if the error message is »cannot restore segment prot after reloc: Permission denied«?3. Running XAMPP After I rebooted my Linux box XAMPP stopped running! How can I fix this? How can I make my XAMPP installation more secure? How do I activate eAccelerator? How do I activate the OCI8/Oracle extension for PHP? XAMPP runs, but none of the images are shown? How do I backup/restore my XAMPP system?4. Stopping XAMPP5. Deinstall XAMPP6. XAMPPs future How to upgrade XAMPP?Ifanupgradeexists,youshoulduseit:a)itsmuchsmallerthanthefullXAMPPpackageandb)yourconfigurationandHTMLfileswontbeoverwritten. Step 1: DownloadOkay,thefirststepisveryobvious.PleasedownloadtheupgradepackagesfromtheXAMPPsectionofourwebsite.PleasetakenotethatonlymatchingupgradepackagescanupgradeyourXAMPPversion. If you donwloaded a wrong version you will get an error message if you try to upgrade. Step 2: Extracting the archiveNowextractthedownloadedpackage: tar xvfz xampp-linux-upgrade-x.x.x-y.y.y.tar.gzBytheway:Itdoesntmatterwhereinthefilesystemyouextractthepacket.JustmakesureitsonthesamemachineasyourXAMPPinstallation. Step 3: Start upgradeAfterunpackingthearchiveyoucanstarttheupgradeprocess.First,getrootaccesstoyoursystem,forexamplebyusingthesucommand: suAndnowstarttheupgradeprocess: xampp-upgrade/startNowyoushouldseesomethinglikethisonyourscreen: Stopping X ...
Nội dung trích xuất từ tài liệu:
Cài đặt Web Server XAMPP trên Linux Cài đặt Web Server XAMPP trên Linux Thursday, 24 May 2007 13:56 Thông thường khi cài đặt Server với một hệ điều hành họ Linux (VD: CentOS, Fedora, SuSE,Redhat Linux, Ubuntu...) chúng ta có thể chọn cài đặt phần mềm Apache (dùng làm Web Server)và MySQL (dùng làm hệ quản trị CSDL) trong gói phần mềm kèm theo. Tuy nhiên rất có thể bạnđã quên hoặc không thích cài chúng hoặc cảm thấy khó khăn khi cấu hình để chúng làm việc với nhau và chạy được PHP, bạn có thể chọn một giải pháp khác: Cài đặt gói phần mềm XAMPP (gồm Apache + MySQL + PHP + PHPMyAdmin). Các bước tiến hành như sau: Bước 1: Download Download link: http://www.apachefriends.org/ Bước 2: Cài đặt - Mở Linux shell và đăng nhập bằng tài khoản root su - Giải nén file cài đặt vào thư mục /opt tar xvfz xampp-linux-1.5.3a.tar.gz -C /opt Bước 3: Khởi động XAMPP /opt/lampp/lampp start Bước 4: Kiểm tra Mở trình duyệt và gõ: http://localhost Các chú ý khác [1]. Sau khi cài đặt XAMPP khi gõ http://localhost trình duyệt sẽ tự động chuyển hướng tớihttp://localhost/xampp. Để thay đổi mặc định ban đầu này: Vào thư mục xampp/htdocs thay đổi (hoặc đổi tên hoặc xóa) file index.php cho phù hợp với mục đích của mình. [2]. Để tạo site dạng http://localhost/Joomla cần thêm đoạn code sau vào file xampp/apache/conf/httpd.conf Alias /Joomla/ /www/Joomla/ Options Indexes FollowSymLinks MultiViews AllowOverride all Order allow,deny Allow from all Trong đó /www/Joomla/ là đường dẫn tới thư mục Joomla của bạn [3]. Để tăng cường bảo mật mở Linux Shell và chay dòng lệnh sau: /opt/lampp/lampp security [4]. Để XAMPP tự chạy sau khi Reboot (giống như một service trong Windows chạy ở chế độ Automatic). Xem hướng dẫn sau: http://www.apachefriends.org/en/faq-xampp-linux.html#fsl1. Install and upgrade XAMPP How to upgrade XAMPP? An error occurred during the upgrade! What now?2. Starting XAMPP Whats the meaning of the messages while starting XAMPP? I got the error /lib/libc.so.6: version `GLIBC_2.2 not found. What now? Whats the secret about Error 1? Apache doesnt seems to start. What can I do? What do I do if the error message is Invalid argument: Could not set permissions on ssl_mutex? What do I do if the error message is Invalid argument: Unable to create scoreboard? What do I do if the error message is »Invalid argument: Configuration failed«? What do I do if the error message is »The configuration file now needs a secret passphrase(blowfish_secret)« shows up? What do I do if the error message is »cannot restore segment prot after reloc: Permission denied«?3. Running XAMPP After I rebooted my Linux box XAMPP stopped running! How can I fix this? How can I make my XAMPP installation more secure? How do I activate eAccelerator? How do I activate the OCI8/Oracle extension for PHP? XAMPP runs, but none of the images are shown? How do I backup/restore my XAMPP system?4. Stopping XAMPP5. Deinstall XAMPP6. XAMPPs future How to upgrade XAMPP?Ifanupgradeexists,youshoulduseit:a)itsmuchsmallerthanthefullXAMPPpackageandb)yourconfigurationandHTMLfileswontbeoverwritten. Step 1: DownloadOkay,thefirststepisveryobvious.PleasedownloadtheupgradepackagesfromtheXAMPPsectionofourwebsite.PleasetakenotethatonlymatchingupgradepackagescanupgradeyourXAMPPversion. If you donwloaded a wrong version you will get an error message if you try to upgrade. Step 2: Extracting the archiveNowextractthedownloadedpackage: tar xvfz xampp-linux-upgrade-x.x.x-y.y.y.tar.gzBytheway:Itdoesntmatterwhereinthefilesystemyouextractthepacket.JustmakesureitsonthesamemachineasyourXAMPPinstallation. Step 3: Start upgradeAfterunpackingthearchiveyoucanstarttheupgradeprocess.First,getrootaccesstoyoursystem,forexamplebyusingthesucommand: suAndnowstarttheupgradeprocess: xampp-upgrade/startNowyoushouldseesomethinglikethisonyourscreen: Stopping X ...
Tìm kiếm theo từ khóa liên quan:
thủ thuật máy tính công nghệ thông tin tin học quản trị mạng computer networkGợi ý tài liệu liên quan:
-
52 trang 430 1 0
-
24 trang 355 1 0
-
Top 10 mẹo 'đơn giản nhưng hữu ích' trong nhiếp ảnh
11 trang 314 0 0 -
Làm việc với Read Only Domain Controllers
20 trang 303 0 0 -
74 trang 300 0 0
-
96 trang 293 0 0
-
Báo cáo thực tập thực tế: Nghiên cứu và xây dựng website bằng Wordpress
24 trang 289 0 0 -
Đồ án tốt nghiệp: Xây dựng ứng dụng di động android quản lý khách hàng cắt tóc
81 trang 281 0 0 -
EBay - Internet và câu chuyện thần kỳ: Phần 1
143 trang 275 0 0 -
Tài liệu dạy học môn Tin học trong chương trình đào tạo trình độ cao đẳng
348 trang 269 1 0