Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Database \ Installation and configuration of phpMyAdmin under CentOS     - Linux operation and maintenance of the automated installation and deployment RHEL7.0 Cobbler (Linux)

- Setting the RedHat9 Intrusion Detection System (Linux)

- Ubuntu arm-none-eabi-gcc compiler treated with STM32F10x (Linux)

- Django Signals from practice to source code analysis (Programming)

- Interesting example of Linux Sort command (Linux)

- Linux crontab command format example (Linux)

- Ubuntu 14.04 build Hadoop 2.5.1 standalone and pseudo-distributed environment (32-bit) (Server)

- CentOS use wget (Linux)

- Linux Quick Install MongoDB (Database)

- Linux support exFAT and NTFS (Linux)

- Computer security perimeter recommendations (Linux)

- Root of AVL Tree- achieve balanced search trees AVL tree (Programming)

- Overall Physical Migration of Oracle Database with (Database)

- Use regular expressions to check whether the input box to enter a URL (Programming)

- Introduction and bash history command to quickly call (Linux)

- Installation configuration CUDA under Ubuntu 14.04 (Linux)

- Java String type time compare the size (Programming)

- Shilpa Nair interview experience sharing RedHat Linux package management (Linux)

- Use in Linux ipmitool tool (Linux)

- VMware11 virtual machine Ubuntu14.10 system partition sda1 disk expansion (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:      
 
- To install Docker under Ubuntu 15.04 (Linux)
- To install Xen in Ubuntu 12.04 (Linux)
- 10 Codes of good practice PHP (Programming)
- Five strokes to find out the IP address you want to know (Linux)
- Linux Timing task Crontab command Detailed (Linux)
- Linux foreground to background process switch (Linux)
- PHP generates a random password several ways (Programming)
- Reset CentOS / RHEL root account password 7 (Linux)
- Python2 ---- function using dictionaries (Programming)
- To build a private Docker registry (Server)
- RabbitMQ Getting Started Tutorial (Linux)
- Loop arrays in C language is not easy to find a bug (Programming)
- Linux vi command list (Linux)
- The sublime into IDE (Linux)
- Justniffer installed on Ubuntu 15.04 (Linux)
- Remove old kernel on Ubuntu (Linux)
- How do I delete a NEEDS RECOVERY rollback state of undo tablespace (Database)
- Bash job control (Linux)
- Python format string (Programming)
- Ubuntu security settings and tools (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.