linux multiple network cards set up the same network segment, causing the problem server has two network ports, two network port IP are the same network segment network Port 1:172.16.18.102/16, to the corporate LAN network Port 2:172.16.18.13/ 16,
Nat Link is selected, because the NAT link is not a network, but also can be linked operation, of course, bridge can also, I started from the first step;Because some people may have changed the IP address of the virtual adapter on the computer,
Tar pack exclude specified directoryTAR-ZCVF afish.tar.gz *--exclude=file1--exclude=dir1Exclude DirectoryAttention:1 、--exclude=file1 instead of--exclude file12, to exclude a directory is--exclude=dir1, and not--exclude=dir1/You can also package in
1. Download the corresponding version of the JDK package, create a new JDK installation directory, and then copy the compressed package from the directory to the destination directory, the command is as follows:#cd/usr/local#mkdir java#cp jdk-8u144-
I. Use of the tail commandtail [-f] [-c number |-N number |-M number |-B number |-K number] [File]Parameter explanation:-F This parameter is used to monitor file growth.-c number reads the specified file from the number byte location-N number reads
1. CD/direct to server root directory2. PWD View your current directory3. ll view the list of files under the current file4.ls view files Under current file, horizontal arrangement5.ps-ef | grep Nginx View information such as directory ports run by
Usage of Chkconfig:- chkconfig [--list] [--type ] [name] Displays health status information for all run-level system services- chkconfig --add Add a service- chkconfig --del Delete a service- chkconfig --override -chkconfig [--level ] [--type
1. System level(a)/etc/profile: When a user logs on to the operating system, the first file of the user environment is customized and applied to each user who logs on= = "This file generally calls the/ETC/BASH.BASHRC file(b)/etc/environment: When
How to install under LinuxBloggers use CENTOS7, others are very similar.I am based on the official website of the tutorial to do the operation, the address ishttps://docs.docker.com/engine/installation/linux/centos/#install-using-the-repositoryAt
Create a file to be a swap partitionTo increase the 1GB size of the swap partition file, the command is as follows, where count equals the number of blocks you want (bs*count= file size).if=/dev/zero of=/root/swapfile bs=1m count=1024x768format to
Quagga to compile and configure the run under Linux, all, learn a little bit about Linux basics.Installed Ubuntu, username Linux, password 1Enable Ubuntu IP forwarding function, need to modify the IP forwarding settings in etc/sysctl.conf and
Some time ago, I realized the whole process from kernel to the APK, and I used the old Luo's blog from Java layer to framework to JNI to Hal to kernel's Hello example:http://blog.csdn.net/luoshengyang/article/details/6568411Before this blog post
1, log in to the Oracle website, find the corresponding download version.2, download the package. I download jdk-8u101-linux-x64.tar.gz here. You can also download other versions.3. Upload the JDK package to your. I'm using WINSCP.4. Unzip to the
1) Initialization of the thread lockStatic initialization:pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;or dynamic initialization:int pthread_mutex_init(pthread_mutex_t*mutex,constpthread_mutexattr_t* attr);Where attr is used to specify the
How do I learn Linux in a Windows environment? Here's how:Method One:Download Cygwin,cygwin is a UNIX-like simulation environment running on the Windows platform, there are many installation tutorials on the web, not much to say here.Method
1.Http://www.linuxidc.com/Linux/2016-09/135192.htm2.For the first time to use Ubuntu 16.04 Small partners, may not be very familiar with the operation, sometimes we need to install a virtual machine in this Ubuntu system to help us to complete the
Linux package management and scheduled tasks, Linux package management tasksChapter 4 software query 1st check whether the software is installed
Rpm-qa | grep cron to check whether the software is installed.
[Root @ znix ~] # Rpm-qa | grep cron
Install nginx and configuration in linux, and install nginx in linux
Centos6.5 install nginx through yum
The error message "No package nginx available" is displayed. You need to install epe first:
Yum install epel-release
After installing epel
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