What are the things need for building a WordPress site?
The first lesson in WordPress is a brief introduction to WordPress. It is an open source, free build program developed using the PHP language and MySQL database. To build a WordPress site, you need a hosting space that can run the PHP language and a MySQL database.
Maybe some friends will ask, what is the hosting space, what is the MySQL database, what are they used for? Let’s talk about it with your own words.
What is hosting space? What to do?
Hosting space takes on two of the most basic functions: storing files on the site and providing an environment in which the site runs. The hosting space mentioned here is actually a server connected to the public network. It basically operates 24 hours a day. The hard disk of the server can store the website files. When a system and environment are installed in the server, the website can be run.
Common host spaces on the market are Windows hosts and Linux hosts:
The Windows host, as its name implies, is a server version of a Windows system installed on the server, such as windows 2003. This kind of host usually uses the built-in IIS to configure the environment in which the website runs. Windows host, often referred to as the all-around host in the market, supports ASP, PHP and other programming programs written in multiple languages. Of course, the MySQL database environment is also installed.
Note: Internet Information Services (IIS) is a basic Internet service based on Microsoft Windows that is provided by Microsoft Corporation.
Linux hosting , which is the host where the Linux kernel system is installed. This kind of host usually installs Apache, MySQL and PHP independently to build the environment in which the website runs. Linux hosts do not support languages such as ASP, and usually only support programs in the PHP language.
Choose a Windows host or a Linux host?
The biggest difference between the Windows host and the Linux host is the supported locale. The former supports more languages, and the latter usually only supports the PHP language. Many friends who have just contacted the website may not hesitate to choose the “all-rounder” of Windows. However, as a person, it is recommended to use Linux host to build WordPress. why?
The practice has proved that the PHP environment of Linux host is more conducive to the efficient operation of PHP programs such as WordPress, such as support for pseudo-static, support for other WordPress functions, and smoother operation.
If you use a Windows host, you will find that running WordPress is slow, and usually does not support pseudo-static perfectly. Sometimes there is no way to use some plugins… although some problem can be achieved by modifying the configuration, for a novice, there is almost no way to toss!
Therefore, to use WordPress, choose the Linux host is the right way! !
By the way, since Windows hosts need to purchase Microsoft copyrights, the cost is high, and generally foreign Windows hosts are few and very expensive. Therefore, Advocate recommends that you use the PHP program to build a website, try not to use the ASP language, otherwise you can only buy windows hosts in the country, and the domestic host must be filed, if you are not afraid of tossing, then when I did not say anything.
What is a MySQL database? What to do?
The MySQL database is usually used to store data information of PHP programs. For example, some configuration information of WordPress, article data, etc. are stored in the MySQL database. Usually, we need to use phpMyadmin to operate the MySQL database, so the general host is installed with the phpMyadmin program.
How much space and database does it take to build WordPress?
In general, there are three choices for host space: virtual host->VPS->server. For beginners or personal blogs, it is recommended to buy virtual hosts first, because the traffic of your website will not be very high in the initial stage of construction (within one year). Big, a virtual host of about 200M is enough for an ordinary blog to use for more than a year.
To purchase a Linux host, there is usually one parameter, that is, the traffic per month. If there are not many blog posts, the daily traffic is less than 300 IP, and generally 6-10 GB of traffic can be used for one month. The MySQL database of the Linux host is generally used together with the host space, that is, the size of the MySQL database is already included in the virtual host and does not need to be purchased separately. Usually within a year, the size of a blog’s MySQL database will not reach 10M.
Therefore, in the initial stage of building a blog, you can purchase a Linux host with a size of 200M and 6-10G per month. Such hosting prices generally range from 20-200 dollar/year. Plus a domain name of 10 dollars, generally 30-200 dollars or so can build your independent blog!
If you are just learning WordPress first don’t plan to build a website as fast as you can, you can install the PHP environment on your own computer and build WordPress locally, so you don’t have to spend money so fast! How to build? I will create tell that in my future post.