Get the most out of your Centmin Mod LEMP stack
Become a Member

Install Can i Skip "1. Setup The Default Server Main Hostname Nginx Vhost"

Discussion in 'Install & Upgrades or Pre-Install Questions' started by jeparamedia, May 13, 2022.

Tags:
  1. jeparamedia

    jeparamedia Member

    32
    10
    8
    May 9, 2019
    Ratings:
    +17
    Local Time:
    8:39 PM
    1.15.12
    MariaDB 10.3.15
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit ?
    • Centmin Mod Version Installed: plan to install 124. default stable
    • Nginx Version Installed: 7.4.26
    • PHP Version Installed: nginx/1.21.6
    • MariaDB MySQL Version Installed:
    Hi all.. I have 5 website, plan to used in single VPS (single centminmod server)

    after i do Centmin Mod Unattended Command Line Install,
    its possible to skip this step= Can I Skip "1. Setup The Default Server Main Hostname Nginx Vhost" ?? and then directly using menu 22 to setup all wordpress site?

    thank you

     
  2. eva2000

    eva2000 Administrator Staff Member

    58,895
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    11:39 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    For test servers probably can, but if you want fully functioning server you can't skip Getting Started Guide step 1 outlined at Getting Started Guide - CentminMod.com LEMP Nginx web stack for CentOS as the main hostname is important.

    A proper working resolving main hostname is needed so you can access server statistics from main hostname i.e. https://community.centminmod.com/threads/php-opcode-and-memcached-statistics-pages.1513/ which is step 13 of Getting Started Guide

    Also it's required to ensure email send outbound from Centmin Mod server's Postfix MTA mail server doesn't end up in user's spam/junk mail boxes. See https://community.centminmod.com/th...ver-email-doesnt-end-up-in-spam-inboxes.6999/ which is step 20 of Getting Started Guide
     
  3. jeparamedia

    jeparamedia Member

    32
    10
    8
    May 9, 2019
    Ratings:
    +17
    Local Time:
    8:39 PM
    1.15.12
    MariaDB 10.3.15
    Aah okay well noted !!
    Thank you for your great support
     
  4. MaximilianKohler

    MaximilianKohler Member

    214
    9
    18
    Jun 23, 2023
    Ratings:
    +39
    Local Time:
    6:39 AM
    Eva, I think the centminmod.com/getstarted.html page needs a minor update. The command to restart doesn't seem to work on alma9:
    Code:
    service network restart
    Redirecting to /bin/systemctl restart network.service
    Failed to restart network.service: Unit network.service not found.
    
    I tried this and it seemed to work but didn't output anything:
    Code:
    systemctl restart NetworkManager.service
    
     
  5. eva2000

    eva2000 Administrator Staff Member

    58,895
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    11:39 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Thanks for the heads up!