This article describes an example of a multi-threaded file server. The server sends the required files to the client based on the client's request. multithreading is used to provide services for multiple clients at the same time. such requirements
When you use crontab to schedule a script, the environment variables used by the script are different from those used to run the script directly in the shell (because crontab does not know your shell, only by setting environment variables such as
After installing Ubuntu, I suddenly realized that I didn't set the root password. Without knowing the password, I could not access the root user.The Default root Password of Ubuntu is random, that is, a new root password is generated every time you
I. smooth restart of NginxIf you change the Nginx configuration file (nginx. conf) and want to restart Nginx, you can send a system signal to the Nginx main process.Before restarting, make sure that the syntax of the Nginx configuration file is
[To] http://blog.csdn.net/lipengshuai0507/article/details/17020131
1. First download the latest jdk 64-bit (jdk-7u45-linux-x64.tar.gz)
Download http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html from official
I. Device Files
Linux follows the Unix style and treats all devices as a file.
There are two types of device files:
Block Device Files (B): such as hard disks and optical drives
Character device file (c): such as serial port, keyboard
Device Files
You do not need to remember the command for disk partition-fdiskfdisk, because after entering m, you will see detailed help information, as shown below:
[root@lx15 /data ]# fdisk /dev/sdaThe number of cylinders for this disk is set to 36404.There is
1. Background
Source insight is a source code viewing tool. The blogger is ready to use this tool to view the android source code.2. Installation
1. sudo apt-get install wine (install wine and use wine to install source insight)2. Download The
MySQL installation and configuration
In fedora, mariadb is a branch of mysql directly installed using yum install mysql, which is not much different from mysql. But there is a difference. Maybe it's a branch after all. Mariadb5.6 feels like mysql 5.0
Assume that the user name is ali. If the user name does not have the superuser permission, when you enter the sudo + command, the system prompts :. the Code is as follows: ali is not in the sudoers file. this incident will be reported. solution 1.
1. Go to the official website. Of course, you can download the X11 version. Here, I set up an environment in windows. There is built-in gcc in linux, which is not as troublesome as windows, and minGW has to be installed. Of course, I integrated it
Recently, I tried to build a NAS on RHEL6.4. The XFS file system is used at the underlying layer to provide samba and NFS Protocol sharing. Here I will record the main steps.
Environment: RHEL6.4, IP: 192.168.50.117
1. Disable firewall and
Next let's take a look at how to use tortoisegit to access git @ oschina. I hope the article will help you.
First, if you want to use git @ oschina, you must first have the git tool on your computer: You can get the Google repository's git.exe http:
This article mainly introduces the configurations required to write shell scripts under eclipse on the linux platform. The main steps are as follows:
1. Download and configure eclipse.
2. download and install the ShellEd dependency component
Network Communication commands (relatively simple ):
1. write/usr/bin/write
Write [user name]
Used to send information to a user, provided that the user has logged on to the server host
Otherwise, there is no way to leave a message for him.
On the whole, these different standards work well together. However, we are also very concerned about the differences between them, especially the differences between iso c and POSIX.1.
Iso c defines the function clock, which returns the CPU time
Header files defined by the iso c Standard (POSIX.1 standard includes these header files and other header files)
Header file
Description
Validators assert
Supporting plural arithmetic
Sar's powerful tool for identifying system bottlenecksSar is short for System Activity Reporter. The sar tool samples the current status of the system and then calculates the data and proportions to express the current running status of the system.
In linux, the user name and password added during system installation are used by default to log on, so the login account permission is used for operations.
To obtain the permissions of the root user of the system for operations, use the "sudo +
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