当前位置:网站首页>Build Tencent cloud website server at low cost (build your own website server)
Build Tencent cloud website server at low cost (build your own website server)
2022-07-24 21:37:00 【User 5576896】
The biggest use of servers , You can build a website , Many people think it's hard to build a website , Because it contains a lot of professional things , Like servers 、 Programming and so on , exactly , It was like this a few years ago , It's too difficult for ordinary people to build their own website
But with the development of the website for so many years , There are a lot of tools that others have made that we can use , It's getting easier to build a website , You don't even need to know the code to create your own website with a click of the mouse , And it's easier to use than before , Today's host notes will introduce how novices use pagoda panels and Wordpress Build an independent website
Station preparation
There is no difficulty in building a website itself , It's just that the necessary things are a little cumbersome , We need to prepare some necessary things like software in advance , Which mainly includes :
The server : Best for 1G Above memory , Recommended Tencent cloud , Tencent cloud secha preferential domain name : Register domain name Xshell: Used to connect to Linux The server , This software is free for individuals , If you don't know how to download and use it yet , You can see Xshell Connect linux Method FTP Software : For uploading website files , There are a lot of , I often use FlashFXP, Many such software can be found on the network to install the pagoda panel
Before installing the pagoda panel , Make sure your system is pure , If you used other one click installation before , It is suggested that the refitting system be Centos7 System
First of all, we need to get into our own linux The server , On the command line, enter the following command to install the pagoda panel
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
It will take a few minutes , There will be a pause in the middle to let the choice web Directory location , General default
Wait for the installation to complete , The command line displays the login address of the panel 、 Account number and password , Be sure to save this information , Later management needs to use this information login panel
Install the website environment
After the installation of the pagoda panel , We can log in to the back panel , Log in with the background address you just recorded ( If you are using Alibaba cloud or Tencent cloud , You may not be able to log in , At this time, you need to turn on the security group in the background 8888 port , How to open the security group port )
Next you'll see the one click installation environment interface , We usually choose the one on the left LNMP framework , Compilation and installation
Here I'd like to talk about the settings of different server environments , Because the common ones are 512M In memory , And that is 1G In memory , The two choices are different
If it is 512M Memory , Then use the default configuration ,Mysql 5.5 and PHP 5.4 If it is 1G Memory , Recommended wordpress The official settings ,Mysql 5.6 and PHP 7.2
Then just wait for the installation to complete , It usually lasts half an hour to 1 Hours , It depends on the performance of your server
Server new site
Waiting for all the tasks to be done , All the environments are set up , Then you can build a website
Create a new website on the pagoda panel , Click the green button in the figure below to create a new site
Here we need to enter our own website domain name , Take the belt www And without www Fill in all the domain names of , such as http://www.zhujibiji.com, This step is to bind the domain name
then FTP And databases are best created , Record all this information , We all need to use it in the future
After all the settings, we click Submit , The website is created ( This means that the server provides space for the website , It's like opening a virtual host , It's just that we have control over it )
Domain name resolution to the site
This is very simple , Is to add domain name resolution ip Address , It may be that different domain name operators operate in different ways , Here I'd like to demonstrate alicloud's domain name resolution
We first find our own domain name in the background management , Click to analyze , Then add parsing
You need to add 2 One that resolves to the server ip Address
One is www Record , Set up here www General purpose , such as http://www.zhujibiji.com
And that is @ Record , This is to set the root domain name , For example, mainframe notes are http://zhujibiji.com, Although sometimes I can't use it , It's better to set it up , After all, there are still a lot of people who input domain names directly without input www Of
After setting up the parsing , Need to wait 2 minute ( Other domain name providers may delay for several hours , It's better to analyze in advance )
Then visit the page and see a successful page , It proves that the analysis is good , You can take the next step
download WordPress Website program
After the server and domain name are configured , We can start to configure our website program
First of all, the program I choose here is wordpress, The website program can go to wordpress Download from Chinese official website , Click the download button
After downloading, we will get a compressed package , But its directory structure can't be uploaded to the server directly , Let's unzip it first
You'll see the following folder , These are the site roots , All we have to do is select all the files , And then compress and upload
One more thing to note here , Because the compression software defaults to rar Format , But the server does not support decompression rar Format of the compressed package , therefore , We're going to further set it to zip Compress
FTP Upload the compressed package to the server
My habit is to use FTP Upload to server , Of course, the panel is more convenient , You can also use the pagoda background file upload function
open FlashFXP, Click conversation – Quick connect , Fill in the FTP Information , If you forget, you can find it behind the pagoda
And then when you're connected , We just packed the wordpress Drag the compressed file directly to the file bar on the right , Then click transfer , Upload to server
After the upload is complete, we can close FTP The software , Back to the pagoda panel , Because we just uploaded a compressed package , It can't be used directly , We found the file management interface in the background , Then find the directory corresponding to the website , The list of pagoda panels is usually fixed , For example, the new website directory I just created is /www/wwwroot/http://tycyt.com/ , Generally, if you don't modify the pagoda panel during installation, it is in this /www/wwwroot In the catalog
Can be in wordpress.zip I see an arrow in the lower right corner , You can see it with the mouse , Here you choose to unzip , Just confirm , After decompression, you can put zip The compressed package of has been deleted
install wordpress Website
After domain name resolution and website program directory structure are all right , We can install the website , Installation is the easiest
Direct access to your domain name , Will see wordpress Installation interface of , We're ready for what it says , The first step can start right away
Here is the server database information , Including the database name 、 user name 、 password 、 Database host 、 Table prefix , If the database host and tags have no special requirements, they generally do not need to be modified , We've just written down the database password , Fill in as required ( Be careful not to confuse with the server's user name and password )
It doesn't matter if you didn't record database information before , You can go to the pagoda panel – database Check the information
After filling in the database information, click Submit , The next step is to install WordPress
Fill in your website information , It's better to write down your user name and password somewhere , This is where you log in WordPress The required account number and password , Be sure to fill in your email , Get back the code , And the website has a message review and other issues will also send you an email
Website installed successfully , Next, you can make your own settings
Finally, let's summarize the whole process , Server installation pagoda – Set up the environment – Add site – Domain name resolution – Download program – Install web site , All these steps need to be completed , The website can be accessed correctly , In fact, if you are proficient, it is very simple , The pagoda is so convenient , Building a website can be done in 10 minutes , It's more about the optimization of the website in the future .
边栏推荐
- Using skills and design scheme of redis cache (classic collection version)
- PR 2022 22.5 Chinese version
- With this PDF, I successfully got offers from ant, jd.com, Xiaomi, Tencent and other major manufacturers
- Using gcc to avoid stack smash attack
- Detailed explanation of ThreadLocal
- What problems should be paid attention to when using a database without public ip: port?
- How to prevent weight under Gao Bingfa?
- Huawei cloud data governance production line dataarts, let "data 'wisdom' speak"
- The relationship between cloud computing and digital transformation has finally been clarified
- Is there any capital requirement for the online account opening of Ping An Securities? Is it safe
猜你喜欢

图像处理笔记(1)图像增强
![[record of question brushing] 16. The sum of the nearest three numbers](/img/b9/a78b72650e94c75ccbe22af1f43857.png)
[record of question brushing] 16. The sum of the nearest three numbers

MySQL - multi table query - seven join implementations, set operations, multi table query exercises

How to prevent weight under Gao Bingfa?

How does redis realize inventory deduction and prevent oversold? (glory Collection Edition)
![[development tutorial 6] crazy shell arm function mobile phone - interruption experiment tutorial](/img/21/ef2274360e0c5cf19990ab3e46f116.png)
[development tutorial 6] crazy shell arm function mobile phone - interruption experiment tutorial

Unity & facegood audio2face drives face blendshape with audio

Use of cache in C #

About the acid of MySQL, there are thirty rounds of skirmishes with mvcc and interviewers

Shell introduction and variable definition
随机推荐
Static & dynamic & file address book
Huawei cloud data governance production line dataarts, let "data 'wisdom' speak"
Defects of matrix initialization
Leetcode skimming -- bit by bit record 018
Drawing library Matplotlib drawing
91. (leaflet chapter) leaflet situation plotting - offensive direction drawing
Mysql database query is so slow. Besides index, what else can it do?
How does novice Xiaobai build a personal server?
Lecun proposed that mask strategy can also be applied to twin networks based on vit for self supervised learning!
731. My schedule II (segment tree or scoring array)
Scientific computing toolkit SciPy image processing
Es+redis+mysql, the high availability architecture design is awesome! (supreme Collection Edition)
Class notes (4) (3) -573. Lecture hall arrangement (Hall)
Summary of communication with customers
Day5: three pointers describe a tree
Strong reference, weak reference, soft reference, virtual reference
Using gcc to avoid stack smash attack
2022 Tsinghua summer school notes L2_ 2 basic introduction of CNN and RNN
Binary search
What are the most problematic database accounts in DTS?