简体   繁体   English

在Linux Mint上安装LAMP的最佳方法是什么

[英]What is the best way to install LAMP on Linux Mint

I am running Linux Mint 17 Rebecca. 我正在运行Linux Mint 17 Rebecca。 Is there a package that installs and configures these, or do they need to be installed and configured separately? 是否有安装和配置这些软件包的软件包,还是需要单独安装和配置它们?

I am not aware of any packages (although, there might be some) that does that for you but this simple one-liner should do it for you: 我不知道有任何软件包可以为您做到这一点(尽管可能有些),但是这种简单的单线应该可以为您做到这一点:

sudo apt-get update && sudo apt-get install apache2 mysql-server-5.6 php5 libapache2-mod-php5

Be aware that it also installs other packages as well. 请注意,它也会同时安装其他软件包。 If you do not want them, you would have to compile from source && install. 如果您不希望使用它们,则必须从源&&安装进行编译。

Update 更新资料

Archlinux User Repository has one: https://aur.archlinux.org/packages/xampp/ . Archlinux用户存储库有一个: https : //aur.archlinux.org/packages/xampp/ IMHO, it has to be tweaked for Mint. 恕我直言,它必须为薄荷进行调整。

您有一个简单的选择: sudo apt-get install lamp-server^ (注意结尾^ )...但这是一个相当广泛的问题,有多个答案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM