1. Background in Linux under the written C or C + +, when the file is small, we can be compiled into a single executable file to complete, but there are many files, especially a file because the call to a file function and need to include the
First, the file to be prepared is arm-2009q3.tar.bz2 (extract code: 619b)After that, we need to put this file in a shared folder before it can be used on Linux in the virtual machine.1. Let's start with the installation of VMware Tools (this is
Linux lsof Command detailedIntroductionLsof (list open files) is a tool that lists open files for the current system. In a Linux environment, everything is in the form of files, with files that not only access regular data, but also access to
1. Fork functionHeader file:#include Function Prototypes:pid_t fork (void); (pid_t is a macro definition whose essence is that int is defined in #include)Return value: Two values are returned if the call is successful, the child process returns 0,
1. Fork functionHeader file:#include Function Prototypes:pid_t fork (void); (pid_t is a macro definition whose essence is that int is defined in #include)Return value: Two values are returned if the call is successful, the child process returns 0,
NFS (Baidu Encyclopedia): The NFS (Network File system), which is one of the file systems supported by FreeBSD, allows computers in the network to share resources across TCP/IP networks. In an NFS application, a local NFS client application can
1.atexit () functionFunction Name: atexitHeader files: #include Function: register termination function (that is, function called after main execution ends)Usage: int atexit (void (*func) (void));Note: A process can register 32 functions, which are
Now the general enterprise will use dual-card access, so that both the network bandwidth can be added, while the corresponding redundancy can be said to be a lot of benefits. And the general enterprise will use the Linux operating system comes with
1. Log in to the server and open the Sshd_config file# Vim/etc/ssh/sshd_config2, find #port 22, the default is commented out, the first # to remove, and then insert a line to set the port number you want, be careful not to repeat with the existing
Most of the tutorials on the Web are NFS access to Linux, but Windows access is slightly different, primarily with different permissions.The folder permissions on the NFS share on Linux are preferably 757.650) this.width=650; "src="
How to access tomcat from virtual machines and tomcat from virtual machines
First, you need to integrate tomcat and jdk into the virtual machine, and then install tomcat and jdk in the virtual machine.
1. How to Integrate tomcat and jdk into a
Mail command, linuxmail command
Mail -- View and send emails
Command path:/bin/mail
Example 1:
# Mail xiaohua
Run the command to send an email to xiaohua. After the email is written, Ctrl + D.
After logging on to the xiaohua user, enter
Install the Nux Dextop repository on CentOSIntroduction
Nux Dextop is a third-party RPM repository (such as Ardour and Shutter) similar to CentOS, RHEL, and ScientificLinux ). Currently, Nux Dextop is available for CentOS/RHEL 6 | 7.Install
The Nux
Command list for viewing hardware information in LinuxGuideMany commands can be used to view hardware information on Linux systems. Some commands can only print the specific hardware component information such as CPU and memory, and others can view
Apache Log round-robin linux cronolog
In Apache, a Web server running in Linux, log files are separated by default. An entire file is neither easy to manage nor analyze statistics. After cronolog is installed, log files can be separated by time,
View fail2ban logs instead of lastb to view logon Failure records
Previously, I used a shell script to extract the IP addresses that failed to log on to the server over a specified number of times and add them to iptables to prevent malicious
Write shell script execution to Rsyslog Log Server
In the O & M work, it is inevitable to write some scripts for scheduled tasks (cron) to regularly execute some daily work to automate the O & M work. For example, backing up data in my daily work is
How to Use vsftpd virtual users to manage Apache Virtual Hosts
According to the online tutorials, we sorted out how to use vsftpd virtual users to manage Apache Virtual Hosts. It was really convenient to find out, so we made a record. My system is
Create soft RAID 1 under CentOS6.5What is RAID?
RAID, Redundant Array of Independent Disks, formerly known as Redundant Array of Inexpensive Disks, is short for hard disk arrays. The basic idea is to combine multiple relatively inexpensive hard
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