Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of server purchase and preliminary construction

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

I haven't been to a server for some time. Take advantage of the fact that there are not too many things to do now, I want to move wa workers to buy a foreign server (why buy a foreign server? Cheaper, and you can FQ, you know ("ω") ✧), you can use Alipay to pay, by the way, record the purchase and preliminary construction process to facilitate later use.

First, purchase servers

Enter https://bwh88.net/, the official website of moving wa

Choose the type of server you want to buy. I chose a server that costs $49.99 a year.

Click Order, go to the purchase details page, select the service address, I choose Los Angeles, and then Add to Cart

Then settle the purchase, enter the discount code: BWH26FXH3HIQ- 6.25% (this is the lowest at present), and then click Checkout in the lower right corner to purchase.

The form for you to register will appear below, just fill it out normally, then choose the payment method, support Alipay and Wechat, and then scan the code to pay.

Second, enter the server

After the purchase of the server, we have a server of our own, and the next step is to go to the server and build it.

First, log in to your account.

View your own server

Click KiwiVM Control Pan

Jump to the control panel page to view your server information and get the public network IP address and SSH remote port

Select Root password modification and click the button to generate and set a new root password

Save this password and use it later

In order to facilitate remote use, we can download a putty from the Internet.

Enter the IP address and SSH port, then select SSH and click below to open

Log in after entering, enter root, you will be prompted to enter the password, and then enter the password you just saved to log in (note: you can't see the status of entering the password)

Then enter the passwd command to set the new password (like login, the input status is invisible and need to be entered twice). The successful setting is as follows

Let's change the SSH port again and enter the following command (after copying the command, right-click to paste it)

Vim / etc/ssh/sshd_config

If the prompt command does not exist, install vim

Ubuntu / Debian:

Apt install-y vim

CentOS:

Yum-y install vim

Then execute the command to open the SSH configuration file, press the "I" key to enter insert mode, and then press "↓" to find Port at the bottom

Then change it to the port you want (note: the range of ports is 1-65535), it is best to set a larger number.

After changing and saving, press Esc first, and then press ": wq" to save.

After saving, execute the following command to restart the SSH service.

Systemctl restart sshd

Then you can log in with the SSH port and password you just modified.

III. Preliminary construction

The remote login of the server has been set up, and then it is time to build it. It is recommended to use pagoda panel to build, and the graphical interface is easy to use.

Connect to our server and log in and execute the following installation command

CentOS:

Yum install-y wget & & wget-O install.sh http://download.bt.cn/install/install.sh & & sh install.sh

Ubuntu:

Wget-Oinstall.sh http://download.bt.cn/install/install.sh & & sh install.sh

After execution, download the file, ask if you want to install it into the www folder, press y to agree to continue the installation, and wait for the installation to complete.

After the installation is complete, get the panel address, user name and password

Then visit the pagoda panel address above, enter the login interface, and enter the user name and password to log in.

After logging in, a window will pop up to prompt us to install the web environment, where I choose to install the recommended LNMP environment.

While waiting for the background installation, let's change the default port and username password of the pagoda panel.

Select [Panel Settings] in the left panel, go to the settings page, change the panel port, user name and password, and save.

At this point, the preliminary construction of the server is completed, the pagoda panel can be easily used, and the open port can be set in [Security].

Then you can use it, and if you have time, the next article will record how to build shadowsocks for FQ. ("▽")

At this point, this is the end of this article on the method of server purchase and preliminary construction. For more information about the preliminary construction of the server, please search the previous articles or continue to browse the relevant articles below. I hope you will support me in the future!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report