Install and Configure LNMP
Execute the following command:
yum --enablerepo=remi install nginx php php-fpm mysql mysql-server unzip
service mysqld restart
mkdir /opt/op
mv lnmp_ucloud.zip /opt/op
cd /opt/op
unzip lnmp_ucloud.zip
cd lnmp_ucloud
./lnmp.sh create myapp www.myapp.com /srv/http/myapp
service php-fpm restart
service nginx restart
curl www.myapp.com/demo.php
app: myapp(domain: www.myapp.com) works!
Notes: 1.Download lnmpcloud.zip; 2.www.myapp.com Please modify it to your own domain name.