How do I quickly assign IP addresses to more than 100 hosts?How do I assign a host address to a mobile office employee?The concept of DHCP: Dynamic Host Configuration Protocol ProtocolThe automatic allocations we can implement include:--ip address,
Command format: Command "-Selection" "Parameters"LS: Display directory file/bin/ls option-l-d-a-i-Hmkdir: Create new directory/bin/mkdir option-p recursively create directoryCD: Switch directoriesPWD: Displays the location of your current directory.
#Linux--Log The IP information of each user after login, and other operation information, appendvim/etc/profileps1= "' WhoAmI ' @ ' hostname ': ' [$PWD] '(Linux system prompt is defined with system variable PS1)History(Who-u am I will show the
Bash scripts: Sequential execution in process-oriented programming: Default rules, execute each statement by execution: branching, conditional judgment, execution of the eligible branches; loop execution: The same piece of code is executed
Yum1, hanging in the ISO file[[Email protected]]# Mount/dev/cdrom/media2, Installation CreaterepoCreaterepo is a configuration tool that configures the Yum source to check whether the installation of the Createrepo package is currently
Installation Steps :(Under Debian Jessie)Download the. Deb installation packageHttp://packages.linuxdeepin.com/deepin/pool/main/d/deepin-scrot/deepin-scrot_2.0-0deepin_all.debIf you are prompted for missing dependent python-xlib in the installation,
Show the line time of the history commandThe environment here is centos5.8Vim ~/.BASHRC or ~/.bash_profile Add export histtimeformat= "%F%T "One session is executed first.Export histtimeformat= "%F%T "And then you can use the history command.#
Groupmod (8) System administration commands Groupmod (8)NameGroupmod-modify a group definition on the systemOutlinegroupmod [Options] GROUPDescribeThe groupmod command modifies the definition of the specified group by modifying the appropriate entry
Linux performance diagnostic tool and linux Performance DiagnosisVmstat: virtual memory status-Swpd free buff cache si so in cs Ref: http://www.cnblogs.com/ggjucheng/archive/2012/01/05/2312625.htmlIostat: io statusAvgqu-sz await svctm reference:
Follow the tab to create a completion method under the python command line
This method is only tested on centos6 and tested on other systems.
1. Create a hidden file named. pythonstartup in the user's home directory and write the following content:
N methods of adding ps to the Kill process in CentOSGeneral:First, use ps to view the process as follows:$ Ps-ef......Smx 1822 1 0? 00:00:49 gnome-terminalSmx 1823 1822 0? 00:00:00 gnome-pty-helperSmx 1824 1822 0 00:00:02 pts/0 bashSmx 1827 1 4? 00:2
View multi-core loads in CentOS
1. in Linux, how does one view the CPU usage:
# Top-M
Then press the number 1 (or press 1 after top) to display the information of multiple CPUs and memory:
[Root @ testpc ~] # Top-MTop-15:38:40 up 2 days, 2 users,
Build a LAMP platform environment under Centos7
Centos version 7.0 is released. The new version brings many features. In addition to kernel Update to version 3.10, it supports Linux containers, Open VMware Tools, and ready-to-use 3D images. It is
Install the nginx server in CentOS6-- Prepare the environment1. Ensure that the operating system is installed with the GCC compiler. You must also install the Autoconf and Automake tools.Yum-y install gcc-c ++ autoconf automake2. Module dependency:
Deploy a fully distributed cluster of Hadoop2.2 under Centos6.5Let's take a look at how to deploy a fully distributed cluster under Centos6.5.Next, let's take a look at the specific system environment.Sequence Number Name Description 1 system
Setup and configuration of svn server under centos (no apache version)# Installation and deployment1. Check whether earlier versions of SVN are installed.Rpm-qa subversion[Root @ Svn tools #] rpm-qa subversion# Uninstall commandYum remove subversion2
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service