previous article on [Original] manual configuration of Ubuntu Linux DHCP client, here again to configure the static IP address method. is still editing the interfaces file. $ sudo vi/etc/network/interfacesThe eth0 configuration is as follows:Auto Eth0Address 192.168.1.123netmask 255.255.255.0Gateway 192.168.1.1 after saving exits, use the restart Networking command to have the new configuration take effect.
Maybe you know how to use command netstat or route on a Linux system to find (or even add/remove) routes that already exist. But when you do these things you may not know how IP routing works. This article will help you understand the rationale of IP routing and how it works. IP routing involves the forwarding of
For more information about how to configure routes to access the Internet on a linux host-Linux general technology-Linux technology and application, see the following. In linux, fedora 12 is used to download the Virtual Machine virtualbox in
Guide
In a local area network, each machine has a host name, easy to distinguish between host and host, so set the host name for each machine, with easy to remember the way to each other access. For example, we can be named according to the function of each machine in LAN.
View
Today, hostname settings are not very concerned, but once a Linux host encounters a hostname setting problem, it may also cause some incredible network problems and service process problems.Hostname check,Uname-nHostname-A |-S |-d |-FHostname commands can be used to determine the host and hostname settings;
The gethos
If the user is using the Windows operating system, but the Linux kernel operating operating system is configured under the virtual machine, it is often necessary to implement access to the Linux kernel operating system through the host Windows operating system. This experiment is implemented by the host Windows 10 acce
.
LogLevel warn
CustomLog/var/log/apache2/access. log combined
The bold part is the key point.(3) release site# Ln-s/etc/apache2/sites-available/default-me/etc/apache2/sites-enabled/001-default
(4) restart the service#/Etc/init. d/apache2 restart
(5) testHttp: // localhost: 8000/
If the access is normal, the configuration is correct.
The code is as follows:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~# Virtual Hosts## If you want to maintain multiple domains/hostnames on your# Mach
.
Experimental Platform: Two CentOS5.5 linux servers (both dual NICS) under the VM, install and configure apache and clear firewall rules (iptables-F), in fact, it can not be closed, configure iptabkes rules. This experiment is not focused on this, so I wrote a little bit.
IP address planning:
MASTER: eth0: 192.168.1.195 eth1: 10.0.0.3 (for heartbeat eth1)
BACKUP: eth0: 192.168.1.196 eth1: 10.0.0.2 (for hea
/O programs are also very important for Linux system performance, and network hardware I/O is especially important to the server. Most Linux servers now use 10/100 MB Ethernet. If you have a heavier network load, you can consider Gigabit Ethernet cards. If you do not have the ability to buy a gigabit NIC: You can use multiple network cards to virtual become a network card, with the same
If you select a Linux host as a proxy server, you do not need to configure High Performance of the host. He can be the worst machine in your company (There should always be a nic, there are two of the best, you can also bind two IP addresses, one is the Internet IP address a
Environment : VBox or Vitrualbox to connect the virtual machine, because the company intranet can not allocate IP (do not know if this is the reason), the virtual machine with the bridge can not reach the IP, virtual machine and host access to each other, so with Nat. Sorry : Nat is able to connect to the network, but also can access the
, device names are stored in/dev. device names follow certain rules. For example, in/dev/hda1, hd indicates Hard Disk, and a indicates the first Hard Disk device, 1 represents the first primary partition of the first hard disk.④ Dir: the mount point of the device on the system ). For example, the mount point we just created:/mnt/mystudy
Follow this rule to mount the second primary partition of the hard disk,Type the command: # mount-t ntfs/dev/hda2/mnt/mystudyReturned information: Mount: fs type
IP is a powerful network configuration tool in the Iproute2 package, it can replace some traditional network management tools, such as ifconfig, route, etc., with the privilege of Superuser. This command is supported by almost all Linux distributions.2. FormatIP [OPTIONS] OBJECT [COMMAND [ARGUMENTS]]3. Main parametersOptions is the option to modify the IP behavio
to configure both client computers to communicate. Experimental process:Client Win7 ConfigurationClient Win7 network address configuration see attachment map win7networkClient win7hosts folders also need to be configured // Configuration DNS resolves the domain name, which is DNS The early days were all in this hosts Configuration in FilesDNS , we do experiments for the first use of this, see annex diagram win7hostsLINUX A Configuration Details[Email protected]~]# vim/etc/sysconfig/network-scr
Apache configures virtual hosts in many ways, many kinds, mainly divided into two types of: name-based virtual host (each IP multiple sites) IP-based virtual host (one site per IP) name-based virtual host: www.2cto.com Under Wind
much smooth sailing. Just as I switched the CentOS 7 running on the VM from NAT mode to bridging mode, the Web was not connected to Linux, and the use of ifconfig was not reversed. This makes me have some accidents, although knowing that the Linux road is not so smooth, but there will always be some hope is to let us take a few steps to achieve the goal, this is actually the lazy in the heart to do strange
Solve the Problem of telnet between host xp and Virtual Machine linux-Linux Enterprise Application-Linux server application information. The following is a detailed description. First, the host machine is Winxp and the ip address
The entire process from the initial environment to the completion of configuration for LINUX Hosts has been reset and reconfigured for some reason. The following describes the complete installation process: from the initial environment to the configuration process. (Note: the website server architecture I use is the one-click complete installation package of lnmp ), this should be the most comprehensive installation process at present. If you have no
Tags: Linux host acting as routerI. How static routing WorksHere the drawing is represented by the router's diagram. Because the data in the transmission process, only the same network segment will be sent in the network broadcast, only the network segment has a broadcast looking for the host, can establish a connection, in the two-tier device, only know the MAC
localhost ip6-localhost ip6-loopbackFe00: 0 ip6-localnetIp6-mcastprefix ff00: 0Ff02: 1 ip6-allnodesFf02: 2 ip6-allroutersFf02: 3 ip6-allhosts
The hosts file is configured with the local host name/domain name resolution.
For example, if my local IP address is 192.168.11.116 and its name is zhh64. you can directly access the host name.
Zhouhh @ zhh64 :~ $ Ping zhh
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.