Huawei Cloud Yaoyun Server L instance usage tutorial: installing jdk and configuring environment variables

Recently, all platforms have been dominated by the news of Huawei mate60, 5g + Kirin, even if Cook comes, it will not work.

In addition to making mobile phones, Huawei has also been deeply involved in the field of cloud computing for many years. As the world's leading information and communications technology (ICT) solution provider, Huawei has always won the trust of customers with its innovative products and services. Among them, Huawei Cloud Server is an important product of Huawei in the field of cloud computing. Through its excellent performance and flexible configuration, it provides strong support for enterprises and promotes their digital transformation.

Just recently, I took advantage of the Huawei Cloud 828 event and picked up a Yunyao server.
Insert image description here
After the purchase is completed, you can directly SSH into the server from the console without using other tools. It is super convenient.

Insert image description here
Since I purchased a pure version of Linux system, it didn’t come with anything. I had to install all the various environments by myself.

Insert image description here

I plan to deploy some of my own Java programs on this machine in the future. Let’s install the jdk environment today.

There is no Java environment on the machine now
Insert image description here

I was lazy today and installed it directly using yum, which saves me the trouble of configuring those miscellaneous things. If I’m not familiar with it, it’s easy to make mistakes.

Although Java has been released to 20, I still use 1.8. The one that suits me is the best.

Enter the following command into the console and hit Enter

yum install -y java-1.8.0-openjdk.x86_64

Oh, it’s so convenient and fast.
Insert image description here
Let’s try our Java command again.
Insert image description here

Done in minutes! !

The previous server has just expired, and this machine will be my main machine from now on.


After a brief experience, I summarized several features of Huawei Cloud Yao server:

  • High performance: Huawei Cloud Server adopts the latest chip technology, providing excellent computing performance and large-capacity storage, which can meet various high-intensity workloads.
  • High reliability: Through redundant design and failover technology, Huawei Cloud Server can ensure business continuity and data security, effectively reducing the risk of downtime.
  • Easy to manage: Huawei Cloud Server provides an integrated management platform that simplifies server deployment, configuration, and management, allowing enterprises to focus more on business development.
  • Energy saving and environmental protection: Huawei Cloud Yao servers adopt advanced energy-saving technology, which can reduce energy consumption while providing powerful performance and achieve green environmental protection.

Guess you like

Origin blog.csdn.net/qq_33709582/article/details/132810114