The ostname command only temporarily changes the host name. After restart, the host name is restored to the original one.To change the host name permanently, modify the/etc/sysconfig/network file.VI/Etc/sysconfig/network, change the hostname line to
Although I have been using Ubuntu, I still use M $ IE to access the Internet from time to time. Because of some websites, such as's Course Selection System and online-bank.
So install ie for Linux (ie 4 Linux)
The installation steps are as follows:
In Linux, the entire system is a file system. Even a device Linux displays it as a file or folder.Setting file permissions in Linux can prevent intrusions.Body:File permissions in LinuxIn the current directory, use the LS-l command to check the
1. FindProgram(For example, the program name is MySQL) process PID Number and force stop the process:
(1) first use PS aux | grep MySQL to find the MySQL process id pid.
(2) Use kill-9 PID (-9 indicates force stop) to stop the process whose
1. grub4dos in the latest version:
Http://download.gna.org/grub4dos/grub4dos-0.4.4-2008-08-08.zipAfter downloading and decompressing the file, copy the grldr (non-grldr.mbr},grub.exe files in the directory to the C root directory. 2. boot. INI file
At the beginning of Windows 7 Sales, users in North America complained that Windows 7 sales prices were much cheaper in the east than in the West. Our famous LinusTorvalds came to a software store in Tokyo, Japan to "Celebrate Windows 7 release". Is
This article compares MFC with wxWidgets in all aspects, especially its class hierarchy and some key macros, and provides an entry guide for MFC programmers to port wxWidgets. The layout is completed.
Dish
You may still be maintaining the old
The Linux Kernel provides the copy_from_user ()/copy_to_user () function to copy the kernel state and user State data. However, these two functions cause blocking and cannot be used in hard or soft interruptions. These two special copy functions are
This article from http://www.cublog.cn/u3/92327/showart_2255574.html
MTU: Maximum Transmission unit of maxitum transmission unit
MSS: maxitum Segment Size Maximum Segment Size
The abbreviation of the Maximum Transmission size of MSS is a concept
The lsmod command in the driver actually reads the/proc/modules file.That is, the result corresponding to the lsmod command is cat/proc/modules.
Information about the loaded modules in the kernel exists in the/sys/Module Directory.
The modprobe
==== This article is the original site. You are welcome to reprint it! Reprinted please indicate the source: http://blog.csdn.net/yyplc====
Looking back at the above, the underlying driver of the S3C2440 serial port is centered on three data
Top half and bottom half
In Linux, the interrupt processing routine is divided into two parts to solve this problem. The "top half" part is the actual interrupt response routine, that is, the Interrupt Routine registered with request_irq. The
If you are using Linux, remember not to let the dumb enter the following commands. Although these commands seem complicated, they will still have a serious impact on your system.
Some of them will affect your program and system running, some will
Prototype: int mkdir (const char * filename, mode_t Mode)If the return value is 0, the operation is successful. If the return value is-1, an error occurs. To use this function, you must
Http://blog.csdn.net/jccz_zys/archive/2006/12/11/1438215.aspx
The methods I found to obtain the path of the Linux Process's execution file are as follows:1. In the C ++ code, use the gecpwd function to obtain the path of the current execution
Inter-process communication in Linux (6)
Set Interface
A set of interfaces can be seen as the endpoints of inter-process communication. Each set of interface names is unique (the unique meaning is self-evident ), other processes can discover,
Use of pagesIn some previous articles, we learned that Linux kernel will allocate pages in many cases.1. the kernel code may call functions such as alloc_pages to manage the partner system on the physical page (free_area idle linked list on the
Zhou haihan/Text
2010.3.30
For multiple Linux servers, it is necessary to maintain time consistency. According to the precision requirements, there should be a corresponding time interval for time synchronization. If you do not perform time
1. Environment
Debian GNU/Linux 6.02. Install xinetd
The telnet server is managed through xinetd (Super Internet Daemon). Therefore, xinetd must be installed first. The installation command is as follows:
# Apt-Get install xinetd
3.
First, let's take a look at how traffic control is implemented in the kernel. First, when the kernel sends data, it will eventually call dev_queue_xmit,
Struct qdisc * q
If (Q-> enqueue ){Rc = _ dev_xmit_skb (SKB, Q, Dev, txq );Goto out;}
If the Q->
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