1.SoC Linux Bottom drive composition and status
To allow Linux to run on a brand new arm SOC, there are a number of underlying support, such as timer beats, interrupt controllers, SMP booting, CPU HotPlug, and the underlying GPIO, clock, Pinctrl,
Environment
Red Hat Linux 9 + Windows 7 Ultimate
Problem
Linux enables Windows file sharing through the Samba server
Solve
1. In order to achieve file sharing, Linux and Windows Firewall must be closed;
Under Linux, use the following command
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;
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
The following diagram is a typical UDP client/server communication process
Below according to the communication flow, we implement a UDP back-fire client/server
#include
#include
ssize_t Send (int sockfd, const void *buf, size_t len, int
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
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
4.9 Here is a small Perl script that removes most of the comments from the generated configuration file and forms a simplified file.
4.10 Giving ownership of the Htdocs directory tree to the owner of the web directory tree
root# Chown-r
Knowledge Points:
1. FTP uses TCP connections and TCP ports
2, in the communication, FTP needs to establish two TCP connections:
One for control information, TCP port number defaults to 21
One for data transfer, TCP port number defaults to 20
3,
Use IPTABLES-ADC to specify the rules of the chain-a add-D Delete-C modification
Iptables-[RI] chain rule num Rule-specification[option]
specified by Iptables-ri in the order of the Rules
iptables-d chain Rule num[option]
Delete specified
window| function to get the remote file, wrote a small function of the following, basic aspects are considered, we look at it:
function Getpic ($url, $dir, $name) {
Gets the URL file and then stores it in the Dir directory, with name as the filename.
One of the notable differences between Linux and the Windows operating system is the diversity of directory schemas. The directory architecture of the Linux operating system follows file system hierarchy standards. I wonder if you use the LS command
iSCSI Service-Side IP192.168.254.172
Client 1 192.168.254.46
Client 2 192.168.254.158
Service-side configuration
1, the service side installs the Scsi-target-utils
[Root@localhost ~]# Yum Install scsi-target-utils-y
2, if there is a separate
The top common parameters are as follows:
-D: Can be followed by seconds, which is the number of seconds to update the entire program screen. The preset is 5 seconds;
-B: Top is executed in batches, and more parameters are available.
Typically, a
Before the SUSE Linux network card renaming problem, is installed on the virtual machine RAC, by replicating the virtual machine need to complete. Unlike Redhat Linux and Oralce Linux, the following records them for reference.
1, the new node
The Ubuntu system is a Linux based system, and all of his software updates are installed by command: Apt-get install.
First, the implementation of Chinese input This command is to complete the GCC compiler, the Ubuntu is a variant of Debian, Debian
First, how to build multiple users
To remind you, do not always use root users, because the root user in the system has the supremacy of power, inadvertently can damage the system. For example, we want to delete the/temp directory of files but the
Create a ext2 file of the specified size
Generate a 1G space of a specified size using DD
DD If=/dev/zero of=/home/foobar bs=1m count=1000 create 1G size space
Format created space (at this point the file type is ext2)
Mke2fs-vfm0/home/foobar
Objective
After the Linux computer is installed, in the course of our continuous use, because of adding, removing software and surfing the Internet, debugging programs and other behavior, the hard disk will produce a variety of garbage files, and
Build a Nexus Maven private server in CentOS 6.51. Download Nexus
**: Http://www.sonatype.org/nexus/goI used this version: nexus-2.14.3-02-bundle.tar.gz**2. decompress and start Nexus
**
1. Unzip the nexus-2.14.3-02-bundle.tar.gz
tar xvf nexus-2.14.3
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