White station early attempt

Bath clean body, websites built; Sprite in hand, the world I have

Dark for two days, living on takeout establishment of career is finally over ... However, before I could not help but want to Tucao about the behavior of his brother, or to attach a think most simple white establishment Raiders

1, buy a domain name - Tencent cloud (I .cn 30r first year), you need to fill out the registration information real-name authentication template, take some time to review, the process of buying their own Baidu

2, buy a server --GoDaddy, divided into virtual server host, VPN, stand-alone server, did not go to check what distinction, anyway, I use this for a fee web hosting (my first year economics edition 80r, location: Asia, Windows system, with the control panel: Plesk, comes with a database), but said Linux server system is better, then the control panel is equipped with cPanel, it is widely overseas business (because my home server, domain name resolution requires the record, but also a certain time, so adopt it, rest assured that Kazakhstan, the country can access) the buying process itself Baidu

3, DNS --DNSPOD

The role of the domain name is concise, gives us access to comfortable, but actually send you to a web page or a real server space, so it needs to be linked to the host IP, in the form similar to 111.11.111.11, this work is called DNS

View Tencent cloud - console - domain management, click on your blue domain name, the domain name will jump to the information bar, where one-line description DNS (domain name server, ie, domain name resolution work), I was f1g1ns1.dnspod.net and f1g1ns2.dnspod.net, so I use DNSPOD, different analytical's DNS is not the same, of course, can make changes, it normally takes two or more to maintain the stability of its resolution

 

Add two host records @ (after resolving a domain name is directly nightraid.cn) and www (parses become www.nightraid.cn), so both of us can access, record type A, record values ​​fill you buy server IP, shaped like 111.11.111.11, other default, click save, the same resolution requires a certain amount of time, I get because of sand sculpture for a long time it is not for reference

Resolve a sign of success is the most direct access to your domain name, it can give you an error page, of course, is more professional win + R invoke cmd, direct input ping (space) your domain name, if it was your host ID, it proves successfully resolved, there is no way you can submit your questions in Tencent cloud top right ticket at the normal working time is about 7-8 minutes there is a reply, very efficient

4. Select the station program --WordPress (a free blog website system)

When bought the trademark, also built the store, and now you need a butler such a role to open up this shop, establishment procedure is so

In WordPress Simplified Chinese official website to download the latest version of the archive, do not rush decompression, decompression course, now also, just to be your host will Godday- management page - Click Plesk Admin, into the back panel to upload files upload must be compressed, because there can not upload folders, a lot of trouble, as to be the first in the Upload package on the root directory (that .httpdocs the window), and then decompress (only supports zip, does not support rar, official website is directly .zip), then the wordpress files after extracting all the contents of the folder inside move to the root directory of the file there is there is I think we need to know two white files, index files index.php and the configuration database wp-config.php

Now you can see just wp-config-sample.php, see the name to know that it is a model, I do not know to change or not to change the name has nothing to do, anyway, I first extract that wordpess folder, find the sample.php file, first rename the file wp-config.php (If you ask me why I do not directly operate the background, because I do not have the option to rename and change or not to change the name does not know what effect), then the direct use Notepad to open editor, you will see what content

 1 /** The name of the database for WordPress */
 2 define( 'DB_NAME', 'database_name_here' );
 3 
 4 /** MySQL database username */
 5 define( 'DB_USER', 'username_here' );
 6 
 7 /** MySQL database password */
 8 define( 'DB_PASSWORD', 'password_here' );
 9 
10 /** MySQL hostname */
11 define( 'DB_HOST', 'localhost' );
12 
13 /** Database Charset to use in creating database tables. */
14 define( 'DB_CHARSET', 'utf8' );

See this, you should know that this is our own four things should be configured, the host name of your database, your database user name, password database, and the database. All of these can be found in the background panel (Plesk.Admin) database at the menu bar, attached below chart for reference

 

This information to fill in, and then upload it to the root directory, I was a little obsessive-compulsive disorder, the archive and the sample on the removed (after this habit I'd rather die ... something) and, of course, you can also there upload, ftp (upload related documents) has a lot of tools, such as filezilla, it requires you to provide a host IP, you control panel (Plesk) user name and password in the lower right corner of your host Godday- management page

As for the index file, you do not need to configure, but you know, this index file is important, first you access a single page that appears is Godday comes index work (and it is only this page only), now replaced the WP's index, will have its own page complete guide, so I finally have access to your domain name to complete the final configuration (this step is forgotten screenshot), first language (Simplified Chinese), then your site is set up sites, site administrator's user name, email and password settings (behind the login page to use site management, first screenshots)

Congratulations, if you've come this far, the last Click OK, and you will soar in cyberspace have confused their own side of the world, and thank you once again can see here

 

Guess you like

Origin www.cnblogs.com/night-raid/p/11233978.html