How to add IP under CentOS
First, add a single IP method:
# cd/etc/sysconfig/network-scripts
# CP Ifcfg-eth0 ifcfg-eth0:0
# Nano ifcfg-eth0:0 Copy Code
Copy a eth0 file with the CP command, the new file name is eth0:0, and then edit the file with
Modify the configuration file, you now just add the hardware on the virtual machine, but the system does not have a NIC configuration file. Modified file:
/etc/sysconfig/network-scripts/ifcfg-interface-name
The configuration file
Http://www.cnblogs.com/jennybackup/p/3951935.html
M4java package as: Im4java-1.2.0.jar directly under the Lib reference can be
The installation of GraphicsMagick is as follows:
Under Windows:
Installation: Graphicsmagick-1.3.12-q16.zip
and
turn from: http://www.ibm.com/developerworks/cn/linux/l-dynlink/#ibm-pcon
Basic principles of linker and loader
A program that wants to run in memory is linked and loaded in addition to the compilation. From a programmer's point of view, the
./configure:error:the HTTP Cache module requires MD5 functionsFrom OpenSSL Library. Can either disable the module by using--without-http-cache option, or install the OpenSSL library into the system,or builds the OpenSSL library statically from the
Very simple, open File/write file.
Bash script: echo "message" >>/path/to/yourlogfile
C: This is needless to say, fopen ("/path/to/yourlogfile", "a"); then call fwrite
If you want printf/fprintf (stderr, standard output/standard error output
These two days on the SuSE installation and configuration of FTP, encountered a lot of problems, here to do a summary:First, installationSuSE's graphical user interface does a good job, so the installation process is relatively simple.1, open
Sometimes folders on different systems of the computer, if you want to use both, the folder under Windows mounted to the Linux virtual machine, then how to do it. Now let's go and have a look. The mount here means that the Linux
Recently led a task, system tuning. I have seen this article in the past, now reprinted it for future reference.
Article formerly known as
Use the/proc file system to control the system see
SELinux the problem and solution of the Linux system caused by loginLeng (Seaquester)Lengshengkui@gmail.com2008-6-4Linux USB boot Disk recently encountered a problem: Use the U disk startup, enter the username and password, the screen quickly
1. Prepare 3 virtual machines and close their firewalls
The system can be CentOS or red Hat
This example uses CENTOS7
2. Download Zookeeper
wget http://mirrors.hust.edu.cn/apache/zookeeper/zookeeper-3.4.8/zookeeper-3.4.8.tar.gz
3. Decompression
TAR-
Hi there! I ' Philip (@bluesmoon), the CTO of Lognormal. We ' re a performance company, and performance and scalability go hand in hand. Better scalability results in the more consistent performance and at Lognormal, we like pushing we hardware as
First, directory structure
The overall directory structure of Linux is to follow FHS (filesystem hierachy Standard);
/bin: The instructions that are used to store the boot and the instructions that can be used in the single user maintenance mode;/
A single filename or directory name is no longer than 255 characters long, and the absolute path length of a file or directory is no more than 4096 characters;
first, file owners and user groups
A file has many properties, including file types,
Recently tuned Linux certificate verification problem, because to the client sent over the certificate on the server and root certificate authentication, so in the reading certificate, authentication certificate design to the problem of coding
1, see redirect all of a sudden think of the web inside the redirect, yes, but the role of Linux streaming redirection is not to jump to another Web page, but to store important screen information, output unwanted screen information to a file or
If VNC can not enter the desktop, feel the system special card, it is possible that the download program too much, occupy a lot of space. Manual cleanup is required. Root View file space distribution real-time size via SSH:Du-sh/var/cache #
Dockerfile creating a mirrored –dockerfile format
From//specifies which base image is basedFormat from or from :From CentOSFrom Centos:latest
Maintainer//Specify author informationFormat maintain , such asMaintainer LV [email protected]
RUN/
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