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

How to build a Linux cloud environment

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article mainly introduces the relevant knowledge of how to build a Linux cloud environment. The content is detailed and easy to understand, simple and quick to operate, and has a certain reference value. I believe you will gain something after reading this article on how to build a Linux cloud environment. Let's take a look.

1. Remote management of Linux the software needed for remote management of Linux: PuTTY software, FileZilla file management and code editor Visual Studio Code

After the download is completed, the PuTTY software connects to the server remotely, and the FileZilla software manages the files, thus realizing the remote management of the ECS cloud server.

Install the graphical desktop (Gnome) CentOS 7 64-bit system for the Linux environment

Update the software source and upgrade the system, connect to the server using PuTTY, enter the following command

Yum update&& yum install wqy-microhei-fonts

To install the Gnome+ NVC one-click package, run the following command

Wget https://gist.githubusercontent.com/ivmm/d93138038edbd551def09205bb61ae11/raw/8ed82411926acb3ab331d293f6200447ad2c85cf/gnome_install.sh&& bash gnome_install.sh

Press any key to start the installation

Set the password and wait for the installation to complete

The installation is successful. The access address here needs to be replaced by the public network IP.

Run VNC using VNC_Viewer connection, enter the public network IP:5901, and click CONNETCT to enter the password

In the process, we encountered that vnc did not start itself like the tutorial, so we need to enter our own commands to start it. Start command: vncserver

The following is the graphical interface 4. Learn the basic operation of Linux

1. View the system, kernel

Cat / etc/redhat-releaseuname-r

two。 View CPU

Grep "CPU" / proc/cpuinfo

3. Running time

Uptime

4. View system digits

Getconf LONG_BIT

5. View hard drives and partitions

Df-h

6. Software installation and uninstallation

Yum update # update system yum makecache # update software source cache yum search software name # search software yum install software name # installation software yum remove software name # uninstall software

7. Software management

Service software name start # launch service software name restart # restart service software name stop # turn off service software name status # status

8. File and folder management

Touch file name # create file mkdir-p a/b/c/d # Recursive create folder cp a.a b.b # copy file mv a.a c.c # rename or copy chmod 0755 d / # directory permissions chown-R user name: user group e / # directory ownership rm a.bc-rf # delete file / folder

9. Download of files

10. Compression and decompression

Compress

Tar zcvf node-v4.5.0.tar.gz

Decompression

Tar zxvf node-v4.5.0.tar.gz

This is the end of the article on "how to build a Linux Cloud Environment". Thank you for reading! I believe you all have a certain understanding of the knowledge of "how to build a Linux cloud environment". If you want to learn more, you are welcome to follow the industry information channel.

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

Development

Wechat

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

12
Report