一键安装常用环境软件,避免Nginx或PHP无法安装情况

apt-get install curl cmake libncurses5-dev libssl-dev libcurl4-openssl-dev pkg-config libicu-dev libfreetype6-dev -y

不行就继续:

apt-get install libgd3 libgd-dev -y

apt-get install libcurl4-gnutls-dev -y

如果是debian7等老系统可能要用:apt-get install libgd2-xpm-dev -y

请输入图片描述

Last modification:August 2, 2019
If you think my article is useful to you, please feel free to appreciate