I have long wanted to build a blog of my own , To record your life 、 Every bit of learning . The reason to choose WordPress, Mainly because it can support Latex, And I especially like its simple style .

WordPress There is one the famous 5 minutes installing, But I am right LAMP(Linux,Apache,MySQL,PHP) Almost nothing , It took nearly two days to build the whole blog . install  WordPres be prone to , But it's more troublesome to configure the relevant software . The following is a summary of my whole construction process .

operating system :Ubuntu 12.04LTS

First, list the files you need :

1.wordpress http://wordpress.org/download/

2.mysql http://www.mysql.com/downloads/mysql/

3.httpd2.4.6 http://httpd.apache.org/download.cgi

4.apr1.4.8 http://apr.apache.org/download.cgi

5.apr-util1.5.2 http://apr.apache.org/download.cgi

6.php5.5.1 http://php.net/downloads.php

7.libxml2.9.1 http://www.xmlsoft.org/downloads.html

8.prce8.33http://www.pcre.org

ubuntu install ftp The server ( General configuration )

1. install vsftpd

~$ sudo apt-get install vsftpd

2. To configure vsftpd

2.1 modify /etc In the catalog vsftpd Configuration file for

$sudo gedit /etc/vsftpd.conf

Many commands in the source file are annotated , According to the specific instructions of each command, you can enable part of it , As shown below :

listen=YES # Server listening 
local_enable=YES # Local host access is allowed
write_enable=YES # Writing allows
dirmessage_enable=YES # Enter the folder to allow
xferlog_enable=YES # Activate ftp Upload and download logs
connect_from_port_20=YES # Allow to use 20 As the port of data transmission
chroot_local_user=YES
chroot_list_enable=YES # (default follows)
chroot_list_file=/etc/vsftpd.chroot_list
secure_chroot_dir=/var/run/vsftpd/empty pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/private/vsftpd.pem

2.2 Set up ftp Related contents

After installation ,/srv The next one will be added ftp Catalog . We are /srv/ftp Create two directories named upload and download The catalog of , For upload and download respectively .

~$ mkdir /srv/ftp/download

~$ mkdir /srv/ftp/upload

Next, let's set permissions for the directories we just created , Execute the following command : ~$ sudo chmod 755 /home/ftp ~$ sudo chmod 777 /home/ftp/upload ~$ sudo chmod 755 /home/ftp/download

3.vsftpd  Set user directory

3.1 Add groups ~$ sudo groupadd ftpgroup

Add user ftpuser And set the directory to /home/nation/ftp/upload ~$ sudo useradd -g ftpgroup -d /home/nation/ftp/upload -M ftpuser

( notes :g: User's group  d: Specifies the location of the directory where the user is created ,M: Don't create a default home directory , That is to say /home I don't have my own directory )

3.2 Set the user password ~$ passwd ftpuser, Then enter the password twice in a row .

3.3 edit chroot_list file

~$ sudo gedit /etc/vsftpd.chroot_list The content is ftp user name , One line per user , Such as :

ftpuser

4. start-up vsftpd

~$ sudo service vsftpd start

View all current processes : ~$ ps -e So far on the server side vsftp The basic configuration of is complete ,vsftpd Enabled .( Pay attention to the firewall configuration ) close vsftpd The process just needs to execute ~$ sudo service vsftpd stop, restart vsftpd Process execution ~$sudo service vsftpd restart

Reference resources :http://blog.csdn.net/nation_chen/article/details/7066277

install MySQL

1. install MySQL

$ sudo apt-get install mysql-server

2. To configure MySQL

Be careful , stay Ubuntu Next MySQL By default, only local access is allowed , If you want other machines to be accessible as well , So it needs to change /etc/mysql/my.cnf Profile ! Now let's step by step :

default MySQL After installation, the root user has no password , So first use the root user to enter :

$mysql -u root

Get into mysql after , The most important thing is to set up Mysql Medium root The user password .

mysql> GRANT ALL PRIVILEGES ON *.* TO root@localhost IDENTIFIED BY “123456″;

Be careful , I'm using 123456 As root User's password , You'd better use a combination of uppercase and lowercase letters and numbers , And not less than 8 position . In this case , It's set up MySQL Medium root The user password .

3. use root Permission to create database

mysql>CREATE DATABASE xoops;

mysql>GRANT ALL PRIVILEGES ON xoops.* TO xoops_root@localhost IDENTIFIED BY “654321″;

In this way, a xoops_roots Users of , It's about the database xoops With full authority . Use it later xoops_root Come on xoops Database management , There's no need to use root The user , And the user's permission is limited to xoops In the database .

If you want remote access or control , So you have to do two things :

firstly :

mysql>GRANT ALL PRIVILEGES ON xoops.* TO xoops_root@”%” IDENTIFIED BY “654321″;

allow xoops_root Users can log in from any machine MySQL.

second :

$sudo gedit /etc/mysql/my.cnf

>bind-address=127.0.0.1 => bind-address=  Your machine's IP

This allows other machines to access MySQL 了 .

Reference resources :http://wiki.ubuntu.org.cn/MySQL%E5%AE%89%E8%A3%85%E6%8C%87%E5%8D%97

install PRCE(Perl Compatible Regular Expressions)

stay http:www.pcre.org download pcre8.33.tar.bz2 decompression , Go to the directory and execute in turn ./configure;make;sudo make install Complete the installation , Re execution ldconfig.libpcre Compile after Apache2 You will use .

install httpd2.4.6

compile httpd Make sure you have installed APR、APR-Util, If not, download and unzip to httpd2.4.6 Of srclib/apr and /srclib/apr-util Next ( If the unzipped directory has a version number , Remember to rename the directory ). In execution ./configure Add... After the command –with-included-apr Options .

1. Unzip and enter the directory

$ bzip2 -d httpd-2.4.3.tar.gz $ tar -xvf httpd-2.4.3.tar $ cd httpd-2.4.3

2. To configure

$ ./configure --with-included-apr --enable-module=so –prefix=/usr/local/apache2

( If you don't specify prefix, Will be installed to by default /usr/local/apache2;–enable-module=so We can't do without , This is installed in the back PHP Time is a must )

3. Compile and perform the installation

$ make

$ make install

4. test ( Open or close )

/usr/local/apache2/bin/apachectl -k start/stop

install libxml2

In the installation libxml2 Before , You need to install python-dev, Execute at the terminal :sudo apt-get install python-dev

1. decompression libxml2 Go back to the catalog

$ tar zxvf libxml2-git-snapshot.tar.gz

$ cd libxml2-2.9.1

2. To configure

$ ./configure –prefix=/usr/local/libxml2

3. Compile and install

$ make

$ make install

If the installation is successful , stay /usr/local/libxml2 / Directory will generate bin、include、lib、man and share Five directories . Install it in the back PHP5 Source code package configuration , May pass through configure The choice of command Add “–with-libxml-dir=/usr/local/libxml2″ Options , Specify installation libxml2 Location of library files .

install PHP

In the installation PHP Before , We have to install libpng-dev, Otherwise, it is in execution ./configure Can't find png.h Error of . Once installed libpng-dev After that, it can go smoothly configure In the past , I can't find it in the back jpeg Relevant stuff , By the way libjpeg-dev, libpng-dev, libtiff-dev, libjasper-dev, libavcodec-dev, libavformat-dev, libswscale-dev It's all installed together , These are using OpenCV It will be used . Execute commands at the terminal :sudo apt-get install libjpeg-dev libpng-dev libtiff-dev libjasper-dev libavcodec-dev libavformat-dev libswscale-dev

1. Unzip and enter the directory

$ bzip2 -d php-5.5.1.tar.bz2

$ tar -xvf php-5.5.1.tar

$ cd php-5.5.1

2. To configure

$ ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-libxml-dir=/usr/local/libxml2 --with-gd --with-zlib --enable-mbstring  --enable-zip –with-libxml-dir=/usr/local/libxml2

( Be careful : Not less —with-zlib, Or in the back WordPress When you install a plug-in or upgrade in ”Missing zlib extensions” The problem of ).

3. Compile and install

$ make

$ make install

4. Set up PHP Configuration file for php.ini

$ cp php.ini-development /usr/local/lib/php.ini

5. To configure Apache Of httpd.conf Enable it to load PHP modular

$ sudo gedit /usr/local/apache2/conf/httpd.conf

modify httpd.conf The content of , Make sure the following two are not commented out :

LoadModule rewrite_module modules/mod_rewrite.so
LoadModule php5_module modules/libphp5.so

because WordPress Yes Apache Of mod_rewrite modular , So the first one here can't be annotated .

6. To configure Apache Of httpd.conf To support PHP Related extension file

Add the following code

 <FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch> # Support only .php

perhaps

 <FilesMatch "\.ph(p[2-6]?|tml)$">
SetHandler application/x-httpd-php
</FilesMatch> # Support .php,.php2,.php3,.php4,.php5,.php5 and phtml

allow .php The file is php The source filter processes and highlights the source code , Add the following code :

 <FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
</FilesMatch> RewriteEngine On
RewriteRule (.*\.php)s$ $1 [H=application/x-httpd-php-source]

7. restart Apache

/usr/local/apache2/bin/apachectl restart

Enter the machine in the browser IP Address , You can see the page display “It works!".

install WordPress

First step : download WordPress Install the package and unzip

Download from here WordPress Compress the package and unzip  http://wordpress.org/download/

  • If you want to WordPress Upload to a remote server , To download WordPress Compress the package to your computer , And then decompress
  • If you use shell To access your server , And you can use it easily console Tools , You can use wget ( perhaps  lynx Or something else console command ) To download it directly WordPress To your web server, In this way, you can avoid using FTPing( The method is applicable to Linux System ):
  • $wget http://wordpress.org/latest.tar.gz
  • Then use the command to unzip : $tar -xzvf latest.tar.gz

such WordPress The compressed package will be unzipped to a folder wordpress, This folder is the same as the one you downloaded latest.tar.gz The compressed packages are in the same directory .

  • If you don't shell To access your server , Or it's not convenient for you to use  console Tools , You can use ZipDeploy Upload WordPress To your web server

The second step : establish WordPress Database and a user

You can use shell function mysql sentence , Create... Quickly and easily MySQL Users and databases . Here's the create statement , Where the dollar sign represents the command prompt :

$ mysql -u adminusername -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 5340 to server version: 3.23.54
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> CREATE DATABASE databasename;
Query OK, 1 row affected (0.00 sec)
mysql> GRANT ALL PRIVILEGES ON databasename.* TO "wordpressusername"@"hostname"
    -> IDENTIFIED BY "password";
Query OK, 0 rows affected (0.00 sec)
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.01 sec)
mysql> EXIT
Bye
$

You can see from this example that :

  • Root user name (root) It's also the administrator user name (adminusername). Use what looks like “ Ordinary “ As the name of mysql Administrator names are more secure , In this way, we will not put “mysql” The command is entered as the root user of the system .( As far as possible Avoid working as root , Reduce the possibility of being discovered ). Database administrators use mysqladmin The user name can be used as mysql user name .
  • wordpress or blog Both are ideal for database names .
  • It can be used wordpress As wordpress user name , But we need to pay attention , If you use it here wordpress, Everyone can guess your  wordpress user name .
  • hostname Usually localhost. If you don't know it will hostname Set why and don't you WordPress The administrator of the virtual host , Please check the system administrator information . System administrators can consider using a non root account to manage the database .
  • You should choose a password with high confidentiality , Best case letters 、 A combination of numbers and symbols . Avoid using a word in the dictionary , You can choose the first letter of each word in a phrase you can remember as a password .

If you want to write down these user names and passwords , Avoid making records within the scope of user name and password protection . The things to remember include the database name 、wordpress user name 、hostname And the password . Of course , This information is already in ( Or for a while )wp-config.php In file , There's no need to repeat it elsewhere .

The third step : Set up wp-config.php file

Users can create and edit wp-config.php file , It can also be in Run the installation script ( Step five ) Let it go WordPress Help users edit wp-config.php( But still need to tell WordPress Our database information ).

( More details and creating wp-config.php For configuration file and password key information, please click edit wp-config.php file .)

Return to the first step to unzip WordPress The location of the compressed package , take wp-config-sample.php Rename it to wp-config.php, Then open the file in a text editor .

It's marked with

// ** MySQL settings - You can get this info from your web host ** //

Next Enter information about your database

DB_NAME

In the second step for WordPress The name of the created database

DB_USER

Created in the second step WordPress user name

DB_PASSWORD

The second step is WordPress The password set by the user name

DB_HOST

Set in the second step hostname( Usually localhost, But there are always exceptions ; See edit wp-config.php file Medium “ Possible DB_HOST value ).

DB_CHARSET

Database string , Usually unchangeable ( See zh-cn: edit wp-config.php).

DB_COLLATE

Database sort left blank ( See zh-cn: edit wp-config.php).

It's marked with

* Authentication Unique Keys.

Under the section of Enter the value of the key ( Online key producer https://api.wordpress.org/secret-key/1.1/salt/), preservation wp-config.php file .

Step four : Upload files

Next, you need to decide where to put the blog on the website :

  • Under the root directory of the website ( Such as :http://example.com/)
  • Website subdirectory ( Such as :http://example.com/blog/)

Note:  The root of our website is web The server The location in the file stream changes with Virtual hosts And the operating system . Please consult the virtual host or system administrator for details .

root directory

  • If you need to upload the file to web The server , You can use FTP The client will wordpress All the contents of the catalog ( No need to upload the directory itself ) Upload to the root of the site
  • If the file is already in web In the server and want to use shell Visit to install wordpress, Can be wordpress All the contents of the catalog ( No need to transfer the directory itself ) Move to the site root

subdirectories

  • If you need to upload the file to web The server , Need to wordpress Directory rename , After use FTP The client uploads the renamed directory to a location under the root directory of the website
  • If the file is already in web In the server and want to use shell Visit to install wordpress, Can be wordpress The directory is moved to a location under the root of the website , Then rename  wordpress Catalog

Step five : Run the installation script

In common use web Run the installation script in the browser .

  • take WordPress For users whose files are in the root directory, please visit :http://example.com/wp-admin/install.php
  • take WordPress Files in subdirectories ( Suppose the subdirectory name is blog) Please visit :http://example.com/blog/wp-admin/install.php

Install profile

WordPress Can't find wp-config.php The user is notified of the file and attempts to create and edit it automatically wp-config.php file .( Users can go to web Load... In the browser wp-admin/setup-config.php New built wp-config.php file .)WordPress Ask the user about the database and write it to the new wp-config.php file . If the new file is created successfully , Users can continue to install ; Otherwise, return to The third step : Set up wp-config.php file .

Step six : modify Apache Of httpd.conf

$ sudo gedit /usr/local/apache2/conf/httpd.conf

take Apache Bound to the established IP and / Or port

Listen 192.168.0.155:80

Specify the email address to which problems with the server should be sent

ServerAdmin yunfeiwang@hust.edu.cn

Specify the domain name and port of the server , If you don't register a domain name , You can fill in IP Address

ServerName 192.168.0.155:80

Appoint wordpress The absolute path

DocumentRoot "/srv/upload/wordpress"
<Directory "/srv/upload/wordpress">

Appoint Wordpress Read and write file operation user and group

group groupname
user username

switch language / Language pack ( I didn't do that , Just in English )

If you are installing for the first time  WordPress, please Click here .

The following steps guide you to translate the existing English  WordPress  Switch the site to Chinese .

  1. adopt  FTP、SSH  Open and edit the  wp-config.php file .
  2. lookup  define('WPLANG', ''); a line , Put... In the second parameter  zh_CN, become  define('WPLANG', 'zh_CN'); And save the file .
  3. Go to the site control panel (dashboard), When you see the update prompt, you can upgrade .WordPress  It will automatically download and install the Chinese language pack from the official website .

if You are currently using an unofficial Chinese language pack , Attention, please. : Unofficial language packs usually replace  WordPress  The upgrade part of the program itself , send  WordPress  Upgrade through a third party server , There may be some risk . If you don't want to use the official language pack , Be sure to choose the language pack you trust . As for what kind of Chinese support to use , It's entirely up to you to choose . WordPress  and Can't You are not allowed to use the unofficial language pack . Of course , We will take your criticisms and suggestions seriously , welcome Contact us .

Here's how to uninstall the unofficial language pack 、 General steps to install the official Chinese version . Please note that , If you don't use an unofficial version of the language pack , Please do not do the following . We assume here that the unofficial Chinese version you are using has not changed your database :

  1. Backup database .
  2. Back up all the files , And delete the blog root except  wp-config.php outside All files for . Please keep  wp-config.php.
  3. from cn.wordpress.org Download the latest official Chinese version . Unzip and upload to the site root .
  4. ( Choose to do ) comparison  wp-config-sample.php And left behind  wp-config.php: if  wp-config-sample.php There's something new , Please copy and follow the instructions ; If you leave  wp-config.php Than  wp-config-sample.php There are more settings in , Please delete those extra items .

Reference resources :http://codex.wordpress.org/zh-cn:%E5%AE%89%E8%A3%85_WordPress

Other questions

1. Installing a plug-in Latex Everyting There was “Could not create directory” The problem of ,"Could not create directory./youdir/wp-content/upgrade:

The solution is as follows : 1.  Find this file : /wp_admin/includes/class-wp-filesystem-direct.php  2.  lookup “function mkdir” 3.  Modify this function to the following code , To plug in  Fix “Cound not create directory” problem  This is a piece of , that will do

 function mkdir($path, $chmod = false, $chown = false, $chgrp = false) {
// safe mode fails with a trailing slash under certain PHP versions.
$path = untrailingslashit($path);
if ( empty($path) )
return false; if ( ! $chmod )
$chmod = FS_CHMOD_DIR; if ( ! @mkdir($path) )
return false;
$this-&gt;chmod($path, $chmod);
if ( $chown )
$this-&gt;chown($path, $chown);
if ( $chgrp )
$this-&gt;chgrp($path, $chgrp);
return true;
}

It still doesn't work .

Guess is a matter of authority , perform $ chmod 777 wp-content, Or a similar mistake , But we found that the directory we couldn't create changed ,“Could not create directory./yourdir/wp-content/plugins/latex-everyting.

At this time we should check wp-content The permission problem under the folder , change wp-content Directory and its subdirectories , perform $chmod -R 777 wp-content After the problem is solved .

2. Activate Latex Everyting There was a problem

Fatal error:Call-time pass-by-reference has been removed in /yourdir/latex-single-posts.php on line 7

resolvent : The reasons for the problems here are the same , And parameter passing error . We can find the error and modify it according to the number of error lines in the code .

Activate plug-ins

modify latex-single-posts.php The first 7 That's ok ,

take latex_everything->add_controller(‘single_post’,&$latex_single_post_controller);

It is amended as follows latex_everything->add_controller(‘single_post’,$latex_single_post_controller);

Continue to activate , There was another problem

Fatal error:Call-time pass-by-reference has been removed in /yourdir/latex-post-types.php on line 8

modify latex-post-types.php The first 8 That's ok ,

take latex_everything->add_controller(‘post_type’,&$latex_post_type_controller);

It is amended as follows latex_everything->add_controller(‘post_type’,$latex_post_type_controller);

Continue to activate , There's still a problem :

Fatal error:Call-time pass-by-reference has been removed in /yourdir/latex-terms.php on line 7

modify latex-terms.php The first 7 That's ok ,

take latex_everything->add_controller(‘term’,&$latex_term_controller);

It is amended as follows latex_everything->add_controller(‘term’,$latex_term_controller);

3.WordPress Tips : Perform the requested action , Connection information must be provided

stay  wordpress Background automatic upgrade and update when deleting themes or plug-ins , Need to enter FTP Account information . It's said that this is FTP Information interface , It will only appear in PHP Process is not a user Identity to run on the host , That is, the website server is running PHP Users and  wordpress The owners of the folder are different , The purpose is to be safe ,wordpress A temporary file will be created during the upgrade owner Is it the same as the current running php whether equally , If it's not the same , This interface will appear .

The solution to this situation :

stay wp-config.php Fill in the connection information in .

If it is convenient to update in the future, it can be in  wp-config.php  Add a code to :

// ** FTP SETTINGS FOR AUTO-UPDATE ** // define(‘FTP_HOST’, ‘localhost’); define(‘FTP_USER’, ‘ftp Account number ’); define(‘FTP_PASS’, ‘ftp password ’);

In this way, no matter upgrade  wordpress  Or plug-in time will not have that FTP There's a hint .

4. modify wordpress Upload files 2M Limit

edit php.ini file :

#vim /usr/local/lib/php.ini

In about 591 There's a parameter at the line :upload_max_filesize = 10M, The default is 2M, Will be one of the 2M Change to the size you want to limit , As shown below . Then I conveniently put the maximum number of files that can be uploaded each time by 20 Change it to 30.

//===================
; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize upload_max_filesize = 20M
; Maximum number of files that can be uploaded via a single request
max_file_uploads = 30
//================

restart apache The server

#/usr/local/apache2/bin/apachectl restart

I don't know why I always 8M. Keep looking for information , It turns out that the original size is post_max_size and upload_max_filesize Minimum of , Continue to revise as follows :

//=====================================
; Maximum size of POST data that PHP will accept.
; http://php.net/post-max-size
post_max_size = 30M
//=======================================

restart apache The server

#/usr/local/apache2/bin/apachectl restart

OK~

Reference resources :http://naonao.blog.51cto.com/1135983/827973

http://ar.newsmth.net/thread-add920665842c4.html

5. When you want to use personalized Permalink when , appear .htaccess The problem of not being able to write

stay WordPress Create a new one named .htaccess The file of , Then modify its permissions

$touch .htaccess

$chmod 666 .htaccess

You can customize it with these tags “ beautiful ” perhaps “ Close to beautiful ” Fixed links for , Here are some notes :

  • Make sure you use  %post_id%  or %postname%  End knot fixed link structure ( Such as /%year%/%monthnum%/%day%/%postname%/)), In this way, each fixed link will point to a separate log .
  • Considering the operational problems , It's better not to classify 、 label 、 The author or log name segment is used as the beginning of the fixed link structure . This is because these are text fields , If the text field is used as the starting point of the fixed link structure part ,WordPress It takes more time to judge that this is a journal URL It's still on the page URL( page URL Always used “ Page alias ” As URL), In order to make up for Compensation ,WordPress A lot of extra information is stored in the database ( The huge amount of information directly affects the operation of a website with multiple pages ). therefore , It's better to start with the year or journal ID Equal numeric fields Start your fixed link structure . See WordPress The tester's discussion of this issue . Reference resources :http://www.cnblogs.com/lhb25/archive/2010/07/23/1783381.html

6. Use XML-Sitemap There is a problem that the file cannot be written

Open the blog page first Settings below XML-Sitemap Options , Cancel Basic Options Below Sitemap files Two options under .

Then create a new blog named sitemap.xml and sitemap.xml.gz The file of

$touch sitemap.xml sitemap.xml.gz

Permission to modify these two files

$chmod 755 sitemap.xml sitemap.xml.gz

Reference resources :http://www.arnebrachhold.de/2006/04/07/google-sitemaps-faq-sitemap-issues-errors-and-problems/?utm_source=wp-wm&utm_medium=install&utm_content=help-files#P28_gen_files

7. 403 forbidden you don’t have permission to access / on this server

Such problems can only occur in the Apache Server above . If there is such a problem , Please open the Apache Configuration file for httpd.conf, see DocumentRoot Whether the specified folder for the entire site is correct , If it is correct, check the read and write permissions corresponding to the changed folder . Generally, it is these two aspects that cause problems . You can join the blog http://www.lost-in-code.com/server-management/403-forbidden-you-dont-have-permission-to-access-on-this-server/. In this article DirectoryIndex Not this time 403 forbidden The cause of the problem , It is DocumentRoot Problems with specifying folder permissions .httpd.conf Of documents DirectorIndex There is only one index.html, And ours WordPress All are PHP The web page of , If you don't add one index.php Words , Our website will only display one directory Index.

8. The title of the page is garbled

Because I enabled All In One Seo Pack plug-in unit , The title of the page is garbled . Click on... Under the address bar SEO Type to set the plug-in , Cancel Rewrite titles, Problem solvable .

Last , After the first installation WordPress The experience of , Plus, after the second system re installation, before reuse WordPress Backup my data and restore my whole WordPress The painful experience of . I summed up a little experience : Be sure to pay attention to WordPress Folder and file properties ! The folder is set to 755 Or higher authority , Files can be set to 644. If the folder property is not 755, Then there will be all kinds of unexpected problems !

WordPress build Personal Blog More articles about

  1. WordPress build Personal Blog Personal blog

    I have long wanted to build a blog of my own , To record your life . Every bit of learning . The reason to choose WordPress, Mainly because it can support Latex, And I especially like its simple style . WordPress There is one the famous ...

  2. WordPress build Personal Blog【 turn 】

    I have long wanted to build a blog of my own , To record your life . Every bit of learning . The reason to choose WordPress, Mainly because it can support Latex, And I especially like its simple style . WordPress There is one the famous ...

  3. wordpress Build a blog to upload begin The theme The themes is locked to another domain

    As the title , In the use of wordpress In the process of building a personal blog , Upload begin The theme , The following error appears , And the style is wrong . Environmental Science : Los Angeles CentOS 7 x64 nginx+mysql solve ...

  4. Adopt Hexo build Team Blog

    Adopt Hexo build Team Blog First you need to be able to use Git already GitHub, And then let's see what static is Blog Static blog means No database driver required , Have rich templates , Simple generation through template markup language html css ...

  5. How to use WordPress Build a personal blog

    Catalog How to use WordPress Build a personal blog One . In the installation Linux Server management tools WDCP panel Two . stay WDCP Panel to create a site Two . Upload the blog program to the server @( How to use WordPress Build a personal blog ) Such as ...

  6. Docker + WordPress Build a personal blog

    WordPress It's a very popular open source blog system at present , Use today Docker + WordPress Build a personal blog , The whole process is very smooth . To build a blog, you need to prepare a domain name and a server , I bought one in Alibaba cloud yesterday .top It took 5 Yuan ( ...

  7. WordPress Set up a tutorial --- Purchase domain name + Buy VPS host + domain name DNS analysis + Website environment + Upload website program

    WordPress Set up a tutorial Purchase domain name ---NameSilo Buy VPS host ---Vultr domain name DNS analysis Website environment Upload website program Reference article : 1. WordPress Set up a tutorial https://zhu ...

  8. About JS Object prototype prototype And inheritance ,ES6 Of class and extends &middot; kesheng's personal blog

    The traditional way : adopt function Keyword to define an object type 1234567891011 function People(name) { this.name = name}People.prototype. ...

  9. Collection ---wordpress Built up blog

    http://blog.luofei.org/2012/02/painters-and-paintings-through-the-eyes-of-faith/

Random recommendation

  1. wxPython: event

    event ──── Is each GUI Application is an integral part of , Because of all the GUI Applications are event driven . from GUI The program starts , It responds to different types of events in the same household . Except for users , There are other factors that can produce Events , for example : mutual ...

  2. Visual Studio 2013 EF5 Entity data model EDMX Use T4 After the template is generated, use ObjectContext object

    Visual Studio 2013 EF5 Entity data model EDMX Use T4 After the template is generated, the inheritance object is DbContext, The old familiar ObjectContext The object is gone , Of course use ObjectConte ...

  3. SqlServer Extended stored procedure

    1. Extended stored procedure xp_cmdshell usage : --1. Enable SP_CONFIGURE RECONFIGURE GO SP_CONFIGURE RECONFIGURE GO --2. usage master ...

  4. Oracle frequently-used SQL Syntax and data objects

    One . Data control statement (DML) part 1.INSERT ( A statement that inserts a record into a data table ) INSERT INTO Table name ( Field name 1, Field name 2, ……) VALUES ( value 1, value 2, ……);  INSE ...

  5. A few error prone css Box model details

    css It's one of the skills that the front end must master . Among them box Model , As shown in the figure : It's about border.margin.padding and content, The concept is very clear . But what happens when box models are used with other attributes , Maybe it's hard for you to ...

  6. Perfect reverse Baidu mobile assistant 5.0 Bottom menu bar - Android Tabhost Click animation

    First look at Baidu mobile assistant 5.0 The appearance of : I found out that he was using a CustomTabHost.java To achieve the bottom TabHost Click on the effect of , It's pretty. , Click on Tab The words will run on the screen , The picture will come out from the bottom of a small animation . Now I use it from ...

  7. Js apply Method Specific explanation

    Js apply Method specific explanation I saw at the beginning javascript Function of apply and call when , It's very fuzzy , I can't understand it , Recently I saw some articles on the Internet apply Methods and call Some demo examples of , Finally, I have a look ...

  8. eclipse/myeclipse Using skills

    Hot keys : Template:Alt + / Amendment :Window->Preference->Workbench->Keys->Command->Edit->Cont ...

  9. [STL Source analysis ]RB-tree Insert operation of

    RB-tree The nature of about RB-tree, First of all, make an understanding , Take a look at Wikipedia first RB-tree: Look again RB-tree The nature of : nature 1. Nodes are red or black . nature 2. The roots are black , All the leaves are black ( Leaf node refers to ...

  10. 2019-04-19 EasyWeb Data source problem

    Problem description : A new module has been added today , In order to let each module keep its own data source configuration , So put the data source configuration class into your own module package , However, the default data source will be selected first for request discovery , This results in an error saying that there is no table under the master data source : When I put the configuration file back into the system ...