Huawei Cloud Yaoyun Server L instance evaluation | What interesting things can a 2C2G3M cloud server do?

Hello everyone, my name is Xiongxiong. Welcome to follow the WeChat public account: Xiongxiong’s Little Classroom

Insert image description here

Preface

What interesting things can a person do if he owns a 2C2G3M server?
Maybe you launched your mini program and used it as your service interface;
maybe you launched your blog and used it as your website;
maybe you only used it as an online database. For online use by friends in the group!

And what did I do with it? Today, we will conduct a scenario application around this topic.

renderings

Today I bring you a unique application. I used Huawei Cloud Yaoyun Server L instance server to run a WeChat robot, which is used as the company's knowledge base for internal use.
The following is the effect diagram used, you can take a brief look at it:

Insert image description here
Insert image description here
Due to space reasons, I won’t include a large number of screenshots. In short, using WeChat robots, automation in certain situations can be fully realized.

Buy a server

What I am using here is the server of Huawei Cloud Yaoyun Server L instance. The configuration is: 2 cores 2G 3M, 3M bandwidth, 40G hard drive , which costs more than 50 yuan a month.
Insert image description here
The system selected is: Window Server, because this robot can only use windowsthe environment to run, and nothing else.

Insert image description here

Robot deployment

First, after we get the server, we need to install the following software on the new server:

  1. WeChat 3.6.18 (must be this version, others are not allowed)
  2. Sunflower (the version does not matter, it is mainly for the convenience of remote control in the later stage)
  3. An injection file can be downloaded from here , the password is: 6666
  4. Client file, used to send messages, operate WeChat, etc., download address: Download here , password: 6666

Start the robot

  1. Install WeChat on the machine. Needless to say, just install it directly. Note that you need to remember where you installed WeChat. You will need to use it later.
  2. Find the client file, open it, and then double-click Startthe file to run. At this time, you need to wait for a while. A log file named will be generated in the current folder. admin.logAll execution status of the program will be displayed in the log file. The first file is shown below.
    Insert image description here
  3. After waiting for a moment, a box will pop up on the desktop, asking us to enter our account and password. At this time, we do not have an account and password, so we need to register one first. The registration address is: Xiongxiong's robot. Click this link to enter . Log in after we register successfully.

Insert image description here
After successful login, it will look like this: (It doesn’t matter if the interface doesn’t look good, as long as the functions are there...)

Insert image description here

  1. Return to the desktop, enter the account and password we have registered in the pop-up box, and click [Login]. After successful login, we can open the admin.logfile and have a look. There will be a line in it, subscribing to the XXXX topic successfully , which proves that the login is successful. .

  2. Next we open the injection file. What needs to be noted here is that the location of the injection file cannot contain Chinese characters in the path. Otherwise, the injection may fail. Inject the following in the file:

  • File directory: It is the directory file of WeChat we installed
  • DLL path: There will be a DaEnHook.dllfile named in the root directory of the file we inject. What is written here is its full path (be careful, there can be no Chinese characters)
  • Process parameters: Default is enough, no need to change

Then we click [Inject and start]. After a moment, the WeChat installed on our machine will be started. Then log in.

Use of WX robot

After the above series of tedious operations, we can finally start using the robot.

First we need to enter the server, the address is: Xiongxiong's robot , and then after logging in, everything will be under our eyes.

There are not too many functions, just the four on the left menu.
Insert image description here

  1. Basic configuration: It mainly configures some welcome words for automatically joining the group, adding friends through this, and the configuration of Baidu's large model. If these configurations are not satisfied, you can click on the custom interface.
    Insert image description here

  2. Friend management: This function is mainly to list all our friends, and then we can send messages to them, send history records, send pictures, view their basic information and other operations.
    Insert image description here

  3. Group management: The function is similar to friend management, except that the operation object is a group.

  4. Scheduled tasks: This function is mainly used to send hot news on current affairs in the group at a scheduled time every morning, as well as some daily life knowledge, tips, etc., as well as daily push good morning messages to my wife... The above is the content shared today. In fact,
    Insert image description here
    using In addition to building its own knowledge base, robots can also do some more fun things. For example, I connected the starlight coins that my robot signed in to the mini program. Users can obtain starlight coins from the WeChat group. It can also be obtained from mini-programs, both of which are very convenient.

Guess you like

Origin blog.csdn.net/qq_34137397/article/details/132994577