当前位置:网站首页>Alibaba cloud server purchase, basic configuration, (xshell) remote connection and environment building
Alibaba cloud server purchase, basic configuration, (xshell) remote connection and environment building
2022-06-26 23:24:00 【Yile】
One 、 Purchase of servers
1、 Purchase time point : When it comes to activities 、 Use student identity to buy
(1) Activities : Want to whore a server for nothing
A double tenth, It can be around double eleven , A little earlier , Baidu or B standing , Search Alibaba cloud server 、 Tencent server (618 There may be )- commonly , Through their **
Promotion Links( They have got the promotion fee , Buy it yourself first , Then they refund the purchase fee later ), You get a free ordinary server ~~~ however , The requirement isNew people**
(2) More activities :
Must rush for money : everyday 10:00 Start buying
Snap up address :https://www.aliyun.com/activity/goods
It's best to participate in rush buying every morning , Like computational c6 Example of 2 nucleus 4G1M Bandwidth rush purchase price 864.96 element 、 Shared s6 example 4 nucleus 8G1M Bandwidth rush purchase price 764.52 These popular configurations are , Most of the time, they are snapped up in the morning .
Special activities for new people's welfare : The requirement is new
- New address :https://www.aliyun.com/activity/new
Cloud server Special selection : Activities include exclusive for new enterprise users 、 Exclusive for individual new users 、 Try several zones for free
- Select special address :https://www.aliyun.com/daily-act/ecs/activity_selection
Flying member program : Activities for enterprise users
- Feitian member program address :https://www.aliyun.com/feitianvip
(3) Student status , You can search on Alibaba cloud ** Student machine **
Student machine purchase link :https://developer.aliyun.com/plan/grow-up
First registered student status , There may be activities to send a server for two or three months
Student status : The requirement is 24 Students under the age of , Normal server , The general price is about 100
Two 、 Basic configuration after server purchase
1、 Attention to detail : Type of server purchased 、 When watching the configuration tutorial , Choose the right type
- for example : The lightweight application server has only a thin version of the firewall , Didn't like ECS A security group like that .
■ this paper , Take your own lightweight application server as an example :
1、 Basic configuration :
(1) Find the server you bought : After login , Click on the console


(2) Reset the system 、 Reset password ( After resetting the password, restart )
- My system image , I chose centos7, In fact, you can also choose Ubuntu Of
- Application system , Change it then

(3) Security — Set up a firewall

3、 ... and 、 Use xshell Connect to remote server
install xshell The tutorial is in another article :https://blog.csdn.net/weixin_45630258/article/details/124377046
Remote connection open port :22

■ The way 1, Connect to the remote server by creating a session
1、 Create a session :

2、 Unknown host key — Click accept and save :

3、 Enter the user name of the server :

4、 Set it and remember the user name 、 Remember the password :

5、 Successfully connected to the remote server :

■ The way 2: Through the command ssh, for example ssh ip Address

When found using xshell The connection to the remote server suddenly failed , In the local ping once , If the request times out
solve ---- Try restarting the remote server
xshell Change the font size of :
Ctrl + Mouse wheel , Enlarge and reduce Fonts !
xshell Common shortcut keys
Autocomplete command tab
Four 、 Alibaba cloud server setup environment
After connecting to the server , We need to build an environmentMode one : The fool – Install the pagoda panel
Mode two : Use command – Native (linux command )
1、 Alibaba cloud server installation pagoda
(1) Introduction to pagoda panel
- It is a domestic development Server management tools , Focus on operation and maintenance server efficiency and security , For individuals 、 The team 、 Small and medium-sized enterprises provide a new generation of server operation and maintenance products and services .
(2) Pagoda panel function :
- Mainly used for management 、 Maintain server usage , Is a server management software , Support windows and linux System , Manage the server through the browser , For example, create a new website 、FTP、 Database etc. , Software management with visual environment 、 visualization CPU、 Memory 、 Traffic monitoring 、 Security monitoring software 、 Visual file management 、 terminal 、 Planning tasks 、 Software store and other functions
(3) Installation tutorial of pagoda panel :
https://www.bt.cn/bbs/thread-19376-1-1.html
The premise of installing the pagoda : Make sure it's a clean operating system
- No other environmental belt has been installed Apache/Nginx/php/MySQL/pgsql/gitlab/java**( The existing environment cannot be installed )**
Release port :
- Visiting the pagoda requires 8888 The port is released
- 20 、21、 39000-40000 port (linux System ),3000-4000(windows System )
- 22 (SSH)
- 80、443( Website and SSL)
- 3306 ( Database remote connection )
- 888 (phpmyadmin)
● If you enter the panel and modify the panel port or FTP port , Remember to release the corresponding ports in the security group and panel firewall 【 details : After opening the security group , To restart the system 】
Centos Installation command :
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh 12f2c1d72
After downloading , You can get an address : The management panel of the pagoda !
Command to view pagoda login information :bt default
- url:
- Internet panel address : http://ip Address :8888/d2f1b2a6
- Intranet panel address : http://ip Address :8888/d2f1b2a6
- username: bl6ckjgn
- password: 973eedf6
- url:
Software store using pagoda's management panel :
● Customize the installation server environment :
- mysql-5.7
- apache-2.4
- nginx-1.16
- redis[ Now there is no... On the pagoda 5.x Version of , Native install command is required ]
● One click deployment environment :
● The management port in the pagoda panel ( Open port ):

- When opening ports , In addition to the need for safe opening in the pagoda panel , It also needs to be opened in Alibaba cloud's firewall (esc Words , It also needs to be open in the security group )
(4) Put it on the website to visit !
- such as tomcat Just put it in webapps Under the table of contents !

- Special website : Open source project , Just follow your own operation
(5) Upload files and try to use XFTP
xftp The installation tutorial for is in :https://blog.csdn.net/weixin_45630258/article/details/124377046

● stay xshell Use in XFTP:

(6) If the website access test fails :
- It must be a firewall ,(Linux The server , Alibaba cloud security group panel !)
- war Throw it directly to tomcat that will do
- jar Direct use java—jar Execute to access
5、 ... and 、 Product launch ( Domain name resolution 、 Website filing )
- Domain name filing is required for the product to go online
Domain name resolution
(1) Create a domain name template :
● Steps to create a domain name template :
- Log in to alicloud account , Click on the console :

- Click on three bars :

- Search for domain names , Get into **
Domain name console**:

- Create information template , Then wait until the audit is successful ( A message will be sent to you after the approval [ Generally, it may be during the working period of the staff 2-3 The audit passed within hours ]):

(2) Choose a domain suffix with the right price : For students , Just buy a cheap domain suffix , Don't buy .com .cn These are expensive
- My domain name suffix is .site [7 Yuan ha ha ha ]
● Steps to purchase a domain name :
- Log on the official website of aliyun , Select the search icon :

- Enter a custom domain name , Choose a cheap suffix :

- Add to the list , Click on the domain name list :

- Buy now :

- Select the owner of the domain name as an individual , Then pay :

- Sign in **
Domain name console**, Waiting for approval :

(3) Domain name resolution :

- thus , Later my ip( A string of numbers ) You can use the domain name yilele.site perhaps www.yilele.site Instead of
Website filing
- Through the filing instructions , Remind us when we buy services , Try to choose Hong Kong as the address , Then there is no need to put on record .《ICP The necessity of filing 》
- The problem of filing : Servers in the mainland need to be filed , Servers in Hong Kong or overseas do not need to be accessible .
(1) Choose free filing :

(2) Filing process :

If this article is helpful to you, remember to give me a compliment , thank !
边栏推荐
- Share three methods of automatic summation in Excel
- 中金证券经理的开户链接开户买股票安全吗?有谁知道啊
- 【混合编程jni 】第六篇之native 中字符串和数组的操作
- Learun low code OA system construction platform
- NPM command prompt error: eacces: permission denied
- 简单测试轻量级表达式计算器Flee
- Installing MySQL on Ubuntu
- [Old Wei makes machines] issue 090: keyboard? host? Full function keyboard host!
- 50 tips that unity beginners can definitely use
- What are the preferential activities for stock account opening? Is it safe to open a mobile account?
猜你喜欢

开放世界机甲游戏-Phantom Galaxies

代码之外:写作是倒逼成长的最佳方式

typora设置标题自动编号
![How to download on selenium computer -selenium download and installation graphic tutorial [ultra detailed]](/img/ec/1c324dcf38d07742a139aac2bab02e.png)
How to download on selenium computer -selenium download and installation graphic tutorial [ultra detailed]

go语言的爬虫和中间件

Microservices, an important part of cloud native architecture

阿里云服务器的购买、基本配置、(xshell)远程连接、搭建环境

CVE-2022-30190 Follina Office RCE分析【附自定义word模板POC】

A simple and crude method for exporting R language list to local

Typera set title auto numbering
随机推荐
50 tips that unity beginners can definitely use
[710. random numbers in the blacklist]
The user adds a timer function in the handler () goroutine. If it times out, it will be kicked out
go中的微服务和容器编排
Simple test lightweight expression calculator fly
Electronic Society C language level 1 30, calculation of last term of arithmetic sequence
Wechat applet automatically generates punch in Poster
Introduction de l'opérateur
typora设置标题自动编号
leetcode 1143. Longest common subsequence (medium)
Selenium电脑上怎么下载-Selenium下载和安装图文教程[超详细]
How to download on selenium computer -selenium download and installation graphic tutorial [ultra detailed]
从位图到布隆过滤器,C#实现
Service discovery, storage engine and static website of go language
简单测试轻量级表达式计算器Flee
xshell的安装、xftp的安装
【710. 黑名单中的随机数】
VB. Net class library to obtain the color under the mouse in the screen (Advanced - 3)
Restfultoolkitx of idea utility plug-in -- restful interface debugging
一篇文章带你学会容器逃逸