Howdy, Stranger!

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


Good LEB LEMP install script
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.

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

«1

Comments

  • jarjar Patron Provider, Top Host, Veteran

    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

  • Minstall or LNMP.org :)

  • 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

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

  • @NanoG6 Yes, but can learn. :)

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

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

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

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

  • 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

  • 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

  • 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

  • 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: root@pts/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!

  • 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: root@pts/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

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

  • with vswap?

Sign In or Register to comment.