Home IT Linux Windows Database Network Programming Server Mobile  
           
  Home \ Database \ Installation and configuration of phpMyAdmin under CentOS     - CentOS7 virtual machine starts appear Permission denied (Linux)

- Example of use WebSocket (Programming)

- Linux, MySQL / MariaDB Galera Cluster Setup Process (Database)

- CentOS 6.x and CentOS7 install MPlayer (Linux)

- Linux data recovery software efficiently practical application extundelete (Linux)

- Linux kernel compilation, the configuration of the motor drive (Programming)

- To install and deploy PHP environment under the CentOS (Server)

- Use web2py + uWSGI + Nginx Web server built on Linux (Server)

- ASM Disk Space Check (Database)

- To upgrade combat MongoDB database replication sets and split versions (Database)

- RAID disk array Description (Linux)

- Linux remote landing system (Linux)

- Linux System Administrator common interview questions and answers 30 (Linux)

- Linux System Getting Started Learning: Using yum to download the RPM package without installing (Linux)

- How to protect your eyes automatically adjust the screen brightness on Linux (Linux)

- Try the command ip, ifconfig is obsolete under Linux (Linux)

- Linux System Getting Started Learning: Change the name of the network interface on CentOS7 (Linux)

- Android Studio Installation and Configuration Guide tutorial (Linux)

- SYN attack hacker attack and defense of the basic principles and prevention technology (Linux)

- Oracle database with test data insertion speed (Database)

 
         
  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:      
 
- Shell Scripting Interview Questions (Programming)
- Setting Squid successful anti-hotlinking (Linux)
- iOS development -Launch Image and Launchscreen (Programming)
- ElasticSearch basic usage and cluster structures (Server)
- MariaDB 10.0.X, the dynamic column support JSON format to obtain data (Database)
- C language - Traverse pci device (Programming)
- Linux, see picture not resolve the problem (Linux)
- RHEL7 Apache MPM configuration (Server)
- CentOS7 install JDK (Linux)
- The script Linux command (Linux)
- Keepalived + HAProxy high availability load balancing (Server)
- Web server security policy (Linux)
- Normal start Lazarus 1.0.8 under Ubuntu (Linux)
- Basic Operation Linux files and directories (Linux)
- C # / iOS / Android Universal Encryption and decryption (Programming)
- Understand the profound discussion of some of the options for wireless encryption (Linux)
- Slice MyCAT common fragmentation rules of enumeration (Database)
- Getting Started with Linux system to learn: how to get the process ID (PID) in the script (Linux)
- How to install Laravel PHP framework on CentOS 7 / Ubuntu 15.04 (Server)
- Spring-depth understanding of the various annotations (Programming)
     
           
     
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.