Start the iptables website in the Centos + nginx + wordpress environment and return the 502 iptables nginx fastCGI
Website environment: Centos nginx php (wordpress)
The problem is summarized as follows:
When the iptables website is started, 502 is returned, and the iptables website is disabled.
Iptables settings ar
Varnish is a high-performance open-source HTTP accelerator, Norway's largest online newspaper Verdens Gang (http://www.vg.no) using 3 units varnish replaced the original 12 squid, performance is even better than before. Visible varnish is a rather powerful accelerator. Roy is here to introduce how to install varnish on CentOS to speed up your WordPress blog.
1,
-content /:User Directory, which can be set to writable by all users./Wp-content/themes /:Topic directory. If you need to use the topic editor in the background, you need to set it to writable./Wp-content/plugins /:Plug-in Directory, which can only be written by your user account.Tip: the wordpress full-site directory can run normally without writing, so we recommend that you set it to full-site unwriteable. When you need to automatically upgrade and
VPS uses LNMP to install WordPress and vpslnmpwordpress. VPS install WordPress with LNMP. vpslnmpwordpress preface a few days ago, a friend had an idle vps and MB of memory on his hand. I decided to give it a try. After some thought, I still used to install
HTTP://CODEX.WORDPRESS.ORG/ZH-CN: Install WordPress Introduced WordPress is your best choice if you want to create your own website quickly, easily, and for free. WordPress is a blog platform developed using the PHP language that allows users to build their own websites on servers that support PHP and MySQL databases.
are very convenient. CurrentlyWordPresshas become the mainstreamBlogbuild a platform. https://cn.wordpress.org/, here toWordpress-4.8.1-zh_cn.zipas an example. # yum-y Install Unzip# unzip-q Wordpress-4.8.1-zh_cn.zip# cp-a wordpress//var/www/html/# cd/var/www/html/wordpress# CP wp-config-sample.php wp-config.php# vim
Start the iptables website in the Centos + nginx + wordpress environment and return the 502 website environment: Centos nbsp; nginx nbsp; php (wordpress). The following is a summary of the current problems: 502 is returned when the iptables website is started, close iptables website open normal I start iptables websi
installation package must be changed to this nameVim wp-config.phpDefine (' db_name ', ' wpdb ');/** MySQL Database user name */Define (' Db_user ', ' wpuser ');/** MySQL Database password */Define (' Db_password ', ' CentOS ');/** MySQL Host */Define (' db_host ', ' localhost ');
Vi. compiling XCache for PHP acceleration1. Unpacking the Packagecd/app/TAR-XVF xcache-3.2.0.tar.bz2CD xcache-3.2.02. Compiling, installingThe extracted directory doe
Varnish is a high-performance open-source HTTP accelerator, Norway's largest online newspaper Verdens Gang (http://www.vg.no) using 3 units varnish replaced the original 12 squid, performance is even better than before. Visible varnish is a rather powerful accelerator. Roy is here to introduce how to install varnish on CentOS to speed up your WordPress blog.
1,
This article mainly introduces how to use LNMP to install WordPress in VPS. For more information, see
Preface
A few days ago, a friend had an idle vps and M memory on hand. I decided to give it a try. After some thought, we still use it to stop the station. Then the CentOS6 system decides to use the LNMP that has never been used. As a result, Baidu and Google looked for tutorials and many tutorials were pr
First of all, in CentOS 6.9 need some preparation environment, I was on the basis of my previous blog to build, and again on the basis of the expansion and construction;httpd mysql-server php php-mysql these four RPM packages, directly with Yum loaded, this operation I will not show you, a command to solve;Since I have set up the HTTP environment, I only installed the latter three packets;A directoryindex index.php was added to the configuration file
linux, we recommend that you install the virtual host panel AMH. For more information, see: install the AMH4.2 virtual host panel.
Update: I am too busy to get my driver's license. My girlfriend had no time to get online a few days ago. Take the time to update today.
Click http://shang.qq.com/wpa/qunwpa? Idkey = ba36ddc26faeeb84153430641f02e5d34ddbce3964ee945abbde0a9b002a118b
Or scan the QR code to join t
I recently read Wordpress is the first choice for building a personal blog by Chinese people. Its position is equivalent to discuz, the first choice for building a forum (in other words, discuz only reports the command execution holes caused by global variables bypassing. Alas, open-source apps all generate getshell honeycomb instead of honey)Wordpress is famous for its rich plug-ins (plug-in vulnerabilitie
cifs-o Username=centos,password=centos//192.168.199.174/share_fs/mydata5. Edit the MARIADB configuration file on Host A, modify the data directory, and then turn off SELinux and start the MARIADB service;~]# vim/etc/my.cnfDatadir=/mydata~]# Setenforce 0~]# systemctl Start Mariadb.service6. CREATE DATABASE TestDB on Host A, user testuser, password testpasswd, and do authorization:~]# MySQLmariadb[(none)]>cr
Afternoon to night time, bought a Linux server, with the CentOS system, encountered various problems!1, with Putty,ssh to the VPS, according to the online command, step by step download and installation, concrete steps can look at the online tutorial, lnmp.org station on the tutorial is more authoritativeThis process is still relatively smooth, including building up, it is best to open the FTP convenient file transfer. I use the first method does not,
It's a bit uncomfortable to use a VM. It's just that digitalocean's VPs is so cheap.
1. Purchase VPS
VPs prices in China are relatively expensive. In addition, if you want to apply for an ICP filing, you will select a foreign company. Among the most well-known products, linode and digitalocean, and digitalocean will be available for a monthly trial.
Purchase digtalocean VPs and connect to Linux2. Domain Name addition and resolution settings
A good domain name is very important. Domain
In this article, we will guide you how to install WordPress in Ubutu VPS.Installation conditionsBefore I start, you must have your own VPS server. Nowadays, various clouds are quite popular. You can consider them by yourself. I personally use Alibaba Cloud VPS, which is a little expensive and stable. It seems that you are engaged in an activity recently. You can check it yourself. If you are a single small
I have finally set up www.jtianling.com in Ubuntu over a weekend. Here I will share some immature experiences.Preparations
Install the following software before installing WordPress:
1. apache2. Needless to say, there is no HTTP server without Apache.
Apt-Get install apache2
2. PhP5 and Wordpress are written in PHP.
Ap
Set WordPress 301 redirection for Nginx on CentOS Server
In the Nginx environment, use 301 for permanent redirection. The code is:
Rewrite ^/archives/(. *)/$1 permanent;
You can also write data separately, for example:
Rewrite ^/archive/(%0-9%%%%%.html $/%1.html permanent; # rewrite ^/archive/category /(. *) $/category/$1 permanent; # directory category rewrite ^/archive/tag /(. *) $/tag/$1 permanent; #
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.