Bước 1: Download
Download link: http://www.apachefriends.org/en/xampp-linux.html#374
Bước 2: Cài đặt
- Mở Linux shell và đăng nhập bằng tài khoản root
Code: Select all
su
Code: Select all
tar xvfz xampp-linux-1.5.3a.tar.gz -C /opt
Code: Select all
/opt/lampp/lampp start
Mở trình duyệt và gõ: http://localhost
![Image](http://static.apachefriends.org/images/380.jpg)
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ới http://localhost/xampp. Để thay đổi mặc định ban đầu này: Vào thư mục xampp/htdocs thay đổi / đổi tên / 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
Code: Select all
Alias /Joomla/ "/www/Joomla/"
<Directory "/www/Joomla/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
Allow from all
</Directory>
Code: Select all
/opt/lampp/lampp security
Xem guide sau: http://www.apachefriends.org/en/faq-xam ... x.html#fsl