Ubuntu安装最新版本的Apache 1.添加第三方PPA sudo add-apt-repository ppa:ondrej/apache2 sudo apt update 2.安装apache sudo apt install apache2