简体   繁体   English

在Debian Jessie上安装LAMP Stack-找不到软件包

[英]Install LAMP Stack on Debian Jessie - Packages not found

I am trying to install the LAMP stack on my debian jessie server. 我正在尝试在我的debian jessie服务器上安装LAMP堆栈。

在此处输入图片说明

I tried the following to install LAMP: 我尝试以下安装LAMP:

apt install apache2 libapache2-mod-php7.0 php7.0 php7.0-gd php7.0-opcache php7.0-json php7.0-mbstring php7.0-xml php7.0-mcrypt php7.0-cli php7.0-curl php7.0-zip php7.0-intl php7.0-soap php7.0-tidy

However, I get: 但是,我得到:

在此处输入图片说明

Any suggestions why the packages cannot be found? 为什么找不到软件包的任何建议?

I appreciate your replies! 感谢您的答复!

Search if the package exists aptitude search "libapache2-mod-php*" 搜索软件包是否存在aptitude search "libapache2-mod-php*"

Not sure about debian, but 7.0 was not available in Ubuntu 17.x. 不确定debian,但是7.0在Ubuntu 17.x中不可用。 Try installing 7.2 or 7.1 instead. 请尝试安装7.2或7.1。 Make sure to apt update before you start. 在开始之前,请确保apt update

Try replacing 7.0 with the results from apt search. 尝试用apt搜索的结果替换7.0。 Or you can just forego the version numbers and install. 或者,您也可以放弃版本号并安装。

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

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