Because Linux and Java are as open source, so now on the deployment of the server is basically the Linux platform as a server, and then deploy the project. In the process of development projects, most of the program ape or use the most classic
According to my experience, when using the Pthread library to write multithreaded routines in Linux, you should be aware of at least the following points when calling system call/Library functions:
1, after creating the thread, do not use fork
1. Shutdown Command
Init 0 for hardware maintenanceInit 5 shutdown system and power supplyInit 1 into admin stateInit 6 stops and restarts the operating systemInit S enters the admin state and all file systems are availableInit 2 enters the first
The following article assumes that you have knowledge of TCP/IP and have seen TCPv1 or comer Vol1
And then make up some of the socket programs under Linux, OK, Come on
Linux kernel startup I will not say, anyway, my compilation is almost forgotten,
Article See also:http://www.parallellabs.com/2010/01/31/pthreads-programming-spin-lock-vs-mutex-performance-analysis/
Summarize(1) The mutex is suitable for the scene with very frequent lock operation, and has better adaptability. Although it will
Today, as you enter the Linux system, the GRUB boot prompts for error 15, and then it is stuck directly there.
Repair with system disk
Grub>root (hd0,10)//My Computer is this number
Grub>setup (hd0)
Grub>quit
The thought was due to a grub loss,
Recently, the Internet search for a buffer overflow attack article, experimented, successfully implemented a buffer overflow attack, and now the process of recording.
#include
#include
void Hello ()
{
printf ("hello\n");
}
int fun (char *
Question: If there is no network, how to use the Yum source.
Answer: Use CD to build Yum source
Build steps:
1. Mount CD
Mkdir/mnt/cdrom #建议挂载点mount/dev/cdrom/mnt/cdrom/#挂载光盘
2, the network Yum source failure
Cd/etc/yum.repos.d/#进入yum源目录MV
Ctrl+u: To file the first half screen;
Ctrl+d: Turn to the end of the file half screen;
CTRL+F: Flip a screen to the end of the file;
Ctrl+b: The first turn to the file a screen;
ESC: Switch from edit mode to command mode;
ZZ: Command mode to save
Linux under the network programming implementation udp[turn]
First, the introductionUDP is a kind of transport layer protocol in TCP/IP protocol, this paper introduces the method of programming Client/server model based on UDP protocol under Linux,
in Linux we often use U disk, SD card mount problem, each time manually mount or uninstall is very troublesome, we can take the following methods to achieve automatic mount or uninstall U disk, SD card
1, first in the/ETC/INIT.D/RSC to add the
Assuming that you have installed and configured the VSFTPD server on Linux, sometimes we want visitors to only have files in a specific directory.
Don't worry, look at the settings below, first enter the command
Vim/etc/vsftpd.conf "
Open the
Modify Linux system User password length and complexity
Before modifying the length of the Linux password is to modify the/etc/login.defs file Pass_min_len parameters, but the Earth people know that this parameter is not mandatory, users can use
One, configure Jenkins Windows node
1, click on the left panel:
System Management-> Management node
2, click on the left panel: new node
3, the input node name, select Dumb Slave, click OK
4, input related configuration, click Save
# of Executors:
Turn from: http://velep.com/archives/587.html
This article mainly introduces Linux under two commands: Split and Cat. Among them, I believe you are familiar with the cat command, generally used to view the content of a file, but it also other
Author: HH Time: 2017-09-24 location: Hangzhou Mail: chenhfxy@163.com
1. Prepare the custom jar package as follows:
The 1.1 exported jar packages are shown in the following illustration
2. Set the jar package as a Linux service, which is not
1, start:Starting from a menu: application--> attachment--> Text EditorExecute the following command from the command line: gedit
2, Window Description:Menu bar: Contains all the commands you need to work with files in Gedit.Toolbars: Contains a
Foreword: I have written a few interfaces for deployment on the server, first select Django+uwsgi+nginx because the configuration is simple, compared to Python's simple operation features a powerful featureThen for some versions of Django in the
Compression tool: GZIP,BZIP2 compression capability is gradually enhancedPackage or compress tool: tarPackage and Compress tool: Zip compression capability is stronger than gzip and bzip2The difference between the two types of compression tools is
1 sockaddr_in, sockaddr_in6, and Sockadd_un can be cast to sockaddr.The 2 IP address is a string in the form of a decimal, but is used in the network using a number of type unsigned int.
in_addr_t inet_addr (const char* strptr);
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