Chia Sẽ Kinh Nghiệm Về IT



Tìm Kiếm Với Google
-


Gởi Ðề Tài Mới  Gửi trả lời
 
Công Cụ Xếp Bài
Tuổi 16-09-2016, 10:14 AM   #1
hoctinhoc
Guest
 
Trả Lời: n/a
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
  Trả lời ngay kèm theo trích dẫn này
Gửi trả lời


Công Cụ
Xếp Bài

Quyền Hạn Của Bạn
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Mở
Hình Cảm xúc đang Mở
[IMG] đang Mở
Mã HTML đang Tắt




Bây giờ là 06:41 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 - 2024, Jelsoft Enterprises Ltd.