Network configuration 1 Configuring IP addresses for network cards/etc/sysconfig/network-scripts/ifcfg-eth0//file needs to be backed up/etc/sysconfig/network-scripts/ifcfg-eth1To make a backup of the NIC file:2. Restart the network
=ethernetOnboot=yes #是否启动时运行Nm_controlled=yesBootproto=static #使用静态IP instead of assigning IP by DHCPDefroute=yesIpv4_failure_fatal=yesIpv6init=noName= "System eth0" #名称hwaddr=00:50:56:94:04:3c #必须对应etho是的MAC地址 (/etc/udev/rules.d/70-persistent-net.rules)Peerdns=yesPeerroutes=yesipaddr=192.168.1.40 #指定本机IP地址netmask=255.255.255.0 #指定子网掩码gateway=192.168.1.1 #指定网关4. Modify DNS[Email protected] ~]# vim/etc/resolv.confOpen the file, modify the following and saveNameServer 8.8.8.8 #GOOGLE的DNS服务器NameSer
Generally, the Linux kernel should be able to detect all connected PCI devices. Use the lspci command to verify whether the given PCI device is detected by the kernel.
Unlike other devices, Linux kernel does not allow users to access the network interface card Nic as a file. All nodes directly associated with the NIC device are not in the/dev directory.
Linux accesses the network card through
=ethernetOnboot=yes #是否启动时运行Nm_controlled=yesBootproto=static #使用静态IP instead of assigning IP by DHCPDefroute=yesIpv4_failure_fatal=yesIpv6init=noName= "System eth0" #名称hwaddr=00:50:56:94:04:3c #必须对应etho是的MAC地址 (/etc/udev/rules.d/70-persistent-net.rules)Peerdns=yesPeerroutes=yesipaddr=192.168.1.40 #指定本机IP地址netmask=255.255.255.0 #指定子网掩码gateway=192.168.1.1 #指定网关4. Modify DNS[Email protected] ~]# vim/etc/resolv.confOpen the file, modify the following and saveNameServer 8.8.8.8 #GOOGLE的DNS服务器NameSer
Article Title: RedHatLinux network server architecture practice (6 ). Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
4 test Resin
# Start Resin
Shell> resin start
# Restart Apache because httpd. conf has just been modified an
Tags: alt tle oss sys root generates sysconf roo. comCENTOS6after the virtual machine is cloned, the NIC name changes, and the default network card name is eth0. The network card for the cloned virtual machine is eth1. Default configuration file:/etc/sysconfig/network-scripts/ifcfg-eth01 , and the configuration file, restart
Installing CentOS 6 Network configuration issuesToday, I decided to upgrade my CentOS home from 5 to 6. However, after installing CentOS 6.2, it was found that Eth0 did not automatically obtain IP through DHCP as usual. After opening "/etc/sysconfig/network-scripts/ifcfg-eth0", it is found that the configuration inform
NTP1. Function: Synchronization time. 2. Principle: Layered structure. 3. Software: el6:ntp el7:chrony4.el6 Master profile /etc/ntp.confrestrict 172.25.0.0 Mask 255.255.255.0 --and who's going to do it with me sync server 172.25.0.10 --I'm looking for someone to do synchronous special expression 127.127.1.0 Represents the local system time. Synchronizes with local time, specifying the number of tiers: Server 127.127.1.0 fudge127.127.1.0 stratum on the client, use Ntpdate-u 172.25.0. 11来
Chapter 1 Securing Your Server and Network (6): configure the firewall for SQL Server access, chaptersecuringSource: Workshop
Without the consent of the author, no one shall be published in the form of "original" or used for commercial purposes. I am not responsible for any legal liability.
Previous Article: http://blog.csdn.net/dba_huangzj/article/details/38063823
Preface:
The communication between SQ
To install CentOS 6, we decided to upgrade CentOS from 5 to 6. However, after CentOS 6.2 is installed, it is found that eth0 does not automatically obtain the IP address through DHCP as usual. Open/etc/sysconfig/network-scripts/ifcfg-eth0 and find that the configuration information is not the same as usual, the configuration information is as follows. 1 DEVICE =
Common Linux commands (6) -- Network Communication commands 1. command name: writewww.2cto.com execution permission: all users function description: send information to another user, with CTRL + D as the concluding remarks: write lt; user name gt; root sends information to the luxh user [root @ l...
Common Linux commands (6) --
New Year
3. Command name: Ping
Execution permission: Root
Function Description: test network connectivity.
Syntax: Ping [Option] IP Address
In Linux, ping the ID directly and press Ctrl + C to terminate the command. Otherwise, Ping[Root @ localhost ~] # Ping 192.168.1.1 Ping 192.168.1.1 (192.168.1.1) 56 (84 ) Bytes of data. 64 bytes from 192.168.1.1: icmp_seq = 1 TTL = 128 time = 6.66 MS 64 bytes from 192.168.1.1: icmp_seq = 2 TTL = 128 t
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.