Troubleshooting points:1, first login to the server, check unfamiliar users2, check crontab-l, Rc.loacl, often start loading location3. Iftop view suspicious external data stream4, analysis of damaged content, analysis of log traces5, check the
Transferred from: http://blog.chinaunix.net/uid-23769728-id-3080134.htmlThe design idea of RCU is more clear, and the method of replacing the new and old pointers can realize the sharing protection of lock-free mode. But to the level of the code, it
1. Plan to create a new application in the Ubuntu Django ProjectPython manage.py Startapp learning_logsPermission denied appearsWorkaround:
sudo passwd
Enter a new password
Su Root is logged in as root
We can start.2. Write a python
First, IntroductionObjective: To enable Linux to surf the internet normally, provided that the physical machine can surf the internetSoftware Environment:
Virtual machine version: VMware Workstation 12,
Linux system version: CentOS 7.3
8.6 Pipe symbol and job controlPipe character |, the result of the preceding command is given to the following command processing;FG puts the task to the foreground; BG throws it backstage and runs;#vmstat 1 keep showing the status of the
Grep-rnri the specified content * | Awk-f ":" ' {print $} 'Explain:grep finds file contents-R means recursive lookup-N indicates line number is displayed-R means to find all files containing subdirectories-I indicates ignoring case* Represents all
There are two types of open environment variables1, the user under sudo vi. BASHRC (Modify environment variables)source. BASHRC (Make environment variables effective immediately) 2. Global Environment variablessudo vi/etc/profile (open
The Linux kernel mapping mechanism is designed to be three layers, with an additional "intermediate directory" in the middle of the page directory and the page table.In the code,Page CatalogCalledPGD,Intermediate DirectoryCalledPMD, whilePage
Tree command: Viewing the directory's Trees1. Directory Management2. File Management commands2.1 File creation and deletionRm-r Delete the current directory and all its files2.2 File copy and moveCP and MV:Install (file):3. Text Management commands3.
I. Linux memory system
Physical and virtual memory
The Linux kernel can only directly map the first GB of physical memory (896M, as it also takes into account reserved space). The memory on this is called Zone_normal, and this
Original posts: https://www.cnblogs.com/sangewuxie/p/7477261.htmlI have been unable to solve the problem of Ubuntu QQ, and recently I re-installed after the internet to find QQ-related content, online has the great God developed a new version of the
I. Linux file permissions and directory configuration
Users and Groups
File owner-can set file permissions
Linux File Permissions Concepts
LS-AL:LS displays file name and related properties,-al indicates detailed
8.10 Shell Special Symbol Cut commandc= ' $a $b ', C equals $a$b character, and is equivalent to c=\ $a \ $bCut, intercept string;-d specify delimiter;8.11 Sort_wc_uniq CommandSort sorts;The special symbols are ranked first, then the numbers, then
First, consider the concept of single-user mode: Http://baike.baidu.com/link?url= Hcy6fmjdxmtvnlih9a9l2hc5ndhpzs0onafqwmzc0e5iuy5onkfd5vhaukzwhq3bgi9bypwwvunv_qu-yxxrbkSecondly, one of the most prominent and practical advantages of single-user is:
1. Content of Watch-n 1 aa.txt #每个1秒显示aa. txt2. Tail-f ***.logThe Linux Shell has a tail command that is commonly used to display the last N of a file's contentsBut in more cases, we want to run the program on the server side, and need to monitor
Using the PS command, use the following method:Ps-ef|grep shutdownWhere shutdown is the shutdown command, but this time you see only the relative path, there is no absolute path, such as:Where 4170 is the process ID, this time into "/proc/4170", and
1.dhclient Auto Get IP Address IP add view IP address inet for auto Get IP2.vmwere Edit Virtual Network editor NAT mode for menu barSubnet addressNat Settings View Gateway3. Set the static IPLs/etc/sysconfig/network-scripts/ifcfg-ens33 cne33 NIC
Install JDK in linux and linuxjdk
1. Put the one-click installation script install_JDK.sh and the downloaded jdk1.7 in the same directory and upload it to a directory on the linux server.
Note: The script is used to facilitate one-click installation
Shell, process, shell Process
Relationship between shell and process:
Starting from login shell, login shell is used to indicate the login process. It refers to the process created by the system when the user logs on to the system and used to run
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