Create a partition---format---"Mount using1. Create a partition[[email protected] ~]# fdisk-l view partition of disk[Email protected] ~]# Fdisk/dev/sdbCommand (M for help): M get assistance to view specific commands that can be usedCommand (M for
1. Without root login management system, and as a normal user login, through sudo authorization management.2. Change the default remote connection SSH server port, prohibit the root user to connect remotely, even change the SSH service to listen
System Uname-a # View kernel/operating system/CPU Information Cat/etc/issue # view OS version Cat/proc/cpuinfo # view CPU Information hostname # view computer name LSPCI-TV # List all PCI devices LSUS B-TV # list all USB devices Lsmod # list loaded
Network ToolsOn CS7, there is no network Management command (IFCONFIG) on the minimized system and need to install the Net-tools# yum Install Net-toolsInstall Iftop:# yum-y Install libpcap libpcap-devel ncurses ncurses-devel# wget
A computer that is not networked is scrap metal, and managing Linux must also know the network, but the web is a particularly big discipline, with principles and norms that can write three of books. Learn Linux before you can not go to test a CCNA
This article explains Linux the installationBecause it is purely learning to use, so installed in the virtual machineSoftware Required:VirtualBox-5.1.10Ubuntu-16.04.1-desktop-amd64DescriptionVirtual machines can choose VMware Workstation Pro, and
Summary of the FOR loop notationabout The shell of the for loop usage a lot, feel very comprehensive, so turn around research, hehe ...1. For ((i=1;i[[email protected] ~]# for ((i=1;i482. Commonly used in shell is for i in $ (seq)[[email protected] ~
write a script to complete the following functions:Description: This foot instinct is to create multiple yum sources in the same repo file;1, receive a file name as a parameter, this file is stored in the/ETC/YUM.REPOS.D directory, and the file name
#!/bin/BashEcho "Enter the first number"Read Ab=0 while[[$b! =1 ]] Doifb=1&& [[${a}! = *[!0123456789]* ]] ThenEcho "the input is a number"Elseb=0Echo "input is not a number please re-enter"Read Afi DoneEcho "Enter a second number"Read Bb=0 while[[$b!
A slightly more complex operation on a Linux Traditional Chinese medicine requires the use of a piping command "|" A combination of multiple commands, in the following form:Command 1 | Command 2 | Command 3 ...Some commands in Linux can be used
Grammar:passwd [-K] [-l] [-u [-f]] [-d] [-S] [username]Necessary parameters:-D Remove Password-F Force Execution-K updates can only be sent after expiration-L Stop Account usage-S Display password information-U enable an account that has been
Linux virtual machine set to static IP After installing a Linux virtual machine in VirtualBox, the Linux virtual machine defaults to DHCP to automatically surf the network when using NAT, and it uses the NetworkManager service instead of the net. At
The home directory space in the CentOS 7 development environment is full and requires additional space
Perform "ls/sys/class/scsi_host" on the virtual machine, and then rescan the SCSI bus to add the device. As pictured on the right.
1. Configure the local Yum source functionThere are two ways to install software under Linux:one is the rpm command, and the other is Yum online installation.because the rpm command installs and uninstalls the software, there are many dependencies
1, the Replication/etc/skel directory is/home/tuser1, requires/home/tuser1 and its internal files belong to the group and other users do not have any access rights.[Email protected]/]# cp-r/etc/skel/home/tuser1 && chmod 700-r/home/tuser1 [[email
[Linux] AWK entry, linuxawkWhat is AWK?
AWK is a programming language tool for processing text, a pattern matching program. A typical example is to convert data into formatted reports.
Enter the following awk command in the command line:
awk -F":"
Install memcached and linuxmemcached on Linux Server1. Install memcached
1. Download memcached-1.4.33.tar.gz?libevent-2.0.22-stable.tar.gz
Install memcached on libevent
2. Install libevent
A. Unzip [root @ iZ28b4kreuaZ webserver] # tar zxvf libevent-
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