os.cmd (cmd)The OS module provides the CMD function to execute Linux system shell commands (you can also execute Windows commands). Returns the standard output string result of a cmd command. For example, execute Os:cmd ("date") on a Linux system.
1, installation mode selectionMinimized, Basic installation2. Software source Settings/etc/yum.repo.d/Centos-base.repo set up a network memberCentos-media.repo Setting the Local Disk source YUM&NBSP, --disablerepo =\*&NBSP, --enablerepo = C6
8.Linux of LVM usage
Command Overview: Commands used (#代表是数字) pvcreate/dev/sd[ XX] Vgcreate-s # vgname/dev/sd[] -s Specifies the size of the PE default size is 4M Vgextend vgname/dev/sd[xx] Lvcreate-n Lvname-l #/dev/vgname Capacity
1. Cat ~/.bash_history2. History | MoreEnter the keyboard----------lineSpace Keyboard---------------one page3,! 103 Execution of 103th orderProblemIn the process of using bash, we may want to .bash_history document more useful historical commands,
Use VNC for graphical interface Remote Desktop control under Linux.1. Enable SuSE remote controlSuSE is installed by default VNC, open yast, Network Service, remote management (remotely administration), select "Allow Remote Management", in the
Need to write a regular update system under Linux script, man Crondtab is not very detailed, now the network is listed as follows:Crontab is a handy program that performs a task periodically (looping) on a unix/linux system using the cron service,
The Linux SCP commands are used to copy files and directories between Linux, and how to use them here, from local replication to remote, remote replication to local, is two ways to use it. Here are specific examples:==================Linux SCP
SED is the Linux lightweight Flow editor, which is used for line operations, mainly for data selection, replacement, deletion, new, and so on.Permissions: All UsersLocation:/bin/sedUsage: sed [-NEFR] [action] FileParameters:-NWhen you do not add-N,
Failed to find download when executing yum install GCCPing www.baidu.comPing does not passPing Baidu's ip:220.181.111.188 but can ping throughThis proves to be a problem with DNSBaidu after check to set the DNS need to run the command: vi/etc/resolv.
Reference: http://os.51cto.com/art/200908/141411.htmHttp://www.oschina.net/translate/15-practical-linux-find-command-examplesHttp://www.oschina.net/translate/15-practical-unix-linux-find-command-examples-part-2The Find command is a command used to
tar command[[Email protected] ~]# tar [-cxtzjvfppn] files and directories ....Parameters:-C: Create a compressed file parameter directive (the meaning of Create);-x: Unlock the parameter instructions for a compressed file!-T: View the files inside
PrefaceLinux has its own set of completeStartSystem, grabbed the LinuxStartThe context of LinuxStartThe process will no longer be mysterious.It is recommended that you take a look at the drawings before reading.In this article, it is assumed that
Happy Shrimphttp://blog.csdn.net/lights_joy/Welcome reprint, but please keep the author informationin theVSWhen debugging, there are three types of single-step action-by-statement, process-stepping and jumping-out, when doing these three
Install Docker for CentOS7
Docker is a platform for developers and administrators to develop, deploy, and run applications! It allows you to quickly package applications and deploy applications!
Docker consists of the following two parts:
Docker
View the tcp network connection status of netstat + awk in CentOS
Run the following command:
# Netstat-n | awk '/^ tcp/{++ state [$ NF]} END {for (key in state) print key. "\ t ". state [key]}'
The following result is displayed, and the numbers are
View the SSH version on Linux
Question: I think SSH has two versions (SSH1 and SSH2 ). What is the difference between the two? Also, how can I check the SSH protocol version on Linux?
Secure Shell (SSH) uses an encrypted secure communication
Wget command usage
Wget is an open-source software developed in Linux, written by Hrvoje Niksic, and subsequently transplanted to various platforms including Windows. It has the following functions and features:
(1) Support for resumable data
Linux Disk Quota commands
Linux Disk Quota commands
1. Quota has the following functions:
1) Limit the maximum disk quota that a group can use
2) Limit the maximum disk quota of a user
3) Link-based mail can be used as the limit (change the path
Port istgt on BSD to Mac OS X
Istgt Software Overview
Istgt is an iscsi target software running on openSUSE, Debian, NetBSD, And FreeBSD. It works in user process mode.
Home page: http://shell.peach.ne.jp/aoyama/
This is a software written by the
Install mysql-proxy in yum in centos
Install mysql-proxy on centos
Mysql-proxy is useless. mysql-proxy depends on libevent, lua, glib2, and other software.
So before installation
Yum install lua-develyum install glib2-devel
Libevent I use
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