Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng

Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng (http://quantrinet.com/forum/index.php)
-   Hướng dẫn sử dụng Direct Admin (http://quantrinet.com/forum/forumdisplay.php?f=196)
-   -   Cài đặt , tối ưu máy chủ chuyên chạy Wordpress (http://quantrinet.com/forum/showthread.php?t=10050)

hoctinhoc 16-09-2016 10:14 AM

Cài đặt , tối ưu máy chủ chuyên chạy Wordpress
 
Xây dựng VPS chuyên chạy Wordpress

1. Cài đặt http://tecadmin.net/install-php-7-ng...-5-on-centos/#

http://tecadmin.net/install-php-7-ng...-5-on-centos/#
https://www.liquidweb.com/kb/how-to-...d-on-centos-7/
yum -y install firewalld
chuyen chay chay IP qua chay Socket https://sg.godaddy.com/help/build-a-...centos-7-17349

Cai dat ZenOpCache https://www.webfoobar.com/index.php/node/31

Enable Cahce plugin: https://john-dugan.com/setup-w3tc-nginx/

Cài đặt thêm 1 số Module

yum install php70w-devel php70w-perl

yum -y install php70w-pear


2. Tối Ưu

http://wordpress.tv/2012/09/01/iliya...nce-wordpress/

3. Fix loi


Tim loi trong Log

tail /var/log/nginx/error.log


http://www.ubizip.com/nginx-and-drup...edirecting-to/

chown -R root:www-data /home/noisepages/www
chmod g+w -R /home/noisepages/www


xu ly loi "2014/12/21 14:50:23 [error] 12345#0: *18 FastCGI sent in stderr: "Unable to open primary script: /path/to/index.php (No such file or directory)" while reading response header from upstream, client: 1.2.3.4, server: example.org, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/wordpress-fpm.socket:", host: "example.org"

"
Diable Selinux:

SELINUX=disabled in /etc/sysconfig/selinux


Bây giờ là 08:26 PM. Giờ GMT +7

Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.