Linux character device driven Cdev_init ()

1. Each character device in the kernel corresponds to a CDEV structure variable, and the following is its definition: linux-2.6.22/include/linux/cdev.h struct Cdev { struct Kobject kobj; struct module *owner; const struct File_operations *ops;

Nohup method of non-output log information and Linux redirect learning

Cause Recently used nohup created a background process, the default log output to the Nohup.out file, the program ran no longer tube, after about a week, found that the hard disk space is not enough, so find the reason, found that the Nohup.out

Socket for Linux network programming (ix) using the SELECT function to improve client/server-side programs

First, when we use a single process single connection and use ReadLine modified client program, to connect using ReadLine Modified server-side program, there will be an interesting phenomenon, look at the output: Run the server side first, then run

Socket for Linux network Programming (v) the problem and solution of sticky packets generated by TCP stream protocol

As we have said before, the sender can be a K-K to send the data, the receiving end of the application can be two K two k to extract the data, of course, it is possible to take 3 K or 6K data, or only a few bytes of data, that is, the application to

Linux Network programming socket (i) Socket overview and byte order, address translation functions

One, what is the socket The socket can be viewed as a programming interface between the user process and the kernel network protocol stack. Sockets can be used not only for interprocess communication between native computers, but also for

Linux network Programming system V shared memory and series functions

Like Message Queuing, shared memory has its own data structure, as follows: struct Shmid_ds { struct Ipc_perm shm_perm; /* Ownership and Permissions * * size_t Shm_segsz; /* Size of Segment (bytes) * * time_t Shm_atime; /* Last Attach time * *

High-efficiency development experience of Linux multithreaded programming

Introduction: In this article, we summarize 5 experiences on the main features of multithreaded programming on Linux to improve the habit of multithreaded programming and avoid the pitfalls of development. In this article, we've interspersed some of

Basic theory of IP routing in Linux system

Maybe you know how to use command netstat or route on a Linux system to find (or even add/remove) routes that already exist. But when you do these things you may not know how IP routing works. This article will help you understand the rationale of

Use Putty Automation to log on to Linux servers

Putty Automatic Landing Putty+keepass can implement Putty automated landing, which is quite handy for fast response and management of Linux. KeePass is a password management software, easy to use, online download a lot of sources. After the

Linux server's network card clutter problem

Linux will check the hardware information of the network card when it is started, and find that the MAC address and other information do not match the configuration file, add new configuration information in the configuration file. When you replace

The process of installing the VNC service under Linux

1. First check if VNC software is installed [Root@ocm1 ~]# Rpm-qa|grep VNC vnc-server-4.1.2-14.el5_3.1 2. Start VNC Service Use the Vncserver command to start, format: Server:1, this is the city: 1 is the desktop number, each connection requires

Using Squid to build proxy servers under Linux

First, what is ProxyServer (proxy server), the role of proxy In the real world we often go to help others do things, such as to help people pay electricity or something, in this case you are not the owner of the meter, but the agent (agents)

Communication learning between Linux processes: how to use signals

One, what is the signal With Windows we know that when we do not end a program properly, we can force the task Manager to end the process, but how does this actually happen? The same functionality is done on Linux by generating signals and

Linux Configure command parameter explanation

Software installation in a Linux environment, it is not an easy thing to do; If you compile from the source code after the installation, of course, the matter is more complex; now the tutorials for installing a variety of software are very common;

Learn about Ubuntu Linux operating system processes and experiences

Using Ubuntu for some time, before continuing with the UNIX and Linux Authority tutorials, make a summary of your own process and experience using Ubuntu, hoping to help beginners a little bit. 1. Get ubuntu6.06 System CD The official website has

SuSE Linux system to set Apache method

Apache needs to be set up as a virtual Web site space mode. The new SuSE Apache has been changed to modular. So as long as you modify a few files can be established in the account, the site corresponds to the location. Instead of modifying the

Analysis of time programming and realization principle in Linux (iii) the work of Linux kernel

Introduction The work of the time system requires the collaboration of hardware and software as well as the operating system, and in the last part we have seen that most of the time functions rely on kernel system calls, and GlibC only makes one

Install the shadowsocks client on CentOS 7

Install the shadowsocks client on CentOS 71. Install the shadowsocks client in CentOS 7Yum install-y gcc automake autoconf libtool make build-essential curl-devel zlib-devel openssl-devel perl-devel cpio expat-devel gettext-devel git asciidoc

Linux system (5) DR mode of LVS cluster, lvsdr

Linux system (5) DR mode of LVS cluster, lvsdrPreface The DR mode is one of the three load balancing modes in the lvs cluster. in the previous article, I wrote about the establishment and Principles of the NAT mode. Why do we need the DR mode and IP

Change the mysql password in linux

Change the mysql password in linux (Debian system) 1. serviceMySQLstop2. mysqld_safe -- skip-grant-tables3. Open another console and continue the following steps4. log on to mysql-u root with a blank password5. show databases;6. use mysql;7. update

Total Pages: 5467 1 .... 1900 1901 1902 1903 1904 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.