Learn about Centmin Mod LEMP Stack today
Register Now

Install Only nginx?

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Oxide, Jul 11, 2015.

Tags:
  1. Oxide

    Oxide Active Member

    505
    29
    28
    Mar 19, 2015
    Ratings:
    +54
    Local Time:
    9:58 AM
    How could I only install nginx?

    I don't want csf firewall, mariadb etc.. i want to use centminmod for nginx only, since its hard to install manually :p

    Hopefully i don't need to do much in order to do this, any cheap ways of doing it? perhpas only use a certain option?
     
  2. RoldanLT

    RoldanLT Well-Known Member

    3,931
    960
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,311
    Local Time:
    7:58 AM
    1.11
    10.2
  3. Oxide

    Oxide Active Member

    505
    29
    28
    Mar 19, 2015
    Ratings:
    +54
    Local Time:
    9:58 AM
  4. eva2000

    eva2000 Administrator Staff Member

    30,563
    6,851
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,268
    Local Time:
    9:58 AM
    Nginx 1.13.x
    MariaDB 5.5
    For Centmin Mod it's all or nothing only. However, you can enable some settings in centmin.sh to disable services after they are initially installed though on fresh centmin mod installs. In centmin.sh set these variables to = y before initial Centmin Mod install

    change from
    Code:
    # When set to =y, will disable those listed installed services
    # by default. The service is still installed but disabled
    # by default and can be re-enabled with commands:
    # service servicename start; chkconfig servicename on
    NSD_DISABLED=n                # when set to =y, NSD disabled by default with chkconfig off
    MEMCACHED_DISABLED=n          # when set to =y,  Memcached server disabled by default via chkconfig off
    PHP_DISABLED=n                # when set to =y,  PHP-FPM disabled by default with chkconfig off
    MYSQLSERVICE_DISABLED=n       # when set to =y,  MariaDB MySQL service disabled by default with chkconfig off
    PUREFTPD_DISABLED=n           # when set to =y, Pure-ftpd service disabled by default with chkconfig off
    to
    Code:
    # When set to =y, will disable those listed installed services
    # by default. The service is still installed but disabled
    # by default and can be re-enabled with commands:
    # service servicename start; chkconfig servicename on
    NSD_DISABLED=y                # when set to =y, NSD disabled by default with chkconfig off
    MEMCACHED_DISABLED=y          # when set to =y,  Memcached server disabled by default via chkconfig off
    PHP_DISABLED=y                # when set to =y,  PHP-FPM disabled by default with chkconfig off
    MYSQLSERVICE_DISABLED=y       # when set to =y,  MariaDB MySQL service disabled by default with chkconfig off
    PUREFTPD_DISABLED=y           # when set to =y, Pure-ftpd service disabled by default with chkconfig off
    This will stop and disable NSD, Memcached server, PHP-FPM, MariaDB MySQL and Pure-FTPD services.
     
  5. Oxide

    Oxide Active Member

    505
    29
    28
    Mar 19, 2015
    Ratings:
    +54
    Local Time:
    9:58 AM
    thanks thats pretty much nearly everytthing
     
  6. eva2000

    eva2000 Administrator Staff Member

    30,563
    6,851
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,268
    Local Time:
    9:58 AM
    Nginx 1.13.x
    MariaDB 5.5