1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to optimization VPS DO use LAMP in Centos 7

Discussion in 'Server Configuration and Hosting' started by AiTiRoot, Aug 10, 2014.

  1. AiTiRoot

    AiTiRoot New Member

    I'm using vps in DigitalOcean, Ram 2GB server singapore and use LAMP in Centos 7
    Please together exchange experience and talk how can optimization it ( online, speed, CPU... )
    Thanks everyone !
     
  2. RoldanLT

    RoldanLT Well-Known Member

  3. AiTiRoot

    AiTiRoot New Member

    I just install new xenforo forum and install which i said above (#1)
    CPU load high ( with no member, forum new install and close ) -> Untitled.jpg
     
    Last edited: Aug 10, 2014
  4. RoldanLT

    RoldanLT Well-Known Member

    Install Cache, ZenOpcache, Memcached.
    Use LEMP instead of LAMP ;)
     
    Xon and AiTiRoot like this.
  5. AiTiRoot

    AiTiRoot New Member

    Can use http://centminmod.com/ instead of them or it includes them already ?
     
  6. RoldanLT

    RoldanLT Well-Known Member

    Centminmod is already LEMP ++++ :D
     
    AiTiRoot likes this.
  7. Slavik

    Slavik XenForo Moderator Staff Member

    Whats your current online users?

    Thats a lot of Apache processes being spawned and would either suggest a massive number of people online or a configuration problem.
     
    AiTiRoot likes this.
  8. AiTiRoot

    AiTiRoot New Member

    So after install centminmod, and next install Cache, ZenOpcache, Memcached right ?
    Online only me because disable forum ( new install, new forum, no one know )
    How config ?
     
  9. eva2000

    eva2000 Well-Known Member

    FYI, Centmin Mod isn't fully ready for CentOS 7.0 yet with Centmin Mod 1.2.3-eva2000.07 stable build.

    I am testing the next Centmin Mod .08 beta for CentOS 7.0 compatibility https://community.centminmod.com/threads/how-to-help-test-08-centos-7-betas-with-github-code.813/ but it still some time away as waiting on a few things including @Floren Axivo CentOS 7 64bit YUM repo but you can see my testing attempts log for Centmin Mod .08 beta and CentOS 7.0 at https://community.centminmod.com/threads/1-2-3-eva2000-08-beta-install-attempts-work-log.781/.
     
    AiTiRoot likes this.
  10. AiTiRoot

    AiTiRoot New Member

    So after install centminmod, and next install Cache, ZenOpcache, Memcached right ?
     
  11. eva2000

    eva2000 Well-Known Member

    FYI, Centmin Mod automatically installs the entire LEMP web stack and all required stuff including Opcaching, and Memcached see

    But Nginx is a huge change in setup and administration compared to Apache web servers, so it's probably best if you do such testing on a test VPS server first and not live production site. Check VPS server discussions for Centmin Mod tested web hosts at https://community.centminmod.com/forums/virtual-private-server-vps-hosting.26/ :)

    edit: you're already using DigitalOcean so you're set there as I also use DO for testing Centmin Mod :)

    HTH
     
    Last edited: Aug 11, 2014
    RoldanLT and AiTiRoot like this.
  12. AiTiRoot

    AiTiRoot New Member

    From this step
    For traditional SSH menu options install type the following command and select menu option #1:
    Code:
    ./centmin.sh
    
    After run it, do i need next to run
    Code:
    ./centmin.sh install
    ??
     
  13. eva2000

    eva2000 Well-Known Member

    it's either

    ./centmin.sh and menu option 1

    OR

    ./centmin.sh install

    so no need to run the latter command if you ran the first

    might want to sign up for the forums https://community.centminmod.com/ ;)
     
    AiTiRoot likes this.
  14. AiTiRoot

    AiTiRoot New Member

    Can i run only one this command
    Code:
    curl -sL http://centminmod.com/installer.sh | bash
    ??
     
  15. eva2000

    eva2000 Well-Known Member

    AiTiRoot likes this.
  16. AiTiRoot

    AiTiRoot New Member

    I moved to Centos 6.5, so i already run last method, after finished, do i need run anything or update anything else ?
     
  17. eva2000

    eva2000 Well-Known Member

    AiTiRoot likes this.
  18. AiTiRoot

    AiTiRoot New Member

  19. eva2000

    eva2000 Well-Known Member

    one time only after install just log out of SSH session and back in and you can type command = centmin

    which is a short cut which invokes centmin.sh located at /usr/local/src/centmin-v1.2.3mod/centmin.sh

    subsequently, in future just typing centmin will invoke the shell menu

    Code:
    --------------------------------------------------------
    Centmin Mod 1.2.3-eva2000.07 - http://centminmod.com
    --------------------------------------------------------
                       Centmin Mod Menu                  
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB 5.2, 5.5, 10 Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install ioping.sh vbtechsupport.com/1239/
    14). SELinux disable
    15). Install/Re-install ImageMagick PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2,p7zip etc
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Re-install
    21). Update - Nginx + PHP-FPM + Siege
    22). Exit
    --------------------------------------------------------
    Enter option [ 1 - 22 ]
    --------------------------------------------------------
     
    maszd and AiTiRoot like this.
  20. AiTiRoot

    AiTiRoot New Member

    How i can add new domain and upload code to it ?
     

Share This Page