Want to subscribe to topics you're interested in?
Become a Member

Pre-install noob questions (CMM and VPS)

Discussion in 'Install & Upgrades or Pre-Install Questions' started by sepulchre, Dec 24, 2014.

  1. sepulchre

    sepulchre Member

    168
    22
    18
    Dec 22, 2014
    Ratings:
    +28
    Local Time:
    1:18 AM
    I have general questions about Centmin Mod and VPS server setup.
    Please take note that this is my first attempt in setting up a VPS.


    1. From what I understand Centmin Mod is designed to be a shell (?) based VPS setup. Is this right? So, cpanel and such have no control over the server? We can't use both at the same time, right?
    2. This "shell", which software do you use to send the commands to the server? I mean the black screen what I see in the video. From what I googled it is called command-line interpreters. What do you suggest? Easy to use for Windows 8.1 users?
    3. After I installed CMM, then I need to update the versions, right? Like php, MariaDB, nginx, etc. versions?
    4. And after that, I use the "Getting Started Guide", right? (I will post questions about this later)
    5. What else do I need to do after CMM install and getting started guide?
    6. How can I restore my database and home folders? Can someone explain it to me please? Now I am on a shared hosting and it has cpanel. With 2 clicks I can restore database and home folder, so my Xenforo forum is then available (no need to install it). How to do this?
    7. Cpanel allowed me to download easily to my PC the database and home folder (with everything). How can I do this now? But also archived like with cpanel.
    8. This is also very important, which things do I need to do regularly after everything is done and finished? What kind of maintenance do I need to do regularly for my VPS? And how?
    9. How can I install php extensions? Xenforo says for example:
    10. How can I turn PHP safe_mode off?
    11. Can you explain me 14) - 19). What are those things, for what do I need them?
    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 ]
    --------------------------------------------------------
    

    Thanks in advance.

    PS: @eva2000, it would be nice if you could do a video for the getting started guide also. And it would be nice if you could add timestamps to this video. Like what happens at what time, step by step. For experienced users it maybe easy to see what kind of step is shown at a specific point, but for noobs like me it is very confusing.
     
  2. Josephm

    Josephm Active Member

    132
    44
    28
    Aug 26, 2014
    Ratings:
    +48
    Local Time:
    7:18 AM
    1.9.5
    10.0.21
    Short answer from my knowledge:
    1. cPanel use apache, here CMM use nginx. Installing both could lead to system conflict.
    2. If you're familiar with click and run, you will be easier to control things by cPanel. Everything in CMM is controlled by command line so you must have basic linux knowledge
    3. Keep updating is good for any system.
    4/5. I saw the 'Get started guide' is quite clear.
    6/7. You have to control the backup yourself by command line as well
    The rest I have no idea :D
     
  3. sepulchre

    sepulchre Member

    168
    22
    18
    Dec 22, 2014
    Ratings:
    +28
    Local Time:
    1:18 AM
    1. Ahh, I see. I didn't know that. But technically panels which use nginx could be installed, right? Which ones, if so?
    2. I don't have any knowledge about Linux but I must start somewhere. It shouldn't be that hard, I just need to know the right commands.
    So which interpreter do you use?
    3/4/5. I just want to know the correct order in which I have to do the things I need to do. So, I want to be sure.
    6/7. I got that, that I must use command line aswell. But how? Can someone explain me how to do this?

    I need to know what to do for running a Xenforo forum. It would be nice if people could help me out.
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,527
    12,211
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,780
    Local Time:
    10:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    1. Centmin Mod site FAQ question 1 answers this Centmin Mod FAQ - Menu based Nginx installer ;)
    2. Shell is what refers to windows SSH terminal which is what you see in black background you see in my examples. Background is dependent on your SSH client setup. I use SecureCRT SSH client and set to black background on white text
    3. Yup either or both YUM update or centmin.sh menu option updates to update everything i.e. updating OpenSSL is one item that involves both YUM system OpenSSL update + centmin.sh menu option 4 update see example at Nginx - Updating OpenSSL 1.0.1j for Centmin Mod | Centmin Mod Community. Setting up yum-cron for auto YUM updates is recommended see Automatic nightly YUM updates with yum-cron | Centmin Mod Community and maldet +clamav malware/virus scanner at Maldet - Linux Malware Detect Addon (discussion) | Centmin Mod Community
    4. Yup read and follow Getting Started with Centmin Mod
    5. I'd imagine uploading and setting up your web apps and domains and email Email - Free @yourdomain.com Email Accounts & Alternatives | Centmin Mod Community
    6. & 7. backups and restores you're on your own and would require some SSH knowledge, so best to start with a test VPS and test site and get a feel for everything until you're comfortable with using Centmin Mod LEMP stack for a live site
    8. Jumping to VPS or dedicated involves keeping up to date on security issues in the wild related to CentOS and it's software and packages i.e. news posted at is one way CentOS, Redhat & Oracle Linux News | Centmin Mod Community - you can subscribe to the forum (watch forum) to get email updates of new posts and relevant other software forums at Software News | Centmin Mod Community

    some other examples that came up recently


    in Nginx forums Nginx and PHP-FPM news & discussions | Centmin Mod Community for Nginx 1.7.9 Nginx - [nginx-announce] nginx-1.7.9 | Centmin Mod Community

    For ngx_pagespeed updates tag Nginx, PHP-FPM & MariaDB MySQL | Centmin Mod Community i.e. Nginx PageSpeed - ngx_pagespeed 1.9.32.2 beta released | Centmin Mod Community

    9. Centmin Mod Insights forum has posts related to deeper learning and understanding if you want to extend Centmin Mod functionality Centmin Mod Insights | Centmin Mod Community

    For example installing additional PHP extensions Centmin Mod way PHP-FPM - Install PHP extension ssh2 | Centmin Mod Community however, Centmin Mod has virtually all PHP extensions needed for all popular web apps already like vBulletin, IPB, Xenforo, Wordpress etc you can find out via site at PHP PHP-FPM - Centmin Mod - Menu based Nginx installer for CentOS servers and SSH command

    Code:
    php -m
    
    example output from this forum's PHP 5.6.4 install of PHP extensions loaded/installed. You should have all out of box except geoip which is added extra for my forums as need geoip for User Map at User Map and the Newrelic PHP extension

    Code:
    php -m
    [PHP Modules]
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    enchant
    ereg
    exif
    filter
    ftp
    gd
    geoip
    gettext
    gmp
    hash
    iconv
    igbinary
    imagick
    imap
    intl
    json
    libxml
    mbstring
    mcrypt
    memcache
    memcached
    mhash
    mysql
    mysqli
    mysqlnd
    newrelic
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    pdo_sqlite
    Phar
    posix
    pspell
    readline
    Reflection
    session
    shmop
    SimpleXML
    snmp
    soap
    sockets
    SPL
    sqlite3
    standard
    sysvmsg
    sysvsem
    sysvshm
    tidy
    tokenizer
    xml
    xmlreader
    xmlrpc
    xmlwriter
    Zend OPcache
    zip
    zlib
    
    [Zend Modules]
    Zend OPcache
    
    10. Safe mode already disabled, you can check via phpinfo page or command in SSH

    Code:
    php -i
    
    11.

    14- SELinux disable is redundant now, as Centmin Mod requires it disabled before install so can ignore
    15. Reinstall PHP extension for imagick if needed or missing
    16. change SSH port number from default 22 for security if you want
    17. multipled threaded parallel compression tools for faster backup compression than gzip Multi-threaded compression tools (pigz, pbzip2, lbzip2, plzip, p7zip) | Centmin Mod Community
    18. Suhosin PHP extension if needed - to be installed - not needed
    19. FFMPEG extension if needed to be installed - not needed
     
    Last edited: Dec 24, 2014
  5. sepulchre

    sepulchre Member

    168
    22
    18
    Dec 22, 2014
    Ratings:
    +28
    Local Time:
    1:18 AM
    Thanks, I installed yesterday CMM and today I wanted to start with the Getting started guide. Ok, first problem occured already.
    When I do ./centmin.sh , it says
    Code:
    -bash: ./centmin.sh: No such file or directory
    What should I do?

    It seems a directory problem. The command is not pointing to "/usr/local/src/centmin-v1.2.3mod/centmin.sh".
    How can I do this?

    Edit:

    Ha, now learned my first thing. I was in the wrong directory. With "#pwd" I saw that I was wrong. With "#cd /usr/local/src/centmin-v1.2.3mod" I managed to get to the right place. Ha! Now, it works.
     
    Last edited: Dec 27, 2014
  6. sepulchre

    sepulchre Member

    168
    22
    18
    Dec 22, 2014
    Ratings:
    +28
    Local Time:
    1:18 AM
    Ok, I managed to install/configure the basic things.

    I installed CMM (and updated to beta), added domain to vhost and I did the DNS. Also I activated yum cron update, updated php, Nginx and bash as suggested.
    Now I have some things left, which I hope will be done in couple of days but I have questions.

    1. Using the Getting Started Guide, the fourth point talks about CSF Firewall. I couldnt find anything to configure. So, guess CSF is installed and I dont need to do anything, just if I want to whitelist IP address, right?

    2. Nginx Rewrites for Xenforo Friendly Url How can I do this? I dont understand how to do this.
    I don't know how to edit via shell command php.ini. Can't I just open the file via text document editor and edit those words (as I did with the nginx rewrites beneath the php.ini stuff)?

    3. Which version of MariaDB should I use for Xenforo? There is one 10.x and one 5.x. Should I take the 5.x one?
    4. What is the newest memcache version?
    5. And then can you explain me this (nginx vhost configuration)? What is this, what is important of it, what should I use for myself? Where can I find mine, how can I edit mine?


    @eva2000
    I have 2 other suggestions for your site.
    One, it would be great if you could add to your centmin.sh another option called "update Centmin Mod".
    Two, it would be great if you could link threads to your webpages. Like the official Xenforo forum has its Resources pages, and each resource has its own dedicated thread for people who can place their questions. So the getting started guide or the install cmm page could get their threads for example.
     
  7. eva2000

    eva2000 Administrator Staff Member

    54,527
    12,211
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,780
    Local Time:
    10:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Yeah CSF is setup out of box to work for most things already unless you do remote backups to another server have 3rd party smtp mail providers which need CSF tuning as outlined

    A must read is how to use linux text editor via command line. There's VIM or Nano text editors. I use Nano - never really got use to VIM. For nano linux text editor, you can read up more about nano here and here

    Centmin Mod .07 stable defaults to MariaDB 5.5.x while .08 beta defaults to MariaDB 10.x. MariaDB 10.x is more performant but if you have less than <8 cpu threads/cores for your server, probably won't be much of a difference for most things.

    Centmin Mod always uses almost newest memcached server which at time for .07 stable is 1.4.20 see centminmod/centmin.sh at 123.07stable · centminmod/centminmod · GitHub and for .08 beta is 1.4.21 see centminmod/centmin.sh at 123.08centos7beta01 · centminmod/centminmod · GitHub

    Nginx vhost conf file is like Apache's vhost conf, it defines what domain names (server_name) that Nginx listens for and directs it to the web root address where you files are that are served to web users and where you Nginx logs are located see FAQ item number 19 Centmin Mod FAQ - Menu based Nginx installer

    Yeah update Centmin Mod menu item for the code, might end up being in .08 beta and dedicated threads for Getting Started page Getting Started with Centmin Mod would be good too thanks
     
  8. sepulchre

    sepulchre Member

    168
    22
    18
    Dec 22, 2014
    Ratings:
    +28
    Local Time:
    1:18 AM
    Thank you very much for your great help. As mentioned before, this is my first time attempt in setting up a server. And this mod and guidance is so great, that a newbie like me is doing really good. The only main things which I am afraid of, because I dont know it yet, how can I backup my files and database via shell. Maybe in future you could add these points to your centmin.sh menu. But you are the pro. This could be a good alternative to cpanel users, who can restore/download with 1-click their database and home folders when this is also added. A perfect "package" with everything you need.

    Ok, back to the points.

    Before I wanted to try out Nano text editor, I wanted to see if I can make a connection via ftp, find the php.ini file, download it, edit it with notepad++ and upload it again. So far, yes, I dont need shell for it. Notepad++ is able to do it. But I have a problem here.
    [​IMG]

    As you see, my php.ini file doesnt have any disabled functions. Is this normal? I was expecting the opposite so I can remove them.
    If it is ok, now I can go on with the guide from where I left as MariaDB and memcache are also updated.

    And this part I still dont get it:
    . Can you give me an example for what I could need that? I dont know what Apache's vhost conf is and what you direct and why you do this.

    Thanks. Ok, I am going further with the CMM add-ons and then I must see how I do this database management.
    Btw. I get ahead of this but should I enable Google nginx pagespeed?
     
  9. eva2000

    eva2000 Administrator Staff Member

    54,527
    12,211
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,780
    Local Time:
    10:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Yeah if you search the forums for backups, there's some discussions on my stance and that is backups are left to end user right now and not part of Centmin Mod - hence why I suggest a test server for new folks to get a handle of things. As such i'd leave nginx pagespeed disabled until you familiar with everything else.

    Nginx vhost is fully outlined with examples at Nginx Vhost & NSD DNS Setup - Centmin Mod - Menu based Nginx installer for CentOS servers as well.

    Getting Started Guide point 11 outlines mysql management

    Yeah disable_functions is empty as I reversed the default settings as folks were having issues with PHP web apps that needed such functions.
     
  10. sepulchre

    sepulchre Member

    168
    22
    18
    Dec 22, 2014
    Ratings:
    +28
    Local Time:
    1:18 AM
    I went on and installed your phpmyadmin add-on following this guide.

    Now, it is installed but I cant access to it.
    When I use the provided url (the one which was created for me), nothing happens.
    The browser (Firefox) tries endlessly to access to the link, it keeps loading the page but I get no response at all. I dont even get a 404 or some kind of error message, nothing.
    What is the problem here?
     
  11. eva2000

    eva2000 Administrator Staff Member

    54,527
    12,211
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,780
    Local Time:
    10:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    You are connecting from https protocol based url right ? not non-https ?
    What browser you using and Operating system ? Android, Windows, Mac, Linux to view that created url link ? I made a change to the SSL configuration for phpmyadmin installer to disable SSLv3 in light of Poodle SSLv3 attacks. If your web browser/OS doesn't need SSLv3 connection then might not be able to connect. That's one thing I can think of.

    phpmyadmin addon installer should of created an install log at /root/centminlogs/centminmod_phpmyadmin_install_${DT}.log where DT is the date timestamp numeric numbers. You can use Pastebin.com or Gists to share a version of the contents of the install or error messages and post the link here or contact me via private message with the link. You can use the uninstaller script to remove the phpmyadmin installation if needed or if you want to try reinstalls.
     
  12. sepulchre

    sepulchre Member

    168
    22
    18
    Dec 22, 2014
    Ratings:
    +28
    Local Time:
    1:18 AM
    I copied the link it gave me, so with https.
    I am using Firefox 34.0.5, Windows 8.1
    In 30 seconds I will send you the log file in private. Hope this is ok for you.


    edit:

    Also with IE it doesnt work, it keeps loading and loading...
     
    Last edited: Dec 29, 2014
  13. eva2000

    eva2000 Administrator Staff Member

    54,527
    12,211
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,780
    Local Time:
    10:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    i think your install didn't complete properly as you have errors related nginx and location directive in line 49 of your nginx vhost file.

    Try using the uninstaller script to remove the phpmyadmin installation and reinstall again.
     
  14. sepulchre

    sepulchre Member

    168
    22
    18
    Dec 22, 2014
    Ratings:
    +28
    Local Time:
    1:18 AM
    I didnt touch the vhost file, just followed your guide and added this from here:

    Nginx Rewrites for Xenforo Friendly Urls:
    If Xenforo forum is installed in public web root i.e. /home/nginx/domains/newdomain.com/public, then you'll need to add and edit the following Nginx rewrites in /usr/local/nginx/conf/conf.d/newdomain.com.conf:

    location / {
    index index.php index.html index.htm;
    try_files $uri $uri/ /index.php?$uri&$args;

    }

    location /internal_data/ {
    internal;
    allow 127.0.0.1;
    deny all;
    }

    location /library/ {
    internal;
    allow 127.0.0.1;
    deny all;
    }

    The restart Nginx server for it to take effect:

    service nginx restart

    Anyway, I deleted now this (that was the line 49) and restarted nginx. But sadly un/re-installing phpmyadmin didnt work. Still same failure.

    I checked both logs (un and re-installing), and both say this:
    Code:
    Starting php-fpm [28-Dec-2014 18:06:43] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcached.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcached.so: cannot open shared object file: No such file or directory in Unknown on line 0
    done
    
    Starting php-fpm [28-Dec-2014 18:17:42] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcached.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcached.so: cannot open shared object file: No such file or directory in Unknown on line 0
    done
    
    I can't find any other errors in the logs. This is the problem maybe?

    Edit: I think it is the problem. memcached.so file is missing. I copied the memcached.so file from
    /usr/local/lib/php/extensions/no-debug-non-zts-20100525
    and added it to "no-debug-non-zts-20131226" file directory.
    Now I have no errors in my log files. But still phpmyadmin doesnt work. Browser keeps loading and loading.
     
    Last edited: Dec 29, 2014
  15. eva2000

    eva2000 Administrator Staff Member

    54,527
    12,211
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,780
    Local Time:
    10:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    for memcached PHP extension, just run centmin.sh menu option 10 to reinstall memcached server and memcache/memcached PHP extensions but it isn't related to phpmyadmin.
     
  16. sepulchre

    sepulchre Member

    168
    22
    18
    Dec 22, 2014
    Ratings:
    +28
    Local Time:
    1:18 AM
    Still not working. I think I am going to do a fresh new install of Centminmod and this time on CentOS 7.
     
  17. eva2000

    eva2000 Administrator Staff Member

    54,527
    12,211
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,780
    Local Time:
    10:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    as you had a PHP extension problem, might want to try a php upgrade/recompile via centmin.sh menu option 5 and select PHP 5.4.36 as version and see if that helps
     
  18. sepulchre

    sepulchre Member

    168
    22
    18
    Dec 22, 2014
    Ratings:
    +28
    Local Time:
    1:18 AM
    Still same problem, not working.
     
  19. eva2000

    eva2000 Administrator Staff Member

    54,527
    12,211
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,780
    Local Time:
    10:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    can you share your main hostname's Nginx vhost.conf file contents at /usr/local/nginx/conf/conf.d/virtual.conf in CODE tags
     
  20. sepulchre

    sepulchre Member

    168
    22
    18
    Dec 22, 2014
    Ratings:
    +28
    Local Time:
    1:18 AM
    Here are the steps I did mins ago, didnt touch anything else.
    See log:

    Code:
    [1;32;40m---------------------------------------------------------------
    [m[1;33;40mCreate User: phpmyadmin
    [m[1;33;40muid=1002(phpmyadmin) gid=1003(phpmyadmin) groups=1003(phpmyadmin),1001(nginx)
    [m[1;32;40m---------------------------------------------------------------
    [m
    [1;33;40m---------------------------------------------------------------
    [m[1;32;40mInstalling phpmyadmin from official git repository...
    [m[1;33;40m---------------------------------------------------------------
    [m[1;33;40mThis process can take some time depending on
    [m[1;33;40mspeed of the repository and your server...
    [m
    Cloning into '22076_mysqladmin874'...
    fatal: Cannot update paths and switch to branch 'STABLE' at the same time.
    Did you intend to checkout 'origin/STABLE' which can not be resolved as commit?
    [1;33;40m---------------------------------------------------------------
    [m[1;32;40mSetup /usr/local/nginx/conf/phpmyadmin.conf ...
    [m[1;33;40m---------------------------------------------------------------
    [m[1;33;40m---------------------------------------------------------------
    [m[1;33;40mCreate phpmyadmin htaccess user/pass...
    [m[1;32;40mpython /usr/local/nginx/conf/htpasswd.py -c -b /usr/local/nginx/conf/htpassphpmyadmin admino86//vsWK5M= Vin9gRh9MzxF/lu5vevz3asg8iQ=
    [m[1;33;40m---------------------------------------------------------------
    [m
    \cp -af /usr/local/nginx/conf/php.conf /usr/local/nginx/conf/php_22076_mysqladmin874.conf
    [1;33;40m---------------------------------------------------------------
    [mserver {
    #  listen  80;
      listen  80 default_server backlog=256;
      server_name namechanged.com;
      root  html;
    
      access_log  /var/log/nginx/localhost.access.log  main buffer=32k;
      error_log  /var/log/nginx/localhost.error.log  error;
    
    # ngx_pagespeed & ngx_pagespeed handler
    #include /usr/local/nginx/conf/pagespeed.conf;
    #include /usr/local/nginx/conf/pagespeedhandler.conf;
    #include /usr/local/nginx/conf/pagespeedstatslog.conf;
    
    # limit_conn limit_per_ip 16;
    # ssi  on;
    
      location / {
    
    # block common exploits, sql injections etc
    #include /usr/local/nginx/conf/block.conf;
    
    #      Enables directory listings when index file not found
    #     autoindex  on;
    
    #     Shows file listing times as local time
    #     autoindex_localtime on;
    
    #     Enable for vBulletin usage WITHOUT vbSEO installed
    #     try_files     $uri $uri/ /index.php;
       
      }
    
      # example nginx-http-concat
      # /csstest/??one.css,two.css
      #location /csstest {
      #concat on;
      #concat_max_files 20;
      #}
    
    include /usr/local/nginx/conf/phpmyadmin.conf;
    include /usr/local/nginx/conf/staticfiles.conf;
    include /usr/local/nginx/conf/php.conf;
    #include /usr/local/nginx/conf/phpstatus.conf;
    include /usr/local/nginx/conf/drop.conf;
    #include /usr/local/nginx/conf/errorpage.conf;
    
      }[1;33;40m---------------------------------------------------------------
    [m[1;33;40mNON-STATIC IP configuration
    [m[1;33;40m---------------------------------------------------------------
    [m[1;32;40mcat /usr/local/nginx/conf/phpmyadmin.conf
    [m[1;33;40m---------------------------------------------------------------
    [mlocation ^~ /22076_mysqladmin874/ {
       rewrite ^/(.*) namechanged.com/$1 permanent;
    }
    [1;33;40m---------------------------------------------------------------
    [m[1;32;40mcat /usr/local/nginx/conf/phpmyadmin_https.conf
    [m[1;33;40m---------------------------------------------------------------
    [mlocation ^~ /22076_mysqladmin874/ {
       #try_files $uri $uri/ /22076_mysqladmin874/index.php?$args;
       include /usr/local/nginx/conf/php_22076_mysqladmin874.conf;
    
       auth_basic  "Private Access";
       auth_basic_user_file  /usr/local/nginx/conf/htpassphpmyadmin;
       #allow 127.0.0.1;
       #allow myIP;
       #deny all;
    }
    [1;33;40m---------------------------------------------------------------
    [m
    [1;32;40mtouch /usr/local/nginx/conf/phpfpmd/phpfpm_myadmin.conf
    [m
    
    [1;33;40mDynamically set PHP memory_limit based on available system memory...
    [m
    [1;33;40mTotal Mem: 6144 MB
    [m[1;33;40mReal Free Mem: 6011 MB
    [m[1;33;40mMem Limit: 2671 MB
    [m
    -rw-rw-rw- 1 phpmyadmin nginx 0 Dec 30 17:45 /var/log/php_myadmin_error.log
    Restarting nginx (via systemctl):  [  OK  ]
    Gracefully shutting down php-fpm . done
    Starting php-fpm  done
    [1;33;40m---------------------------------------------------------------
    [m[1;32;40mSSL Vhost Setup...
    [m[1;33;40m---------------------------------------------------------------
    [m
    [1;33;40m---------------------------------------------------------------
    [m[1;32;40mGenerating self signed SSL certificate...
    [m[1;32;40mJust hit enter at each of the prompts
    [m[1;33;40m---------------------------------------------------------------
    [m
    Generating RSA private key, 1024 bit long modulus
    .....................................++++++
    ............++++++
    e is 65537 (0x10001)
    You are about to be asked to enter information that will be incorporated
    into your certificate request.
    What you are about to enter is what is called a Distinguished Name or a DN.
    There are quite a few fields but you can leave some blank
    For some fields there will be a default value,
    If you enter '.', the field will be left blank.
    -----
    Country Name (2 letter code) [XX]:State or Province Name (full name) []:Locality Name (eg, city) [Default City]:Organization Name (eg, company) [Default Company Ltd]:Organizational Unit Name (eg, section) []:Common Name (eg, your name or your server's hostname) []:Email Address []:
    Please enter the following 'extra' attributes
    to be sent with your certificate request
    A challenge password []:An optional company name []:Signature ok
    subject=/C=XX/L=Default City/O=Default Company Ltd
    Getting Private key
    Restarting nginx (via systemctl):  [  OK  ]
    Gracefully shutting down php-fpm . done
    Starting php-fpm  done
    [1;33;40m---------------------------------------------------------------
    [m[1;32;40mCreate update script:
    [m[1;32;40m/root/tools/phpmyadmin_update.sh
    [m[1;33;40m---------------------------------------------------------------
    [m[1;33;40m---------------------------------------------------------------
    [m[1;32;40mCreate uninstall script:
    [m[1;32;40m/root/tools/phpmyadmin_uninstall.sh
    [m[1;33;40m---------------------------------------------------------------
    [m
    [1;33;40m---------------------------------------------------------------
    [m[1;32;40mPassword protected 22076_mysqladmin874
    [m[1;32;40mat path /usr/local/nginx/html/22076_mysqladmin874
    [m[1;32;40mconfig.inc.php at: /usr/local/nginx/html/22076_mysqladmin874/config.inc.php
    [m[1;32;40m  WEB url:
    [m
    [1;37;40m  https://namechanged.com/22076_mysqladmin874
    [m
    [1;32;40mLogin with your MySQL root username / password
    [m[1;33;40m---------------------------------------------------------------
    [m
    [1;32;40mphpmyadmin htaccess login details:
    [m[1;32;40mUsername: admin.....
    [m[1;32;40mPassword: Vin9g......
    [m[1;32;40mAllowed IP address: myIP
    [m
    [1;33;40m---------------------------------------------------------------
    [m[1;32;40mphpmyadmin update script at: /root/tools/phpmyadmin_update.sh
    [m[1;32;40mAdd your own cron job to automatically run the update script i.e.
    [m
    [1;37;40m  15 01 * * * /root/tools/phpmyadmin_update.sh
    [m
    [1;33;40m---------------------------------------------------------------
    [m[1;32;40mphpmyadmin uninstall script at: /root/tools/phpmyadmin_uninstall.sh
    [m
    [1;37;40m  /root/tools/phpmyadmin_uninstall.sh
    [m
    [1;33;40m---------------------------------------------------------------
    [m[1;32;40mSSL vhost: /usr/local/nginx/conf/conf.d/phpmyadmin_ssl.conf
    [m[1;32;40mphp-fpm includes: /usr/local/nginx/conf/php_22076_mysqladmin874.conf
    [m[1;32;40mphp-fpm pool conf: /usr/local/nginx/conf/phpfpmd/phpfpm_myadmin.conf
    [m[1;32;40mdedicated php-fpm pool user: phpmyadmin
    [m[1;32;40mdedicated php-fpm pool group: nginx
    [m[1;32;40mdedicated php error log: /var/log/php_myadmin_error.log
    [m[1;33;40m---------------------------------------------------------------
    [m[1;32;40mSSL vhost access log: /var/log/nginx/localhost_ssl.access.log
    [m[1;32;40mSSL vhost error log: /var/log/nginx/localhost_ssl.error.log
    [m[1;33;40m---------------------------------------------------------------
    [m
    
    Total phpmyadmin Install Time: 94.193549501 seconds