Some problems with installing LNMP on Windows Azure Linux

  
 

I originally wanted to install a web management panel, I did not expect all kinds of problems to fail. Can only get a LNMP one-click installation package, and then order the operation.

Please refer to the original author's website http://lnmp.org/install.html

The installation may end up with a problem, PHP
-fpm Stuck, always stopped in the Starting php-fpm done state


It is said that the default installation of PHP in some environments will be a problem, in this case, exit, directly use the php upgrade script to upgrade Go to 5.3.27.

cd /root/lnmp1.0-full

./upgrade_php.sh

Then enter the php version number 5.3.27 and wait for the upgrade. Success is ok.

There is no problem with this installation. Here is the addition of the virtual machine, see here http://lnmp.org/faq/lnmp-vhost-add-howto.html


nginx configuration file is here /usr/local /nginx/conf/nginx.conf

The nginx configuration of the added domain name is /usr/local/nginx/conf/vhost/domain name.conf

The default is to have a default.conf

If there is a problem with the invalid website settings directory, no matter how to add the domain name, the directory accessed is the default directory (/home/wwwroot/default). In this case, you can create a “domain name.conf” file in the /usr/local/nginx/conf/vhost/directory. For example, my content can be www.bicner.com.conf and use the default.conf directly. The content can be, just pay attention to the domain name and the corresponding directory


and then restart the nginx to take effect.


I have encountered so many problems for the time being, and I will add them later.


LNMP Status Management Command:

LNMP Status Management: /root/lnmp {start

Copyright © Windows knowledge All Rights Reserved