Virtualmin LEMP install script broken ?

3 posts / 0 new
Last post
#1 Sat, 09/14/2019 - 08:31
Saahib

Virtualmin LEMP install script broken ?

Hello,

I have been using Virtualmin GPL from a while with Apache , today on a fresh install of centos 6.10 , I tried to install virtualmin with "-b LEMP" ie. Nginx and it failed with around step 6 of 23 MYSQL installation, with error message :  Upstart service mysqld cannot be created unless a command is given

There was also another message in the end that installation had some error.

Sadly I deleted logs so can't share exact error. Anyways, I again tried after uninstalling using "install.sh -u" , then tried again. It failed again with above message. I tried 3 times, always failed with same error. When I tried to login into web interface, obviously mysql was not installed, installed manually but it was not able to start it.

I then again uninstalled and then installed default LAMP, this time it was installed without error. But since I was looking for LEMP, I uninstalled and then again tried installing with LEMP. This time it installed and worked. But on last installation, I think virtualmin was not properly removed as it gave me error that virtualmin is already installed on this system.

I am not sure what exactly happened but LEMP installer was not installing on fresh install but after after LAMP install and uninstall, then it worked.

I will test the installation later if everything is working as expected but so far seems fine.

Sat, 09/14/2019 - 13:14
kotakomputer

I use Ubuntu Linux 18.04.3 then remove Apache, then install Nginx. See this tutorial to replace Apache with Nginx https://www.virtualmin.com/documentation/web/nginx

I recommended using CentOS 7 instead old CentOS 6.

Sun, 09/15/2019 - 15:43
Saahib

Well, yes, I got it working that way , faced few more issues but sorted out . However, LEMP was not really straight forward as I expected.