Experimental purposes
By writing a multiple process program, you are proficient in the use of functions such as fork (), exec (), wait (), and Waitpid () to further understand the procedures for multiple process programming in Linux.
Experimental
Wait () and Waitpid ()
Function description
The wait () function is used to block the parent process (that is, the process that invokes the ()) until a child process finishes or the process receives a specified signal. The wait () function returns
In Linux, for multi-core arm chips, CPU0 will take the lead in Bootrom code, booting the bootloader and Linux kernel, while other cores bootrom typically place themselves in WFI or WFE states when they are on. and waits for the CPU0 to give its CPU
From ext to Ext2, from Ext2 to Ext3, or later EXT4, Linux systems have always been known for their powerful, rich, and complete journaling systems. Through the management log, you can clearly understand the system's health, but also from a variety
The Linux Pipeline command is ' | ', which enables continuous processing of the data, with the following schematic diagram:
Attention:
1 pipe command only for processing standard output (that is, correct output), for standard error output, will
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
Some people ask me how to partition the Linux system, how to allocate the hard disk space. I'll talk about it according to my own experience.
Just experience the Linux of the root directory on a partition on it, and other partitions such as swap
1, configuration system Management (Admin WEB application)
Most commercial Java EE servers provide a powerful management interface, and most of them use an Easy-to-understand Web application interface. Tomcat, in its own way, also provides a
The first two days added a server to a customer. Jointly undertake the operation of a forum. But. To achieve load balancing. It's a difficult thing.
I've tried a couple of ways before,
One, the DNS rotation. Advantages: Simple implementation.
Iptables this instruction, as shown in the following man query, it is used to filter packets and do NAT network address translation (network location translation), the application of a lot of this directive, can do many network application.
Iptables-
# from LAN to the firewall host's DHCP packet, to be released, only when the firewall as DHCP to use
# $IPTABLES-A input-p udp-i $LAN _iface--dport--sport 68-j
# Access all packets from the WAN to the firewall host, check for response packets, and
Project background:
Xian Lingyun High-Tech Co., Ltd. Shanghai branch in the internal server construction, the need to build a Linux server to achieve DHCP, NIS, FTP, Samba and other network services, for the same system with other hosts to provide
When installing Oracle 11g RAC, we need to configure the NTP service. In the case of a virtual machine, there are many ways to configure the clock synchronization method, either using VMware's own clock synchronization feature or directly using a
The server environment used here is
Ubuntu Server 12.04
1, install the necessary software package
# apt-get Install System-config-kickstart dhcp3-server tftpd-hpa tftp-hpa debmrror
Install the configuration of VNC, and open a remote connection
Install SSH:
sudo apt-get install SSH
Login to host with SSH:
SSH username@ipaddress
eg:admin@10.24.0.2
Install VSFTPD:
VSFTPD is one of the FTP daemons that can be used in Ubuntu. It is very convenient for installation, setup and maintenance.
Installing the system is our primary task, both on the server and in the workstation. In the normal installation system, we need to interact during the installation process to complete the configuration of system parameters such as language,
At present, the domestic launch of a number of Linux distributions, its focus on the Chinese platform to facilitate the use of Linux for domestic users, but there is a not too good sign is the Chinese as the main function of Linux operating system,
Linux CD commands can be said to be the most basic Linux command statements, the other command statements to operate, are based on the use of the CD command. Therefore, to learn the common Linux commands, the first step is to learn How to use the
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