Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with OpenID
Advertise on LowEndTalk.com

In this Discussion

[Release] Minstall Version 2.5 (Bug Fixes, Ubuntu Support, More Cleaning!)

[Release] Minstall Version 2.5 (Bug Fixes, Ubuntu Support, More Cleaning!)

maxexcloomaxexcloo Member
edited September 2012 in General

Hello LowEndTalk! Many of you know that I work on a on a fairly popular server setup & management script, Minstall and today I have some news regarding it that may interest some of you. Before I begin I'd like to thank everyone for their continued support and usage of the script. I especially want to extend a HUGE thanks to Zsolt Ero (@zsero) for his amazing help and the effort he has put in finding and helping solve bugs! Seriously, you do excellent work!

Anyway, today I'm happy to announce a major update (sponsored by the kind folks at KnightSwarm Handelsbolag) that amongst other things brings the following new features and tweaks to the table:

  • Ubuntu 12.04 support on all platforms (except for vServer) in both 32 and 64 bit.
  • Proper file cleaning that removes unused files left over by uninstalled packages.
  • More detailed documentation (in both interactive and unattended mode configuration files) to ensure users are sure of what each option does.
  • Ondemand mode by default for PHP, will reduce memory usage by a large factor for idle websites (allowing for more sites to be hosted!)
  • Many code cleanups and restructures.
  • Proper MySQL password setting on a reinstall.
  • Cleaner nginx rules and config files.
  • New default mirrors (CDN for Debian!)
  • Renamed modules and cleaner extra package lists.
  • Many small changes and tweaks.
  • A TON of bug fixes, hopefully I didn't miss anything!

The project link is linked below and the readme file should assist you in using the program (help can always be obtained by contacting me as outlined in the readme!): http://www.github.com/KnightSwarm/Minstall

Looking forward to feedback and queries! Thanks, Max.

Just a note, I'm very thankful to KnightSwarm Handelsbolag for funding my development and providing me with test services and support! I recommend you go check the out and also look at some of their other open source endeavourers on Github! image

Reviews | Website | Projects (Minstall, Scripts, etc)
«13

Comments

  • Watched and Forked =D

    Thanked by 1maxexcloo
  • Thanks but ... if I want to install say PHP/NGINX/MySQL etc what should one do? please have a small tutorial in the documentation and such so that new users can following like already done in this thread

    http://www.lowendtalk.com/discussion/3965/leb-setup-script-for-debian-6-vps-nginx-mysql-iptables-etc#Item_55

  • nunimnunim Member
    edited September 2012

    @Asim said: Thanks but ... if I want to install say PHP/NGINX/MySQL etc what should one do? please have a small tutorial in the documentation and such so that new users can following like already done in this thread

    Follow the README. Those instructions allow you to install a basic LEMP stack.

    I usually skip some of those steps as they're not essential to me if you just want to install a basic webserver, to setup nginx & php you would run:

    bash minstall.sh install-extra-repositories
    bash minstall.sh http-install-nginx
    bash minstall.sh http-install-php
    bash minstall.sh http-configure-nginx
    bash minstall.sh manage-add-user
    bash minstall.sh manage-add-host

    @maxexcloo Nice update, glad to see everything working nicely again.

    SonicGlass 11 Locations- Amsterdam, Atlanta, Denver, Los Angeles, , Milan,
    SonicBoxes.com - VPS Tips, Tricks & Tutorials

  • I get this error a lot of times when adding a new host. Having to manually recreate this file.

    root@link:~/minstall# bash minstall.sh manage-add-host
    >> Manage: Add Virtual Host <<
    Please enter a user name: myusernamehere
    Please enter the virtual host (e.g. www.example.com): mydomainhere.com
    >> Checking Host...
    >> Creating Host Directory
    >> Creating Host Configuration...
    >> Updating Host Configuration...
    >> Creating Host Configuration (SSL)...
    >> Updating Host Configuration (SSL)...
    >> Creating PHP Configuration...
    >> Updating PHP Configuration...
    >> Creating PHP Configuration (Pool)...
    >> Updating PHP Configuration (Pool)...
    Do you want to enable PHP for this virtual host? (Y/n) y
    >> Enabling PHP...
    Do you want to enable SSL for this virtual host? (Y/n) y
    >> Enabling SSL...
    Do you want to set this virtual host as the default host? (y/N) n
    >> Restarting Daemon (PHP-FPM)...
    Restarting PHP5 FastCGI Process Manager: php5-fpm.
    >> Restarting Daemon (nginx)...
    Restarting nginx: nginx: [emerg] open() "/etc/nginx/php.d/www-data.conf" failed (2: No such file or directory) in /etc/nginx/hosts.d/default.conf:12
    nginx: configuration file /etc/nginx/nginx.conf test failed
    invoke-rc.d: initscript nginx, action "restart" failed.
    
  • Thanks for this, I have been using Minstall on a couple of servers and it is awesome. Also love the unattended mode, really speeds up testing servers!

  • @Legendlink said: I get this error a lot of times when adding a new host. Having to manually recreate this file.

    Can you please forward me the exact method you used to install the server before this and all logs?

    Reviews | Website | Projects (Minstall, Scripts, etc)
  • @Legendlink said: Restarting nginx: nginx: [emerg] open() "/etc/nginx/php.d/www-data.conf" failed (2: No such file or directory) in /etc/nginx/hosts.d/default.conf:12 nginx: configuration file /etc/nginx/nginx.conf test failed invoke-rc.d: initscript nginx, action "restart" failed.

    I've run into that as well.

    Debian 6 x64 - and the exact method was via the README, command by command.

    Though it stopped moaning when I cp'ed the /etc/nginx/php.d/myusername.conf file to /etc/nginx/php.d/www-data.conf - it's only a dev environment, so doesn't need to be pristine.

  • maxexcloomaxexcloo Member
    edited September 2012

    I issued a fix for the bug, the www-data config will no longer be removed (it doesn't take additional memory anyway!), Minstall 2.5.1 will be out shortly!

    Changelog:

    • Fixed redundant removal of default web user PHP configuration.
    • Rewrote readme file (thanks to @zsero).
    • Help in config.ini has been improved.

    Download Link: https://www.github.com/downloads/KnightSwarm/Minstall/Minstall 2.5.1.tar.gz

    Reviews | Website | Projects (Minstall, Scripts, etc)
  • Will be waiting for it Mr Spiderman :p

  • @maxexcloo Great, you found it :) Was just about to run it to get you some logs.

  • @Legendlink said: @maxexcloo Great, you found it :) Was just about to run it to get you some logs.

    It would be awesome if you could confirm that the bug has been fixed if you have time!

    Reviews | Website | Projects (Minstall, Scripts, etc)
  • Everything is working smoothly on my end.

  • Just fyi iotop throws errors

  • How does this compare to tuxlite?

  • edited September 2012

    Restarting nginx: nginx: [emerg] SSL_CTX_use_certificate_chain_file("/etc/ssl/http/self.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory error:20074002:BIO routines:FILE_CTRL:system lib error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib) nginx: configuration file /etc/nginx/nginx.conf test failed invoke-rc.d: initscript nginx, action "restart" failed.

    Any idea on how to correct this?

    Debian 6 on Xen VPS

    vpsBoard.com - Now with over 450 members! A friendly community with active discussion. Come join us!

    IRC.FREENODE.NET #vpsBoard - Drop by and say, 'Hello'.
  • @bamnael I'm 99% sure the options under variables were meant to be changed by the user depending on what they want. So simply update the link?

  • @Spencer said: Just fyi iotop throws errors

    On which distribution and platform? If the utility itself isn't working I don't think I can do much...

    @bamnael said: phpmyadmin script says "LINK="http://www.sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/3.5.2.1/phpMyAdmin-3.5.2.1-english.tar.gz/download"

    newest version is 3.5.2.2

    Will update (although what @Legendlink said was correct).

    @MannDude said: Any idea on how to correct this?

    Debian 6 on Xen VPS

    Technically Xen is unsupported. You will need to give more information.

    Note: I love bug reports but I really need more information to address them!

    Reviews | Website | Projects (Minstall, Scripts, etc)
  • maxexcloomaxexcloo Member
    edited September 2012

    Small incremental release, also, feel free to join the new IRC channel #minstall on Freenode!

    Changelog:

    • Updated Documentation.
    • Updated phpMyAdmin Link.
    • Updated Help Instructions.

    Download Link: https://www.github.com/downloads/KnightSwarm/Minstall/Minstall 2.5.2.tar.gz

    Reviews | Website | Projects (Minstall, Scripts, etc)
  • Just used to setup a new $12/yr semoweb vps currently on the frontpage, worked a treat. Thanks for the great work you do with this thing :)

  • @Roph said: Just used to setup a new $12/yr semoweb vps currently on the frontpage, worked a treat. Thanks for the great work you do with this thing :)

    Hi Roph!

    Glad to have you with us, I know you will enjoy our service.

    Los Angeles VPS Inside of QuadraNet Datacenter http://semoweb.com/vps.html

  • Also getting this error now on Debian 6 32-bit OpenVZ.

    clicky clicky

    Thanked by 1maxexcloo
  • @Legendlink said: Also getting this error now on Debian 6 32-bit OpenVZ.

    Same

    Thanked by 1maxexcloo
  • maxexcloomaxexcloo Member
    edited September 2012

    I honestly have no idea why that's occurring, is it new? It may be an issue with DotDeb...


    In other news, Minstall 2.5.3 is out!

    Changelog:

    • Fixed Readme Instructions
    • Added Oracle Java Repositories
    • Fixed lsb_release Distribution Detection

    Download Link: http://www.github.com/downloads/KnightSwarm/Minstall/Minstall 2.5.3.tar.gz

    Reviews | Website | Projects (Minstall, Scripts, etc)
  • Yes, since your last update it has been doing that on a fresh install.

  • @Legendlink said: Yes, since your last update it has been doing that on a fresh install.

    I'll look into it...

    Reviews | Website | Projects (Minstall, Scripts, etc)
  • Minstall 2.5.4 is out!

    Changelog:

    • Updated Ubuntu Kernel Package

    Download Link: http://www.github.com/downloads/KnightSwarm/Minstall/Minstall 2.5.4.tar.gz

    Reviews | Website | Projects (Minstall, Scripts, etc)
  • @maxexcloo I can tell you this much, openssl is not being installed.

    running an apt-get install openssl and then running bash minstall.sh http-install-nginx fixes the problem, At least in the little test I just did that worked.

    Thanked by 1maxexcloo
  • Oh my, very much releases :p I was just reinstalled my vps with the Minstall 2.5.3 for my current blog

    My blog | Server Uptime | I'm not working for any providers in here, all my comments just my own opinion.image
  • maxexcloomaxexcloo Member
    edited September 2012

    Minstall 2.5.5 is out!

    Changelog:

    • Fixed OpenSSL Bug (@Legendlink's Fix)

    Download Link: http://www.github.com/downloads/KnightSwarm/Minstall/Minstall 2.5.5.tar.gz


    While the issue should be fixed I'd appreciate it if people experiencing the problem could try it :)

    Reviews | Website | Projects (Minstall, Scripts, etc)
    Thanked by 1Legendlink
  • This openssl bug is very interesting. It's not explicitly installed, but I believe it's a requirement for whatever SSH server you install. For those who experienced the missing openssl, have you run install-ssh or install-dropbear before?

    Thanked by 1maxexcloo
  • @zsero said: This openssl bug is very interesting. It's not explicitly installed, but I believe it's a requirement for whatever SSH server you install. For those who experienced the missing openssl, have you run install-ssh or install-dropbear before?

    That's what I was thinking. I added a check to ensure that OpenSSL would be installed if it wasn't already :)

    Reviews | Website | Projects (Minstall, Scripts, etc)
  • @maxexcloo do you have any new version released soon? How to use the new version if we have older one installed?

    My blog | Server Uptime | I'm not working for any providers in here, all my comments just my own opinion.image
  • @Erawan: if you didn't have the openssl bug there is no point reinstalling. Even if there are version changes they don't normally affect a working installation, it's more about bug fixes.

    Thanked by 1ErawanArifNugroho
  • @ErawanArifNugroho what zsero said is correct, if it worked for you there's no need to reinstall or anything :)

    Reviews | Website | Projects (Minstall, Scripts, etc)
    Thanked by 1ErawanArifNugroho
  • @zsero said: This openssl bug is very interesting. It's not explicitly installed, but I believe it's a requirement for whatever SSH server you install. For those who experienced the missing openssl, have you run install-ssh or install-dropbear before?

    Yes, either way I was still getting it.

  • I don't understand, it should be installed now. Are you using the latest version? What is the exact error?

  • I was getting the error haha. Not anymore since the update.

  • It's still a very odd error...

    Reviews | Website | Projects (Minstall, Scripts, etc)
  • Do you need to install PHPMyAdmin manually? Because I ran the sample commands, and PHPMyAdmin didn't get installed and I don't see an --option to install it via minstall. When I typed apt-get install phpmyadmin it said 2 new packages had to be installed..?

    Linux noob willing to learn.

  • Go into the extras folder and edit install-phpmyadmin.sh, change the variables to your liking and run it.

  • Yes, you have to set the folder first. 1. Make a subdomain, like pma.mydomain.com, 2. set it's folder in the .sh file, 3. run the sh file

  • hi guys, sorry being as newbie.. but if i want php5/mysql/nginx?

    @nunim said: bash minstall.sh install-extra-repositories bash minstall.sh http-install-nginx bash minstall.sh http-install-php bash minstall.sh http-configure-nginx bash minstall.sh manage-add-user bash minstall.sh manage-add-host

    when i can start mysql install?

  • @dramosith said: hi guys, sorry being as newbie.. but if i want php5/mysql/nginx?

    What you want is the classical web-server installation, nothing special. Use these one by one: install-extra-repositories,clean-packages,install-dropbear,install-extra-packages,configure-general,configure-ssh,configure-user,http-install-exim,http-install-mysql,http-install-nginx,http-install-php,http-install-php-extra,http-configure-mysql,http-configure-nginx,manage-add-user

    Thanked by 1dramosith
  • @Legendlink said: Go into the extras folder and edit install-phpmyadmin.sh, change the variables to your liking and run it.

    Thanks! Didn't notice the EXTRAS folder.

    Linux noob willing to learn.

  • @maxexcloo

    fyi: I get this on a OVH vks:

    root@vks17281:~/minstall# bash minstall.sh install-dropbear
    Your distribution is unsupported! If you are sure that your distribution is supported please install the lsb-release package as it will improve detection.
    

    and

    root@vks17281:~/minstall# bash minstall.sh install-ssh
    Your distribution is unsupported! If you are sure that your distribution is supported please install the lsb-release package as it will improve detection.
    

    ran these commands in order:

    bash minstall.sh install-extra-repositories
    bash minstall.sh clean-packages
    
    http://www.lowendguide.com/ - the guides to administer your lowend vps | Make money writing tutorials
    Free CPanel Shared Hosting Locations: Miami (US) | Rotterdam (NL)
  • MikHo what distribution are you on? Can you paste here what's the output of cat /etc/issue?

    Minstall now has an advanced distribution detection, but for this you'll need to install lsb-release first. 'apt-get install lsb-release' (or lsb_release I never know).

  • @zsero said: @dramosith said: hi guys, sorry being as newbie.. but if i want php5/mysql/nginx?

    What you want is the classical web-server installation, nothing special. Use these one by one: install-extra-repositories,clean-packages,install-dropbear,install-extra-packages,configure-general,configure-ssh,configure-user,http-install-exim,http-install-mysql,http-install-nginx,http-install-php,http-install-php-extra,http-configure-mysql,http-configure-nginx,manage-add-user

    thanks reply, It can be wonder max 60-90mb ram?

  • It should stay under 40 MB :)

    Reviews | Website | Projects (Minstall, Scripts, etc)
    Thanked by 1dramosith
  • @zsero I didn't read the error message completly before posting here. So thats on me, after manually adding lsb-release, everything coul be instajk

    @zsero said: Can you paste here what's the output of cat /etc/issue?

    Linux vks17281 2.6.32-042stab059.7 #1 SMP Tue Jul 24 19:12:01 MSK 2012 i686 GNU/Linux
    
    http://www.lowendguide.com/ - the guides to administer your lowend vps | Make money writing tutorials
    Free CPanel Shared Hosting Locations: Miami (US) | Rotterdam (NL)
Sign In or Register to comment.