Recently took a breath of Hanshunping teacher to read the Linux video tutorial, oneself also in the process of learning to do some notes, recorded as follows, hope to help some students like to study Linux, but also in the cloud back up notes it, in
See the original JDK firstRpm-qa|grep JDKOne by one uninstallation via RPM-E--nodeps based on the JDK name found aboveThen install the JDKRPM-IVH xxxxxxjdk.rpm for installationConfiguring Environment variables:/etc/profilejava_home=/usr/java/jdk1.7.0
And finally know that Linux is so easy to poison.Enter the server, found that the machine has been sent out of the packet, the bandwidth is full (5 minutes can send 10G). CPU usage 100%,top can see a process called Sfewfesfs and A. Sshddxxxxxxxxxxx (
The Gentoo file Manager, Rox-filer, Xfe, and PCMANFM are among the best non-traditional file management tools on the market that are lightweight, powerful, easy to configure, independent of any particular desktop environment, and easy to maintain.
1, the installation of TerminatorOpen the terminal; sudo apt-get install terminator2. Shortcut keys for TerminatorCtrl+shift+oSplit terminals horizontally. (Open new window)Ctrl+shift+eSplit terminals vertically. (Open new Window
File Directory related Operationsbasename Print File base nameCat read-out file to standard outputTAC Reverse Output fileChgrp changing file groupschmod change the mode bit of the fileChown changing the owner of a fileCP CopyCpio copy or copy from
the Iconv command implements the conversion of the Linux character set encodingFiles under Windows are copied to Linux often garbled, because the file encoding under Windows Gbk,linux under the default file encoding UTF-8, it is necessary to
Translate to: http://linoxide.com/linux-command/linux-lsblk-command/The LSBLK command (which lists block devices) is used to list information about all available block devices, but it does not list information about the RAM disk. Examples of block
Introduction to Shared memory shared memory allows two or more processes to share a given store. This is the fastest IPC because the data does not need to replicate between the client process and the server process. There are two ways to share
Kernel synchronizationSynchronous introductionThe concept of synchronizationCritical section: Also known as a critical segment, is the code snippet that accesses and operates shared data.Competition conditions: 2 or more than 2 threads are executed
In the 3.16-RC4 kernel source, the kernel stack size allocated to each process is 8KB. This kernel stack is called the exception stack, when the kernel space of the process is running or the exception handler is executed, the exception stack is used
Linux special permission analysis (version 2) and linux Version 2SetUID [permission value = 4]
Q: Why can ordinary users change their passwords?
Ll $ (which passwd)
1. SetUID: When an executable program/command has the SetUID permission, the user
How to view logs in linux (Common commands)
Cat
Tail-f
Japanese text description
/Var/log/message information and error logs after the system is started. It is one of the most common logs in Red Hat Linux.
/Var/log/secure security-related
Common vi commands, vi
Common vi commands
1. vi ModeA) Normal Mode: when vi processes a file, it enters the normal mode as soon as it enters the file.B) editing mode: In normal mode, you can delete, copy, and paste files, but cannot edit them. And
Explanation of dd commands in CentOS
Dd: The biggest feature is backup.
[Root @ linux ~] # Dd if = "input_file" of = "outptu_file" bs = "block_size "\Count = "number"Parameters:If: input file ~ It can also be a device!Of: output file ~ It can also
Use echo in shell to print the color font and background
It's fun to print the terminal in shell!
First, we know that echo printf is usually used in shell terminal printing;
Note: font color reset = 0, black = 30, Red = 31, Green = 32, *** = 33,
MapReduce implements matrix multiplication-implementation code
Previously I wrote an article on how MapReduce implements the Matrix Multiplication Algorithm: Mapreduce implements the algorithm idea of matrix multiplication.
To give you a more
Install Ganglia on Ubuntu 14.04 Server
Ganglia is a cross-platform, scalable, distributed monitoring system in high-performance computing systems, such as clusters and grids. It is based on hierarchical design and is widely used technologies such as
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