wordpress personal website building process in detail

Preface:

Prior wrote "explains how to build a personal website on Ali cloud" , the article describes how to deploy in the cloud Ali personal website, including the purchase of the domain name and servers to resolve domain names and set up the environment. Some people may be wondering after reading: that for a long time, talking about things that are above configuration server, the key to how to get out of the site itself?
Wordpress here will be an example to explain how to build up a personal website locally. Learn the local structures, combined with the previous article, you can deploy an online site on the server. Much gossip that begin establishment of our trip wordpress below!

First, what is wordpress

WordPress is an open source free personal blog system, it can be used as a content management system to use. It is based on PHP language and MySQL database development, it has a wealth of plugins and themes template. To December 2019, the global market share has been 35.3%.

Here Insert Picture Description
Source: W3Techs


Second, download wordpress

wordpress official website ( https://wordpress.org/) is now the country has been not on board, and want to be a normal visit to try other methods. That no other way to obtain the latest wordpress procedures? There !
Here Insert Picture Description
This time the powerful github comes in handy, not only on top of the latest version of the historical version of the past, but also to download the Developer Edition, experience the feeling of a wave of closed beta.
Download: https://github.com/WordPress/WordPress

The default is to develop master version, pulled the bottom can choose the latest official version.
Here Insert Picture Description
Download the zip archive
Here Insert Picture Description
After downloading but not to unzip the file into your first location is easy to find.


Third, the use wampserver up a local runtime environment

百度百科: WampServer是一款由法国人开发的Apache Web服务器、PHP解释器以及MySQL数据库的整合软件包。免去了开发人员将时间花费在繁琐的配置环境过程,从而腾出更多精力去做开发。

因为wordpress是php程序,因此需要相应的运行环境程序才能跑起来。这里推荐wampserver来搭建运行环境。
下载地址:http://www.wampserver.com/en/#download-wrapper
Here Insert Picture Description
wampserver的官网相当难以访问,即便访问到了下载速度也让人崩溃。大家可以到腾讯软件平台上面去下载,版本低了一点,但也够用,而且比起其他地方下载要安全,不会下到一堆捆绑软件。安装的过程这里就不再赘述。安装后,运行成功图标显示绿色
Here Insert Picture Description
点击打开www directory目录。
Here Insert Picture Description
将下载好的wordpress压缩包解压到该目录下
Here Insert Picture Description
接着要先创建一个数据库,待会儿安装wordpress程序要用到,否则会报错。
Here Insert Picture Description
初次安装之后密码一般默认是空,直接点go登录,后期可以修改。
Here Insert Picture Description
新建一个数据库的名字,选择字符集,然后点击create创建
Here Insert Picture Description

四、安装wordpress程序

在浏览器上面输入:http://localhost/wordpress,回车,后面的路径会自动补齐,进去安装目录
Here Insert Picture Description
Here Insert Picture Description
这里仅做测试使用,所以密码设置得非常简单,方便登录
Here Insert Picture DescriptionHere Insert Picture Description
相应信息填好后点击安装
Here Insert Picture Description
输入用户名登录
Here Insert Picture Description
之后就进入到wordpress后台管理界面了
Here Insert Picture Description

五、主题安装

wordpress的主题安装有两种方式。

方法一:在后台管理界面,选择外观——主题——添加——上传主题——选择文件——现在安装

Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
After installation you can enable the Enable
Here Insert Picture Description
this time you can see the subject in the subject selection interface
Here Insert Picture Description
then can access the site
Here Insert Picture Description

Method two: enter wordpress installation directory, turn into the wp-content - themes, and then install the package and extract the theme here, and then enter the theme of the installation directory, you can see that topic.

Here Insert Picture Description

summary

After the completion of the local wordpress installation test, it can be uploaded to a server on the cloud Ali. After the wordpress directory to upload files, you need to reinstall when you start on the server, this time set up the database user name and password to be set according to your own server database created above.

wordpress widely used, it has a huge user base and active community. This means wp many problems encountered in the process of solution can be found quickly, and you could find a theme template is cost savings establishment of the station. Because it is written in PHP language, if you want to delve into wp, and make your own theme, we should have some basic PHP, but also to understand the role of wp individual labels.


Guess you like

Origin www.cnblogs.com/askknow/p/12132262.html
Recommended