posts - 325,  comments - 25,  trackbacks - 0
          下載安裝:
          http://www.apachefriends.org/en/xampp-linux.html#374

          Step 2: Installation

          After downloading simply type in the following commands:

          1. Go to a Linux shell and login as the system administrator root:

            su

          2. Extract the downloaded archive file to /opt:

            tar xvfz xampp-linux-1.7.7.tar.gz -C /opt

            Warning: Please use only this command to install XAMPP. DON'T use any Microsoft Windows tools to extract the archive, it won't work.

            Warning 2: already installed XAMPP versions get overwritten by this command.

          That's all. XAMPP is now installed below the /opt/lampp directory.

          * Step 3: Start

          To start XAMPP simply call this command:

          /opt/lampp/lampp start

          You should now see something like this on your screen:

          Starting XAMPP 1.7.7...
          LAMPP: Starting Apache...
          LAMPP: Starting MySQL...
          LAMPP started.

          Ready. Apache and MySQL are running.

          If you get any error messages please take a look at the Linux FAQ.

          * Step 4: Test

          OK, that was easy but how can you check that everything really works? Just type in the following URL at your favourite web browser:

          http://localhost


          Access forbidden!

          解決方法: 打開httpd-xampp.conf(/opt/lampp/etc/extra/httpd-xampp.conf) # New XAMPP security concept # <LocationMatch “^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))”> Order deny,allow Deny from all Allow from ::1 127.0.0.0/8 \ fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \ 81.196.40.94/32 ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var </LocationMatch>  需要注釋Deny from all,即 #Deny from all 注:需要重啟apache[/opt/lampp/lampp restartapache] 
          posted on 2012-04-19 22:16 長春語林科技 閱讀(1087) 評論(0)  編輯  收藏 所屬分類: linux
          <2012年4月>
          25262728293031
          1234567
          891011121314
          15161718192021
          22232425262728
          293012345

           

          長春語林科技歡迎您!

          常用鏈接

          留言簿(6)

          隨筆分類

          隨筆檔案

          文章分類

          文章檔案

          相冊

          收藏夾

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 嵩明县| 盐源县| 松滋市| 和平区| 鄯善县| 庐江县| 礼泉县| 乌拉特前旗| 陕西省| 呼玛县| 搜索| 多伦县| 蒙城县| 灌阳县| 黄大仙区| 洞口县| 益阳市| 南木林县| 庆城县| 八宿县| 项城市| 都江堰市| 开封市| 雅安市| 鄱阳县| 台东市| 个旧市| 沅陵县| 通化县| 元江| 凤阳县| 黑水县| 扬中市| 娱乐| 潮州市| 新营市| 遂平县| 年辖:市辖区| 临颍县| 新河县| 桐柏县|