Best ways to install and upgrade Linux hosts

Author: The grass, Created: 2019-03-05 17:18:52, Updated: 2024-01-18 09:49:19

Be careful.

  • The digital currency needs to choose an offshore custodian.Commodity futures platforms are available for monthly rental of domestic servers, the price is close to the lowest.
  • One host can run multiple bots.
  • A server can run multiple hosts, but this is generally not necessary.
  • If the prompt does not find Python, it needs to be installed and restarted on the machine running the host.
  • The latest hosts ((2021.3.1) upgraded the automatic background, which means that the frontend can be used to exit the ssh connection directly after running without interrupting the hosts.

Recommended for overseas servers

Ali Yun,Ali Cloud is a lightweight application server.Choose Hong Kong area (OKEX in Hong Kong), system mirror CentOS, package 34 yuan/month, 2G memory; monthly payment (also available for half a year); is currently the more expensive option.

亚马逊ec2,可选区域多,币安火币交易所可选东京,延时最低。一般选最低配t2.small就足够。但需要绑定visa信用卡付费。

Vultr, cheap, multiple regions, support for PayPal payments. However, servers and websites may be blocked and need to be connected properly.

Steps for installing Linux hosts

1. Buying a server, generally choosing the centOS system, the minimum configuration is available. The general price is 1 yuan / day. Commodity futures are on servers in the country, while digital currency transactions are to be held abroad.Here is a concrete demonstration of the purchase.2. Login server, windows recommends using Xshell client, specific SSH login method can be self-searched. 3. Download the host, inhttps://www.fmz.com/m/add-nodeRight-click to copy the link to the host that matches the system version, note that the command to run step 5 is also available here.

img

The server input:wget https://www.fmz.com/dist/robot_linux_amd64.tar.gzDownloadedShift+Inskey pasted in terminal), such as prompt wget does not exist to runyum install wget -yInstalledwget❖ Other systems also have download tools.

If you are asked about your certificate (see picture below):

img

  • When downloading with a wget, you can use: no-check-certificate parameter. For example:wget --no-check-certificate https://www.fmz.com/dist/robot_linux_amd64.tar.gz

  • The -k parameter can be used when downloading using curl. For example:curl -O -k https://www.fmz.com/dist/robot_linux_amd64.tar.gz

4.运行 tar -xzvf robot_linux_amd64.tar.gzUnloading (input to the robot can automatically fill the entire path by pressing the TAB key). 5. Running the test host./robot -s node.fmz.com/xxxxxx -p yourFMZpasswordThe number string xxxxxx represents is different for each user.https://www.fmz.com/m/add-nodeFind your FMZpassword, which represents your FMZ website login password and requires an API-Key to decrypt it. Here are some tips:2018/07/05 05:04:10 Login OK, SID: 62086, PID: 7226, Name: host.localdomainIf you run the program successfully, you can run it if you run a permissions problem.chmod +x robot 6.此时的托管者运行在前台,关闭SSH连接即断开,需要在后台运行,按 ctrl + CI just finished the test. 7. Running commands in the backgroundnohup ./robot -s node.fmz.com/xxxxxx -p yourFMZpassword &The host of the server will automatically log out after the web page is deleted. 9. also availablescreenThe command allows the administrator to run in the background, and the password can be entered implicitly (command parameter minus -p) and can be searched on its own.

Steps to upgrade

FMZ custodians generally do not need to be upgraded, and can be upgraded if new exchanges are added, bugs are modified, or the custodian is too old.

  1. Log in to the server administrator's directory (if not changed, usually the default directory after SSH login)lsSee the documentationimgYou can see.logs robot robot_linux_amd64.tar.gzIn this case, logs is the log folder, robot is the host executable, and robot_linux_amd64.tar.gz is the original compression package.
  2. Executionrm -rf robot*Removes old bot programs and compresses packages at the same time, keeping logs
  3. Executionwget https://www.fmz.com/dist/robot_linux_amd64.tar.gzDownload the new host compression pack
  4. Executiontar -xzvf robot_linux_amd64.tar.gzUncompressed
  5. Executionnohup ./robot -s node.fmz.com/xxxxxx -p yourFMZpassword &It's the same story in the film.node.fmz.com/xxxxxxSpecificallyhttps://www.fmz.com/m/add-nodeI found it.

The advantage of such an upgrade is that the logs are retained and the bot running the old host will not stop running (which has already been loaded into memory). The host of a bot that wants to upgrade simply stops the bot, replaces the host in the parameter interface (the latest host id is the largest) and restarts.

If the old hosts no longer run the bots,https://www.fmz.com/m/nodesThe page can be deleted directly.


Related

More

The flying bearHow to deal with a false report? This is a list of all the different ways Futures_OKCoin is credited in the database. Mistakes GetRecords: interrupted This is a list of all the different ways Futures_OKCoin is credited in the database. Mistakes GetRecords: interrupted This is a list of all the different ways Futures_OKCoin is credited in the database. Mistakes GetRecords: context deadline exceeded (Client.Timeout or context cancellation while reading body) This is a list of all the different ways Futures_OKCoin is credited in the database. Mistakes GetRecords: context deadline exceeded (Client.Timeout or context cancellation while reading body) This is a list of all the different ways Futures_OKCoin is credited in the database. Mistakes GetRecords: context deadline exceeded (Client.Timeout or context cancellation while reading body) This is a list of all the characters that have appeared in the anime. What is it? Swap price per jump: 0.1

lizhengofdlThis step is prompted to run. /robot -s node.fmz.com/xxxxxx -p yourFMZpassword, looking at node.fmz.com 2021/09/01 19:47:18 Error: Password error This is a list of all the different ways Password error is credited in the database.

Difficult to quantifyRun programs in the background with the screen He is also a member of the Chinese Communist Party.

yjguiHi, can you please deploy a trustee on your own win10 computer, why can't you check Binance's assets?

chuchu007Is there an official or private Docker image available?

dashiziIf you change the inventor's password, will it affect the hosts that are already well deployed?

shen centos 6

shenThe Trustee Fails 2020/11/09 13:35:34 Login OK, SID: 123646, PID: 2432, Name: This is a list of people who have been featured on the cover of Vogue. 2020/11/09 13:36:06 Error EOF This is not the first time I've seen this. 2020/11/09 13:39:04 Error EOF This is not the first time I've seen this. 2020/11/09 13:39:43 Error EOF This is not the first time I've seen this. 2020/11/09 13:39:48 Error EOF This is not the first time I've seen this. 2020/11/09 13:41:36 Error EOF This is not the first time I've seen this. 2020/11/09 13:41:41 Error EOF This is not the first time I've seen this. Can't retry with the host

The bone knifeIf I change the server IP address of the host I deploy, what do I need to do? Do I need to re-deploy?

suskiHow does the old host start when the server goes offline? I do the same thing again and a new host is generated.

hehang007q dddd

jjkkI used to fold it myself, I learned to fold it on my screen.

hello8865. Running the test administrator./robot -s rpcs@node.fmz.com:9902/xxxxxx -p yourFMZpassword xxxxxx The number string represented by xxxxxx is different for each user

hello886Where did that string of numbers come from?

The grassyourFMZpassword replaced by your password xxxx replaced by your address

gaTmux is good.

The grassDigital currencies need to choose offshore custodians

The grassThe process is not complicated, and no mirrors are needed.

The grassIt will not affect the robots that are already running, but the new ones will re-add the exchange Key.

shenI've simplified it to just print Log (('hello world')

The grassI'm going to try the simplest of strategies.

shenAn anomaly occurred when retesting using a host

The grassWhat does that mean?

The bone knifeThank you.

The grassNo need.

The grassIn general, the recovery time is within an hour. If the robot does not need to be managed, it can wait longer.

bamsmenHow long is the temporary shutdown time you're referring to? Is the downtime beyond this value enough to re-deploy a new host?

suskiOkay, thank you, I got it.

The grassNo, a short disconnect can usually be done without a cable, and will automatically reconnect without affecting the robot's operation

suskiHey, is there a way to restart the old one, because deploying the new one, the robot needs to be reassembled, is there a way to restart the old one?

The grassThe old link will not be removed directly from the website and a new one will be deployed. The re-deployment will of course generate new ones.

The grassThe meaning of life lies in folding

The grassRun nohup./robot -s rpcs@node.fmz.com:9902/xxxxxx -p yourFMZpassword & run in the background, rpcs@node.fmz.com:9902/xxxxxx can be found at https://www.fmz.com/m/add-node.