There are two main reasons for this problem. One is that there is a problem with the configuration of domain name resolution in Linux. One is the virtual machine's virtual network connection method on the local machine.
1. configuration file:
1.
The original Article is in the example.
If you are a beginner in Linux, you may attempt to obtain commands from various channels with curiosity. The following are seven fatal Linux commands that cause loss of your data and paralysis of your system.
Sometimes it is necessary to determine the number of threads currently running in the process, so the following methods are worth using.
1. query by process Number:
# Pstree-p process number
# Top-HP Process number
2. query by process name:
#
You may find that/sbin has an init command. Do you know how it is used?If you do not like graphical logon, how can you enable the user to run the startx command on the console?Sometimes you want to maintain the server and do not want other users to
01-.tar format
Unpack:
[*******]$ Tar xvf filename.tar
Packaging:
[*******]$ Tar CVF filename.tar dirname (Note: tar is packed, not compressed !)
02-.gz formatExtract 1:[*******]$ Gunzip filename.gzDecompress 2:[*******]$ Gzip-D
Linux File I/O operations can be divided into two types:
1. file IO operations with cache, including fopen, fclose, fread, fwrite, fgetc, fgets, fputc, fputs, freopen, fseek, ftell, and rewind
2. file IO operations without cache, including open,
Modify IP, DNS, and route command line settings in Linux
1)Ubuntu or Debian
1. Set the IP address in the command line.
CAT/etc/Network/interfaces
# This file describes the network interfaces available on your system
# And how to activate them. For
File Sharing between windows and VMware Linux
Take Windows XP, VMWare Workstation 5.5.2, and RedHat Linux9.0 as examples.
1. Preparations
Open vmware workstation and start RedHat Linux.
Choose VM> install VMware Tools from the VMware Workstation
Linux performance monitoring: disk I/O is the slowest sub-system of the computer, which is also the most prone to performance bottlenecks, because the disk is the farthest from the CPU and the CPU needs to perform mechanical operations to access the
I used Debian as the development environment and accidentally deleted the top panel. The recovery method is described as follows:
1. Click new panel on the undeleted panel at the bottom. in Linux, a panel is created to the top of the desktop.
2.
Http://blog.chinaunix.net/uid-346158-id-2131136.html
In Linux, apart from primary, there are two types of IP addresses:1. IP alias (sub-interface)2. secondary IP (secondary ip)
Can be added to a physical network card. Alias is added by ifconfig.
Step 1 first back up/etc/APT/source. list, then open the original address in reference, and change it to the address of the domestic open source image.
Step 2 sudo apt-Get Update Software List
Sudo apt-Get upgrade updates existing software
Step 3
# Uname-
Linux euis1 2.6.9-55. elsmp #1 SMP Fri APR 20 17:03:35 EDT 2007 i686 i686 i386 GNU/Linux
(View the kernel information of the current operating system)
# Cat/etc/issue | grep Linux
Red Hat Enterprise Linux as Release 4 (nahant Update
Document directory
Change display content
The top command is a common performance analysis tool in Linux. It can display the resource usage of various processes in the system in real time, similar to the Windows Task Manager. The following
DF Command Parameter Function in Linux: Checks disk space usage of the file system. You can use this command to obtain the space occupied by the hard disk and the remaining space.
Syntax: DF [Option]
Note: The DF command in Linux displays the I node
SELF: http://blog.csdn.net/zhangm168/article/details/6395689I
TopIs a dynamic display process, that is, you can press the key to constantly refresh the current status. if you execute this command on the foreground, it excludes the foreground until
From: http://yaronspace.cn/blog/archives/1135
Read/write locks have higher applicability than mutex. Multiple Threads can simultaneously occupy read/write locks in Read mode, but only one thread can occupy the read/write locks in write mode.1. When
From: http://www.linuxsense.org/archives/53.htmlHttp://www.zxbc.cn/html/20080926/66161.html
Top
The top command is a common performance analysis tool in Linux. It can display the resource usage of various processes in the system in real time,
In Linux, If you deploy a project under tomcat, the project contains a Chinese name file. The Error 404 indicating that the file cannot be found may be reported.
When copying files from Linux to Windows or from windows to Linux, Chinese file names
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