Howdy, Stranger!

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


[Release] Minstall Version 2.5 (Bug Fixes, Ubuntu Support, More Cleaning!)
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

[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

«1345

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.

  • 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?

  • @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

  • 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!

  • 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

  • @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...

    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!

  • 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

  • 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.

  • 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

  • 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...

  • 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

  • @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

  • maxexcloomaxexcloo Member
    edited September 2012

    Minstall 2.5.5 is out!

    Changelog:

    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 :)

    Thanked by 1Legendlink
Sign In or Register to comment.