1. Add the configuration size in the directory/etc/nginx/ngins.conf file (red labeled Configuration and location to add):HTTP {# Set MIME type, type defined by Mime.type fileInclude/etc/nginx/mime.types;Default_type
Samba is an open source GPL free software, which can be said to be a significant contribution of the free software community. The advent of samba completely solves the resource sharing and access between UNIX and Windows, which is more and more
Linux executes Hadoop WordCountUbuntu Terminal Access shortcut key: Ctrl + ALT +tHadoop startup command:start-all.shThe normal execution effect is as follows:[Email protected]:~$ start-all.shWarning: $HADOOP _home is deprecated.Starting Namenode,
The SCP command in Linux is mainly used to remotely copy files, and the following are two ways to use them1. Copy native files to remote filesExample: Upload the changeFile.txt of my local change directory to the remote 192.168.2.88 komiles user's
The function of NIC binding: 1, redundancy, prevent single point of failure2. Prevent transmission bottlenecks1. Switch Port bindings:1 system-view2 link-aggregation Group 1 mode manual34 For example, to bind ports 1 and 2 56 interface ethernet1/0/1
Linux VMf Performance TuningExcerpt from: http://www.linuxhowtos.org/System/Linux%20Memory%20Management.htmThe difference between buffer and cacheThe buffer is associated with a specific block device, including the file system's cache,Meta data, and
1 redirects1.1 Redirect Symbol> Output redirected to a file or device overwriting the original file>! Output redirected to a file or device forcing overwriting of the original file>> output redirected to a file or device to append the original file1.
Recent projects in the data export when the problem occurs, the basic idea is:First Vfork Create a process, the child process creates 2 threads, thread 1 is responsible for the interface display, thread 2 is responsible for the data copy; The parent
Today the discovery server on the Tomcat 8080 port does not come, the old prompt port has been occupied.Use the command:Ps-aux | grep TomcatA tomcat process with no 8080 ports found.Use command: NETSTAT–APNView all process and port usage. Discover
Recently learning to use Linux, feel that compression commands are frequently used commands, so it took a little time to summarize the following, in case of normal use later, for the flip.One of the most used compression commands in "gzip"
Maybe Rhel 7 is too new to be easy for newbies to accept, so I'll be 6. The installation of X is written here for reference.1) Virtual machine settings, select the disc file, set the allocated memory size, the size of the disk settings ... 2) Enter
The shutdown command under the Linux system is used to safely shut down/Restart the computer, it can not only conveniently implement the timer shutdown, but also can be determined by the user when the relevant parameters of the shutdown. When
Two methods are available for Linux to add boot items.1. Edit the/etc/rc. local file.Vim/etc/rc. local#! /Bin/sh## This script will be executed * after * all the other init scripts.# You can put your own initialization stuff in here if you don't#
(Summary) high-concurrency Message Queue common notification and queue mechanisms
I recently studied a high-performance lock-free shared memory message queue, which uses fifo notifications. Combined with the previous article "millions of concurrent
Linux Resource Management-I/O priority, linux-I/O priority
The previous blog introduced the use of cgroup to control the CPU and memory usage of processes. This time, we added the method of using cgroup to control the IO priority of
Install Redis in php in Linux and redis in linuxphp
1. Download redis-2.4.14.tar.gz
2. Decompress tar-zxvf redis-2.4.14.tar.gz
3. cd redis-2.4.14
4. make
Note: Error
1. CC adlist.0
Solution: yum install gcc-c ++ kernel-devel
Install gcc
2. If
Use root to log on directly to CentOSIn the latest Linux release, you are not allowed to log on to the graphical user desktop with the root account. Therefore, after logging on to the graphical user desktop, if you want to run commands with the
Spark 1.0 Development Environment Construction: maven/sbt/idea
Because I was not familiar with maven and sbt, I compiled both methods. Below is a record of the problems encountered during compilation. Then we will introduce how to use IntelliJ IDEA 1
How to handle exceptions when creating snapshots in HBase
When creating a snapshot in hbase today, the following error occurs:
01. hbase (main): 004: 0> snapshot 'booking', 'booking-snapshot-6666'02.03. ERROR: org. apache. hadoop. hbase. snapshot.
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