当前位置:网站首页>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 .
边栏推荐
- [jzof] 06 print linked list from end to end
- What should I do when selecting the RDS instance access method?
- Experience of using dump file to reverse locate crash location
- 2018mysql technology Q & a collection, hoping to give some help to students who like MySQL
- Together again Net program hangs dead, a real case analysis of using WinDbg
- What are the source database types supported by Alibaba cloud DTS?
- How about opening an account for CITIC Securities? Is it safe
- [jzof] 04 search in two-dimensional array
- 图像处理笔记(1)图像增强
- 【类的组合(在一个类中定义一个类)】
猜你喜欢
![[SOC] the first project of SOC Hello World](/img/ae/326312cb3b5a372c7b8b048936a9f2.png)
[SOC] the first project of SOC Hello World

Brand new: the latest ranking of programming languages in July

91. (leaflet chapter) leaflet situation plotting - offensive direction drawing

Lenovo Filez helps Zhongshui North achieve safe and efficient file management

ECCV 2022 open source | target segmentation for 10000 frames of video
![[shallow copy and deep copy], [heap and stack], [basic type and reference type]](/img/cc/d43e0046d83638f381c34b463f64a2.png)
[shallow copy and deep copy], [heap and stack], [basic type and reference type]

Information System Project Manager - Chapter 10 project communication management and project stakeholder management

Mathpix formula extractor

Day5: three pointers describe a tree

Today, there's a power failure for one day.... stop working for another day. Don't forget to study
随机推荐
运动控制如何位置同步输出
[shallow copy and deep copy], [heap and stack], [basic type and reference type]
What is the database account in DTS?
[jzof] 05 replace spaces
Static & dynamic & file address book
Build your own stock analysis system based on b\s architecture
What are the source database types supported by Alibaba cloud DTS?
Practical skills!!
String matching (Huawei)
Overview and installation of scientific computing toolkit scipyscipy
Huawei cloud data governance production line dataarts, let "data 'wisdom' speak"
C # image template matching and marking
Today, there's a power failure for one day.... stop working for another day. Don't forget to study
[blind box app mall system] function introduction after online unpacking
Information System Project Manager - Chapter 10 project communication management and project stakeholder management
[SOC] the first project of SOC Hello World
Using skills and design scheme of redis cache (classic collection version)
Nested printing in CAD web pages
Classical review: understanding the "knowledge consistency" of neural networks (ICLR 2020)
【类的组合(在一个类中定义一个类)】