Find it hard to write a blog every day, every day to write technology means that every day to learn new knowledge, no new knowledge, and really embarrassed to write.1. Linux Load Device driver#insmod device drive path such as Insmod/fpga.koCreate
solve Linux Ping:unknown host www.baidu.comReprint website: http://www.kankanews.com/ICkengine/archives/48417.shtmlSolution:If a Linux server ping does not pass the domain name, the following prompt:[root@localhost ~]# Ping www.baidu.com
Configuration of NIC aliases:This and ifconfig temporarily modify the network card IP is similar, but not the same. Are temporary, just restart the computer will be gone.With permanent IP aliases:CP Ifcfg-eth0 ifcfg-eth0:0Vim ifcfg-eth0:0This is
Linux under Memcache server-side installationServer side is mainly installed Memcache server side, the current version is memcached-1.3.0.Download: http://www.danga.com/memcached/dist/memcached-1.2.2.tar.gzIn addition, Memcache used the libevent
1. Count the number of files in the/usr/bin directory
[Email protected] ~]# Ls/usr/bin | Wc-l1306[[email protected] ~]#
2. Remove the shell of all users on the current system, requiring that each shell be displayed only
Introduction: Advanced I/O includes non-blocking I/O, record locks, System V-flow mechanisms, I/O multiplexing (SELECT and poll functions), READV and Writev functions, and storage-mapped I/O.(i) Non-blocking I/OA class of system calls that may cause
First explain my system configuration: Ubuntu 12.04 gcc 4.6.3A few days did not use Ubuntu, today took out the program, just started to compile a uboot1.1.6 code. stdio.h: There is not a file or directory error, because I am using the ARM-LINUX-GCC
IntroductionIf you run an executable program in the background./a.out, if you want to terminate the program, will usually press ctrl-c, resulting in an interrupt, in fact, the implementation of this process is done through the signal. The signal is
(i) Kill and raise functionsThe KILL function sends a signal to a process or process group. The Raise function allows the process itself to send a signal.#include #include int Kill (pid_t pid, int sig);int raise (int signo); //Return value: Returns
0. Study time2014-05-161. Command format NL [Parameter] file name (file name is also default, read from standard input)2. Command parameters -B t blank line no line number (default)-B A blank line also adds a line number (similar to cat-n)-N LN
# View the number of httpd ProcessesPs-ef | grep httpd | wc-l
# View the number of concurrent Apache requests and their TCP connection statusNetstat-n | awk '/^ tcp/{++ S [$ NF]} END {for (a in S) print a, S [a]}'------------------------------------
Screen is a Multi-Window Management Program in linux. When using telnet or SSH to remotely log on to linux, if the connection is interrupted abnormally, the system opens a new session and cannot restore the original session. screen command to solve
The importance of the Linux system should not be explained, and more IT practitioners and students are now fighting for Linux. But for new Linux users, it is always a confusion about what knowledge Linux has learned and how far it has reached. Today,
Main Content: (Note Summary-it will be supplemented and modified from time to time. If any error occurs, please refer to the discussion)
I. RAID detailsIi. mdadm tool Introduction3. basic process of creating a RAIDIv. Disk Array Management5. RAID
Tail
Name: tail-output the last part of the files output file
Function Description: The tail command writes the file to the standard output from a specified point. You can use the-f option to conveniently view the log file being changed, the tail-f
Shutdown: shutdown-h now
Restart: reboot
Network Settings: vi/etc/sysconfig/network-sripts/ifcfg-eth0 # Set network connection type, IP, gateway, subnet mask
Vi/etc/sysconfig/network # Set the Host Name
Vi/etc/resolv. conf # Set DNS
Service
1. install the software packageInstall related software packages for dig and nslookup.
Centos:# yum install bind-utilsDebian:# apt-get update# apt-get install dnsutilsIn addition, you must set the dns server IP address in/etc/resolv. conf before
To bind a CentOS dual-nic, you can use two NICs to virtualize an Eni (which must be supported by a switch). The aggregated device looks like a separate Ethernet interface device, in general, two NICs have the same IP address, and parallel links are
For simple configuration of vsftpd, refer to this tutorial.Portal
The xinetd configuration in the tutorial is invalid,
The following method is used to start ftp in xinetd mode:
1. Create a file vsftpd in the/etc/xinetd. d/directory.
The content is
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