2018-06-06 Linux Learning

20.27 Distribution System IntroductionRemote interactive SSH login, remote execution command, configuration service.20.28 Expect script TelnetYum Install-y expectAutomatic Telnet#! /usr/bin/expectSet Host "192.168.133.132"Set passwd "123456"Spawn

Linux view process, CPU, memory

First, real-time viewComputer consumption of memory is generallyUse the top command to view, CPU, memory, usage, real-time data; exit with Q-key or Ctrl +cTop Results interpretationTop-01:47:27 up, 2 users, load average:0.00, 0.03, 0.05tasks:154

Linux static IP configuration in Vmvare

The default gateway gets as follows:1. Edit---Virtual network editor2.CentOS6[Email protected] ~]#

Linux Learning-----3

Advanced Directives1.hostname instruction function: Operation server hostname (read settings)Hostname output the full host nameHostname-f to output the fully qualified domain name of the current host2.id instruction function: View some basic

Samba Server configuration in Linux

Note: If there is an anomaly in the configuration process, see considerations at the end of the document.1. Upload the RPM installation package (provided) required by Samba to the Linux server to:/usr/local/soft/2, execute the operation command:A,

Use Maven to modify HBase source code and recompile under Linux

First, prepare MAVEN is configured JDK is configured Second, modify the relevant HBase codeThird, use MAVEN to compile hbase-2.0.0 Under the HBase src root directory, execute the following command MVN Clean package-dskiptestsMVN

JMeter running on Linux

First, step:1, first in the Windows graphical interface script, set the number of concurrent users, execution time and so on.2. Go to the JMeter Bin directory to run the

Linux Basic Learning -9.2-file types

I. Classification of documentsF File Common FilesD Directory DirectoriesL symlink softlink Symbolic link/soft Connect1, f File Ordinary files1). binary Files-commands2). data file-data-can only be viewed by the specified command3). text file[Email

Linux Basic Learning -8.3-setting the Linux hostname process

1. Host name configuration file[Email protected] ~]# cat/etc/sysconfig/networkNetworking=yesHostname=brj2. View Host Name[Email protected] ~]# hostnameBrj3. Temporarily modify host name[Email protected] ~]# hostname oldboy364. Permanently modify the

Linux Basic Learning -9.4-first knowledge of Linux permissions

1. View Files===== Read R = 42, modify the contents of the file===== Write w = = 23. Permission to run commands/scripts===== Execute x = 1= 04, Linux permissions classification 9-bitMaster, family, strangers.rw-r--r---rw-r--r--. 2 root root 194 Oct 1

LINUX manually set up swap files and delete

Original: http://blog.itpub.net/7728585/viewspace-670175/1. Determine the size of the swap file, in units of M. Multiply the value by 1024 to get the block size. For example, a 64MB swap file has a block size of 65536.2. At the root prompt, type the

The ' anti-quote ' in Linux

You can assign a number or character directly to a variable in the shell, or you can assign the result of a Linux command to a variable, as follows:(1) $ count=9 #将数字赋予变量count (2) $ name= "Ming" #将字符赋予变量name (3) $ Listc= ' Ls-la ' #将Linux命令赋予listc,

Linux Basic command, not yet to be continued

1, CD enter the system root CD/Enter the current user's home directory CD ~ Go to the top level directory CD of the current directory. Jump to the specified directory, starting from the root directory cd/apps/2, pwd View the full path of the current

Installing MATLAB under Linux

MATLAB is a commercial mathematics software produced by American MathWorks Company, which is mainly used in the advanced Technical Computing language and interactive environment of algorithm development, data visualization, data analysis and

Troubleshooting the sudo command problem with Linux

Problem descriptionThe following error is prompted when executing the sudo command in the terminal after logging in with a normal user: We Trust you are received the usual lecture from the local SystemAdministrator. It usually boils down to

Linux clusters for highly available--keepalived

High Availability:LVS itself does not support high availability;在lvs集群中,可能有两种故障: 1.Director故障不可用; keepalived:原生的lvs的Director高可用解决方案; heartbeat corosync/pacemaker:通用的高可用解决方案; 2.后端RS故障不可用;

Linux File System Preliminary

What to do after installation 1. Check whether the 22 port of the remote connection ssh (Secure shell) service is turned on (with: 22)[[email protected] ~]# ss -tnlState Recv-Q Send-Q Local Address:Port Peer Address:PortLISTEN 0 128 :::22 :::*LISTEN

Linux Group Management

I. User's primary and secondary groups.goups command to view the group that the current user belongs toThe first one is the primary group, and the next is the secondary groupSummary: That user created the directory (file), the directory (file) of

Linux Experiment 4

1, Shell variable basic usage and common symbol practical(1) Change the main prompt to the user's home directory name(2) Assign the string DOS file c:> $student * to the variable x and display it(3) Shell command Terminal input likes= (Cosmos Galaxy

Windows settings connect to Linux shared data via NFS

Win7 added a lot of useful features, but the default is not open, today, briefly describe the next WIN7 NFS function, through this feature, you can let Win7 share Linux under the disk partition or directory data, this function principle can only be

Total Pages: 5467 1 .... 3691 3692 3693 3694 3695 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.