Problem:when using function socket (AF_INET,
Sock_raw, ipproto_tcp ...) With setuid&chroot-ed fake root on Linux servers, it would always fail. However, the real root can work. Usually the fake root can do most things that root login required.
1 Explanation of virtual memory:
The core concept of virtual memory is that the memory address used by the code is not related to the physical address.In user space, the virtual address a of a process points to different physical memory, not to the
DTS (device tree source)The. dts file is a description of the device tree in ASCII text format, which is very user-friendly and suitable for human reading habits. Basically, in Arm Linux, a. dts file corresponds to an arm of the machine, typically
Remote login server with VIM in the Terminal editor to view files often meet a variety of Chinese garbled problems.To do the following settings can basically solve the problem of vim Chinese garbled
First check the system's support for Chineselocale-
Https://www.linode.com/docs/security/patching-openssl-for-the-heartbleed-vulnerability
This introduces the OpenSSL heartbeat vulnerability, the different Linux distribution version of the upgrade method.
For Ubuntu,
Apt-get Update
Apt-get
[Loong]: Previously written based on ALSA WAV playback recording program, see Http://blog.csdn.net/sepnic/archive/2011/01/14/6140824.aspx. Now I want to do a good job of ALSA programming ideas, but Google a bit, found that there have been similar
Previous Code First
Service side:
s_unix.c #include #include #include #include #define UNIX_DOMAIN "/tmp/unix.domain" int main (void) {socklen_t clt_addr_len;
int listen_fd;
int com_fd;
int ret;
int i;
static Char recv_buf[1
/etc/sysconfig/network Network Settings
This file is used to specify the network configuration information on the server and contains parameters for controlling the behavior of the files and daemons associated with the network. Here is an example
A. Split description
Split can be used to cut a log file, making it easier to process logs. For example, there is a 12G log, you need to delete a row of data, know the line number, but with the SED and vi relatively slow,
You can cut the split
Iptables implementation of Port forwarding, port mapping and two-way access is not difficult to configure, see below:
Allow packet forwarding:
#echo 1 >/proc/sys/net/ipv4/ip_forward
Forwarding TCP 8081 to xx.xx.xx.xx:
#iptables-T nat-i
experiment with the installation of a cross tool chain
"Experimental Purposes"
Understand the compilation process of the Cross tool chain and its use.
Note: In the experiment , the command line prompt "$" indicates running on the host, and "#"
This article from Http://futeng.iteye.com/blog/2039490?utm_source=tuicool&utm_medium=referral, after my experiment, more reliable.
The article added to my own in the use of the problems encountered and how to solve. Thanks to the original author,
after a full one weeks of rest, (*^__^*) Xi hee ..., a word, cool ...
a week has not studied, also did not paste these things. But today is the beginning of a new, so I intend to paste something up, or button interrupt, but through the work queue
Sudo is a tool that allows a system administrator to have some or all of the root commands performed by a common user,
such as Halt,reboot,su and so on. This not only reduces the root user login and management time, with
The sample also improves the
There are two to control the serial port blocking (while controlling read and write): One is when opening the serial port, the Open function is O_ndelay, and the second one can be controlled by the Fcntl () function after opening the serial
Use of the SVN merge command
What does the merge do? A personal understanding is to turn your local code into what you specify as the version code and to display the difference files. Basic methods of use are known, in order to deepen the
Original website: http://blog.csdn.net/taohuaxinmu123/article/details/10845001
Linux commands have internal commands (built-in commands) and external commands, and internal commands are essentially the same as external commands, but there are subtle
The steps for using the MTP device in Ubuntu Mount are as follows:
1. Connect the MTP device to the PC
2. If you are using the MTP device for the first time, you can skip this step if you need to install the following software:
$ sudo apt-get
OpenSSL is an open source SSL technology, because I need to use PHP-related features, need to get HTTPS files so I have to install this thing, below I have collated two kinds of OpenSSL installation configuration method.Installation
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