1. Open the Linux terminal system, then enter the following code 2 in the system, and then start filling in the ip address, subnet mask, gateway and other command codes, as shown in the figure: 3. Save and then exit after the terminal is completed. 4. Then restart the network service. The red box code is to restart.
Under Linux, we often use the top command to view the system process, and top can also display the system memory. Our common tool for viewing content under Linux is the free command. Memory View Command free under Linux: we generally view memory under Linux
1. There are generally four types of installation packages: 1) tar packages, such as software-1.2.3-1.tar.gz. He was packaged using tar, the packaging tool of the UNIX system. 2) rpm package, such as software-1.2.3-1.i386.rpm. he
Pipe is an inter-process communication mechanism inherited by Linux from Unix, and it is an important communication mechanism in the early days of Unix. The idea is to create a shared file in memory so that both sides of the communication can use the shared file to transmit information. Because of the one-way transmission of data in this way
Test the reason why the speed of occasionally visiting the specified website is slow 1 the developer reflects the cyclical speed is slow on the client server, the developer feedback, due to the need to go to the xxx.com to get the data, the slow reason is to take the data slowly and directly visit the site download file to send the download speed fast 2 test
Yum installation method: 1. Check linux version cat / etc/issue2, check whether telnetrpm-qa has been installed | if the grep telnet shows that it has already been installed, there is no need to install it. If not, move on to the next step.
Linux hosts are hosts configured with server operating systems based on the Linux kernel (common Linux server operating systems such as Redhat,CentOS,Debian,FreeBSD,Ubentu, etc.). The Linux mainframe has the strongest function in China.
First, let's open the command interface of the Linux for which we want to view the port, as shown in the figure (take the Ubuntu system as an example). Then in order to get higher permissions (view all ports), the first way to switch root user login here is to use the lsof-I: Port number command line
1. First of all, determine whether there is insufficient disk space. Enter the following command to view the disk information: df-h is obvious: the mount point under Filesystem / 40G capacity under dev/xvda1 has been exhausted. At this point, the easiest way is to find a large and useless file and delete it.
1. View the current operating system kernel information uname-a2, view the current operating system version information cat / proc/version3, view the current operating system release information cat / etc/issue cat / etc/redhat-r
Linux can check the firewall in the following two ways: first, service to check the firewall status: [root@centos6 ~] # service iptables statusiptables: the firewall is not running. Turn on the firewall:
1. By default, without parameters, the ln command creates hard links, while the ln command with the-s parameter creates soft links. 2. The inode node number of the hard link file is the same as that of the source file, while the inode node number of the soft link file is different from that of the source file. 3. The ln command cannot create a directory
Let's first download a package in deb format and remember its location. Open the hyperterminal that comes with linux. Under HyperTerminal, open the path of the first step, using cd / xxxx/xxxxxx. After opening it, we can use ls to look at the file below, so that we can see the text clearly.
Linux uses commands to run .sh files, there are two ways: first, directly. / add the filename .sh, such as running hello.sh as. / hello.sh [hello.sh must have x permission]. Second, directly sh plus the filename .sh.
Method 1: command line mode Linux does not let the monitor sleep method: # setterm-blank setterm-blank n (n is waiting time) method 2: edit configuration file edit xorg.conf, add the following option to
Method 1: command line mode 1. Open port command: / sbin/iptables-I INPUT-p tcp-- dport 8080-j` ACCEPT2, save: / etc/rc.d/init.d/ipta
There are two ways for Linux to see if a file exists: the find command or the shell script. 1. Find command (1) find is a general method for finding files under linux. (2) find syntax: find [specify lookup directory] [lookup rules]
First of all, the more commonly used command is ip a s. Execute ip a s on the command line and you can output all the network card information, including virtual network cards. If there are more network cards, we should judge based on experience. That is the network card you want, ip. Here are four network cards, general en0.
First, the two most straightforward commands, ifconfig and lspci. 1. Ifconfig: the most commonly used command to configure and view network interface information. Executing this command on the server will get the following contents of the class, where you can see the status and information of multiple devices and devices.
Hyper-V is a virtualization product of Microsoft. For an overview of Hyper-V, please see the Microsoft technical documentation. The deployment of Hyper-V is described in detail below. Topic: deployment environment role installation configuration virtual machine configuration virtual switch deployment environment numbered server name IP address operating system 00