:
Vim/etc/sysconfig/network-scripts/ifcfg-eth0Device=eth0 #虚拟机网卡名称.Type=ethernetOnboot=yes #开机启用网络配置.Nm_controlled=yesBootproto=static #static, static IP, rather than DHCP, automatically gets the IP address.ipaddr=192.168.31.77 #设置我想用的静态
the Windows server to run ipconfig to view the VMnet 8 IP address.
2. view and modify the corresponding information in Vmware
3. View NAT Gateway
4./etc/sysconfig/network-script/ifcfg-eth0 modify key code
Class DEVICE = eth0 // DEVICE name ONBOOT = yes // whether the network interface is valid during system startup BOOTPROTO = static // BROADCAST = 192.168.154.255IPADDR = 192.168.154.101 //
One, configure IPUbuntu Network configuration information is placed in the/etc/network/interfaces, if the configuration dynamically acquire IP, then add the following in the above file: auto eth0 iface eth0 inet DHCP as Configure static IP, add the following: Auto eth0 iface eth0 inetStaticAddress 192.168.33.201 netmask 255.255.255.0 gateway 192.168.33.1 If the c
first, the experimental explanation
Haproxy load Balancing scheduling at the front end for dynamic and static separation at the backend
Static resource server is Nginx
Dynamic content uses Nginxtomcat as an app server, integrated into a single machine, two
Use two memcache servers for high-availability session caching,
1. Installation EnvironmentVMware 10.0.4 build-2249910Ubuntu 16.04 x86_642. In VMware, configure the network environmentVMware creates three virtual network environments after the default installation is complete: VMnet0, VMnet1, and VMnet8. The types are: Bridged network, Host-only, and Nat. Among them, Nat indicates that Ubuntu installed in Vmwware will be in a subnet, VMware through the network address translation, through the physical computer IP
Tag: Code will also UIL admin init with and add open1. Installation EnvironmentVMware 10.0.4 build-2249910Ubuntu 16.04 x86_642. In VMware, configure the network environmentVMware creates three virtual network environments after the default installation is complete: VMnet0, VMnet1, and VMnet8. The types are: Bridged network, Host-only, and Nat. Among them, Nat indicates that Ubuntu installed in Vmwware will be in a subnet, VMware through the network address translation, through the physical compu
NETMASK = 255.255.255.0 # subnet mask DNS1 = 192.168.7.1 # DNS Configuration
4. Restart the network service.
# service network restart
5. Check the modified results. Centois 7 does not use ifconfig, but uses ip commands to view network information.
# ip addr1: lo:
How to configure
1.1.20.lelistener static service configuration and dynamic service registration 1.1.1 what are the basic concepts of Service Registration: Oracle instances, Oracle databases, OracleServer, and Oracle services: oracle instance OracleSGA memory Oracle background process Oracle
1. Use the proxy server to access the Internet
To use machine A to access the Internet through machine B, use the following methods: 1. First, make sure that machine B can access the Internet.
2. install squid software on machine B, $ sudo apt-Get install squid. After installation is complete, a squid configuration file squid is put down on the Internet. conf, and then overwrite the file with the same name under/etc/squid /.
3. test the proxy server on machine B. If you see squid start/running
Ubuntu's network parameters are saved in the file/etc/network/interfaces,The default setting uses DHCP, which is obtained by dynamic IP. Here's how to set up a static IP: 1) Edit/etc/network/interfaces1.1) Add DHCP line shield # The primary network Interfaceauto eth0#iface eth0 inet DHCP 1.2) Add and
is dynamically acquiring IP and needs to be modified to static:fill in the Mac physical address noted aboveThen configure IPV4 where address is the static Ip,gateway gateway you want and DNS server can see from the VMware menu to select the Virtual network Editor ... Point to the two red circle, you can get the subnet IP
In fact, I prefer nginx run static and do load reverse proxy, dynamic PHP or to the Apache processing more stable, JSP to Tomcat, resin or jboss. Nginx's ability to run static is unmatched and is the strongest in the Web server at the moment. Nginx and Apache, Tomcat, resin static and
Fedora17 how to use a virtual machine to bridge the Internet to statically configure a fixed IP address 1) # ifconfigp3p1up (note: After my system is installed, the default Nic is p3p1. this command activates this Nic. You can change the name as needed .) 2) # chkconfig -- level2345netw... fedora 17 using virtual machine bridging method for static configuration of fixed
technical reasons, search spiders do not crawl URLs"? "Behind the content, so the use of Dynamic Web site in search engine promotion needs to do some technical processing to adapt to search engine requirements."Static Web pages:1, client resolution, high efficiency.2. Extension3, back end no database, no interaction with the user.Dynamic Web pages:A, the program in the
When I installed the server of ubuntu 12.04 server a few days ago, the IP address was wrong. As a result, the server could not access the internet. I modified the IP address again today. Here is a summary. 1. Configure static IP addresses Sudo VI/Etc/Network/interfaces The original content uses DHCP to assign
The first two sections on how wireless routers set up the PPPoE dial-up, dynamic IP Internet. Since the explanation to, of course, can not miss the IP static mode of Internet settings, the general static Internet mode is mainly used in level two routers or proprietary
network cannot be used, and many system service programs cannot be started)HOSTNAME = centos (set the host name of the local machine. The host name set here must correspond to the host name set in/etc/hosts)GATEWAY = 192.168.0.1 (set the IP address of the GATEWAY connected to the local machine .)The first three items are available by default when I open the editing here, so only GATEWAY is added.3. Modify
Fedora 17 Using Virtual Machine bridging method for static configuration of fixed IP address 1) # ifconfig p3p1 up (Note: After my system is installed, the default Nic is p3p1. This command activates this Nic. You can change the name as needed .) 2) # chkconfig -- level 2345 network on (Note: Step 2: Set the startup when the NIC enters the system. If you want to automatically obtain the
directory and home page mkdir/var/ Wwwrootcd/var/wwwrootecho-e "Nginx" >> nginx.html Configure nginx configuration file vim/etc/nginx/nginx.conf Modify the default server block as follows server {listen 80;server_name _;location/{root/var/wwwroot; Index index.html index.htm;} Location ~ \.php$ {proxy_pass http://[apache ' s IP address]; #修改为Apache的IP地址 proxy_set_header host $host;}}
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.