安装LAMP Web堆栈 [英] Installing the LAMP web stack

查看:73
本文介绍了安装LAMP Web堆栈的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我输入了此代码  "< tt class =" epub__calibre27"> sudo apt-get update&& sudo apt install -y lamp-server ^< / tt>"进入Bash Cloud Shell以使用APT安装软件包。

I entered this code  "<tt class="epub__calibre27">sudo apt-get update && sudo apt install -y lamp-server^</tt>" into the Bash Cloud Shell to install packages with the APT.

每次尝试,代码都被拒绝并带有以下响应:

Each attempt, code is denied with the following response:

bash:sudo:command找不到

bash: sudo: command not found

我很困惑。如何让它工作?

I'm confused. How do I get this to work?

谢谢。

推荐答案

这称为bash限制:

https://docs.microsoft.com/en-us/azure/cloud-shell/limitations#bash-limitations

尝试使用powershell或putty等工具ssh到你的虚拟机。 

Try using a tool like powershell or putty to ssh into your VM. 

然后使用sudo安装软件包。

Then install the packages using sudo.

希望这会有所帮助!


这篇关于安装LAMP Web堆栈的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆