zlib1g- Dev Libncurses5-dev liblzo2-dev libx11-dev uboot-mkimage gcc ncurses-dev libtool libc6-dev Linux-libc-devsudo apt-get install CkermitEquivalent to minicom, you need to set up a configuration file after the installation is complete, by doing the following:Create the. kermrc file under the current user home directory, as follows.Set line/dev/ttyusb0Set Speed 115200Set Carrier-watch offSet Handshake NoneSet Flow-control NoneSet robustSet File Ty
For reference, the Linux system automatically executes the multipart backup script-Linux Enterprise Application-Linux server application information. The following is a detailed description. The following scripts are for learning reference only. You need to add them to the/e
Recently in Linux programming found a strange phenomenon, is linked to a static library always error, similar to the following errors:
(. text+0x13): Undefined reference to ' func '
About undefined reference Such a problem, we actually often encounter, here, I give a detailed example of the various reasons for common mistakes and solutions, I hope to help begin
Linux Oracle11g Single Instance + ASM storage installation and deployment Quick Reference
Quick Reference for installation and deployment of Oracle 11G Single Instance + ASM storage on Linux
Operating Environment: Apply for a Linux6.4 host (Template) in the Citrix virtualization environment)Objective: to create a
Simple basic operation under Linux "for reference"① Unzip the file commandTar zxvf filename (filename)② Viewing modified file contentsVI filenameI enter modify modeSave Step Esc--shift+:--wq (Save exit Q Direct exit) after modification③ File Delete command rmCommand format: RM [fir] File or directoryParameter description:-F: Force delete-I: Interactive mode, asking the user whether to operate before deletin
Linux--shell Programming variable assignment and reference
Linux shell programming is a very mature programming language that supports various types of variables. There are three main types of variables: environment variables, internal variables, and user variables. Environment variables (environment variable) are part of the system environment and do not have t
also a detailed explanation of the "after-Sales" (Linux command Help), as well as common error messages. in the Read In the Linux command-line book, the author has a clear idea of each command, with the cat command As an example, the entry-level author only shows that cat is only used to create files, And the author will explain the inability to edit the content of the file, only to establish a simple file
$substring is a regular expression.Summary of some structures
An expression
meaning
if [CONDITION]
Test structure
if [[CONDITION]]
Extended Test structure
Array[1]=element1
Array initialization
[A-z]
The character range of a regular expression
${!variable}
Indirect variable Reference
{Command1; command2;.. c
Linux Kernel sctp null pointer indirect reference Denial of Service Vulnerability
Release date:Updated on:
Affected Systems:Linux kernel Description:--------------------------------------------------------------------------------Bugtraq id: 68881CVE (CAN) ID: CVE-2014-5077Linux Kernel is the Kernel of the Linux operating system.In versions earlier than
Release date:Updated on: 2013-02-23
Affected Systems:Linux kernel 3.7.xLinux kernel 3.4.xDescription:--------------------------------------------------------------------------------Bugtraq id: 58071CVE (CAN) ID: CVE-2013-0313Linux Kernel is the Kernel of the Linux operating system.In versions earlier than Linux Kernel 3.4.28 and 3.7.5, when accessing the extended attributes routine of the sockfs inode obje
device.Ip_local_port_rangeParameters: 0-65535On the server side open the port range of the client connection server, if the service side of the memory is greater than 128MB, the lower limit is 32768, the upper limit of J 61000, if the memory is less than 128MB, the lower limit is 1024, the upper limit is 4999. You can freely limit the state of the server.Ip_no_pmtu_discParameter: 0,1disabling or enabling PMTU (maximum transmission unit) is the maximum possible MTU detected on the client and ser
Quick Reference for installation, deployment, and configuration of a single Oracle 11g instance on Linux
1. re-build the Oracle user group of the host and standardize uid gid to ensure the permission specification for shared storage mounting or other requirements
Userdel-r oracleGroupadd-g 500 oinstallGroupadd-g 501 dbaUser add-g oinstall-G dba-u 500 oracle
# Id oracleUid = 500 (oracle) gid = 500 (oinstall)
Undefined reference to 'pthread _ create'Undefined reference to 'pthread _ join'
Cause:The pthread library is not the default library in Linux. You must use the static library libpthread. A for connection. Therefore, you must use pthread_create () to create a thread and call the pthread_atfork () function to create a fork for processing.ProgramYou need to link t
If it is an on-line server, assuming it is a 2TB SATA hard disk, 8GB memory, it is recommended to partition as follows:
/ 20480M
/ Boot 128M
Swap 10240M
/data 2016152M (that is, all remaining disk space)
If it is for personal computer learning, assume that the virtual machine's hard disk is set to 10GB, the partition reference is as follows:
/ 2048M
/ Boot 128M
Swap 512M
/data 7552M (i.e. all remaining hard disk space)
Undefined reference to ' pthread_create '
Undefined reference to ' Pthread_join '
Problem Reason:
The Pthread library is not the default library of the Linux system, which requires the use of a static library libpthread.a, so that when you create a thread using Pthread_create () and call the Pthread_atfork () function to establish a fork handler, You need to l
NIC devices # NMCLI connection Show list configured network connections manually set IP address/mask, allow automatic connection nmcli con mod "connection name" Ipv4.method manual ipv4.address "IP address/Mask Number of yards "# nmcli connection modify eth0 ipv4.method manual ipv4.addresses" 10.0.0.10/255.255.255.0 "nmcli con mod" Connection name "Connec Tion.autoconnect yes# nmcli ConnectiOn modify eth0 connection.autoconnect Yes manually specify default gateway, DNS address # nmcli con mod "c
Htm version:
Http://man.chinaunix.net/develop/cc++/linux_c/default.htm
Http://blog.chinaunix.net/uid-20785773-id-495082.html
Linux C function library reference manual
Chapter 2 character test functionsIsalnum (test whether the character is an English letter or number)Isalpha (test whether the character is an English letter)Isascii (test whether the character is an ASCII character)Isblank (test whether the
/nshbsjdychattr +i/usr/binchattr +i/binchattr +i/tmp2,Delete Scheduled tasks and files and boot filesDelete Scheduled tasks and filesrm-f/etc/init.d/nshbsjdyrm-f/etc/rc#.d/Trojan Connection File3, kill the Trojan processKillall-9 Nshbsjdy4,clean up the Trojan processchattr-i/usr/binrm-f/usr/bin/nshbsjdyOnce the processing is complete, check the above directories again, especially the most recently modified files under the/etc directory. 5, if it is a rootkit trojan, you can use the following sof
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.