Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Database \ Installation and configuration of phpMyAdmin under CentOS     - How to install open source ITIL portal iTOP on CentOS 7 (Server)

- MySQL & NoSQL - Memcached widget (Database)

- Compare Oracle MySQL (ICP) index condition pushdown is described (Database)

- Setting Derby as Linux / Windows running as a service from the start (Server)

- Linux users should be aware that should the 7 ls command unique skills (Linux)

- Gnu Linux - Ubuntu System Clean-term consolidation (Linux)

- Story timestamp and time zones: daily programmer (Programming)

- FreeRadius installation process record (Linux)

- Analysis of memory mapping process in Linux x86-32 mode (Linux)

- Ubuntu treated with cue file to ape and wav files automatically track points (Linux)

- Shell generated using automated configuration script Orabbix (Database)

- Oracle11g Trigger Debugging Record Error: PLS-00201: identifier SYS.DBMS_SYSTEM 'must be declared (Database)

- Ubuntu 12.04 64-bit installation Redmine + Git + ReviewBoard (Linux)

- Tmux Crash Course: Tips and adjustment (Linux)

- Binary tree traversal recursive and non-recursive (cyclic) traversal achieve (Programming)

- HTTP Client Hints Introduction (Server)

- Talk about Java EE Learning (Programming)

- error no.2013 lost connection Tom with SQLServer during query (Database)

- How VirtualBox and VMware virtual machine conversion (Linux)

- Linux bash: scp: command not found the problem (Linux)

 
         
  Installation and configuration of phpMyAdmin under CentOS
     
  Add Date : 2017-01-08      
         
       
         
  Environment Description:

System version: CentOS 6.6 32bit

Software version: mysql 5.6.25, nginx1.6.2, php5.4.37 LNMP architecture

Description: mysql5.5 or later version is required phpmyadmin4.4 above;

Proceed as follows:

# Unzip phpMyAdmin-4.4.7-all-languages.zip

# Mv phpMyAdmin-4.4.7-all-languages / * / usr / local / nginx / html / phpmyadmin /

# Cd / usr / local / nginx / html / phpmyadmin /

# Cp config.sample.inc.php config.inc.php

Browser access 192.168.20.5/phpmyadmin

Root user password is mysql password;

Solution:

# Vi config.inc.php

Find the line $ cfg [ 'Servers'] [$ i] [ 'host'] = 'localhost';

Revised as: $ cfg [ 'Servers'] [$ i] [ 'host'] = '127.0.0.1';

Reconnect on login go;

nginx virtual host configuration as follows:

# Cat /usr/local/nginx/conf/vhosts/default.conf

server

{

    listen 80;

    server_name 192.168.20.5;

    index index.html index.htm index.php;

    root / usr / local / nginx / html;

   

    location ~ \ .php $ {

    include fastcgi_params;

    fastcgi_pass unix: /tmp/php-fcgi.sock;

    fastcgi_index index.php;

    fastcgi_param SCRIPT_FILENAME $ document_root $ fastcgi_script_name;

    }

}

php-fpm configuration is as follows:

# Cat /usr/local/php/etc/php-fpm.conf

[Global]

pid = /usr/local/php/var/run/php-fpm.pid

error_log = /usr/local/php/var/log/php-fpm.log

[Www]

user = php-fpm

group = php-fpm

listen = /tmp/php-fcgi.sock

listen.mode = 0666

pm = dynamic

pm.max_children = 50

pm.start_servers = 20

pm.min_spare_servers = 5

pm.max_spare_servers = 35

pm.max_requests = 500

rlimit_files = 1024
     
         
       
         
  More:      
 
- How to use the on-screen keyboard in Linux (Linux)
- RHEL7.0 log system (Linux)
- Apache Mina framework Practice (Programming)
- Ubuntu uses the / etc / profile file to configure the JAVA environment variable (Linux)
- How to remove the files inside the privacy of data on Linux (Linux)
- About Java 7 module system (Programming)
- Circular list of Java programming (Programming)
- Ubuntu 14.10 / 14.04 how to install Quick Start tool Mutate 2.2 (Linux)
- echo command (Linux)
- Understanding Java classes (Programming)
- Java Foundation - Getting Start (Programming)
- Docker startups use continuous integration deployment (Server)
- Python regular expressions: how to use regular expressions (Programming)
- Ubuntu 14.04 Install WordPress on Nginx (Server)
- Oracle archive log deletion (Database)
- Safety testing Unix and Linux server entry succinctly (Linux)
- Linux (Ubuntu) How iptables port mapping (Server)
- Several start-up mode of Tomcat (Server)
- Story timestamp and time zones: daily programmer (Programming)
- Ubuntu 14.04 Trusty Tahr User How to install Banshee 2.9.1 (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.