#查看本机mysql Installation Path[[email protected] toolkit]$ Rpm-qa|grep-i mysql[[email protected]-0134/usr/lib/mysql/usr/share/ MysqlEnvironment CentOS, after testing, the above directory actually does not have MySQL installation, just have some lib
Ubuntu default is not to start the root user, now describes how to enter the root method.(1) switch from user to rootWhether you're logging in to Ubuntu in graphical mode or in command-line mode, we'll find the default usersimply execute sudo su
One, why need high-end memoryA: For a 32-bit machine, the maximum Linux virtual memory is 4G, where 3-4g space is used as the kernel space, considering that if the physical memory is greater than 1G, then the physical memory can not be fully mapped,
Features: Copying Files or directoriesNote: The CP instruction is used to copy files or directories, such as specifying more than two files or directories at the same time, and the final destination is an existing directory, it will copy all the
How do I view CPU information under Linux? Just look at the/proc/cpuinfo file.Cat/proc/cpuinfoThe following results are available under My computer:It contains a lot of information, and the more important fields are:ID of the processor logical
1, the role of Linux eth0 and eth1Configure the network environment under Unbuntu:1. The default content of the/etc/network/interfaces file that opens Ubuntu is as follows:Auto LoIface Lo inet Loopback (These two sentences can be
CompressionCompact format: GZ, bz2, XZ, zip, Z, and so on.Compression algorithm: The algorithm is different, the compression ratio is also different.Comperss:filename.z low Compression ratio.UncompressGzipFilename.gzOnly files can be
As a "Magnum" code farmer, this kind of work you will have to do sooner or later. ----by Jimi no bondPreparation: Yum1. Check if it is installedRpm-qa SubversionIf you want to uninstall the old version:Yum Remove Subversion2. InstallationYum Install
Multi-thread synchronization in Linux and multi-thread synchronization in linux
When multiple threads share the same memory, make sure that each thread sees a consistent data view. When multiple threads modify the memory at the same time, there may
Batch deployment of unattended installation of Centos 6
Network Architecture Used for large-scale deployment and installation of Centos 6
We know that we must first install the DHCP service, tftp service, and NFS service on the server. In Centos 6
Centos file type command
View the basic data of a file. For example, it is ASCII.This command can be used for data files, binary files, and whether or not information such as the dynamic correspondence library is used.
Usage:
[Kin @ kin ~] $
Less options for common linux commands
-N ...... -- LINE-NUMBERS Use line numbers. display the row number.
-M-M... -- long-prompt -- LONG-PROMPT Set prompt style. Percentage of Files Read, row number and total number of rows.
Q: q Q: q zz
Hadoop: hadoop2.2.0 pseudo-distributed construction, hadoophadoop2.2.01. Prepare the Linux environment1.0 click the VMware shortcut, right-click the file location, and choose vmnet.exe> VMnet1 host-only> modify the subnet ip address to set the CIDR
Linux (4) solution for setting incomplete display and unavailable input methods in unbuntu
Recently, I want to check some system information and click "about this computer". I found that some system settings are displayed, and only some of them are
Linux common command ll is ls-l -- color = auto
1. linux system O & M or development is often usedLlThat isLs-l -- color = autoCommand. For exampleLl-hF,
[doctor @ localhost ~] $ Ll-hF total usage 1.1Gdrwxrwxr-x. 2 doctor 4.0 K January 18 10:23
Search for linux Command Line history records and then execute
1. ClickUp/down arrow keysThe command line displays the previous or next history record relative to the current command.
2. the same function as the Arrow Keys is the combination
Linux commands-more
When we use linux/unix, we often need to view the file content or log. Normally, we will choose the cat command, but sometimes our file is too long to go beyond a screen, in this way, it is inconvenient to view the above
An error is reported when you execute a wordcount instance in pseudo-distribution mode. solution:
Problem 1: memory cannot be allocated. The error message is as follows:
FAILEDJava. lang. runtimeException: Error while running command to get file
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