Linux message sequence (inter-process communication) [cpp] # include # include # include # include # include # include # include # include www.2cto.com // The Message Queue structure struct msgStuct {long int msgType; char strMsg [1024] ;};
Ubuntu 12.04 64-bit installation of glusterfs 3.3.0 to configure replica requires two servers as the gluster replication server, add vim/etc/hosts server110.10.10.10.10.11 server2 cat/etc/hosts 127.0.0.1 localhost10.10.10.10 then to the sudo-s
Ubuntu KVM host network problems received an article: http://www.bkjia.com/ OS /201209/157166.html vacation back, continue to install KVM virtual machine. Suddenly, the host machine cannot be connected to the Internet. Finally found a solution in
The linux memory management commands vmstat-s and free-m are good memory observation commands www.2cto.com. The system is just running-bash-3.2 $ vmstat-s 30897940 total memory 184408 used memory 78848 active memory 67432 inactive memory 30713532
Ubuntu finds open-jdk's src.zip. When we use sun's JDK, the root directory contains a src.zip to view the source code of the system class library. When www.2cto.com is using open-jdk, the directory structure has changed and cannot be found for a
Linux system modifies the startup memory size. The server memory is too large. It takes twice the memory size to perform an I/O test. Modify the startup memory size to reduce the test time! Www.2cto.com 1. # vi/boot/grub. conf kernel/vmlinuz-2.6.32-2
In linux, the system () function is going to review the linux File system today and find many things. When I was watching www.2cto.com today, I suddenly remembered that a friend once said how to open a terminal by executing a C program. In fact, it
ESXI4.1 adjust the disk size for linux virtual machines first, adjust the disk size to 60 GB www.2cto.com. Note: if you cannot adjust the disk size for a snapshot of a virtual machine, you must delete the snapshot before adjusting the disk
The Web application descriptor file (/WEB-INF/web. xml) can be used to set the creation and reference of resources.There are three elements used for setting:L L L If Tomcat cannot identify the appropriate resource factory, or you need to set other
For linux snmp oid, you can modify the corresponding oid information in linux by modifying vi/etc/snmp/snmpd. conf view systemview embedded ded. 1.3.6.1 changed to www.2cto.com view systemview encoded ded. 1.3.6.1.2.1.1 at the beginning, right? The
First, set the project Export -- war package to be released.
1. The simplest way is to directly throw it to tomcat.
The specific path is $ {TOMCAT_HOME}/webapps. tomcat will automatically decompress the war File
2. But the same name cannot be
Ubuntu network configuration 1. dhcp automatically obtains IP address editing/etc/network/interfaces www.2cto.com auto lo # enable The auto lo interface iface lo inet loopback # configure The lo interface as The loopback port # The primary network
After the centos installation is minimized, many servers are enabled by default, which is useless for running the servers. Generally, they are disabled. Minimum installation I prefer to select the following package groupsAdministration Tools
Download the latest REE installation package from the Ruby EE website (select Ubuntu)
Run the installer. REE will be automatically installed.
Run the command line to ensure the installation is successful.
Ruby-v
Run the following command to
There was a machine. Today, I found that I didn't open a firewall, and it actually belonged to me, Khan. I found no password or record.
I don't want to remotely reinstall it. I am worried that the data on several virtual machines running above may
Do you still remember the regular expression that used to calculate prime numbers? The world of programming is so interesting that you will always be able to see something special. Have you ever thought that you can put your variables and functions
Quotes in shell
1. Double quotation marks
$, ', \, Retain special meaning
Note that escape characters such as \ n are not supported by default when echo is not added.
Supported by printf
[Root @ Centos5 test] # echo "\ n"
\ N
[Root @ Centos5 test]
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