Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Database \ Installation and configuration of phpMyAdmin under CentOS     - Why is better than Git SVN (Linux)

- Big Data Common Glossary (Linux)

- How to use nmap command in Linux (Linux)

- RHEL5 / 6 Installation Notes (Linux)

- Analysis examples: Intrusion Response Linux platform Case (Linux)

- Android Activity launchMode (Programming)

- Iptables application layer plug (Linux)

- Oracle inline view updates problems encountered (Database)

- Ceph tuning --Journal and tcmalloc (Server)

- LVM management reduces swap partition space to the root partition (Linux)

- Linux network monitoring strategy (Linux)

- The most common and most effective security settings under linux (Linux)

- Analysis of Java keyword final (Programming)

- namespace mechanism Linux kernel analysis (Linux)

- Using Linux stat command to view the files (Linux)

- PLSQL Developer synchronization table tools (Database)

- Linux ban single-user mode to enhance system security (Linux)

- RHEL 6.6 install GNOME desktop environment (Linux)

- Linux Variable content removal and replacement (Linux)

- W and uptime command (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:      
 
- Binder began to talk about inter-process communication mechanism from Android AIDL (Programming)
- To create a secure network firewall with iptables Under Linux (Linux)
- Java Annotation Comments (Programming)
- findmnt- Looking mounted file system (Linux)
- Source compiler install Nginx (Server)
- Ubuntu 14.04 to install Blender 2.71 (Linux)
- In Spring AOP example explanation (Programming)
- Red Hat Enterprise Linux 6.4 Configuring VNC Remote Desktop login access (Linux)
- Python Multithreaded Programming (Programming)
- GNU Linux use diff to generate a patch with the patch (Linux)
- Android using SVG vector graphics to create cool animation effects (Programming)
- To compile and install Redis Linux and master-slave replication configuration (Database)
- Live Wallpaper for Linux release adds dynamic background (Linux)
- RedHat 6 xrdp use remote login interface (Linux)
- Share Practical Tutorial GitHub (Linux)
- Python2 ---- function using dictionaries (Programming)
- MySQL 5.6 master-slave replication configuration (Database)
- pscp use Detailed Windows and Linux each file transfer tool (Linux)
- 25 Git Advanced Skills (Linux)
- Install RAID 6 (Striping double distributed parity) (Linux)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.