我正在通過'wget'
命令在ubuntu上下載xampp服務器。 我只想下載,如果它沒有安裝在Ubuntu上。 如何檢查xampp是否已安裝?如何檢查包是否已安裝在Ubuntu?
dpkg -s xampp , I think this is not the right way.
您能否讓我知道。
我正在通過'wget'
命令在ubuntu上下載xampp服務器。 我只想下載,如果它沒有安裝在Ubuntu上。 如何檢查xampp是否已安裝?如何檢查包是否已安裝在Ubuntu?
dpkg -s xampp , I think this is not the right way.
您能否讓我知道。
[email protected]:~# dpkg -l xampp
dpkg-query: no packages found matching xampp
[email protected]:~#
不,這不起作用。試用xampp&lampp。是否有不同的字符串來檢查它? – Jackie
如果你想查找包,那麼你可以使用commad root @ ubuntu:〜#locate xampp – aayushkamboj
它只是定位文件的位置。它不會從安裝的路徑中獲取。 – Jackie
我真誠地不同意Xampp比LAMP更有優勢,如果你在使用Ubuntu。請嘗試安裝這些:
sudo apt-get install apache2
sudo apt-get install mysql-server
sudo apt-get install php5 libapache2-mod-php5
你去那裏。沒有xampp的完整燈組。
請知道我只是引述這個網站:
謝謝你提到這個。我知道LAMP。因爲XAMP是打包並捆綁在一起的,所以我覺得安裝和使用它很容易。我不認爲如此重大的區別。 – Jackie
我可能是脫節這裏:但如果你的操作系統是Ubuntu的你不需要XAMPP。您可以本地安裝PHP Apache MYSQl ..也稱爲LAMP堆棧! –
@Jason Joslin:對,我同意。但是安裝XAMPP是有利的,因爲它是一個單獨的軟件包,可以避免安裝單獨的軟件包。 – Jackie