storage relatedVtWhat is the source of YumDownload to local cache metadata cache to local3 Types of protocol:Local file:///protocolRemote server ftp:///HTTP/Yum Warehouse:RPM PackageThe repodata/directory XML file can be used as a Yum source only if the path containing this directory is its subdirectoryRepomd.xml save time stamp to see if there are any changesPrimary.xml.gz the name and dependencies of each RPM package in the current Yum repository:a
perform > (redirect) cannot execute17:lsattr Special properties for reading files-a similar to Ls-a-R together with subdirectories data18: Search command Find find[path [parameter]atime Access or execution time of the filectime file Write, change owner, time of permissionMtime The time the content of the file changedstat test2 can get a file of 3 timefind-name test2 means finding files with Test2 as their name19: Common file Types-Normal fileCatalog
) Single user modeStart single-user mode: Modify the kernel option in the Grub interface, add 1 at the end of the Grub command line, and then start to enter single-user mode.Common bug fixes for single-user mode: Forgetting root password and modifying system default RunLevel(2) Disc Repair modeIf you forget your grub password, you can modify it by using the disc Repair mode.How to enter disc Repair mode:Insert Disc:Press F2 to enter the BIOS and set the CD to boot. Press F10 to save and start, y
, otherwise it is necessary to confirm that the routing device has made the correct net or routing settings.The sixth step is to confirm if you can ping a domain name on the public network, if you can ping the general instructions that the DNS section is set correctly.Even if the actual work may be affected by a number of factors such as more complex network environment, security ACL, firewall, and so on, but the difficulty of network troubleshooting, but the above steps are to eliminate the mai
1. Data type
A: Integer type
Bit,int,smallint,tinyint
"Relative to the number of operating system bits"
B: Numeric type
Decimal,numeric,money,smallmoney,float,real
"Save Decimal"
C: Character-related types
Char,varchar,text,nchar,nvarchar,ntext
D: Date Time Type
DateTime (Accurate to 0.01 seconds), smalldatetime (accurate to minutes), timestamp
E: Binary type
Image
"By image, video to binary, save to database"
NetworkManager, whether the NIC accepts NM control, CentOS6 is recommended as "no";Onboot: Whether this device is activated at system boot time;Type: interface types; common Ethernet, Bridge;UUID: The unique identification of the device;
IPADDR: Specify the IP address;NETMASK: Subnet mask;Gateway: Default gateways;DNS1: The first DNS server points to;DNS2: The second DNS server points to;
Userctl: Whether the ordinary user can control the device;
restart/etc/init.d/network restartFQDN Full qualified Domain Name/etc/resov.conf DNS resolver Specifies DNSHostname Define host name View host nameHostname name defines host name/etc/sysconfig/network define the host name of the system settingsNetworking=yes|no restrict access to the Internet. Yes can surf the internet, no can not surf the Internet.Hostname= system is still active after rebootAgteway define the gateway scope must be a network card is generally based on the network cardOne NIC m
One, Linux file Rights ManagementTo view a file's permissions command: Ls-lThere are 4 types of Linux file permissions: Read (r), write (W), execute (x), and no permission (-)Typically 10 characters to represent their permissions, grouped by (1-3-3-3)1 position means file type "-" for file, "D" for Directory2-4-bit representation of user rights (U)5-7-bit representation of group permissions (g)8-10 indicates additional permissions (o)Usually use chmod
Absolute path and relative pathAn absolute path is a path from the root directory to a directory, which is written from the root directory, i.e./Relative paths are written from the path of the user's current directoryDirectory-related OperationsCD switch path for example: cd/var/www switch to/var/www/pathPWD Displays the current pathmkdir Create a new directoryRmDir Delete an empty directoryDo not describe the operation, you can use the man to viewCopy move and Delete commandsCp,mv,rmModify Defa
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.