In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
What are the commands commonly used in linux clusters? I believe that there are many people do not understand, today, in order to let you know more about linux cluster commonly used commands, so give you a summary of the following content, let's look down.
Cluster technology is a relatively new technology. Through cluster technology, we can obtain relatively high benefits in terms of performance, reliability and flexibility at a lower cost, and its task scheduling is the core technology of the cluster system.
1. Common system shutdown commands:
Halt, init 0, poweroff, shutdown-h now, shutdown-h 10
two。 Common system restart commands:
Reboot, shutdown-r now, init 1
3. Add hostname and IP mapping
[root@controller ~] # vi / etc/hosts192.168.48.10 controller192.168.48.20 compute
4.shell
#! / bin/bash
# of the above! Is a convention tag that tells the system what kind of interpreter the script needs to execute
The basic format of 5.crontab task configuration:
* * command
Minute (0-59) hour (0-23) date (1-31) month (1-12) week (0-6 for Sunday) order
For example:
0 1 * / home/testuser/test.sh
/ home/testuser/test.sh is called at 1: 00 every night.
* / 10 * / home/testuser/test.sh
Call / home/testuser/test.sh every 10 minutes
Which commands are commonly used in linux cluster are shared here. I hope the above content can be used as a reference for everyone. If you like this article, you might as well share it for more people to see.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.