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

Good LEB LEMP install script

Good LEB LEMP install script

DavidxDavidx Member
edited September 2012 in General

Is there any up-to-date install scripts for lemp that installs the latest version of Ngnix for LEBs? (e.g low memory footprint).

I'm getting lazy :(

Comments

  • jarlandjarland Administrator

    Minstall, tuxlite

  • @jarland said: Minstall, tuxlite

    I didn't have any luck with TuxLite for some reason :( I'll have to try Minstall though.

  • +1 for Minstall. If you have problem with the v2 of Minstall, try v1

    My blog - Uptime Monitoring | I'm not working for any providers in here, all my comments just my own opinion.
  • Minstall or LNMP.org :)

    I seriously need to update my website, but not today, I guess
  • NexusNexus Member
    edited September 2012

    http://freevps.us/thread-5766.html

    What I used, very nice and easy.

    Im at everything, with 35mb so far

    D4jsp - Where virgins roam free
  • It's easy to install via nginx repo.

  • minstall, no contest :-) Use v1 still, working on fixing v2 with Max, will be even better once completed.

  • @budingyun said: It's easy to install via nginx repo.

    Install is easy, configure is different story :)

  • https://github.com/aatishnn/lempstack it is updated just a few days ago.

    ...............

    Thanked by 2Nexus jcaleb
  • @ErawanArifNugroho said: +1 for Minstall. If you have problem with the v2 of Minstall, try v1

    I've been using the Github resp for minstall, where can I find v1?

  • jcalebjcaleb Super Moderator

    @kampung said: https://github.com/aatishnn/lempstack it is updated just a few days ago.

    thanks for the share man... reading it and love it bec. its short, to the point and understandable =)

    Twitter Bootstrap Themes for your software projects. I recommend Prometeus and Catalyst Host

  • @kampung That is indeed a nice, lowend style script for easy installation, Thank you for that link. + Thanked

    D4jsp - Where virgins roam free
  • @David_P said: I've been using the Github resp for minstall, where can I find v1?

    Maybe here :

    https://github.com/maxexcloo/Minstall/downloads
    My blog - Uptime Monitoring | I'm not working for any providers in here, all my comments just my own opinion.
  • Recently been using https://github.com/Xeoncross/lowendscript which is quite nice.

  • @kampung said: https://github.com/aatishnn/lempstack it is updated just a few days ago.

    Thanks everyone!

    I used LEMP Stack, really low footprint 90-101mb max usage so far.

    thanks again!

  • I've spent literally weeks comparing LEB scripts and trust me, there is no contest, minstall wins hands down. It's the only one what removes every single package of your system what isn't necessary for a LEB server! That's why I'm developing a manager for it, it'll be out soon!

    @David_P said: really low footprint 90-101mb max usage so far.

    ... 90-101 mb really low, LOL. At the moment I'm at 11.93 MB on my live webserver (very little traffic, OpenVZ). image

  • @zsero said: 90-101 mb really low, LOL. At the moment I'm at 11.93 MB on my live webserver (very little traffic, OpenVZ).

    Bias much?

    Care to share how you got it that low? Minstall wouldn't install php properly for me, I used minstall to remove all of the packages + update the repositories.

    If you tell me, and it works id be more than glad to use it.

  • jcalebjcaleb Super Moderator

    minstall least memory and disk space. but i like script that are easy to read... so i can get stuff i like and put to mine

    Twitter Bootstrap Themes for your software projects. I recommend Prometeus and Catalyst Host

  • zserozsero Member
    edited September 2012

    @David_P said: Care to share how you got it that low?

    Nothing special, I just installed minstall 1.0 as in the readme on an OpenVZ Debian 6 32-bit. OpenVZ helps and 32-bit helps making it so low.

    Don't install minstall 2.x, it's still broken.

    What do you mean by that it wouldn't install PHP properly? Have you added dotdeb?

  • minstall v2, in debian it doesnt configure nginx after installing php... no php configuration under nginx conf files.... @maxexcloo

    20GB free space in COPY.com (opens in a new tab)(really...)

  • Minstall is at 75mb of ram with nothing else.. LEMP stack was at 101mb with Owncloud & their php requirements.. I don't know how you could get it to 11mb of ram, it would be great but doesn't seem realistic.

  • Please show output of ps ax v

    New free DDNS service skipIP.com | Invites @ blog.srvbox.com | Availability status of my servers.
  • DavidxDavidx Member
    edited September 2012

    @dannix said: Please show output of

    Sure thing:

    PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND 1 ? Ss 0:02 0 28 1995 696 0.1 init [2] 1463 ? S 0:00 0 51 1916 764 0.1 /usr/sbin/syslogd --no- 1467 ? Ss 0:00 0 31 2252 856 0.1 /usr/sbin/cron 1498 ? S 0:00 0 772 1927 1252 0.2 /bin/sh /usr/bin/mysqld 1849 ? Sl 0:00 0 9421 28594 8120 1.5 /usr/sbin/mysqld --base 1850 ? S 0:00 0 5 1658 532 0.1 logger -t mysqld -p dae 1899 ? Ss 0:00 0 669 7946 756 0.1 nginx: master process / 1900 ? S 0:00 0 669 8082 1696 0.3 nginx: worker process 1924 ? Ss 0:00 0 8244 45383 3268 0.6 php-fpm: master process 1925 ? S 0:00 0 8244 45383 2752 0.5 php-fpm: pool www-data 1931 ? Ss 0:00 0 427 5056 948 0.1 /usr/sbin/sshd 3074 ? Rs 0:00 0 427 7956 2840 0.5 sshd: [email protected]/0 3076 pts/0 Ss 0:00 0 772 2183 1620 0.3 -bash 3126 pts/0 R+ 0:00 0 72 2059 736 0.1 ps ax v

    MySQL is optimized with minimal via minstall. supposedly.

  • Never had any problems with Tuxlite script and Matt is a great guy!

    Check my blog for more cool *nix tips & tricks!

  • DavidxDavidx Member
    edited September 2012

    @djvdorp said: Never had any problems with Tuxlite script and Matt is a great guy!

    TuxLite scripts are recommended for Xen/KVM/Virtuozzo VPS with 256MB ... ...strongly advice against using OpenVZ based VPS from any provider

    Id much rather use something that I know it was designed for what I'm doing and for the machine I'm on.

  • I did't used ministall but are you using 32bit or 64? Where do you get the used memory from? shell or control panel? If control panel, are you loged in over ssh while checking?

    These already cost you > 5M: 1931 ? Ss 0:00 0 427 5056 948 0.1 /usr/sbin/sshd 3074 ? Rs 0:00 0 427 7956 2840 0.5 sshd: [email protected]/0 3076 pts/0 Ss 0:00 0 772 2183 1620 0.3 -bash

    Beside that from what I see you RSS is ~ 26M ps ax v | awk 'BEGIN {sum=0} {sum+=$8} END {print sum/1024}' 26.207

    Did you reduced stack size for mysql?

    This is what I have in /etc/init.d/mysql:

    grep -B 2 -A 2 ulimit /etc/init.d/mysql 'start') sanity_checks; echo "Setting ulimit -s 256 for mysql" ulimit -s 256 # Start daemon log_daemon_msg "Starting MySQL database server" "mysqld"

    Show the output of: awk '/privvmpages/ {print $2*4/1024}' /proc/user_beancounters This will show currently used memory on openvz

    New free DDNS service skipIP.com | Invites @ blog.srvbox.com | Availability status of my servers.
  • @dannix

    Sorry. :/

    Here is the mem usage (not logged in from ssh) from the control panel:

    70 MB of 512 MB used / 442 MB free

    I logged in shell to check the memory.

    Output of beancounters:

    75.4688

  • jcalebjcaleb Super Moderator

    with vswap?

    Twitter Bootstrap Themes for your software projects. I recommend Prometeus and Catalyst Host

  • @jcaleb said: with vswap?

    burst.

    BuyVM vps.

  • jcalebjcaleb Super Moderator
    edited September 2012

    something is wrong with how you used minstall. that script is tight. Maybe you are running wordpress or something else already, hence the 70mb?

    Twitter Bootstrap Themes for your software projects. I recommend Prometeus and Catalyst Host

  • @jcaleb said: something is wrong with how you used minstall. that script is tight. Maybe you are running wordpress or something else already, hence the 70mb?

    nope, clean clean install. I installed some extra php stuff for OwnCloud, but haven't installed owncloud. Without the extra php stuff it sits at 40-50mb. so 20mb difference

  • @zsero said: Don't install minstall 2.x, it's still broken.

    Minstall 2.0.1. Stable! Latest stable version of Minstall. Currently 2.0.1. @https://github.com/maxexcloo/Minstall/downloads

    is this version still broken?

  • +1 for Minstall, I use it for all my setups.

  • jcalebjcaleb Super Moderator

    i tried it. stop nginx and consumption will drop. it seems bec. of nginx cache process

    Twitter Bootstrap Themes for your software projects. I recommend Prometeus and Catalyst Host

  • I've taken the Linode LEMP guide for Debian 6 and rolled 'er up into a little bash script:

    wget http://vps.manndude.com/bash/lemp/setup.sh chmod 755 setup.sh ./setup.sh yourdomain.com

    Really basic script, but gets the job done. I'll eventually get around to making it better.

    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'.
  • @ynzheng said: Minstall 2.0.1. Stable! Latest stable version of Minstall. Currently 2.0.1. @https://github.com/maxexcloo/Minstall/downloads

    is this version still broken?

    Is Minstall 2.0.1. stable or broken?

    If the best is excellent, good isn't enough.

  • @assassin said: Is Minstall 2.0.1. stable or broken?

    As the developer I can run it without issue but I'm told there are some bugs I'm not yet aware of. Give it a shot if you have time and if it doesn't work kindly send me the logs so I can fix it! Also, if you're pressed for time Minstall 1.0 works nicely from what everyone says :)

  • @assassin said: Is Minstall 2.0.1. stable or broken?

    Getting closer to being stable every day...

  • PatsPats Member
    edited September 2012

    @kampung said: https://github.com/aatishnn/lempstack it is updated just a few days ago

    this has issue when you create vhost for a subdomain example: # setup-vhost winklub windows.klubvps.com

    after that if you open http://windows.klubvps.com it redirects to http://www.windows.klubvps.com and no show..

Sign In or Register to comment.